Commit 7cda1f30 authored by Eric Bruneton's avatar Eric Bruneton

Merge branch 'fix-sigtest-task'

parents 6aae6db8 59f37b82
......@@ -311,7 +311,7 @@ meth public final void startElement(java.lang.String,java.lang.String,java.lang.
supr org.xml.sax.helpers.DefaultHandler
hfds BASE,OPCODES,RULES,TYPES,match,stack
CLSS public abstract org.objectweb.asm.xml.ASMContentHandler$Rule
CLSS protected abstract org.objectweb.asm.xml.ASMContentHandler$Rule
cons protected init(org.objectweb.asm.xml.ASMContentHandler)
meth protected final int getAccess(java.lang.String)
meth protected final java.lang.Object getValue(java.lang.String,java.lang.String) throws org.xml.sax.SAXException
......
......@@ -322,7 +322,7 @@ meth public final void startElement(java.lang.String,java.lang.String,java.lang.
supr org.xml.sax.helpers.DefaultHandler
hfds BASE,OPCODES,RULES,TYPES,match,stack
CLSS public abstract org.objectweb.asm.xml.ASMContentHandler$Rule
CLSS protected abstract org.objectweb.asm.xml.ASMContentHandler$Rule
cons protected init(org.objectweb.asm.xml.ASMContentHandler)
meth protected final int getAccess(java.lang.String)
meth protected final java.lang.Object getValue(java.lang.String,java.lang.String) throws org.xml.sax.SAXException
......@@ -476,3 +476,4 @@ meth public void unparsedEntityDecl(java.lang.String,java.lang.String,java.lang.
meth public void warning(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException
supr java.lang.Object
......@@ -251,13 +251,14 @@ configure(subprojects.findAll { it.provides }) {
dependencies { sigtest 'org.netbeans.tools:sigtest-maven-plugin:1.0' }
file('src/test/resources/').eachFileMatch(~/sigtest-.*/) { f ->
task "${f.name}" (type: JavaExec, dependsOn: 'classes') {
inputs.file(f)
inputs.files(f, sourceSets.main.java)
outputs.file("build/${f.name}")
classpath configurations.sigtest
main 'com.sun.tdk.signaturetest.Main'
args 'Test', '-ApiVersion', version, '-Backward', '-Static', '-Mode',
'bin', '-Classpath', sourceSets.main.output.classesDirs.asPath,
'-FileName', f, '-Out', outputs.getFiles()[0], '-Package'
'bin', '-Classpath', "${System.env.JAVA_HOME}/jre/lib/rt.jar:" +
sourceSets.main.output.classesDirs.asPath, '-FileName', f,
'-Out', outputs.getFiles()[0], '-Package'
args provides
// The exit value is not 0 in case of success, but 95...
ignoreExitValue true
......
Markdown is supported
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