ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mitch Gitman <>
Subject Re: IvyDE 2.0.0.beta1 does not download sources nor javadocs
Date Thu, 12 Feb 2009 16:46:44 GMT
That makes perfect sense now. The point that hadn't occurred to me was that,
while the source artifact now has to be declared in the ivy.xml, the suffix
is still needed to associate source artifacts with their corresponding
classes artifacts.

Thanks, Nicolas, for the detailed explanation.

On Thu, Feb 12, 2009 at 3:16 AM, Nicolas Lalevée <
> wrote:

> First, IvyDE will try to build your classpath. So you need to provide some
> conf, and then IvyDE will select the retrieved artifacts that match the
> "accepted types" (type= the type of the ratifact in your ivy.xml). By
> default
> the accepted types are: "jar,bundle,ejb,maven-plugin", everything that
> would
> reference some bunch of .class.
> Then IvyDE will try to attach the sources to the jars (same process will
> occur
> for the javadoc). So still relying on the ivy.xml of the dependency, IvyDE
> will try to find artifact that are sources, so the "Sources types":
> "source",
> everything that would reference some bunch of .java
> Then IvyDE has found source artifact, but how to found out with source for
> which jar. IvyDE relies on the artifact names. For instance your have some
> jars:
>  slf4j-api.jar
>  slf4j-simple.jar
>  slf4j-nop.jar
> IvyDE will use the "sources suffixes" : "-source,-sources,-src".
> So for slf4j-api.jar it will try:
>  slf4j-api-source.jar
>  slf4j-api-sources.jar
>  slf4j-api-src.jar
> Hopefully in your ivy.xml you have defined some source artifacts:
>  slf4j-api-src.jar
>  slf4j-simple-source.jar
>  slf4j-nop-source.jar
> And IvyDE will be alble to find out which sources for which jar.
> What has been removed in beta1 is the use case where in the ivy.xml the
> sources are not declared. So IvyDE was trying itself without the Ivy API to
> get some sources, based on the "source suffixes".
> I think reenabling this feature will be a waste of http connection
> resources
> and so responsiveness for some incomplete ivy.xml.
> Nicolas

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message