ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: passing $* from shell to ant
Date Tue, 12 Mar 2002 16:39:18 GMT
--- Beat Mr Beat je vous prie <beat@cannabismail.com> wrote:
> I still have trouble.
> command :
>  ant myexec -Dargs="~/logs/helloClient_Ctrace.xml"
> My error message :
> /home/promo-2002/parradel/CorbaTrace/build.xml:93:
> java.lang.LinkageError: loader constraints violated when linking
> org/xml/sax/Parser class
> 
> where line 93 is     <java classname="mypackage.Main">
> 
> and whole task is :
> 
>   <target name="myexec"> 
>     <java classname="mypackage.Main">
>     <arg line="${args}"/>
>     <classpath>
>         <pathelement location="${jar}"/>
>      <pathelement path="${java.class.path}"/>
>      <pathelement path="${parserSax}"/>
>     </classpath>
>     </java>
>   </target>
> 
> Any idea ?

Can't say for sure, since I don't know much about the Java "loader" stuff,
but I'm going to guess that adding fork="true" might help.

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

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


Mime
View raw message