At 11:41 5/12/00 -0800, Jon Stevens wrote: >on 12/5/2000 10:08 AM, "Craig Kelley" <[EMAIL PROTECTED]> wrote: > >> Attached is an optional task that is a subclass (with too much cut and >> paste ;-) of the Javac task to run the Poet ptjavac external compiler to >> compile Java code and enhance it for use with the Poet object oriented >> database (OODB). >> >> To use the task you must have Poet (of course) with the appropriate Poet >> jars included in your classpath, and the ptjavac compiler executable in >> your path. Since ptjavac actually uses the Sun compiler classes in some >> way, you also have to have the appropriate JDK jars in your classpath. >> >> The usage is pretty much like the Sun javac compiler with a couple of >> extra arguments to tell Poet where its configuration file is and what to >> do with the schema. >> >> -- Craig > >I have a question: > >Why are people submitting every task under the Sun to be included with Ant? >What is wrong with simply including your Poet task with Poet and leaving it >at that?
Initially it was because Ant 1.1 didn't play nice and was slightly painful to load other tasks. It was kept up so as not to change policy till Ant2 thou. I think in Ant2 there will only be a smallish set of core tasks and the rest will mainly be provided in appropriate place. ie junit will be got in junit.jar etc. Cheers, Pete *-----------------------------------------------------* | "Faced with the choice between changing one's mind, | | and proving that there is no need to do so - almost | | everyone gets busy on the proof." | | - John Kenneth Galbraith | *-----------------------------------------------------*
