diff options
author | Sven Gothel <[email protected]> | 2010-03-26 01:53:41 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-03-26 01:53:41 +0100 |
commit | 8df26894b51fef9c5e88f42785089561dbd62895 (patch) | |
tree | 5c8724801c39f6bfef18c91f485ce60e5f90bcf0 | |
parent | ac0e5af8715937c6f9c0471643cc9653afe2b771 (diff) |
ant-junit-ant: use rel gluegen.root path
-rw-r--r-- | test/junit/com/sun/gluegen/BuildUtil.java | 1 | ||||
-rw-r--r-- | test/junit/com/sun/gluegen/build.xml | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/test/junit/com/sun/gluegen/BuildUtil.java b/test/junit/com/sun/gluegen/BuildUtil.java index bbc2b16..dd46221 100644 --- a/test/junit/com/sun/gluegen/BuildUtil.java +++ b/test/junit/com/sun/gluegen/BuildUtil.java @@ -54,7 +54,6 @@ public final class BuildUtil { //setup ant build file project = new Project(); - project.setBaseDir(new File(gluegenRoot)); project.setProperty("rootrel.build", rootrel_build); passSystemProperty(project, "gluegen-cpptasks.file"); passSystemProperty(project, "os.arch"); diff --git a/test/junit/com/sun/gluegen/build.xml b/test/junit/com/sun/gluegen/build.xml index 91a4e8e..24235c0 100644 --- a/test/junit/com/sun/gluegen/build.xml +++ b/test/junit/com/sun/gluegen/build.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> -<project name="GlueGenTest" default="default" basedir="../../../../../"> +<project name="GlueGenTest" default="default" basedir="."> <description>Tests GlueGen</description> @@ -10,7 +10,7 @@ </not> </condition> - <property name="gluegen.root" value="${basedir}" /> + <property name="gluegen.root" value="../../../../.." /> <property name="src.dir" value="${gluegen.root}/${rootrel.build}/test/gensrc/java" /> <property name="build.dir" value="${gluegen.root}/${rootrel.build}/test/build" /> |