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
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
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
>> -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
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
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
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
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?
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:
>>
>>
>>
ks for any ideas.
-Alec
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
().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&
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]
For example:
/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
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
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]
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:
>>
>> >
>>
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
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
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
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
arg elements.
Here's a working example:
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.
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
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
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
build.xml -->--> build.dot -->
--> build.svg
Alec Noronha
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
28 matches
Mail list logo