Zip file/folder only if present

2007-06-25 Thread Parag P. Doke
Hi All. I'm an ant newbie running version 1.7.0 on NTish Windows and Unix. My intent was to write a tiny build script that zips up certain files/folders if they are present. I was trying with the zip task and the zipfileset fileset with regexps. However, it seems like this works only if the refere

AW: Convert Value to lower case

2007-06-25 Thread Jan.Materne
You would be interested in the new "props" AntLib in the sandbox ... https://svn.apache.org/repos/asf/ant/sandbox/antlibs/props/trunk/ Jan >-Ursprüngliche Nachricht- >Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 26. Juni 2007 08:06 >An: Ant Users List >Betreff: RE

RE: Convert Value to lower case

2007-06-25 Thread Rebhan, Gilbert
Hi, -Original Message- From: Hardy Grueneis [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 26, 2007 6:41 AM To: user@ant.apache.org Subject: Convert Value to lower case /* I want to convert the value of a property into lower cases. How can I do this with Ant 1.6.2? */ i would go via

AW: How to invoke the JDK 1.6 annotation processing engine?

2007-06-25 Thread Jan.Materne
Havent tried, but I would try somethink like Jan >-Ursprüngliche Nachricht- >Von: Todor Boev [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 25. Juni 2007 16:49 >An: user@ant.apache.org >Betreff: How to invoke the JDK 1.6 annotation processing engine? > >Hi everyone, >I want

AW: Convert Value to lower case

2007-06-25 Thread Jan.Materne
http://marc.info/?l=ant-user&m=105163840523834&w=2 Jan >-Ursprüngliche Nachricht- >Von: Hardy Grueneis [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 26. Juni 2007 06:41 >An: user@ant.apache.org >Betreff: Convert Value to lower case > >Hi, > >I want to convert the value of a property i

AW: Processing Ant log files

2007-06-25 Thread Jan.Materne
Then you have to write a task ... public class AnalyseBasicOutputTask extends Task { ... public static final String ERROR_MESSAGE = ... public void setOutput(File ) { this.output = f; } public void setErrors(File f) { this.errors = f; } public void setSuccess(File f) { thi

Convert Value to lower case

2007-06-25 Thread Hardy Grueneis
Hi, I want to convert the value of a property into lower cases. How can I do this with Ant 1.6.2? Example: ${demo} == demo Thanks for any help. Hardy -- Metris GmbH - Industriestr. 5 - D-78112 St. Georgen Registergericht: Villingen-Schwenningen, HRB 2448 S

Can't execute 'script' task. Get java.lang.ClassNotFoundException: org.apache.tools.ant.util.optional.ScriptRunner

2007-06-25 Thread Alex Honor
Hi All, Experiencing some trouble using the Ant 'script' task. I am trying to test using a simple build.xml with the following content: println("message is " + message) I get the following error when I try and run it: $ /usr/local/apache-ant/1.7.0/bin/ant -f /tmp/bui

RE: Processing Ant log files

2007-06-25 Thread James Oltmans
That would not work; the process that causes the error is not that granular. Hundreds of basic files are compiled by one basic program and that program does not produce a log file for each compilation but the entire compile process. So there will be hundreds of successful compile messages (which

How to invoke the JDK 1.6 annotation processing engine?

2007-06-25 Thread Todor Boev
Hi everyone, I want to use the new JDK 1.6 annotation processing API directly from ant. It seems the present APT task can't do it. The Javac task also does not support it. Currently I plan to invoke the java compiler as an external process: "javac -cp "my annotations and processors" -processor

Re: task with MySQL

2007-06-25 Thread Martin Gainty
great links Thanks Steve! Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or

Re: task with MySQL

2007-06-25 Thread Steve Loughran
Martin Gainty wrote: Hello All Any ideas where to locate working example of sql task using MySQL DB..including which Driver classes work? I would point you at Ant in Action, by one S. Loughran, that is available in PDF form as of yesterday: http://manning.com/loughran You can use Ivy to