New Patch Solution to error loading a mysqldump file using ant sql task's src

2006-11-07 Thread Hunter Peress
I submitted a new ant task for 1.6.5 named MySQLExec.java It handles the mysql specific delimiter command (found in mysqldumps of triggers and stored procedures) and it handles varchar/text fields that contain -- such as xml comments stored in a text field. http://issues.apache.org/bugzilla/show

Re: RE: Ant "available" task

2006-11-07 Thread Antoine Levy-Lambert
I think that all you need to do is to put in the classpath that you use in your task invocation all the jars needed, that is the ones containing the class itself, the ones containing the parents of the class, and containing the fields. Parent classes and fields can bring in extra dependencies.

Problems building ejbs with Jboss 4.X and jdk 1.5

2006-11-07 Thread EJ Ciramella
Hello all - for a LONG time now, we've been using the classpath attribute in the manifest file of an ejb to provide the list of jars needed for that particular ejb. What's weird is all of a sudden, this doesn't work for a particular manifest file and a series of ejbs. Can anyone suggest what

RE: ReplaceRegExp installation / invocation help

2006-11-07 Thread Beims Bob-RWBC70
Peter; Thanks for the hints. I changed the pattern in my Ant build file to: In my log file, I now get this result: [replaceregexp] Replacing pattern '()' with '' in 'D:\ditaot_out\xhtml\blocks\RS08ADC8\Backup 1 of Block_Diagram.html'

RE: Ant "available" task

2006-11-07 Thread Chun Ji
Hi Antoine, Thank you for the tips. For your second case, what happen if a parent class is located in a jar file, would that be possible for this "available" task to check the child class ? What I have found is for such scenario, of the same classpath setting, if I was to check the availabili

typedef onerror not squashing error for missing classpathref

2006-11-07 Thread Jacob Kjome
I'm using Ant-1.6.5 and using a typedef to load up the Ant-Contrib tasks like so... I run this in the case that one hasn't put ant-contrib.jar in ${user.home}/.ant/lib. If the path reference "ant-contrib" is provided, it will be typedef'd using a locally provided jar. The problem is when the

RE: ReplaceRegExp installation / invocation help

2006-11-07 Thread Beims Bob-RWBC70
I've done a bit more sleuthing, and perhaps I spoke too soon regarding my installation. I was naively expecting *some* logfile output from ReplaceRegExp even if it didn't find any pattern matches, but I was wrong... I invoked the ant build with the -debug option and see the following in my log fil

Re: Selectively copying versions of files

2006-11-07 Thread Chris Gibble
I've read up on selectors, and you're right -- they do the job, at least on a file-by-file basis. But this doesn't really do what I want. Consider: For personnel: -- if there is a day-specific file (day1_personnel.xml), use it. -- else if there is a default file (personnel.xml),

Re: Selectively copying versions of files

2006-11-07 Thread Matt Benson
You can copy decreasing levels from most-specific to least-specific to your target directory, using a selector. Check the manual for "Selectors". HTH, Matt --- Chris Gibble <[EMAIL PROTECTED]> wrote: > > My apologies if this has been asked before, but I > couldn't find anything related -- and

Selectively copying versions of files

2006-11-07 Thread Chris Gibble
My apologies if this has been asked before, but I couldn't find anything related -- and it seems like it might be a fairly common scenario. Let's say I have a warehouse program that initializes itself by reading three configuration files: vehicles.xml personnel.xml locat

Re: ReplaceRegExp installation / invocation help

2006-11-07 Thread Peter Reilly
On 11/7/06, Peter Reilly <[EMAIL PROTECTED]> wrote: On 11/7/06, Beims Bob-RWBC70 <[EMAIL PROTECTED]> wrote: > Sorry for the newbie question ... I didn't find a search option @ > http://mail-archives.apache.org/mod_mbox/ant-user/ and 30+ minutes with > Google couldn't help me find what I'm looking

Re: ReplaceRegExp installation / invocation help

2006-11-07 Thread Peter Reilly
On 11/7/06, Beims Bob-RWBC70 <[EMAIL PROTECTED]> wrote: Sorry for the newbie question ... I didn't find a search option @ http://mail-archives.apache.org/mod_mbox/ant-user/ and 30+ minutes with Google couldn't help me find what I'm looking for ... I'm trying to use the ReplaceRegExp ant task in

ReplaceRegExp installation / invocation help

2006-11-07 Thread Beims Bob-RWBC70
Sorry for the newbie question ... I didn't find a search option @ http://mail-archives.apache.org/mod_mbox/ant-user/ and 30+ minutes with Google couldn't help me find what I'm looking for ... I'm trying to use the ReplaceRegExp ant task in a build file with the DITA Open Toolkit (http://dita-ot.so

Re: Compare

2006-11-07 Thread Steve Loughran
Venkatesh Vijayakumar04 wrote: Hi , I have to compare the size of source and destination file. Can any one advice me the task that can be used for the same. There's a condition which only does byte-for-byte comparison if the files are of different sizes... -

Re: [resolved]AW: Problem creating a task to generate java from an EMF model

2006-11-07 Thread anne robert
Your right, the problem was the use of abstract class. Thank a lot for your help. [EMAIL PROTECTED] wrote: I googled a bit ... You said you have [1] a taskdef But this is an abstract class [2]. Maybe try org.eclipse.emf.importer.ecore.taskdefs.EcoreGeneratorTask instead [3]. Jan [1]

Compare

2006-11-07 Thread Venkatesh Vijayakumar04
Hi , I have to compare the size of source and destination file. Can any one advice me the task that can be used for the same. Thanks in advance, Venkatesh.V CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended sol