Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!feeder.erje.net!usenet.ukfsn.org!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: How to develop without an IDE? Date: Sun, 22 Apr 2012 19:11:28 +0000 (UTC) Organization: UK Free Software Network Lines: 25 Message-ID: References: NNTP-Posting-Host: 84.45.235.129 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: localhost.localdomain 1335121888 4341 84.45.235.129 (22 Apr 2012 19:11:28 GMT) X-Complaints-To: usenet@localhost.localdomain NNTP-Posting-Date: Sun, 22 Apr 2012 19:11:28 +0000 (UTC) User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) Xref: csiph.com comp.lang.java.programmer:13805 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. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |