Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 40604 invoked from network); 8 Feb 2010 21:25:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Feb 2010 21:25:09 -0000 Received: (qmail 43178 invoked by uid 500); 8 Feb 2010 21:25:09 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 43143 invoked by uid 500); 8 Feb 2010 21:25:09 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 43133 invoked by uid 99); 8 Feb 2010 21:25:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2010 21:25:09 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [95.129.49.110] (HELO abode.nmhq.net) (95.129.49.110) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2010 21:25:00 +0000 Received: from matthies by abode.nmhq.net with local (Exim 4.69) (envelope-from ) id 1Neb5y-0002Vn-Kw for ivy-user@ant.apache.org; Mon, 08 Feb 2010 22:24:38 +0100 Date: Mon, 8 Feb 2010 22:24:38 +0100 From: Niklas Matthies To: ivy-user@ant.apache.org Subject: Re: Integrating Ivy with NetBeans Message-ID: <20100208212438.GA8939@nmhq.net> Mail-Followup-To: ivy-user@ant.apache.org References: <4B70695C.50306@byrman.demon.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B70695C.50306@byrman.demon.nl> X-Operating-System: Linux 2.6.31.5 x86_64 X-Editor: VIM - Vi IMproved 7.1 User-Agent: Mutt/1.5.18 (2008-05-17) Hi, On Mon 2010-02-08 at 20:43h, CBy wrote on ivy-user: : > 1) After checking out a project from a repository, NetBeans complains > about reference problems. Fair enough, but building the project does not > make the warning go away. I have to explicitly open the "Resolve > Reference Problems..." dialog and click Close - there is nothing to > resolve anymore - to calm NetBeans. Touching the build.xml, project.xml and/or project.properties probably helps. > 2) When managing dependencies manually, I can point to javadoc and > sources as well, which comes in handy when developing. How to get this > feature using Ivy? By manipulating project.properties? I don't know about the NetBeans Ivy module (which unfortunately was never quite ready for prime-time, IMO), but with a free-form project it should be possible to to define properties like javadoc.reference.mydependency.jar=/path/to/javadoc source.reference.mydependency.jar=/path/to/source (these are the properties that are generated into project.properties by the Project Properties dialog when defining javadoc and source paths for library jars) and include them into the project.xml. See http://netbeans.org/kb/articles/freeform-config.html#props_proj. Of course you'll want a "resolve" Ant target in your build.xml that automatically generates those properties after resolving. > 3) My project.properties keeps on changing. I have to commit or revert > it after every build. So don't put them into version control. ;) Seriously, I suspect that you need to go the free-form project route. Then you can separate "transient" properties from "permanent" properties that need to go into version control. At my shop we've been working on an Ant-based and largely IDE-independent build script infrastructure that plays nice with both Eclipse and NetBeans (using a free-form project setup for the latter), but it's been put on hold for the moment. Keep us posted on how it works out for you. -- Niklas Matthies