Commit b4e6b430 authored by Johannes Mey's avatar Johannes Mey
Browse files

update ragdoc

parent cd022c9f
This diff is collapsed.
......@@ -33,7 +33,7 @@ dependencies {
implementation group: 'de.tudresden.inf.st', name: 'dumpAstWithPlantuml', version: '0.3.5'
jastadd2 "org.jastadd:jastadd:2.3.4"
ragdoc files('../libs/rd-builder.jar')
ragdoc files('../libs/rd-builder-1.3.0.jar')
}
// Default run configuration
......@@ -62,6 +62,29 @@ task ecoreToRelast(type: JavaExec) {
outputs.files file(relastFile)
}
task('ragdoc-java-8', type: JavaExec, group: 'documentation') {
description 'Generates RagDoc metadata for this JastAdd project.'
inputs.files {
sourceSets.main.allJava.files
}
main = 'org.extendj.ragdoc.RagDocBuilder'
doFirst {
def destDir = new File(docsDir, 'ragdoc')
if (!destDir.isDirectory()) {
destDir.mkdirs()
}
classpath = configurations.ragdoc
def sourceFiles = sourceSets.main.allJava.files
args(['-d', "$destDir",
'-bootclasspath', '/usr/lib/jvm/java-1.8.0/jre/lib/rt.jar',
] + sourceFiles)
}
}
// Second phase: RelAst -> JastAdd
task relastToJastAdd(type: JavaExec) {
group = 'Build'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment