junit deletes class files and fails

2010-01-29 Thread Christofer Jennings
I must be missing something. The attached build.xml has a target "junit" that causes the classes and test classes to be compiled to "build/..." and then runs the tests. All the compiles work. The test get run. There are a fair number of tests but after a few successes all the rest fail. All the fai

Re: AW: AW: Use the same in multiple tasks

2010-01-29 Thread Dean Schulze
  That would just give me another reference to the same path.  A path is composed of directories.  needs a fileset, not a path. --- On Wed, 1/27/10, jan.mate...@rzf.fin-nrw.de wrote: From: jan.mate...@rzf.fin-nrw.de Subject: AW: AW: Use the same in multiple tasks To: user@ant.apache.org

Re: unique id

2010-01-29 Thread Scot P. Floess
Not sure about from Ant itself, but possibly could do something with Beanshell and java.util.UUID - or maybe some other scripting language? On Fri, 29 Jan 2010, Redmond, Nicole wrote: How do I generate a unique id with Ant? Thanks! Scot P. Floess 27 Lake Royale Louisburg, NC 27549 252

unique id

2010-01-29 Thread Redmond, Nicole
How do I generate a unique id with Ant? Thanks!

RE: Add new resource to existing ResourceCollection (path) in ANT build script

2010-01-29 Thread Dan Beaulieu
Err, I'm not entirely new to ant, but I don't understand how to use this. Any further explanation would be appreciated! ... -Original Message- From: jan.mate...@rzf.fin-nrw.de [mailto:jan.mate...@rzf.fin-nrw.de] Sent: Friday, January 29, 2010 12:38 AM To: user@an

Re: how to preserve comments and layout of the original property file when using PropertyFile task?

2010-01-29 Thread Stefan Bodewig
On 2010-01-29, Steven wrote: > accroding to the ant manual, i use PropertyFile task to keep the last > dailybuild time. > but the layout and comments in the original property file were lost. Keeping the layout is a new feature of the task added with Ant 1.8.0. > when i set the "jdkproperties"

Re: Find src dir and copy files ( including path below src )

2010-01-29 Thread Stefan Bodewig
On 2010-01-29, Mikael Petterson wrote: > I have a directory structure according ( it is not a very java like one) > in my src.dir > ab_mod/bc/src > ac_mod/dc/src > ad_mod/fg/src > ad_mod/ff/src > below I got the structure that I want to catch > se.company.xvf.prod.MyFile.java > se.company.xvf.

how to preserve comments and layout of the original property file when using PropertyFile task?

2010-01-29 Thread Steven
hi, accroding to the ant manual, i use PropertyFile task to keep the last dailybuild time. but the layout and comments in the original property file were lost. when i set the "jdkproperties" paramter, *BUILD FAILED: propertyfile doesn't support the "jdkproperties" attribute.* any help is appre