Build blackberry app from servlet with ant

2009-07-01 Thread me4tatel
Hi, I'm trying to build a Blackberry app from Java servlet using Ant and http://bb-ant-tools.sourceforge.net/. But I'm getting the next exception: java.lang.Exception: Problem: failed to create task or type rapc Cause: The name is undefined. Action: Check the spelling. Action: Check that any

RE: run script after ant finished

2009-07-01 Thread weiji
I have a somewhat similar situation - what I did was create a shell script that invokes ant, and I simply invoke ant twice - the first one is a target to get the latest versions of the build files (build.xml and some property files, etc) which updates itself, then the next call does the build. Th

conditional logic and user input

2009-07-01 Thread dave_davis
Hi, I want to be able to control my build depending on user input. I've tried the following code but the ifyes and ifno targets never run. I'm new to ant so am sure I've missed something fundamental but can't see what it is - all help appreciated! Cheers Dave

Re: Adding parallel JUnit task

2009-07-01 Thread Jason Rutherglen
> I've been thinking of an extra junit4 task in its own antlib, this could go alongside it. I've also done a junit3 runner for hadoop, runs each test suite as a separate task... That sounds like a good approach. This way one simply needs to add a jar to their existing project. Hadoop sounds great a

Re: Adding parallel JUnit task

2009-07-01 Thread Steve Loughran
Jason Rutherglen wrote: Hello, please excuse the newbie question. For the Apache Lucene project I'd like to paralleize the unit tests by subclassing JUnitTask into ParallelJUnitTask which executes JUnitTests in threads. I don't understand how to place things like into the new task tag properly

Re: Manifest.MF - classpath is in wrong format when generated programmatically.

2009-07-01 Thread Steve Loughran
Garima Bathla wrote: David : Thanks, I have tried setting the class-path via manifestclasspath task as well within a build.xml ant script and it is the same result, with long class-path's the jar names are split over differnt lines with \n and space character. This is by design http://java.sun

Re: Tests and Failures

2009-07-01 Thread Tennis Smith
Great idea! Thanks. -T On Wed, Jul 1, 2009 at 8:46 AM, David Weintraub wrote: > You MIGHT be able to do this in Ant... > > The JUnit test results are stored in a particular directory when you > do your builds. You should be able to search for the regular > expression: > > testsuite errors="0".*

Re: Tests and Failures

2009-07-01 Thread David Weintraub
You MIGHT be able to do this in Ant... The JUnit test results are stored in a particular directory when you do your builds. You should be able to search for the regular expression: testsuite errors="0".* tests="0".* time="0" And, if you find it, fail the buid via the task. Then CruiseControl wi

AW: loading ant macros from external files

2009-07-01 Thread Sascha Ernst
Hello, thanks for the hint. I was just to blind to see. I'll give it a try... Bye ///sascha/// -Ursprüngliche Nachricht- Von: Dominique Devienne [mailto:ddevie...@gmail.com] Gesendet: Dienstag, 30. Juni 2009 15:52 An: Ant Users List Betreff: Re: loading ant macros from external files