ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saket Raizada <Saket.Raiz...@claimiq.com>
Subject ejbjar problems!
Date Wed, 10 Jan 2001 01:11:53 GMT

hi,
 i have a directory ${build.classes}/domain in which the .class files and
deployment descriptors are kept
the jar ordinarily compiles when used from simple ejbc etc...
but when 
I use

<ejbjar srcdir="${build.classes}/domain"
 destdir="junk">
 </ejbjar>
it gives me this error..
any insights??

    

BUILD FAILED

M:\build.xml:32: SAXException while parsing 'DomainTable.class'. This
probably indicates badly-formed XML.  Details: Character conversion error
encoding declaration missing?" (line number may be too low).
org.xml.sax.SAXParseException: Character conversion error: "Malformed UTF-8
char -- is an XML encoding declaration missing?" (line number may b
        at com.sun.xml.parser.InputEntity.fatal(InputEntity.java:974)
        at com.sun.xml.parser.InputEntity.fillbuf(InputEntity.java:946)
        at com.sun.xml.parser.InputEntity.peek(InputEntity.java:777)
        at com.sun.xml.parser.Parser.peek(Parser.java:2690)
        at com.sun.xml.parser.Parser.maybeXmlDecl(Parser.java:980)
        at com.sun.xml.parser.Parser.parseInternal(Parser.java:477)
        at com.sun.xml.parser.Parser.parse(Parser.java:283)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
        at
org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.processDesc
riptor(GenericDeploymentTool.java, Compiled Code)
        at
org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java,
Compiled Code)
        at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
        at org.apache.tools.ant.Project.runTarget(Project.java:818)
        at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled
Code)
        at org.apache.tools.ant.Project.executeTargets(Project.java,
Compiled Code)
        at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java:149)

thanks and regards
-Saket

Mime
View raw message