I have a ant build file:
it needs to be changed to:
<?xml version="1.0" encoding="UTF-8" ?>After processed, ant complains:
D:\googlecode\balionweb\test>ant compile
Buildfile: build.xml
BUILD FAILED
D:\googlecode\balionweb\test\build.xml:12: Content is not allowed in
prolog.
Total time: 0 seconds
I have problem in handling new line. Tried “\r”, “\n” and “\r\n”, but no
luck.
It looks like the first line of xml file is pretty special.
How to do this? Better provide a working code.
Thanks.