Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] [iajc] incorrect classpath: xx

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.

Having said that, maybe according to https://ant.apache.org/manual/Types/fileset.html you want to use something like
    <include name="**/*.jar"/>
in your bootclass fileset.
-- 
Alexander Kriegisch

Am 07.09.2017 um 09:52 schrieb feng.l.liu@xxxxxxxxxx:

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

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top