RE: How can I pass each filename of a fileset to a macrodef?

2008-07-16 Thread Lars Monsees
Thx, that works fine =) Usage examples (I couldn´t find them in ant-contrib) are here: http://www.loribel.com/info/memento/ant.html (french) Lars > ant-contrib sounds like what you want. > > HTH, > Matt > > --- Lars Monsees <[EMAIL PROTECTED]> wrote: > >

RE: failonerror and forking

2008-07-16 Thread Lars Monsees
. Unless otherwise stated, this transmission > is neither an offer nor the solicitation of an offer to sell or > purchase any investment. Its contents are based on information > obtained from sources believed to be reliable but HSBC makes no > representation and accepts no responsibility

RE: Pass Quotes to arg line

2008-07-16 Thread Lars Monsees
Hi John, > Hello, > I'm trying to pass quotes to the arg line for a parameter that has > spaces in it. > I've tried " but that didn't seem to work. > Also tried "" \". > Any suggestions? I´ve had the same problem some time ago, s. http://tinyurl.com/66tvbv Unfortunately, I haven´t found a soluti

How can I pass each filename of a fileset to a macrodef?

2008-07-15 Thread Lars Monsees
Hi, I couldn´t find a better subject for describing the problem that I have. It seems quite tricky to me... I have a directory with multiple files of which I don´t know the exact names like this: yo1234.order yo1236.order 8211_020_yo1234.pdf 8211_040_yo1236.pdf As you can see, th

RE: Replacing text in files

2007-05-29 Thread Lars Monsees
Hello, > /* > How can I replace a line from this file with some other text? I > thought about "loadfile" or "patch", but don´t know exactly if these > would work. */ > > use a filterchain with replaceregex or replacestring > it now works this way: In case anyone else needs this so

RE: Replacing text in files

2007-05-25 Thread Lars Monsees
Thanks, I must have missed these tasks. Have a nice day, Lars - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Replacing text in files

2007-05-25 Thread Lars Monsees
Hello, I am compiling a Visual Basic project and want to set the version number inside the project file (project.vbp). This looks like: HelpContextID="0" CompatibleMode="0" MajorVer=3 MinorVer=8 RevisionVer=38 [...] How can I replace a line from this file with some other text? I thought a

RE: scp task error: String index out of range

2006-11-16 Thread Lars Monsees
>> -Original Message- >> From: Lars Monsees [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, November 15, 2006 7:18 AM >> To: Ant Users List >> Subject: scp task error: String index out of range >> >> Hello, >> >> I get this error

scp task error: String index out of range

2006-11-15 Thread Lars Monsees
Hello, I get this error when I start the task below: BUILD FAILED C:\Projects\Java\HelpStudioANT\build.xml:100: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 I doesn´t matter if I specify keyfile

RE: "A zip file cannot include itself" though exclude

2006-10-24 Thread Lars Monsees
> > Lars Monsees wrote: >> Hello, >> >> I get the above mentioned error on building this target: >> >> > description="Create distributable file"> > destfile="

"A zip file cannot include itself" though exclude

2006-10-23 Thread Lars Monsees
Hello, I get the above mentioned error on building this target: This target used to work. Honestly, I checked Eclipse´s local history and there were no changes that

RE: Deleting file does not work?

2006-10-19 Thread Lars Monsees
ok, thx for the quick answer. Lars > Hi, > > works as designed, means when working with patterns like *.jar you > have to use a fileset. > > > Regards, Gilbert > > -Original Message- > From: Lars Monsees [mailto:[EMAIL PROTECTED] > Sent: Thursday, O

Deleting file does not work?

2006-10-19 Thread Lars Monsees
Hello, I have to copy a self-built lib from one project to another and before that I want to delete all previous versions of that file that might exist (the version number is contained within the filename). Therefore, I wanted to use this: The above does not

RE: Using path/refid for manifest classpath

2006-10-19 Thread Lars Monsees
>> btw: Is this problem not something common? Or can anyone give me some >> best practice examples on how to create the manifest classpath >> automatically? I´m just curious, ´cause I found nothing while >> searching. > > google manifest classpath > finds a number entries - including a task from

RE: Using path/refid for manifest classpath

2006-10-19 Thread Lars Monsees
>> -Ursprüngliche Nachricht- >> Von: Lars Monsees [mailto:[EMAIL PROTECTED] >> Gesendet: Donnerstag, 19. Oktober 2006 09:35 >> An: user@ant.apache.org >> Betreff: Using path/refid for manifest classpath >> >> Hello, >> >> I just s

Using path/refid for manifest classpath

2006-10-19 Thread Lars Monsees
Hello, I just started using ANT within Eclipse. I have an application that gets deployed as a JAR file. To construct the classpath within the manifest, I first stated all used libs manually in the build.xml but thought that there has to be a better solution to this. So, I now use a path that gets