[
https://issues.apache.org/jira/browse/IVYDE-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015130#comment-13015130
]
Nicolas Lalevée commented on IVYDE-265:
---------------------------------------
I had a look in you ivy files and tried to reproduce the bug. It doesn't seems
related to the extension but the type of the artifact. Your source artifcat has
the type "sources". But by default IvyDE only look up for the type "source".
Try to add sources in the "Sources types" in the global preference page of
IvyDE:
http://ant.apache.org/ivy/ivyde/history/latest-milestone/preferences.html#classpath
> Ivy DE does not associate source artifacts with extensions other than '.zip'
> to associated binaries & it also does not associate source artifacts with
> names other than the binary artifacts, in Eclipse
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: IVYDE-265
> URL: https://issues.apache.org/jira/browse/IVYDE-265
> Project: IvyDE
> Issue Type: Bug
> Components: classpath container
> Affects Versions: 2.1.0
> Environment: Eclipse IDE (J2EE version) 3.6 (Helios)
> Reporter: Gerard Fernandes
> Priority: Minor
> Attachments: ivy.xml, ivysettings-local.xml, ivysettings-shared.xml
>
>
> IvyDE does not associate source artifacts to binaries within Eclipse in the
> following cases:
> 1. when the source artifact has an extension other than '.zip' : e.g.
> commons-lang-2.5, which has a source extension of '.jar'. Many artifacts
> follow this convention - so this is quite an irritant, having to rename
> artifacts just because IvyDE can not associate them correctly.
> 2. when the source artifact has a different name than the binary - e.g. in
> the case of JUnit, where JUnit delivers junit-2.8.2-src.jar, which is common
> for 2 binary artifacts: junit-2.8.2.jar and junit-2.8.2-dep.jar. The source
> jar is a superset, covering both binaries. So, while this case is unusual,
> IvyDE should support associating super-set source artifacts to binaries with
> potentially different names within Eclipse.
> Note that both are possible manually in Eclipse (without IvyDE). Therefore
> these cases should be covered by IvyDE transparently to the user.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira