|
From: <jue...@we...> - 2004-01-05 22:09:10
|
I've just adapted the build script of JPetStore's attributes version for = adding the attribute jars to the classpath too. I've also added an = ant.bat to samples/jpetstore/attributes - it is now possible to use the = Ant version that we ship with the distribution -, and also to the = framework root. Compiling with Commons Attributes is now significantly = simpler than before: It works out-of-the-box now, like all our sample = app builds. No more need to have a separate Ant distribution with = manually added jar files. =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von Colin Sampaleanu Gesendet: Mo 05.01.2004 18:54 An: spr...@li... Betreff: Re: [Springframework-developer] Attributes I did, Fri. morning if I remember. Then my DSL went down before I could post the message below... If you have the libs in the ant classpath, you should just be able to remove them and still have the build work for you. Rod Johnson wrote: >Sounds great. I'm all for this change. Would you like to commit it? > >----- Original Message ----- >From: "Colin Sampaleanu" <col...@ex...> >To: <spr...@li...> >Sent: Monday, January 05, 2004 5:06 PM >Subject: Re: [Springframework-developer] Attributes > > >=20 > >>A few days ago I changed the build to make the taskdef for the = attribute >>compiler use a classpath to bring in these needed jars, instead of >>relying on the user to add them to the ant lib dir. >> >>Generally it can cause complications/problems to add libs directly to >>the ant lib dir, and best avoided if at all possible. For example, if >>you add xjavadoc.jar there, then you have to add all the other xdoclet >>modules there as well, if you want to use xdoclet elsewhere. >> >>There seem to be no issues with this approach, with both ant 1.6 and >> =20 >> >1.5... >=20 > >>Rod Johnson wrote: >> >> =20 >> >>>The tests now depend on a Commons Attributes precompile step. = However, >>> =20 >>> >this >=20 > >>>doesn't take very long at all as it applies only to one package. >>> >>>However, you will need to put the following files in your = $ANT_HOME/lib >>> =20 >>> >to >=20 > >>>get the tests to run: >>> >>>- Commons Attributes compiler Jar (in CVS) >>>- commons-collections.jar (in CVS) >>>- xjavadoc.jar (from XDoclet project). I'm not sure whether to put = this >>> =20 >>> >in >=20 > >>>CVS as none of our code uses it. Thoughts? >>> >>>For now, I've named the attributes-dependent test case so that = Eclipse >>> =20 >>> >won't >=20 > >>>pick up. I'll change this when I get time so that the build is also >>>triggered under Eclipse. >>> >>>Regards, >>>Rod >>> >>> >>> =20 >>> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: IBM Linux Tutorials. >>Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's >>Free Linux Tutorials. Learn everything from the bash shell to sys = admin. >>Click now! = http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick >>_______________________________________________ >>Springframework-developer mailing list >>Spr...@li... >>https://lists.sourceforge.net/lists/listinfo/springframework-developer >> >> =20 >> > > > > >------------------------------------------------------- >This SF.net email is sponsored by: IBM Linux Tutorials. >Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's >Free Linux Tutorials. Learn everything from the bash shell to sys = admin. >Click now! http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer >=20 > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's Free Linux Tutorials. Learn everything from the bash shell to sys = admin. Click now! http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |