You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Doug Gallinat <Do...@MissileLock.com> on 2000/10/18 22:37:02 UTC

running ejbc from ant, setting classpath

I'm trying to run weblogic's ejbc from ant:

  <target name="ejbc" depends="jar">
    <java classpath="e:/weblogic/classes,e:/weblogic/lib/weblogicaux.jar"
          classname="weblogic.ejbc"
          args="${lib.dir}/dbbeans.jar ${lib.dir}/dbbeans-deploy.jar" />
  </target>

and am getting stuck with the following error:

build.xml:55: Could not find weblogic.ejbc. Make sure you have it in your
classpath

The ejbc.class file is located in e:\weblogic\classes\weblogic\ejbc.class.
Have tried '\' as well as '/'.

Please respond directly to me at dgallinat@missilelock.com. Thanks,


Doug


RE: running ejbc from ant, setting classpath

Posted by Conor MacNeill <co...@ebinteractive.com.au>.
Don't use a comma as a separator in your classpath. Use either a : or a ;

--
Conor MacNeill
conor@cortexebusiness.com.au
Cortex eBusiness
http://www.cortexebusiness.com.au

> -----Original Message-----
> From: Doug Gallinat [mailto:Doug.Gallinat@MissileLock.com]
> Sent: Thursday, 19 October 2000 7:37
> To: 'ant-user@jakarta.apache.org'
> Cc: Doug Gallinat
> Subject: running ejbc from ant, setting classpath
>
>
> I'm trying to run weblogic's ejbc from ant:
>
>   <target name="ejbc" depends="jar">
>     <java classpath="e:/weblogic/classes,e:/weblogic/lib/weblogicaux.jar"
>           classname="weblogic.ejbc"
>           args="${lib.dir}/dbbeans.jar ${lib.dir}/dbbeans-deploy.jar" />
>   </target>
>
> and am getting stuck with the following error:
>
> build.xml:55: Could not find weblogic.ejbc. Make sure you have it in your
> classpath
>
> The ejbc.class file is located in e:\weblogic\classes\weblogic\ejbc.class.
> Have tried '\' as well as '/'.
>
> Please respond directly to me at dgallinat@missilelock.com. Thanks,
>
>
> Doug
>
>