Build j3d-core CVS -- How to specify Native Compiler?

Hi, all:

I downloaded j3d-core from https://j3d-core.dev.java.net/source/browse/j3d-core/ and trying to “ant” it.

Well, of course, I’ve got to do some particular modification because the current j3d-core is trying to be compatible with JOGL (refer to src/classes/jogl/javax.media.j3d/*) . Specifically, two files, JoglContext.java and JoglPipeline.java need to be carefully modified for JOGL 2.0 compatibility.
Anyway, let’s suppose this has been done properly.

Now, I open an Visual Studio 2008 Tools Command Prompt and “ant” j3d-core.

It’s pretty strange that I obtained the following error messages:

BUILD FAILED
C:\jiapei\MyPrograms\Eclipse\j3d-core\build.xml:420: The following error occurre
d while executing this line:
C:\jiapei\MyPrograms\Eclipse\j3d-core\build.xml:424: The following error occurre
d while executing this line:
C:\jiapei\MyPrograms\Eclipse\j3d-core\src\native\build.xml:417: The following er
ror occurred while executing this line:
java.io.FileNotFoundException: C:\jiapei\MyPrograms\Eclipse\j3d-core\src\native\
ogl\build-windows-i586-gcc.xml (The system cannot find the file specified)

which seems to tell that under WindowsXP Visual Studio 2008 command prompt, “ant” j3d-core, it automatically tried to look for GCC rather than Visual Studio C++ !!! I don’t deny I installed MinGW, but how come it automatically pick up GCC rather than VS C++??

So, how to specify my own (say, VS C++) C++ compiler , instead of using the fault detected C++ compiler?

Best Regards
JIA Pei

problem solved.

Revise line 107 in build.xml to

<property name="build.comp" value="vc"/>

Cheers
JIA