RE: encoding problem with tokens (on Linux)

2010-05-20 Thread Alec Fernandez
I assumed that filterfiles had to be in properties file syntax but I do not know this to be the case. If this is true then I would expect your tokens.file has something that looks like: A=\U1234 (were 1234 the excaped unicode representation of your cat glyph) If so then the token will be replac

RE: Windows 7 and ant exec task

2009-12-22 Thread Alec Fernandez
Something else to consider is if the file is in one of the areas that´s protected by UAC (like Program Files) it may not be where you think it is. It might be in your windows virtual store... so java looks for it in Program Files/mysoftware but does not find it there because in reality it resid

Ant Manual question

2009-08-27 Thread Alec Fernandez
imply a bit outdated? -Alec Here is an example of how to use the Type Selector to select only directories in ${src} _ Just what makes that little old ant think he'll move that rubber tree plant? Everyone knows an

RE: If any one from list then

2009-08-12 Thread Alec Fernandez
>> -Original Message- >> From: Francis GALIEGUE [mailto:f...@one2team.com] >> Sent: Wednesday, August 12, 2009 1:12 PM >> To: Ant Users List >> Subject: Re: If any one from list then >> >> On Wed, Aug 12, 2009 at 10:05, Alec Fernandez >> wro

RE: If any one from list then

2009-08-12 Thread Alec Fernandez
After spending 2 days convincing myself that there was a problem with the selector only to discover that my diff tool was lying and that one of the files was indeed different (unix line ends versus pc line ends so my editor was deceiving me too), I'm feeling the need to respond :-) I think the

RE: AW: Modify xml file

2009-01-21 Thread Alec Fernandez
You should exercise caution when using replace to substitute tokens in xml files and property files because some chars &<>'" need to be escaped in xml files. You need to be sure that the string that you are inserting into the xml will never have such characters, or you must escape yourself. Si

RE: is there a Task to comapre two numbers?

2008-12-12 Thread Alec Fernandez
z der Gesellschaft: Hildesheim >> Handelsregister: Amtsgericht Hildesheim HRB 3620 >> Geschäftsführer: Dr. Hamed Amor >> >> >> >> -Ursprüngliche Nachricht- >> Von: Alec Fernandez [mailto:alec.fernan...@sas.com] >> Gesendet: Freitag, 12. De

RE: is there a Task to comapre two numbers?

2008-12-12 Thread Alec Fernandez
look in the manual at the condition task (specifically click on "supported conditions") >> -Original Message- >> From: Ghadi Mahmoudi [mailto:ghadi.mahmo...@cosens.de] >> Sent: Friday, December 12, 2008 2:57 PM >> To: user@ant.apache.org >> Subject: is there a Task to comapre two numbers?

RE: If else

