Re: substring

2008-07-09 Thread Frank Harnack
Hello Anthony, the StringUtils task from antelope should help you. http://antelope.tigris.org/docs/manual/bk03ch13.html Regards Frank Quoting Anthony Muller <[EMAIL PROTECTED]>: Hello, Is it possible to do a substring operation with Ant? Cheers, Anthony --

Re: ? function in build.xml

2008-07-01 Thread Frank Harnack
Hello jantje, the macrodef-Task should help: http://ant.apache.org/manual/CoreTasks/macrodef.html The for-Task (ant-contrib) could be interesting too: http://ant-contrib.sourceforge.net/tasks/tasks/for.html Regards Frank Quoting jantje <[EMAIL PROTECTED]>: Hi there, I have this in build.

Re: canned fileset with replaceregexp

2007-06-04 Thread Frank Harnack
Hi Mark, has the (maybe undocumented) id/refid concept. Regards Frank Quoting Mark Modrall <[EMAIL PROTECTED]>: Hi... I was looking to can the fileset definitions for a , but when I looked more closely, it seems like 1) can have a nested 2) Unlike nant, doesn't have the

Re: Warning: selected war files include a WEB-INF/web.xml whichwill be ignored (please use webxml attribute to war task)

2007-04-27 Thread Frank Harnack
Hi Denis, it works for me with ant 1.6.4 . ??? Regards Frank Quoting Denis Bessmertnyj <[EMAIL PROTECTED]>: Hi Frank. It doesn't work. - Original Message ----- From: "Frank Harnack" <[EMAIL PROTECTED]> To: Sent: Friday, April 27, 2007 9:54 AM Subject

Re: Warning: selected war files include a WEB-INF/web.xml which will be ignored (please use webxml attribute to war task)

2007-04-26 Thread Frank Harnack
Hello Denis, excludes="WEB-INF/web.xml"/> should work. Regards Frank Quoting Denis Bessmertnyj <[EMAIL PROTECTED]>: It's Since Ant 1.7, but I use Ant 1.6. - Denis - Original Message - From: "Martin Gainty" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Thursday, April 26, 2007

Re: Problem calling ANT with "-logger" parameter

2007-02-06 Thread Frank Harnack
n see in > my email doesn't exist in the real script - I don't know how it slipped into > the mail. Anyway, there isn't any special character. Does anybody have > another idea why ANT acts that strangely? > > Kind regards > Marc > > > Frank Harnack wrote: >

Re: Problem calling ANT with "-logger" parameter

2007-02-04 Thread Frank Harnack
Hi, in your email I can see a special character between "BuildDrsPro_Rel401.properties" and "-logger". That should be the problem. Regards Frank Quoting sunnymarc <[EMAIL PROTECTED]>: > > Hi, > I have a problem calling Ant using the "-logger" parameter in order to > substitute the DefaultLogge

Re: Loop over a set of files

2006-10-10 Thread Frank Harnack
Sorry, forget my previous mail! The for-task can manage it alone (with a nested fileset element). Regards Frank Quoting Frank Harnack <[EMAIL PROTECTED]>: > Hello, > > for getting a list of files maybe the fileutil-Task > (http://antelope.tigris.org/docs/manual/bk03ch12.h

Re: Loop over a set of files

2006-10-10 Thread Frank Harnack
Hello, for getting a list of files maybe the fileutil-Task (http://antelope.tigris.org/docs/manual/bk03ch12.html) is useful and the propertyregex-Task (ant-contrib) could help to manage pattern matching. Regards Frank Quoting Mathieu Champlon <[EMAIL PROTECTED]>: > Hello, > > The task from an

Re: Copy a directory list

2006-01-23 Thread Frank Harnack
Another ant-contrib solution may be using the for task: Regards Frank Quoting Ken Gentle <[EMAIL PROTECTED]>: > At 15:57 2006-01-21, you wrote: > > > Here is the error: the includes attribute sho

Re: Exclude a directory

2006-01-19 Thread Frank Harnack
The real problem is the space after "src" in "", I suppose. Regards Frank Hello, with it should work. Regards Frank Quoting Alan Andrade <[EMAIL PROTECTED]>: > Hi > > I am using the copy task. > > I wasn't

Re: Exclude a directory

2006-01-18 Thread Frank Harnack
Hello, with it should work. Regards Frank Quoting Alan Andrade <[EMAIL PROTECTED]>: > Hi > > I am using the copy task. > > I wasn't sure about the syntax to exclude a directory. > > Eg: > > Src > > |_com >

Re: particular fileset question

2006-01-18 Thread Frank Harnack
A more flexible solution may be: You can define the property "myincludes" in a property file alternatively. Regards, Frank Quoting Markus Innerebner <[EMAIL PROTECTED]>: > I realized my problem: > > the jars where not in the subfolder, but in the subsubfolder. > with this settings > >

Re: particular fileset question

2006-01-18 Thread Frank Harnack
With jar files in subfolders of folderC are excluded too. And if folderC is at top level in folder ${lib.dir} this would be better Regards, Frank Quoting Clifton Craig <[EMAIL PROTECTED]>: > On Wednesday 18 January 2006 8:57 am, RADEMAKERS Tanguy

Re: Timeout feature

2006-01-16 Thread Frank Harnack
I would try the Parallel-Task. There is a timeout attribute available. Regards, Frank Quoting Santosh Pai <[EMAIL PROTECTED]>: > Hey Everyun, > > > > I want to add a *time-out* feature to my build scripts..i.e. if a task > exceeds a pre-defined time limit, I need to croak out the same and exit.

Re: where to get some programm examples

2005-10-26 Thread Frank Harnack
nd my ant api(.jar files). does any one have this experience? Thanks a lot. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: Calling Ant from Java program - Help with ProjectHelper class!]

2005-09-07 Thread Frank Harnack
tem property (->exitStatusSystemProperty). **/ public void checkExit(int status) { System.setProperty(exitStatusSystemProperty,Integer.toString(status)); throw new SecurityException("Please ignore this exception!"); } public void checkPermission(Permission perm