RE: Filter task

2003-01-29 Thread Jorge San José
é [mailto:[EMAIL PROTECTED]] >Sent: 29 January 2003 10:01 >To: Ant-Info3 >Subject: Filter task > > >Hi dear list! > > I am using ant1.5.1 and I have the following problem: >I want to write in a XML file with ANT but I don't know do it. >I thought to >use th

Re: Filter task

2003-01-29 Thread Brian Agnew
rite in a XML file with ANT but I don't know do it. I thought to > use the filter task but it is for TXT file, isn't it? I have used the filter > task and it don't run. Thak you very much. > > Best regards, > > Jorge. > > > --

RE: Filter task

2003-01-29 Thread Dan Gardner
[EMAIL PROTECTED]] >Sent: 29 January 2003 10:01 >To: Ant-Info3 >Subject: Filter task > > >Hi dear list! > > I am using ant1.5.1 and I have the following problem: >I want to write in a XML file with ANT but I don't know do it. >I thought to >use the filter t

Filter task

2003-01-29 Thread Jorge San José
Hi dear list! I am using ant1.5.1 and I have the following problem: I want to write in a XML file with ANT but I don't know do it. I thought to use the filter task but it is for TXT file, isn't it? I have used the filter task and it don't run. Thak you very much.

RE: Using the Ant "filter" task with unicode files

2002-11-07 Thread Ian Kiigan
token, it has to be "@" which is a shame. Ian Ian Kiigan [EMAIL PROTECTED] > -Original Message- > From: Stefan Bodewig [mailto:bodewig@;apache.org] > Sent: 07 November 2002 14:36 > To: [EMAIL PROTECTED] > Subject: Re: Using the Ant "filter" task with uni

Re: Using the Ant "filter" task with unicode files

2002-11-07 Thread Stefan Bodewig
On Thu, 7 Nov 2002, Ian Kiigan <[EMAIL PROTECTED]> wrote: > Re: Problem using Ant filter task and accented characters > etc in unicode files assumes that all files are in your platform's default encoding. If you use a different encoding, this are bound to break. Maybe you

Using the Ant "filter" task with unicode files

2002-11-07 Thread Ian Kiigan
Re: Problem using Ant filter task and accented characters etc in unicode files Hi there Ant Users, Quick question: I'm using Ant 1.5 and doing something like this: And in the source of my application I do stuff like: ... String titleStr = "%%main

Re: Filter Task Note - effect on binary files

2002-09-19 Thread Erik Hatcher
Filtering is only for text files. You will, and I believe this is documented a fair bit, mangle binary files if you copy them with filtering on. Erik Ryan Cuprak wrote: > Hello, > Noticed something weird with the filter task - even if a file has no tokens > it stil

Filter Task Note - effect on binary files

2002-09-19 Thread Ryan Cuprak
Hello, Noticed something weird with the filter task - even if a file has no tokens it still somehow "changes" the file. For configuring Jboss I had written an ant script that copied over the configuration files and apply local settings (so I could easily move between home and work

Re: Filter task w/ properties file

2001-09-11 Thread Erik Hatcher
AIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 11, 2001 3:19 PM Subject: Re: Filter task w/ properties file It's more to make build files that are generic enough to be used for several of our projects, and allow each project to use property files to maintain project-spec

Re: Filter task w/ properties file

2001-09-11 Thread Timothy Shadel
TECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 11, 2001 1:52 PM Subject: Re: Filter task w/ properties file Yeah, but then I'm right back to listing the properties directly in the build.xml. The only difference is that I'd use tags under the instead of tags anywh

Re: Filter task w/ properties file

2001-09-11 Thread Erik Hatcher
To: <[EMAIL PROTECTED]> Sent: Tuesday, September 11, 2001 1:52 PM Subject: Re: Filter task w/ properties file Yeah, but then I'm right back to listing the properties directly in the build.xml. The only difference is that I'd use tags under the instead of tags anywhere. - Tim

Re: Filter task w/ properties file

2001-09-11 Thread Timothy Shadel
o write your properties to a file, then read them in using as a workaround. Erik - Original Message - From: "Timothy Shadel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 11, 2001 12:50 PM Subject: Filter task w/ properties file

Re: Filter task w/ properties file

2001-09-11 Thread Erik Hatcher
You could use to write your properties to a file, then read them in using as a workaround. Erik - Original Message - From: "Timothy Shadel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 11, 2001 12:50 PM Subject: Filter task w/ prope

Filter task w/ properties file

2001-09-11 Thread Timothy Shadel
the problem is that the Filter task (more specifically the FilterSet object to which it delegates file loading) doesn't replace the ${} property references with the project's values for those properties. Instead it leaves the full string and ${} in when it filters the files during cop

RE: filter task problem

2001-04-09 Thread Bill Lynch
Ahh good catch. I fixed the typo, but the problem still occurs. Any other ideas? Thanks, --Bill > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Glenn McAllister > Sent: Monday, April 09, 2001 11:52 AM > To: [EMAIL PROTECTED] > S

Re: filter task problem

2001-04-09 Thread Glenn McAllister
Bill Lynch wrote: > # skin_tokens.properties > page.tile=This is the title... typo? You have page.tile in your properties file, but page.title in your JSP file. Glenn

filter task problem

2001-04-09 Thread Bill Lynch
All, I'm using Ant 1.2. I'm running into a problem with filter task. I have a simple task to copy some JSP and HTML pages around: My skin_tokens.properties looks like: # skin_tokens.properties page.tile=This is the title... In one of my JSP pages