Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: How to develop without an IDE? Date: Tue, 24 Apr 2012 17:19:45 -0700 Organization: A noiseless patient Spider Lines: 29 Message-ID: References: <03kdp7lt6ibmssgfnqsbdhf9ndsc42q7v2@4ax.com> <4985868.899.1335304796536.JavaMail.geo-discussion-forums@pbsp7> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 25 Apr 2012 00:19:48 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="QNqT5u6Ryx/DB+LpnoCWdQ"; logging-data="12356"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18BHFLeUmn+q/nfiqGZU8trF76Mz97IlQg=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 In-Reply-To: <4985868.899.1335304796536.JavaMail.geo-discussion-forums@pbsp7> Cancel-Lock: sha1:XiMAXpNr6Ygr9grIVUQzTAVQUog= Xref: csiph.com comp.lang.java.programmer:13880 On 4/24/2012 2:59 PM, Lew wrote: > In the first place, you don't edit the build.xml but the ancillary > build file that build.xml incorporates. > > A "little" work indeed - seriously, have you tried this? > I've added small changes to a NetBeans build file. I've never attempted large or wholesale changes. I just double checked, and it's the other way around: The main build.xml file is the one you edit. It's empty, except for the project header and an include of the generated targets (one line), and a really long comment explaining the targets that NetBeans uses to build your program. The trick is to get the right dependency on the right target. I've found that the -pre and -post targets should be ignored. Those never seem to do anything useful. Just base your own stuff on the real targets, and it all builds normally. If you're doing large changes, I can see that it might be unworkable. You're probably better off using the "free form" NetBeans project type, and just managing the build file entirely yourself. But if you're adding small bits to the existing paths or other configuration, or you're adding small build targets, it's easy.