diff options
author | Michael Bien <[email protected]> | 2011-01-23 01:20:10 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2011-01-23 01:20:10 +0100 |
commit | 0501609fec070708a7c9f31fc62a2cec991b8e36 (patch) | |
tree | 404633ea9da7d9edd3a329e0c1ec01a2ed0f9ce3 | |
parent | 3c3c59f0af028d3464e096c4861a872e1002adb6 (diff) |
added clean-jar-test target + dont.generate property.
-rw-r--r-- | build.xml | 10 | ||||
-rw-r--r-- | nbproject/project.properties | 1 |
2 files changed, 8 insertions, 3 deletions
@@ -33,9 +33,11 @@ <property name="jocl.version" value="${jocl_base_version}-b${jocl.build.number}-${version.timestamp}" /> <property name="dist.zip.name" value="jocl-${jocl.version}-${os.and.arch}"/> </target> - - <target name="-pre-compile" depends="prepare-build,preprocess-headers"> - + + <target name="-pre-compile" depends="generate-binding"/> + + <target name="generate-binding" depends="prepare-build,preprocess-headers" unless="dont-generate"> + <path id="gluegen.classpath"> <pathelement location="${file.reference.gluegen.jar}" /> <pathelement location="${antlr.jar}" /> @@ -407,5 +409,7 @@ </zip> <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail> </target> + + <target name="clean-jar-test" depends="clean,jar,test"/> </project> diff --git a/nbproject/project.properties b/nbproject/project.properties index 2d6c9550..d3baa179 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -121,6 +121,7 @@ jocl_base_version=0.9 #disable the build build the native part of the bindings #c.dont.compile=true +#dont.generate=true #for hudson... hudson will notice anyway since the log is parsed #build will not fail when a test fails |