Re: replacing tokens in strings

2009-02-04 Thread Jacopo Cappellato
Please, ignore my email... it actually works... it was another (not related) issue in my target. Jacopo On Feb 4, 2009, at 12:00 PM, Jacopo Cappellato wrote: Hi all, I am trying to replace all occurrences of a given token in a file while copying it. I am using the task

replacing tokens in strings

2009-02-04 Thread Jacopo Cappellato
Hi all, I am trying to replace all occurrences of a given token in a file while copying it. I am using the task: Everyting works fine if the token in the file are in the form of @DATE@ and are *separated* by other strings. It doesn't work if the token is not separated by other strings

Re: Getting NAMESPACE_ERR using echoxml

2009-02-04 Thread Jacopo Cappellato
On Feb 3, 2009, at 7:59 PM, Dominique Devienne wrote: On Tue, Feb 3, 2009 at 11:05 AM, Jacopo Cappellato wrote: I am trying to run the following task: http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-com

Getting NAMESPACE_ERR using echoxml

2009-02-03 Thread Jacopo Cappellato
Hi all, I am trying to run the following task: http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd "> But when I run the ant target that contains it I get the following error: org.w3c.dom.D