summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
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" />