ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Not Zippy <>
Subject Ivy publish and retrieval questions
Date Thu, 19 May 2011 15:58:43 GMT

I am trying to create a project which publishes the jar and source code to
my archiva server (using ant script). This part is easy and it publishes the
jars and files like:

Item 1) Now I want to reference that published project in another project in
eclipse. But eclipse will only recognize the source code if it is the suffix
of the artifact. The only way I have found to fix this is to specify a
pattern for the publishing resolver like
pattern="[organisation]/[module]/[revision]/[artifact].[ext]" so the
published files look like

Isn't that a bit more difficult then it should be ? Shouldn't eclipse be
able to be configured to determine a source file by some other means then
just the suffix of the file name ?

Item 2) Now I want to retrieve a particular configuration from the server
BUT the ibiblio resolver ignores ivy.xml files so I am forced to use a dual
resolver like

<dual><url name="two-patterns-example">

  <ivy pattern="[module]/[revision]/ivy-[revision].xml"
  <ivy pattern="[module]/[revision]/ivy.xml

<ibiblio name="maven2" m2compatible="true"/>

Once again is that not more difficult then it needs to be ? If the ibiblio
resolver retrieved the ivy file this would simplify things greatly.

Just some thoughts..

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