Yuji, I had just posted this to dev list:
Thomas, Was having a problem with init not being run when doing an "ant jar-debug". Need to prepare first, which forces init or else depend on init in main. Also includes previous posted change to move user.home/build.properties ahead of build.properties. Ant properties are immutable. Thanks! Andy Index: build.xml =================================================================== RCS file: /home/cvspublic/db-ojb/build.xml,v retrieving revision 1.72 diff -r1.72 build.xml 11d10 < <property file="build.properties"/> 12a12 > <property file="build.properties"/> 185c185 < <target name="main" depends="checkj2ee.classes, prepare, preprocess" --- > <target name="main" depends="prepare, checkj2ee.classes, preprocess" > -----Original Message----- > From: Yuji Shinozaki [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 26, 2003 2:56 PM > To: OJB Users List > Subject: cvs build.xml checkj2ee.classes > > > > It looks like the current CVS version of build.xml is slightly broken. > > For example, the 'junit' target depends on 'main' which checks on the > setting of j2ee.classes. However, the j2ee.classes property > is set in the > 'init' target which not a dependency of neither > 'checkj2ee.classes' nor > 'main'. So, it will always fail. > > So, for example, the 'junit' target fails because j2ee.classes > hasn't had a chance to run. > > yuji > ---- > > Yuji Shinozaki Computer > Systems Senior Engineer > [EMAIL PROTECTED] Advanced Technologies Group > (804)924-7171 Information Technology > & Communication > http://www.people.virginia.edu/~ys2n University of Virginia > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]