ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Goodnough <agoo...@yahoo.com>
Subject Re: Ant 1.2 and ejbjar
Date Wed, 17 Jan 2001 13:22:46 GMT
Put "%WEBLOGIC_HOME%\classes" in your path before starting
ant and this will go away.


Andy


--- Abhishek Srivastava <abisheks@india.hp.com> wrote:
> Hi,
> 
> I downloaded the ant 1.2 version and my ejbjar task has
> stopped working. I
> am able to build the ejb and deploy it with a normal
> batch file.
> 
> Also, I opened the file in IE 5.5 and I am able to see
> the contents, so i'm
> sure that the file is well-formed. I also checked the
> Sun's web site and the
> DTD is also present at the location specified in this
> document.
> 
> The error I get is
> 
> C:\myapps\java\ant\build.xml:10: SAXException while
> parsing
> 'META-INF\ejb-jar.xm
> l'. This probably indicates badly-formed XML.  Details:
> External entity not
> foun
> d: "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd".
> org.xml.sax.SAXParseException: External entity not found:
> "http://java.sun.com/j
> 2ee/dtds/ejb-jar_1_1.dtd".
>         at
> com.sun.xml.parser.Parser.fatal(Parser.java:2817)
>         at
>
com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2506)
>         at
>
com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137)
>         at
> com.sun.xml.parser.Parser.parseInternal(Parser.java:481)
>         at
> com.sun.xml.parser.Parser.parse(Parser.java:284)
>         at
> javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
>         at
>
org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.proc
> essDescriptor(GenericDeploymentTool.java:244)
>         at
>
org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java
> :273)
>         at
> org.apache.tools.ant.Target.execute(Target.java:142)
>         at
> org.apache.tools.ant.Project.runTarget(Project.java:818)
>         at
>
org.apache.tools.ant.Project.executeTarget(Project.java:532)
>         at
>
org.apache.tools.ant.Project.executeTargets(Project.java:506)
>         at
> org.apache.tools.ant.Main.runBuild(Main.java:420)
>         at org.apache.tools.ant.Main.main(Main.java:149)
> 


=====

Andrew Goodnough
agoodno@yahoo.com

How do you know you've come far enough, until you've gone too far?

- Sheldon Kopp

 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Mime
View raw message