diff options
Diffstat (limited to 'src/java/com')
-rw-r--r-- | src/java/com/sun/gluegen/ant/GlueGenTask.java | 1 | ||||
-rw-r--r-- | src/java/com/sun/gluegen/ant/StaticGLGenTask.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/java/com/sun/gluegen/ant/GlueGenTask.java b/src/java/com/sun/gluegen/ant/GlueGenTask.java index b900098..45ce1b0 100644 --- a/src/java/com/sun/gluegen/ant/GlueGenTask.java +++ b/src/java/com/sun/gluegen/ant/GlueGenTask.java @@ -481,6 +481,7 @@ public class GlueGenTask extends Task // set the project and command line execute.setAntRun(project); execute.setCommandline(command); + execute.setWorkingDirectory( project.getBaseDir() ); // execute the command try diff --git a/src/java/com/sun/gluegen/ant/StaticGLGenTask.java b/src/java/com/sun/gluegen/ant/StaticGLGenTask.java index 255ab8a..8761942 100644 --- a/src/java/com/sun/gluegen/ant/StaticGLGenTask.java +++ b/src/java/com/sun/gluegen/ant/StaticGLGenTask.java @@ -290,6 +290,7 @@ public class StaticGLGenTask extends Task // set the project and command line execute.setAntRun(project); execute.setCommandline(command); + execute.setWorkingDirectory( project.getBaseDir() ); // execute the command try |