Re: AW: [OJB-developers] !!repo and build system changes!!
Brought to you by:
thma
From: Jason v. Z. <jv...@ze...> - 2002-04-19 15:22:29
|
On Fri, 2002-04-19 at 09:30, Mahler Thomas wrote: > Hi Martin, >=20 > I like your changes. They help to keep the directory structure clearer! > Performing the Preprocessor on the build/src files and not on the origina= l > files is also a good idea! >=20 > I did not manage to get the build-maven.xml file exceuted. > I installed maven.b2 as described in the install.html. > (${maven.home} and ${lib.repo} exist. My ${lib.repo} directory contains a= ll > the maven jars.) >=20 > I change to my OJB checkout directory: > cd ojb-1-0 >=20 > then I call > ant -buildfile build-maven.xml >=20 > I get all kind of maven internal errors. Also running other targets in th= is > buildfile results in errors. >=20 > what am i doing wrong? try: ant -debug -f build-maven.xml The lack of error reporting is a problem and arises from the fact that I am trying not to bind directly to Ant. So all the executors (analagous to an ant task) are simple beans and I rely on the TaskAdapter in ant to convert the bean to an Ant task but it doesn't do a very good job. The reason for sticking with straight beans is to allow maven to be used from ant, a CLI or a GUI tool. So, the error reporting sucks but it does work and with the debug option we can figure out what's going on. I'm going to fix the error reporting problem by either altering the classes using BCEL (because ant1 just sucks at working with beans) or use aspectj. Haven't decided yet but it's on the list of things to fix in maven. > cu, >=20 > Thomas >=20 > > -----Urspr=FCngliche Nachricht----- > > Von: Martin Poeschl [mailto:mpo...@ma...] > > Gesendet: Donnerstag, 18. April 2002 14:25 > > An: obj...@li... > > Betreff: [OJB-developers] !!repo and build system changes!! > >=20 > >=20 > > source files moved from /src to /src/java > > test code moved from /src to /src/test > >=20 > > the build system now copies all sources to /build/src > > this prevents the preprocessor from changing the original=20 > > source files :-) > >=20 > > martin > >=20 > >=20 > > _______________________________________________ > > Objectbridge-developers mailing list > > Obj...@li... > > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > >=20 >=20 > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers --=20 jvz. Jason van Zyl jv...@ap... http://tambora.zenplex.org |