From notifications-return-15559-apmail-ant-notifications-archive=ant.apache.org@ant.apache.org Wed Mar 09 07:57:22 2011 Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 69110 invoked from network); 9 Mar 2011 07:57:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Mar 2011 07:57:22 -0000 Received: (qmail 12520 invoked by uid 500); 9 Mar 2011 07:57:21 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 12492 invoked by uid 500); 9 Mar 2011 07:57:21 -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 12485 invoked by uid 99); 9 Mar 2011 07:57:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 07:57:21 +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; Wed, 09 Mar 2011 07:57:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1F5CA3A035F for ; Wed, 9 Mar 2011 07:57:00 +0000 (UTC) Date: Wed, 9 Mar 2011 07:57:00 +0000 (UTC) From: "Hakan Junior (JIRA)" To: notifications@ant.apache.org Message-ID: <1613652660.7267.1299657420125.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <337961661.5641.1299609239937.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Reopened: (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: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IVYDE-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hakan Junior reopened IVYDE-276: -------------------------------- Thank you but; I think the problem is about classpath. How do you find FW's ivy.xml? If i can put it to the classpath that ivy uses; problem will be solved. It works for IvyDE; but not for Ant tasks. The ivy.xml's are same. > 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: > > 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