From 623a3b5678a3ccea7b2c9ef2ee856146e2288f4c Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Wed, 3 May 2006 07:32:57 +0000 Subject: 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 --- src/java/com/sun/gluegen/ant/GlueGenTask.java | 1 + src/java/com/sun/gluegen/ant/StaticGLGenTask.java | 1 + 2 files changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3