"catching" test failure/error (or more generally failure within calls)

2007-09-24 Thread Greg Irvine
I would like to fail our build on junit test failure and still produce the junit report. Easy enough generally, however, our build runs somewhat similarly to make in that I have an ant properties file in each folder that describes the list of folders to build within that folder, and using common i

RE: "Recursiveness" / property already used in a "generic" build...

2006-06-15 Thread Greg Irvine
Well, I managed to sort this out using the task and to pass only the required properties along. No more hard-coded folder lists or duplicated build files now! _ From: Greg Irvine [mailto:[EMAIL PROTECTED] Sent: Thursday, 15 June 2006 4:08 PM To: 'Ant Users List

"Recursiveness" / property already used in a "generic" build...

2006-06-14 Thread Greg Irvine
Hi all. I'm trying to write a generic build file that uses a properties file to inform the generic build file of which subprojects to build. So, the build.xml loads a build.properties which has a property buildorder which is a list of subprojects in that directory to build, and this order

RE: Property problem in 1.6.5

2006-04-10 Thread Greg Irvine
: Property problem in 1.6.5 FYI, this is a common mistake made; people use antcall incorrectly when what they needed was the project depends attribute. Ben -Original Message- From: Greg Irvine [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 7:11 PM To: 'Ant Users List

RE: Property problem in 1.6.5

2006-04-06 Thread Greg Irvine
Ok. I've progressed slightly on this. It seems a property set in one target isn't returned to the calling target, however, if I call the targets separately, it works. e.g. "ant update jar", rather than "ant jar" and have jar call update. Hmm... -----Or

Property problem in 1.6.5

2006-04-06 Thread Greg Irvine
Hi all. I'm having a problem with property values not existing outside of the target they're created/set in. For example (see below), I have a "jar" target that calls an "update" target. The update calls svn status to populate a property with the current svn version number and then I echo the pr

javadoc and IDL "issue"

2005-09-18 Thread Greg Irvine
Hi all. Currently we're seeing "can't find blahblah.java" in my javadoc logs. These missing files are actually classes generated from IDL sources. We've explicitly excluded these generated files because the IDL compiler doesn't transfer the comments from the IDL file into the java file and he

Failures/Errors Errors/Failures in JUnit report

2005-08-30 Thread Greg Irvine
I'm using Ant 1.6.2 (still haven't upgraded to a newer release yet), but I've noticed that the junitreport results have a minor inconsistency which proves confusing. The Summary table shows the columns (in order) Tests Failures Errors Success Rate Time But in the Packages table immedia

RE: javadoc task issue with many files

2005-03-07 Thread Greg Irvine
Ok. Problem solved. The “useexternalfile=yes” option to the task reduced, as it said it would in the docs ;), the command line length and bingo. Next time I’ll tell myself RTFM! :) Greg. From: Greg Irvine [mailto:[EMAIL PROTECTED] Sent: Tuesday, 8

javadoc task issue with many files

2005-03-07 Thread Greg Irvine
HI all. We're (still) having an issue with the javadoc command not producing any output. We've tracked it down (by modifying the javadoc task code) and have found once the length of all of our source file names reaches a little over 126,000 characters then the javadoc fails with error code

RE: Ant with Subversion

2005-03-02 Thread Greg Irvine
You need to download the svnant from the subclipse team (subclipse.tigris.org). I think there is also another svn ant package somewhere. _ From: Naveen Mamidi [mailto:[EMAIL PROTECTED] Sent: Thursday, 3 March 2005 12:14 AM To: user@ant.apache.org Subject: Ant with Subversion

Javadocs problem

2004-10-12 Thread Greg Irvine
Hi all. I'm having a problem (that is reasonably recent as this USED to work), with the javadoc task. When I run it, it runs for a few seconds, but doesn't produce any documents. FYI: Ant 1.6.2, Redhat Fedora Core 2, Java 1.5. >ant jdocs Buildfile: build.xml jdocs: [javadoc] Ge

"nested patternsets"

2004-10-10 Thread Greg Irvine
Hi all. I'm trying to produce a fileset of source files, without massively duplication things in a few s. I have a list of projects (and don't want to use **). e.g. project1/source/**/*.java project2/source/**/*.java ... project30/ I've defined a for selecting source files but n

RE: truncating a directory

2004-09-27 Thread Greg Irvine
PROTECTED] Subject: AW: truncating a directory Not tried, but using a mapper [1] should help: Jan [1] http://ant.apache.org/manual/CoreTypes/mapper.html > -Ursprüngliche Nachricht- > Von: Greg Irvine [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 27. September 2004 0

Usage of javah

2004-09-16 Thread Greg Irvine
Has anyone ever used Ant to generate, compile and link a library for use with JNI? (ie. ...). Ie. I have an existing validated C library I wish to use (for the moment). I'd like to be able to automatically build the java classes, generate the .c and .h files, and produce the shared library for