ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Matèrne (jhm) <apa...@materne.de>
Subject AW: Testing Antlibs
Date Tue, 03 Jun 2014 09:35:10 GMT
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:bodewig@apache.org]
> Gesendet: Dienstag, 3. Juni 2014 09:57
> An: dev@ant.apache.org
> 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: dev-unsubscribe@ant.apache.org For additional
> commands, e-mail: dev-help@ant.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message