Anurag
unread,Nov 29, 2010, 2:34:30 PM11/29/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to iBugs
Hi All:
I am quite new to iBugs and i have been facing few issues while
trying to build AspectJ dataset. After i checkout the pre-fix and post-
fix code, i run "ant -DfixId=28919 -Dtag=pre-fix buildversion", but it
seems to fail with the message:
BUILD FAILED
.../ibugs/aspectj-1.3/build.xml:14: Problem: failed to create task or
type classpath
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken
place.
If i go up in the messages, i also see messages related to not being
able to find JDK:
....
libJars=[]][]: Unable to find a javac compiler;
[exec] com.sun.tools.javac.Main is not on the classpath.
[exec] Perhaps JAVA_HOME does not point to the JDK
[exec] Unable to find a javac compiler;
[exec] com.sun.tools.javac.Main is not on the classpath.
[exec] Perhaps JAVA_HOME does not point to the JDK
[exec] at
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactor
y.getCompiler(CompilerAdapterFactory.java:139)
I have JDK at /usr/bin/java and in the properties.xml, JAVA_HOME is
set to /usr. However, i am using jdk-1.6, which i see might be an
issue while compiling AspectJ. Is that the real problem or you think
there is something wrong in my settings?