Shivani
--
You received this message because you are subscribed to the Google Groups "iBugs" group.
To post to this group, send email to ib...@googlegroups.com.
To unsubscribe from this group, send email to ibugs+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ibugs?hl=en.
I think I know what your problem is.
You mention earlier that you set your JAVA_HOME property to:
<property name="JAVA_HOME" value="/usr/lib/jvm/java-1.6.0-openjdk/
jre"/
I assume that this is the folder where your Java SDK is installed.
The problem is that you are using Java 1.6.0.
In order to compile correctly, AspectJ requires Java 1.4.2.
So, you need to download specifically the 1.4.2 version of the Java
SDK and set your JAVA_HOME property in properties.xml to the directory
where you installed the Java 1.4.2 SDK.
Hope that helps!!
Francisco
> > On Mon, Nov 14, 2011 at 10:37 PM,Shivani<raoshiv...@gmail.com> wrote:
> > > Now I have another question!!!
>
> > > Does ant compile each of the modules separately. I do not see any jar
> > > files.. i would like to use it to extract the class dependency graph
> > > for the entire version.
>
> > > a) Do I need to run the testresults.xml to obtain jar files?
> > > b) Is the prefix postfix version that is checked out a single body of
> > > software. If it is, where is the jar file located?
>
> > > I am new to java, your help would be really helpful and appreciated!
>
> > > Thanks!
> > >Shivani
>
> > > On Nov 14, 10:03 am,Shivani<raoshiv...@gmail.com> wrote:
> > > > Also my Apache ant version is 1.8.2
> > > > Apache Ant(TM) version 1.8.2 compiled on December 20 2010
>
> > > > Do you think that has different paths set?
>
> > > >Shivani
>
> > > > On Nov 8, 2:32 am, Valentin Dallmeier <valentin.dallme...@gmail.com>
> > > > wrote:
>
> > > > > Hi!
>
> > > > > It seems that the checkout has failed. Can you try to create directory
> > > > > versions in folder ibugs_aspectj-1.3 ?
>
> > > > > Valentin
>
> > > > > > > On Mon, Nov 7, 2011 at 4:20 PM,Shivani<raoshiv...@gmail.com>
Below are a list of some of the version numbers and their
corresponding Java runtimes:
Version 50.0 = Java 1.6.x
Version 49.0 = Java 1.5.x
Version 48.0 = Java 1.4.x
This is the solution provided
"To resolve this issue, regenerate the proxies using com2java and
compile them with your version of the Java SDK. Alternatively, you
can download some precompiled proxies from our Precompiled Java Proxy
JAR Files KB article."
http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183240
Any ideas?
Shivani
Thanks Francisco!!
Shivani
On Nov 18, 4:56 pm, Francisco Servant <fserv...@ics.uci.edu> wrote:
I installed j2sdk1.4.2 from http://java.sun.com/j2se/1.4.2/install-linux.html
into a directory and provided that path in properties.xml.
I still get the following error. Looks like a module compilation is
missing in the build.xml
[exec] modules to build: [bridge, asm, org.eclipse.jdt.core, weaver,
org.aspectj.ajdt.core, ajde, taskdefs, ajbrowser]
[exec] building bridge
[exec] buildOnly bridge
[exec] [ajbuild-javac] Since fork is true, ignoring compiler
setting.
[exec] [ajbuild-javac] Compiling 14 source files to /tmp/
Builder2968360732516595487tmp/classes-1321730012310
[exec] [ajbuild-javac] Since fork is true, ignoring compiler
setting.
[exec] [ajbuild-javac] /home/shivani/research/database/
ibugs_aspectj-1.3/versions/28919/pre-fix/org.aspectj/modules/bridge/
src/org/aspectj/bridge/MessageUtil.java:17: cannot access
org.aspectj.util.LangUtil
[exec] error building ajbrowser for /home/shivani/research/
database/ibugs_aspectj-1.3/versions/28919/pre-fix/org.aspectj/modules/
build/products/tools: BuildException compiling Module [name=bridge,
srcDirs=[/home/shivani/research/database/ibugs_aspectj-1.3/versions/
28919/pre-fix/org.aspectj/modules/bridge/src], required=[util],
moduleJar=/home/shivani/research/database/ibugs_aspectj-1.3/versions/
28919/pre-fix/org.aspectj/modules/aj-build/jars/bridge.jar, libJars=[]]
[]: Compile failed; see the compiler error output for details.
[exec] Compile failed; see the compiler error output for details.
[exec] at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:
842)
[exec] at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:
682)
[exec] at
org.aspectj.internal.tools.ant.taskdefs.AntBuilder.executeTask(AntBuilder.java:
434)
[exec] at
org.aspectj.internal.tools.ant.taskdefs.AntBuilder.compile(AntBuilder.java:
249)
[exec] at
org.aspectj.internal.tools.build.Builder.buildOnly(Builder.java:293)
[exec] at
org.aspectj.internal.tools.build.Builder.buildAll(Builder.java:264)
[exec] at
org.aspectj.internal.tools.build.Builder.buildProductModule(Builder.java:
425)
[exec] at
org.aspectj.internal.tools.ant.taskdefs.ProductBuilder.buildProduct(AntBuilder.java:
569)
[exec] at
org.aspectj.internal.tools.build.Builder.build(Builder.java:180)
[exec] at
org.aspectj.internal.tools.ant.taskdefs.BuildModule.build(BuildModule.java:
142)
[exec] at
org.aspectj.internal.tools.ant.taskdefs.BuildModule.execute(BuildModule.java:
116)
[exec] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
[exec] at org.apache.tools.ant.Task.perform(Task.java:319)
[exec] at org.apache.tools.ant.Target.execute(Target.java:309)
[exec] at org.apache.tools.ant.Target.performTasks(Target.java:
336)
[exec] at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[exec] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:
371)
[exec] at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
[exec] at org.apache.tools.ant.Task.perform(Task.java:319)
[exec] at org.apache.tools.ant.Target.execute(Target.java:309)
[exec] at org.apache.tools.ant.Target.performTasks(Target.java:
336)
[exec] at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[exec] at org.apache.tools.ant.Project.executeTargets(Pr[ajbuild-
javac] bad class file: /home/shivani/research/database/
ibugs_aspectj-1.3/versions/28919/pre-fix/org.aspectj/modules/aj-
oject.java:1250)
[exec] at org.apache.tools.ant.Main.runBuild(Main.java:610)
[exec] at org.apache.tools.ant.Main.start(Main.java:196)
[exec] at orbuild/jars/util.jar(org/aspectj/util/LangUtil.class)
[exec] [ajbuild-javac] class file has wrong version 50.0, should
be 48.0
[exec] [ajbuild-g.apache.tools.ant.Main.main(Main.java:235)
[exec]
[exec]
[exec] BUILD FAILED
[exec] file:/home/shivani/research/database/ibugs_aspectj-1.3/
versions/28919/pre-fix/org.aspectj/modules/build/build.xml:145: error
building product tools
[exec]
[exec] Total time: 1 second
[exec] javac] Please remove or make sure it appears in the
correct subdirectory of the classpath.
[exec] [ajbuild-javac] import org.aspectj.util.LangUtil;
[exec] [ajbuild-javac] ^
[exec] [ajbuild-javac] 1 error
[exec] [ajbuild-javac] Since fork is true, ignoring compiler
setting.
[exec] Result: 1
Your help is appreciated,
Shivani
On Nov 18, 4:56 pm, Francisco Servant <fserv...@ics.uci.edu> wrote: