Posted by
jiapei100 on
May 06, 2011; 9:46pm
URL: https://forum.jogamp.org/Fail-to-compile-gluegen-v2-0-rc2-tp2910008.html
Hi,
I failed to compile gluegen-v2.0-rc2 ...
1) Environment:
Windows7 + Eclipse Helios Service Release 2 + JDK 1.6.0_24 .
2) Errors:
...\Eclipse\gluegen\make\build.xml:666: The following error occurred while executing this line:
...\Eclipse\gluegen\make\build-test.xml:91: taskdef A class needed by class com.jogamp.gluegen.ant.GlueGenTask cannot be found: Task
which actually points to around line 90 of file build-test.xml:
<taskdef name="gluegen" classname="com.jogamp.gluegen.ant.GlueGenTask"
classpathref="gluegen.classpath" />
It seems to tell that I'm short of the following definitions:
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.DirectoryScanner;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.taskdefs.Execute;
import org.apache.tools.ant.taskdefs.LogStreamHandler;
import org.apache.tools.ant.types.CommandlineJava;
import org.apache.tools.ant.types.DirSet;
import org.apache.tools.ant.types.FileSet;
import org.apache.tools.ant.types.Path;
import org.apache.tools.ant.types.PatternSet;
import org.apache.tools.ant.types.Reference;
import org.apache.tools.ant.util.JavaEnvUtils;
Well, I'm using apache-ant-1.8.2. So, besides, ant.jar, anything else I need to added to my project?
Cheers
Pei