ant-ivy-user mailing list archives

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

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

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

    <configurations>
        <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" />
    </configurations>

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

    <dependencies defaultconf="private_compile->compile">
        <dependency name="general.api" rev="latest.integration" />
        ... other dependencies ...
    </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\Foo.java:39:
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.

Mime
View raw message