Path: csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Rui Maciel Newsgroups: comp.lang.java.programmer Subject: Re: How to develop without an IDE? Date: Wed, 25 Apr 2012 02:43:50 +0100 Organization: Aioe.org NNTP Server Lines: 34 Message-ID: References: Reply-To: rui.maciel@gmail.com NNTP-Posting-Host: AqItoBXOUTdaiWbH4r55cA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@aioe.org User-Agent: KNode/4.7.3 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:13888 Martin Gregorie wrote: > On Sun, 22 Apr 2012 16:15:30 +0100, Rui Maciel wrote: > >> Is it possible to set up a Java project so that it can be built without >> relying on an IDE? If it is, where can I find any information on how to >> set up this sort of project? >> > Simple. Do just as you would for, say, a C project but use Ant instead of > make. > >> Bonus points if it's possible to pull this off by writing a single >> makefile. >> > Its the norm to use a single build.xml (ant's equivalent of Makefile) to > do everything that make will, i.e. build, clean the source structure, > install the jarfiles. The only significant differences are that its > working with a package hierarchy rather than a set of modules in separate > directories and that it will usually run javadocs too. > > This is how I usually work with Java projects, often over an ssh session. Thanks for the help, Martin. I had read your post a while ago, but waited until after I read up on your suggestion before posting a reply. It appears you are right on the money. As an added bonus, as some IDEs rely on apache ant to manage builds, it appears it makes it possible to develop with IDEs and text editors (and also switch between both), not only to write code but also update the build script, without experiencing any hickup in the process. That's nice. Once again, thanks for the help, Martin. Kudos! Rui Maciel