You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Rajesh Kumar (IN4774)" <ra...@mindtree.com> on 2009/04/30 15:20:18 UTC

Need Help

When u run following command, its say...


Ø  Ant TARGET_NAME
Error Message: Error reading project file: Invalid byte 1 of 1-byte UTF-8 sequence.


Any Help?

Regards,
Rajesh

________________________________
http://www.mindtree.com/email/disclaimer.html

Re: Need Help

Posted by John Burgess <jo...@riskdecisions.com>.
I believe if there is no
<?xml version="1.0" encoding="UTF-8"?>
at the start of the file then ant will assume that UTF-8 is in use.  I 
would guess that you are actually using a different encoding, so you 
need to add the xml prolog with the appropriate character set (It would 
propably be ISO-8859-1 here as this denotes Latin-1 but what it would be 
in India I know not - maybe ISO-693-something).

-- 
John Burgess
Risk Decisions Limited
Whichford House
Parkway Court
Oxford Business Park South
OX4 2JY

T: 01865 718666
F: 01865 718600
M: 07984 863890
E: john.burgess@riskdecisions.com
W: http://www.riskdecisions.com




----- Original Message -----
*From:* "Scot P. Floess" <sf...@nc.rr.com>
*To:* "Rajesh Kumar (IN4774)" <ra...@mindtree.com>
*CC:* "user@ant.apache.org" <us...@ant.apache.org>
*Sent:* 30/04/2009 3:31:38 PM +0100
*Subject:* Need Help


>
> What does your build.xml file look like?
>
> Could be an issue with your XML prolog...
>
> On Thu, 30 Apr 2009, Rajesh Kumar  (IN4774) wrote:
>
>> When u run following command, its say...
>>
>>
>> Ø  Ant TARGET_NAME
>> Error Message: Error reading project file: Invalid byte 1 of 1-byte 
>> UTF-8 sequence.
>>
>>
>> Any Help?
>>
>> Regards,
>> Rajesh
>>
>> ________________________________
>> http://www.mindtree.com/email/disclaimer.html
>>
>
> Scot P. Floess
> 27 Lake Royale
> Louisburg, NC  27549
>
> 252-478-8087 (Home)
> 919-754-4592 (Work)
>
> Chief Architect JPlate   http://sourceforge.net/projects/jplate
> Chief Architect JavaPIM  http://sourceforge.net/projects/javapim
>
> Architect Keros          http://sourceforge.net/projects/keros
> ------------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


We are pleased to announce the launch of our quarterly e-newsletter, Risk Matters.
<a href=" http://www.second2clients.com/clientEmails/riskdecisions/rkd022/landing/register.html">Click here to subscribe and see the first issue.</a>


RE: Need Help

Posted by "Scot P. Floess" <sf...@nc.rr.com>.
At the top of your build.xml, do you have something like this:

<?xml version="1.0" encoding="UTF-8"?>


On Thu, 30 Apr 2009, Rajesh Kumar  (IN4774) wrote:

> Could you plz let me knw what prolog and how to resolve?
>
> Regards,
> RJ
>
> -----Original Message-----
> From: Scot P. Floess [mailto:sfloess@nc.rr.com]
> Sent: Thursday, April 30, 2009 8:02 PM
> To: Rajesh Kumar (IN4774)
> Cc: user@ant.apache.org
> Subject: Re: Need Help
>
>
> What does your build.xml file look like?
>
> Could be an issue with your XML prolog...
>
> On Thu, 30 Apr 2009, Rajesh Kumar  (IN4774) wrote:
>
>> When u run following command, its say...
>>
>>
>> �  Ant TARGET_NAME
>> Error Message: Error reading project file: Invalid byte 1 of 1-byte UTF-8 sequence.
>>
>>
>> Any Help?
>>
>> Regards,
>> Rajesh
>>
>> ________________________________
>> http://www.mindtree.com/email/disclaimer.html
>>
>
> Scot P. Floess
> 27 Lake Royale
> Louisburg, NC  27549
>
> 252-478-8087 (Home)
> 919-754-4592 (Work)
>
> Chief Architect JPlate   http://sourceforge.net/projects/jplate
> Chief Architect JavaPIM  http://sourceforge.net/projects/javapim
>
> Architect Keros          http://sourceforge.net/projects/keros
>
> http://www.mindtree.com/email/disclaimer.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

RE: Need Help

Posted by "Rajesh Kumar (IN4774)" <ra...@mindtree.com>.
Could you plz let me knw what prolog and how to resolve?

Regards,
RJ

-----Original Message-----
From: Scot P. Floess [mailto:sfloess@nc.rr.com]
Sent: Thursday, April 30, 2009 8:02 PM
To: Rajesh Kumar (IN4774)
Cc: user@ant.apache.org
Subject: Re: Need Help


What does your build.xml file look like?

Could be an issue with your XML prolog...

On Thu, 30 Apr 2009, Rajesh Kumar  (IN4774) wrote:

> When u run following command, its say...
>
>
> Ø  Ant TARGET_NAME
> Error Message: Error reading project file: Invalid byte 1 of 1-byte UTF-8 sequence.
>
>
> Any Help?
>
> Regards,
> Rajesh
>
> ________________________________
> http://www.mindtree.com/email/disclaimer.html
>

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

http://www.mindtree.com/email/disclaimer.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Need Help

Posted by "Scot P. Floess" <sf...@nc.rr.com>.
What does your build.xml file look like?

Could be an issue with your XML prolog...

On Thu, 30 Apr 2009, Rajesh Kumar  (IN4774) wrote:

> When u run following command, its say...
>
>
> �  Ant TARGET_NAME
> Error Message: Error reading project file: Invalid byte 1 of 1-byte UTF-8 sequence.
>
>
> Any Help?
>
> Regards,
> Rajesh
>
> ________________________________
> http://www.mindtree.com/email/disclaimer.html
>

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros