You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by P Dunham <pc...@hotmail.com> on 2003/05/12 17:20:43 UTC

ejbjar task problms

I'm having trouble with the ejbjar task. I first had the error which
required the bcel lib and fixed that. 

I still get this error-

   [ejbjar] 7 deployment descriptors located.

   [ejbjar] BUILD FAILED:
file:D:/dev/projects/textbookxchange.com/src/entityEJBs/build.xml:96:
SAXException while parsing 'com\textbookxchange\entities\User.class'. This
probably indicates badly-formed XML.  Details: Character conversion error:
"Malformed UTF-8 char -- is an XML encoding declaration missing?" (line
number may be too low).

 

This happens in eclipse and with ant standalone. I'm also not sure why ant
says 7 deployment descriptors are located because I'm sure there are only 3.
Can anyone help?

 

Thanks,

Philip


RE: ejbjar task problms

Posted by P Dunham <pc...@hotmail.com>.
Thanks, I finally realized that at 11:00 last night.
-Philip

-----Original Message-----
From: Conor MacNeill [mailto:conor@cortexebusiness.com.au] 
Sent: Tuesday, May 13, 2003 4:56 AM
To: Ant Users List
Subject: Re: ejbjar task problms

On Tue, 13 May 2003 01:20 am, P Dunham wrote:
>
> This happens in eclipse and with ant standalone. I'm also not sure why ant
> says 7 deployment descriptors are located because I'm sure there are only
> 3. Can anyone help?
>
>

You need to tell ejbjar which files are the XML deployment descriptor with 
appropriate excludes and includes. <ejbjar> makes no assumptions about 
filenames so if you include other files it will try to parse them as 
deployment descriptors. 

-- 
Conor MacNeill
Blog: http://codefeed.com/blog/


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


Re: ejbjar task problms

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
On Tue, 13 May 2003 01:20 am, P Dunham wrote:
>
> This happens in eclipse and with ant standalone. I'm also not sure why ant
> says 7 deployment descriptors are located because I'm sure there are only
> 3. Can anyone help?
>
>

You need to tell ejbjar which files are the XML deployment descriptor with 
appropriate excludes and includes. <ejbjar> makes no assumptions about 
filenames so if you include other files it will try to parse them as 
deployment descriptors. 

-- 
Conor MacNeill
Blog: http://codefeed.com/blog/