[
https://issues.apache.org/jira/browse/IVYDE-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Becheanu updated IVYDE-174:
----------------------------------
Description:
When we attach dependencies which are not having a fixed revision, the
sources/javadoc are not attached in case ivy resolve does not find them.
To be more extact the code which accounts for ivy not finding sources/javadoc
is not triggered.
How to reproduce:
Add following dependency.
<dependency org="org.springframework" name="spring-context"
rev="2.5.+" conf="default" transitive="false"/>
or
<dependency org="org.springframework" name="spring-context"
rev="latest.integration" conf="default"
transitive="false"/>
Clean all your ivy cache. Do resolve.
If you want the dependency to add the javasource/javadoc you have to use fixed
revision number
<dependency org="org.springframework" name="spring-context"
rev="2.5.6" conf="default" transitive="false"/>
was:
When we attach dependencies which are not having a fixed revision, the
sources/javadoc are not attached in case ivy resolve does not find them.
To be more extact the code which accounts for ivy not finding sources/javadoc
is not triggered.
How to reproduce:
Add following dependency.
<dependency org="org.springframework" name="spring-context"
rev="2.5.+" conf="default" transitive="false"/>
or
<dependency org="org.springframework" name="spring-context"
rev="latest.integration" conf="default"
transitive="false"/>
Clean all your ivy cache. Do resolve.
If you want the dependency to add the javasource/javadoc you have to use fixed
revision number
<dependency org="org.springframework" name="spring-context"
rev="2.5.5" conf="default" transitive="false"/>
> The sources/javadocs are not added for dependencies which dont have a fixed
> revision
> ------------------------------------------------------------------------------------
>
> Key: IVYDE-174
> URL: https://issues.apache.org/jira/browse/IVYDE-174
> Project: IvyDE
> Issue Type: Bug
> Affects Versions: 2.0.0.final
> Environment: Eclipse 3.4.2 sr2 _x64
> Reporter: Daniel Becheanu
> Attachments: IVYDE-174_patch.txt
>
>
> When we attach dependencies which are not having a fixed revision, the
> sources/javadoc are not attached in case ivy resolve does not find them.
> To be more extact the code which accounts for ivy not finding sources/javadoc
> is not triggered.
> How to reproduce:
> Add following dependency.
> <dependency org="org.springframework" name="spring-context"
> rev="2.5.+" conf="default" transitive="false"/>
> or
> <dependency org="org.springframework" name="spring-context"
> rev="latest.integration" conf="default"
> transitive="false"/>
> Clean all your ivy cache. Do resolve.
> If you want the dependency to add the javasource/javadoc you have to use
> fixed revision number
> <dependency org="org.springframework" name="spring-context"
> rev="2.5.6" conf="default" transitive="false"/>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.