Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » AspectJ powered PDE build fails on non-aspect, binary plugin?
AspectJ powered PDE build fails on non-aspect, binary plugin? [message #596354] Thu, 06 September 2007 15:05
Eclipse UserFriend
Originally posted by: mehow.infogenia.pl

Hello,

I'm changing my PDE build to support plugins containing aspects. I
started by replacing original pdebuild-ant.jar with AJDT
version and running the build on the existing still aspect-free code.
Unfortunately, where the original build works, the modified one fails
on a non-aspect binary (only .class files, no .java files) plugin:

[iajc] ajc [-d,
/home/mehow/automated-builds/build/plugins/org.vafada.swtcal endar/temp.folder/@dot.bin,
-verbose, -g, -source, 1.5, -target, 1.5, -bootclasspath,
/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/charsets.jar:/usr/l ib/jvm/java-6-sun-1.6.0.00/jre/lib/deploy.jar:/usr/lib/jvm/j ava-6-sun-1.6.0.00/jre/lib/javaws.jar:/usr/lib/jvm/java-6-su n-1.6.0.00/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/ jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/ma nagement-agent.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/ plugin.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/resource s.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[iajc] forking [/usr/lib/jvm/java-6-sun-1.6.0.00/jre/bin/java,
-Xmx512m, -classpath,
/home/mehow/automated-builds/eclipse/plugins/org.eclipse.swt _3.3.0.v3314e.jar:/home/mehow/automated-builds/eclipse/plugi ns/org.eclipse.swt.gtk.linux.x86_3.3.0.v3314a.jar:/home/meho w/automated-builds/eclipse/plugins/org.eclipse.swt.win32.win 32.x86_3.3.0.v3314.jar:/home/mehow/automated-builds/eclipse/ plugins/org.aspectj.ajde_1.5.4.200705211336/ajde.jar:/home/m ehow/automated-builds/eclipse/plugins/org.aspectj.weaver_1.5 .4.200705211336/aspectjweaver.jar:/home/mehow/automated-buil ds/eclipse/plugins/org.aspectj.runtime_1.5.4.200705211336/as pectjrt.jar:/home/mehow/automated-builds/eclipse/plugins/org .eclipse.equinox.common_3.3.0.v20061023.jar,
org.aspectj.tools.ajc.Main, -d,
/home/mehow/automated-builds/build/plugins/org.vafada.swtcal endar/temp.folder/@dot.bin,
-verbose, -g, -source, 1.5, -target, 1.5, -bootclasspath,
/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/charsets.jar:/usr/l ib/jvm/java-6-sun-1.6.0.00/jre/lib/deploy.jar:/usr/lib/jvm/j ava-6-sun-1.6.0.00/jre/lib/javaws.jar:/usr/lib/jvm/java-6-su n-1.6.0.00/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/ jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/ma nagement-agent.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/ plugin.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/resource s.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[iajc] [error] no sources specified

[and then goes iajc usage information]

Plugin's build.properties looks like this:

source.. = .
output.. = .
bin.includes = LGPL.txt,\
README.txt,\
plugin.properties,\
plugin_pl.properties,\
META-INF/,\
org/

Generated iajc task looks like this:

<iajc destDir="${temp.folder}/@dot.bin"
failonerror="true" argfiles="${ajcArgFile}" verbose="true" fork="true"
maxmem="512m" debug="${javacDebugInfo}" bootc
lasspath="${bundleBootClasspath}" source="${bundleJavacSource}"
target="${bundleJavacTarget}">
<forkclasspath refid="@dot.classpath" />
<forkclasspath>
<pathelement
path="${aspectj.plugin.home}/ajde.jar"/>
<pathelement
path="${aspectj.weaver.home}/aspectjweaver.jar"/>
<pathelement
path="${aspectj.runtime.home}/aspectjrt.jar"/>
<pathelement path="${eclipse.tools.home}"/>
</forkclasspath>
<src path="." />
</iajc>

Can you help?

Cheers,

Michal
Previous Topic:AspectJ powered PDE build fails on non-aspect, binary plugin?
Next Topic:Spacewars, doc/primer.default.html
Goto Forum:
  


Current Time: Thu Nov 27 21:04:17 GMT 2014

Powered by FUDForum. Page generated in 0.05370 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software