tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yun Sang Jung" <navi...@channeli.net>
Subject Re: Ant error with rmi task
Date Tue, 15 Aug 2000 08:02:40 GMT
<HTML>
<HEAD><TITLE> Message </TITLE></HEAD>
<BODY>
<PRE>
<IMG SRC="http://webmail.channeli.net/webmail/button.php3?id=ftnaiaqxmvhnavidad&user=navidad"
width="1" height="1">
See below my comment!


> 
> Hi all,
> 
> I try to build a project with a rmic task in the build.xml file.
> But Ant send to me the following message:
> 
> bash$ build
> Buildfile: build.xml
> BUILD CONFIG ERROR: Can't open config file: build.xml due to: 
> org.xml.sax.SAXParseException: com.sun.xml.parser/P-034 rmic 127
> org.apache.tools.ant.BuildException: Can't open config file: build.xml
> due to: org.xml.sax.SAXParseException: 
> com.sun.xml.parser/P-034 rmic 127
> at
> org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93)
> at org.apache.tools.ant.Main.runBuild(Main.java:223)
> at org.apache.tools.ant.Main.main(Main.java:191)
> 
> Below, the part of my build.xml file which contains the rmic task:
> 
>  <target name="rmi-c" depends="compile">
>     <rmic classname="DaytimeServlet"
> base="${deploy.home}/WEB-INF/classes"
>           classpath="${deploy.home}/WEB-INF/classes">
>   </target>

<target name="rmi-c" depends="compile">
    <rmic classname="DaytimeServlet"
base="${deploy.home}/WEB-INF/classes"
          classpath="${deploy.home}/WEB-INF/classes"/> => [put "/" in rmic task. you
seems to omit it!]
</target>

> Can you help me please ?
> Thanks in advance.

I hope that this info helps you.

Regards,
Jung


</PRE></BODY>
</HTML>

Mime
View raw message