aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-03-26 01:53:41 +0100
committerSven Gothel <[email protected]>2010-03-26 01:53:41 +0100
commit8df26894b51fef9c5e88f42785089561dbd62895 (patch)
tree5c8724801c39f6bfef18c91f485ce60e5f90bcf0 /test
parentac0e5af8715937c6f9c0471643cc9653afe2b771 (diff)
ant-junit-ant: use rel gluegen.root path
Diffstat (limited to 'test')
-rw-r--r--test/junit/com/sun/gluegen/BuildUtil.java1
-rw-r--r--test/junit/com/sun/gluegen/build.xml4
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" />