Thanks, I came further. I set up a Jenkins job: NEW: AntLib-props repo: git build on ubuntu (due git@windows-problem) https://builds.apache.org/job/AntLib-common/ command1: ant -f prepare.xml --> clone or update common, update prepare.xml, load antunit.jar command2: ant distribution command3: ant -lib antunit.jar -lib build/lib test Try out until a 'good' build, so I could clone this job for the other antlibs. status: starting experiment
Jan > -----Ursprüngliche Nachricht----- > Von: Stefan Bodewig [mailto:[email protected]] > Gesendet: Dienstag, 3. Juni 2014 09:57 > An: [email protected] > Betreff: Re: Testing Antlibs > > On 2014-06-03, Jan Matèrne (jhm) wrote: > > > I am trying to build the antlibs, mainly props. > > > A simple "ant distribution" works, but executing tests fail: > > > 1. ${ant-testutil.jar} must be specified although it is part of the > > standard Ant installation > > Not sure whether this has been true in 1.7.x which the commons build > files strive to be compatible with. Maybe we should drop that goal or > at least modify the check to see whether ant-testutil.jar is in an > expected place. > > > 2. antunit is not present (I tweaked the common/build.xml to download > > that during the build) > > Yes, I always use -lib switches to point to my locally built antunit. > > > 3. when executing the tests I get class not found errors of the built > > classes: > > and I also need to set -lib switches for the Antlib under test and even > to the test classes for some antlibs (AntUnit itself is such a case, > Compress is happy with just adding the Antlib). > > Stefan > > --------------------------------------------------------------------- > 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]
