Reporting build failures

2006-10-26 Thread Sentella Cystrunk
I'm trying to improve build failure results reported by ANT. Instead of using the output from ANT, which reports the line number of the build file where the failure occurred. I'd like to atleast be able to report the target and task where the failure occurred. Is there a way to do this? Tha

Problem creating a task to generate java from an EMF model

2006-10-26 Thread anne robert
Hi, I am trying to generate the java classes for an EMF model, using ant. I ave defined the emfGen task to call emf generation. when I call this task, I have the following error : BUILD FAILED /home/arobert/workspace/CGenerator/build.xml:13: Could not create type emfGen du e to java.lang.Insta

ANT called from .bat unknown Error

2006-10-26 Thread chris . mccauley
howdy: In an automated build execution I have the following set up c:\appName where there is a build.bat and buildApp.xml buildApp.xml is called and a PVCS call recreates the project in c:\appName\appName, then calls the build.bat that executes the build.xml at the root of c:\appName\appName,

Redirector vs. getProject().setProperty(

2006-10-26 Thread Hunter Peress
when editing a task is there any reason to set an output property using the redirector vs. getProject().setProperty() ??

Re: Example: error loading a mysqldump file

2006-10-26 Thread Scot P. Floess
Steve: Now that I give this some deeper thought...I see now what the intent is... I got hung up on dual parsing...one by task and one the the JDBC layer: clearly one has to be able to issue a sql statement - thus the delimiter attribute - duh on my part :( I do see your point...and well t

Re: Example: error loading a mysqldump file

2006-10-26 Thread Steve Loughran
Scot P. Floess wrote: Honestly, this is an implementation issue IMHO with regards to Ant. It is treating each line as ONE sql statement. By using the -line continuation- character, it should fix the problem - namely the \ character. Placing SQL statements in a file makes perfect sense...per

Re: Fileset ignores dir when using a includesfile

2006-10-26 Thread Peter Reilly
On 10/26/06, Eric Wood <[EMAIL PROTECTED]> wrote: I using the following fileset in the PMD task and it appears to ignore the dir and look for the includesfile in the directory that I am running ant from. Not quite, the name is a File attribute and like most File Attributes, it is relative to the

Fileset ignores dir when using a includesfile

2006-10-26 Thread Eric Wood
I using the following fileset in the PMD task and it appears to ignore the dir and look for the includesfile in the directory that I am running ant from. Has anybody else seen this? I have run it in debug mode and the fileset directory appears to be corr

Curious problem with parallel tasks

2006-10-26 Thread Thomas Voigt
Hi, I stumbled upon a curious problem with the ant parallel handling in conjunction with Windows XP. Let's say I have 3 targets: call1, call2 and call3 which are executed in a parallel environment (2 threads). Each target calls a hello world windows GUI application that has to be closed manual