Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 62305 invoked from network); 8 Mar 2011 22:59:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Mar 2011 22:59:23 -0000 Received: (qmail 32867 invoked by uid 500); 8 Mar 2011 22:59:23 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 32794 invoked by uid 500); 8 Mar 2011 22:59:23 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 32787 invoked by uid 99); 8 Mar 2011 22:59:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2011 22:59:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2011 22:59:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 80C6439ED04 for ; Tue, 8 Mar 2011 22:59:01 +0000 (UTC) Date: Tue, 8 Mar 2011 22:59:01 +0000 (UTC) From: =?utf-8?Q?Nicolas_Lalev=C3=A9e_=28JIRA=29?= To: notifications@ant.apache.org Message-ID: <1632030736.6479.1299625141523.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <337961661.5641.1299609239937.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (IVYDE-276) Ant tasks for ivy cant resolve modules resolved by IvyDE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IVYDE-276?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13004= 274#comment-13004274 ]=20 Nicolas Lalev=C3=A9e commented on IVYDE-276: --------------------------------------- I don't think we can do anything there because I don't know what would Ivy = should actually resolve. In IvyDE we are trying to compute a classpath in order to make Eclipse comp= ile properly. The "thing" resolved here will be some path. Then an Eclipse = project can be seen as a path which will then be part of the compilation cl= asspath. So a workspace resolver make sense. In Ant, we want jars. But then, the jar of your project "FW", from where wo= uld it come ? It just doesn't exist. A workspace resolver doesn't provide a= ny jar. > 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 everythin= g 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 sni= ppet: > > =09pattern=3D"${WEBINFLIB}/[artifact]-[revision].[ext]" sync=3D"true" con= f=3D"war" refresh=3D"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 Dependen= cies in workspace" or processing the two ivy.xml files? > PS:I also tried processing the two ivy.xml files but it processed only th= e first. > Thank you in advance. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira