compiling weaver is ok when I use JDK5 and aspectj1.61. And Now
I want to upgrade JDK, using JDK8 and aspectj1.6 is ended up with
classformatexception , google post on this issue suggest me use
aspect1.8, but still another issue came out.
Hi there.
Disclaimer 1: I have never used Ant in my whole life. I use
Maven. So I can just consult the documentation.
Disclaimer 2: I am nowhere near a PC, just killing time on my
tablet, waiting somewhere.
<include name="**/*.jar"/>
in
your bootclass fileset.
Hi experts,
I am trying to use aspectj1.8 to compile weaver, however I
encountered below warnnings:
Can you please give me a hint about how to fix these
warnnings ?
[iajc] warning incorrect classpath:
/usr/java/jdk1.8.0_131/jre/lib/calendars.properties
[iajc] incorrect classpath:
/usr/java/jdk1.8.0_131/jre/lib/classlist
[iajc] incorrect classpath:
/usr/java/jdk1.8.0_131/jre/lib/cmm/CIEXYZ.pf
[iajc] incorrect classpath:
/usr/java/jdk1.8.0_131/jre/lib/cmm/GRAY.pf
[iajc] incorrect classpath:
/usr/java/jdk1.8.0_131/jre/lib/cmm/LINEAR_RGB.pf
[iajc] incorrect classpath:
/usr/java/jdk1.8.0_131/jre/lib/cmm/PYCC.pf
[iajc] incorrect classpath:
/usr/java/jdk1.8.0_131/jre/lib/cmm/sRGB.pf
[iajc] incorrect classpath:
/usr/java/jdk1.8.0_131/jre/lib/content-types.properties
[iajc] incorrect classpath:
/usr/java/jdk1.8.0_131/jre/lib/currency.data
below is the test code:
<iajc source="-target 1.8"
outJar="${init-mode.lib}/junit-${junit4.version.number}-init.jar">
<bootclasspath>
<fileset
dir="${env.JAVA_5_HOME}/jre/lib">
</fileset>
</bootclasspath>
<classpath>
<path refid="root.aspectj.path.id" />
</classpath>
<aspectpath>
<fileset dir="${weaver.lib}">
<include name="antjunit-aspect.jar"
/>
</fileset>
</aspectpath>
<inpath>
<pathelement location="${root.lib.dir}/junit/${junit4.version.number}/junit-${junit4.version.number}.jar"
/>
</inpath>
</iajc>
Thanks so much.
Best regards
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users