Re: Extracting application version from Java file

2005-09-20 Thread RPearse
You're going to wrong way. Pass into your Ant build the version number like so: ant -Dversion=XX.YY.ZZ clean build test. Then use the task to replace a token in your Java file. Even better, you store that number in MANIFEST.MF and update it with the task. Or, use a properties file. That way

Junit timeout attribute

2005-09-19 Thread RPearse
Does anybody know If I set the "timeout" attribute on the junit task to zero, will the timeout value be infinite? Thanks, Robert

Re: CVS Tag with ANT or CruiseControl

2005-07-11 Thread RPearse
Look into the buildnumber tag and try to tie your buildnumber to your tag. ant-contrib has a Math tag for handling the arithmetic. Or just keep a tag.properties file in your source. >From an SCM point-of-view, you should tell CVS what you want, not the other way around. Robert "KrustyDer

Mr. Changed File, are in my JAR?

2005-05-16 Thread RPearse
When I build the code base, I'm able to get a change list before the build. My developers are asking me to include a special entry in the MANIFEST.MF files for our JAR's that tracks the version of the JAR, but is not the build number. For example, the first time I run a build, the MANIFEST.MF w

Re: ANT capabilities question

2004-09-29 Thread RPearse
Don't forget that it makes a great installer framework and tasty breakfast spread. Robert [EMAIL PROTECTED] 09/29/2004 04:56 AM Please respond to "Ant Users List" <[EMAIL PROTECTED]> To "Ant Users List" <[EMAIL PROTECTED]> cc Subject Re: ANT capabilities question I am currently wri

Re: Naughty JAXB xjc task is forcing recompilation

2004-09-28 Thread RPearse
The xsd files are 09/28/2004 09:19 AM and the resulting java files are 09/28/2004 09:45 AM. Thus, if I rebuild, I would expect them to skip the xjc task. However, that's not the case. dont.jaxb.compile is a property the user can set to skip the jaxb compile. I have a similar property for all