ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guruprasad R" <guruprasa...@gmail.com>
Subject Re: Java task
Date Thu, 02 Mar 2006 06:41:01 GMT
i have the path set properly for weblogic.ejbc. weblogic.ejbc is the ejb
compiler for weblogic server, which is in weblogic.jar.

FYI
<path id="class.path">
  <fileset dir="${weblogicjars}/weblogic81/server/lib" includes="
weblogic.jar"/>
</path>


On 3/2/06, Jan.Materne@rzf.fin-nrw.de <Jan.Materne@rzf.fin-nrw.de> wrote:
>
> Have a look at your path with id="class.path".
> Can it find the class "weblogic.ejbc"?
> In exact that notation? (I guess classnames should be start upcase...)
>
> Jan
>
> >-----Ursprüngliche Nachricht-----
> >Von: Guruprasad R [mailto:guruprasad81@gmail.com]
> >Gesendet: Donnerstag, 2. März 2006 07:10
> >An: Ant Users List
> >Betreff: Java task
> >
> >Hi all, i have written a target that uses java task as below.
> >
> ><target name="exectask" depends="makejar">
> >        <echo> Test Started </echo>
> >        <java  classpathref="class.path" classname="weblogic.ejbc">
> >            <arg value="${src}/npacejb.jar"/>
> >        </java>
> > </target>
> >
> >when this target is executed from the command prompt, i dont
> >find any issues. whereas when i execute the same target in the
> >weblogic, i get
> >
> >   - exectask:
> >   - WARNING: Test Started
> >   - ERROR: *java.lang.IllegalStateException: Called System.exit(1) *
> >   - ejbc successful.
> >   - Called System.exit(0)
> >   - BUILD SUCCESSFUL
> >
> >Please help debugging the above script.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message