Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 78179 invoked from network); 26 Jan 2009 03:21:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jan 2009 03:21:20 -0000 Received: (qmail 35349 invoked by uid 500); 26 Jan 2009 03:21:20 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 35329 invoked by uid 500); 26 Jan 2009 03:21:20 -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 35320 invoked by uid 99); 26 Jan 2009 03:21:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jan 2009 19:21:20 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jan 2009 03:21:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 928D5234C48D for ; Sun, 25 Jan 2009 19:20:59 -0800 (PST) Message-ID: <730223674.1232940059585.JavaMail.jira@brutus> Date: Sun, 25 Jan 2009 19:20:59 -0800 (PST) From: "Jing Xue (JIRA)" To: notifications@ant.apache.org Subject: [jira] Created: (IVY-1016) Patch to add an ivy:eclipse ant task that generates Eclipse .classpath files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Patch to add an ivy:eclipse ant task that generates Eclipse .classpath files ---------------------------------------------------------------------------- Key: IVY-1016 URL: https://issues.apache.org/jira/browse/IVY-1016 Project: Ivy Issue Type: New Feature Components: Ant Affects Versions: trunk Reporter: Jing Xue I put together a post-resolve ivy:eclipse task that updates the Eclipse .classpath file according to the result of ivy:resolve. It also will discover any source jars if they are part of the resolve/download, and automatically attach them to the corresponding entries. For example, I have this entry in ivy.xml: {code:xml|title=ivy.xml} {code} In build.xml, I have: {code:xml|title=build.xml} {code} And running 'ant eclipse' will update my .classpath with the cache path to the commons-collections jar, with its sources jar attached. The classpath entry will be annotated with an ivygen="true". Next time I run 'ant eclipse', this entry will be recognized and replaced with whatever updated paths. This is only the first draft. I know there is IvyDE, but I feel that this could be a good starting point for a alternative that is more Ant-oriented. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.