On Fri, 22 Mar 2002 02:06, Berin Loritsch wrote: > > -----Original Message----- > > From: Peter Donald [mailto:[EMAIL PROTECTED]] > > > > On Mon, 18 Mar 2002 00:17, Leif Mortenson wrote: > > > What about adding an init task to the builds which checks for the > > > pressence of all required jars. If any are missing then the build > > > will fail with a message telling them to run 'ant > > > > update-ant-jars'. > > > > > This task would automatically download and install all of > > > > the required > > > > > jars from our server and install them into the correct ant > > > directories. The user then reruns and and everything will > > > > work. Is > > > > > there a way to have ant check the dates of the required files? It > > > would be nice if the build could tell users to rerun the update > > > whenever any of the required jar versions are changed as well. > > > > I would seriously think about strangling anyone who tried to > > update my ant > > installation in the build process. I don't think this is the > > solution. > > Hopefully the BUILDING.txt instructions should help a little though. > > Now, how do you feel about creating an init task which checks the > GUMP <depends> entries and installs the required libs into the > sub-project lib folder?
I was actually thinking of doing it in reverse. We have a generic project descriptor that list dependencies etc. Then we transform this into build.xml and also generate gump.xml from it aswell. :) I was thinking about using maven from turbine. see http://jakarta.apache.org/turbine/maven/ I haven't really looked at it closely but I believe it is close to doing what we need to do and could be adapted to do it. Theres a bit of bulk it brings along and we could probably get away with a simple xslt sheet but it could be worth it. We need to investigate and evaluate. -- Cheers, Pete ----------------------------------------------------------- If your life passes before your eyes when you die, does that include the part where your life passes before your eyes? ----------------------------------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
