Check out what I just did for Jext <PLUG> which is another nice Java text editor. </PLUG>
It has several plugins, many of which are distributed alongside the main application. These are mostly non-packaged and have a very simple build structure, so I wrote a build.xml that can pretty much build any of these. I also wrote a buildall.xml that can be used to build them all; its use requires the ant-contrib jar. The build files are in Jext's CVS at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jext/src/plugins/ Just in case you don't know, ant-contrib is at http://sourceforge.net/projects/ant-contrib -Matt --- Chris Bailey <[EMAIL PROTECTED]> wrote: > I'm wondering what people suggest for this kind of > build situation... I > have a core application that we build with Ant now. > We are then creating a > lot of "modules", or plug-ins for the application. > Each of these modules > are very similar, i.e. their builds are essentially > the same exact process, > but some of the source files are different, and the > name of the resulting > output file (jar or exe) is different, etc. > > I've wondered about these types of things: > - brute force: just make a build.xml for each one > - near brute force: one build.xml that has a target > for each, or close to > that > - Dynamically generate a build.xml for each one > somehow (XSLT task?) > - Single module_build.xml, where build.xml iterates > each directory, sets > some properties, and then calls module_build.xml > (passing the properties) > > What have people used, what do they like/dislike, > what's the easiest, what's > the most slick? > > ____ > Chris Bailey mailto:[EMAIL PROTECTED] > Code Intensity http://www.codeintensity.com > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