2008-10-14 Thread Alec Fernandez
try the > -Original Message- >> From: Mohit Anchlia [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, October 14, 2008 10:33 PM >> To: Ant Users List >> Subject: If else >> >> I am struggling with a very simple question. How do I test if a >> variable is defined or not? >> >> I tried: >> >> >>

Using filters to write property values

2008-10-07 Thread Alec Fernandez
ks for any ideas. -Alec - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Typo in Manual example for replaceregexp task

2008-09-17 Thread Alec Fernandez
ample: If I amend the include element to look like this: then it works. Should I report this someplace more appropriate? -Alec _ 1-(success rate of independent events)**(number of independent events) In

RE: adding filters to a filterset

2008-04-10 Thread Alec Fernandez
().getReference(filtersetrefid) -Alec >> -Original Message- >> From: Alec Fernandez [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, April 09, 2008 11:10 PM >> To: Ant Users List >> Subject: adding filters to a filterset >> >> Hello, >> >> I&

adding filters to a filterset

2008-04-09 Thread Alec Fernandez
new filterset in my task, give it a refid and then use that refid back in my target? Thanks, Alec - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to execute a target multiple times, with different parameters

2008-02-29 Thread Alec Fernandez
For example:

RE: Can Ant Edit/replace some words in a file

2008-02-20 Thread Alec Fernandez
/copy.html#encoding -Original Message- From: Alec Fernandez [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 20, 2008 8:41 AM To: Ant Users List Subject: RE: Can Ant Edit/replace some words in a file Just be careful if you are using filterchain/filterreplace on binary files. Encoding issues

RE: Can Ant Edit/replace some words in a file

2008-02-20 Thread Alec Fernandez
Just be careful if you are using filterchain/filterreplace on binary files. Encoding issues can end up transcoding some bytes in binary files. Much has been written on this topic and I would pay close attention. -alec -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Job Spam

2008-01-31 Thread Alec Fernandez
ood benefits IMHO. Anyone interested, please apply Position number is 07003135. Thanks and sorry for the interruption. -Alec - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: an input for ant arg.

2008-01-10 Thread Alec Fernandez
Don't for get to use " for the " char and ' for the ' char in your ant source >> -Original Message- >> From: Steve Loughran [mailto:[EMAIL PROTECTED] >> Sent: Thursday, January 10, 2008 5:30 AM >> To: Ant Users List >> Subject: Re: an input for ant arg. >> >> Chun Ji wrote: >> >> > >>

RE: Ant to start and stop Windows service

2008-01-09 Thread Alec Fernandez
JFYI, the sc command is a newer and better command for doing this if you are targeting windows XP and later. -Original Message- From: Burgess, Benjamin [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 09, 2008 11:20 AM To: Ant Users List Subject: RE: Ant to start and stop Windows servic

RE: Fail if file does not contains a string?

2007-11-08 Thread Alec Fernandez
You could use to read the file into a property then use the contains in the condition task to check for the string. If the file is big then you probably want to use a filterchain to subset it. -Alec -Original Message- From: Rob Wilson [mailto:[EMAIL PROTECTED] Sent: Thursday

RE: Calling another ant script

2007-10-05 Thread Alec Fernandez
The handy, dandy ant task is the ticket. This from ant.apache.org/manual. These lines invoke the same build file: The build file of the calling project defines some elements like this: ... ... and the called build file (subbuild.xml) also defines a with the

RE: Question about war file and excluding folder

2007-08-30 Thread Alec Fernandez
This might be obvious but you are missing the $ in {webroot}, unless that is a transcription error when drafting this mail, that could be your problem. -Alec -Original Message- From: Kalsi, Ramnish [mailto:[EMAIL PROTECTED] Sent: Thursday, August 30, 2007 5:16 AM To: Ant Users List

RE: new ant user - trying to run java cmd

2007-07-31 Thread Alec Fernandez
arg elements. Here's a working example:

RE: Execution of windows command in ant's build.xml

2007-07-18 Thread Alec Fernandez
Excellent clarifications gentleman, many thanks. You got me curious so I dug up a working example of quoting that I use. Try as I may, I can't seem to escape from the msdos command line processor. Bill's enduring gift to humanity.

RE: Execution of windows command in ant's build.xml

2007-07-18 Thread Alec Fernandez
Howdy folks, This from the exec doc: I would recommend that you read the dos "man" pages on cmd start and call, they are quite useful. Pay close attention to the /c /k and /s options if you are passing multiple commands and quotes are necessary. Cmd /? Yields a wealth of

RE: Problem with fileset in concat on AIX

2007-07-03 Thread Alec Fernandez
Hey Folks, Turns out the file that was the source file in the concat task had a char (0x9F) that is not legal in UTF-8 encoding. Once I removed that char, then the concat task began working on AIX. Thanks, Alec -Original Message- From: Alec Fernandez Sent: Monday, July 02, 2007 4:52

Problem with fileset in concat on AIX

2007-07-02 Thread Alec Fernandez
ce: sevr6401[41]$ ant -f alec.xml -debug Apache Ant version 1.7.0 compiled on December 13 2006 Buildfile: alec.xml Adding reference: ant.PropertyHelper Detected Java version: 1.5 in: /data/install/sasasf/jre1.5/jre Detected OS: AIX Adding reference: ant.ComponentHelper Setting ro project proper

Re: *USEFUL* Stylesheet to generate a task-dependency graph for ant

2003-10-31 Thread Alec
build.xml -->--> build.dot --> --> build.svg Alec Noronha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]