Re: removing byte order mark

2007-07-27 Thread Alex Egg
Cool, I'll try this out. On 7/27/07, Alexey Solofnenko <[EMAIL PROTECTED]> wrote: > > For some reason I have had the same problem on Solaris, but not on > Windows even though both JDK version and all jars were the same. At the > end I wrote a that would fix all XML files not to have BOM > mark. I

Re: removing byte order mark

2007-07-27 Thread Alexey Solofnenko
For some reason I have had the same problem on Solaris, but not on Windows even though both JDK version and all jars were the same. At the end I wrote a that would fix all XML files not to have BOM mark. It looks like that: - Alexey. Alex Egg wrote: A 3rd party ant task is

Re: removing byte order mark

2007-07-27 Thread Alex Egg
A 3rd party ant task is getting the error, I'm sure it's not a problem with ant itself. This is the reason why I'd like to just remove the BOMs (they're not necessary) so I don't have to mess with the 3rd party tasks. Although, I wonder why the same task would run fine in OS X and not run in XP...

Re: Simple if/else Condition

2007-07-27 Thread Scot P. Floess
Of course, you could also just use Ant-contrib's task... It supports if-then-else functionality. Michael Giroux wrote: Hi Evan, On 7/17/07, Evan J <[EMAIL PROTECTED]> wrote: if (condition) perform some task, i.e. echo message="condition met" else perform another task Is there such tas

Re: Simple if/else Condition

2007-07-27 Thread Michael Giroux
Hi Evan, On 7/17/07, Evan J <[EMAIL PROTECTED]> wrote: > if (condition) > perform some task, i.e. echo message="condition met" > else > perform another task > > Is there such task available in Ant 1.7? This can be accomplished by wrapping the tasks in individual targets then defining a target

Re: removing byte order mark

2007-07-27 Thread Steve Loughran
Alex Egg wrote: When I run my ant task from windows it gives me errors related to the unicode/utf8 byte order mark. I do not get this error when running the same task from OS X. Anyways, what's an easy way to remove the BOM? Alex This shouldnt happen; xerces should handle it. Can you post the