diff options
author | Kenneth Russel <[email protected]> | 2006-05-03 07:32:57 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2006-05-03 07:32:57 +0000 |
commit | 623a3b5678a3ccea7b2c9ef2ee856146e2288f4c (patch) | |
tree | e77c7cc35dc1096402b632e5b9390c2a0b09a351 | |
parent | ff1a036e71ccd79020da8b1370e0506879bcc65c (diff) |
Applied fix from user GKW on javagaming.org forums for building from
within NetBeans
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@32 a78bb65f-1512-4460-ba86-f6dc96a7bf27
-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 |