ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cecile <>
Subject (ivy 1.4) compiling fails while resolution is fine
Date Wed, 28 Mar 2007 04:27:10 GMT

I have an app.api project that depends on general.api.

My "app.api" ivy.xml file looks like this:

        <conf name="bundle" />
        <conf name="compile" />
        <conf name="localdir" />
        <conf name="private_compile" visibility="private" />
        <conf name="runtime" visibility="private" />
        <conf name="test" visibility="private" />

        <artifact name="app.api" type="jar" conf="bundle,compile" />

    <dependencies defaultconf="private_compile->compile">
        <dependency name="general.api" rev="latest.integration" />
        ... other dependencies ...

Note that if I type "ant resolve", everything is fine.
In my provide_compile directory, I do see general.api.jar being downloaded.

But when I run "ant compile" on "app.api", I get errors like:

    [javac] C:\_programs\workspace\app.api\src\java\app\api\
cannot find symbol
    [javac] symbol  : constructor DbStuff( int )
    [javac] location: general.api.DbStuff
    [javac]         return new DbStuff( int );

Note that general.api.jar exports DbStuff.

Any tips on how to debug this classpath issue ?

Merci à tous.

View raw message