ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hakan Junior (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVYDE-276) Ant tasks for ivy cant resolve modules resolved by IvyDE
Date Wed, 09 Mar 2011 13:06:59 GMT

    [ https://issues.apache.org/jira/browse/IVYDE-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004525#comment-13004525
] 

Hakan Junior commented on IVYDE-276:
------------------------------------

Hi again. I will add FW's ivy.xml to the classpath like IvyDE does. So with retrieve pattern
in ivy:retrieve i will say ivy to get the jars into temp/web-inf/lib folder. I have done this.
It works once a time. I mean if i say about FW ivy:retrieve, then TEST ivy:retrieve it ignores
(because it think its done before) TEST's ivy.xml.

Finally i only need how to add FW ivy.xml on the ivy:retrieve classpath OR some ant task that
IvtDE supplied can help me? Thank you again. 

> Ant tasks for ivy cant resolve modules resolved by IvyDE
> --------------------------------------------------------
>
>                 Key: IVYDE-276
>                 URL: https://issues.apache.org/jira/browse/IVYDE-276
>             Project: IvyDE
>          Issue Type: Improvement
>          Components: classpath container, workspace resolver
>    Affects Versions: 2.1.0
>         Environment: Eclipse Helios 3.6 / JDK 1.6.0_23 Both are 64 bit
>            Reporter: Hakan Junior
>
> I have a multimodule project. Project FW is the framework (has an ivy.xml) and Project
TEST is the application (also has an ivy.xml) that depends on FW. TEST's ivy.xml declares
dependency about FW and WorkSpace Preferences is set to "Resolve Dependencies in workspace".
After this setting everything works fine.
> I need to create a WAR file like:
> 1.Jar'ing FW and putting it to lib folder with ant task. (I couldn do it with ivy:publish.
And not important for me now)
> 2.Preparing TEST's files for war.
> 3.Need to copy the all dependent jars (both FW and TEST). Here is the snippet:
>      <ivy:settings id="jesIvySettings" file="${COMMONDIR}/jesApplication/ivysettings.xml"
/>
>      <ivy:retrieve file="${basedir}/ivy.xml" settingsref="jesIvySettings" type="jar"
> 	pattern="${WEBINFLIB}/[artifact]-[revision].[ext]" sync="true" conf="war" refresh="true"
/>
> It raises an error meaning the FW couldnt be found.
> I want to know how i can tell IVY to do some magic like "Resolve Dependencies in workspace"
or processing the two ivy.xml files?
> PS:I also tried processing the two ivy.xml files but it processed only the first.
> Thank you in advance.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message