ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject Re: Usage: [ejbc] problem
Date Thu, 12 Jul 2001 09:43:08 GMT
Danny,

Can you please do the following.
1. Try a recent nightly build. I fixed some EJB-2.0 related stuff after the
1.3 release.

2. Run ant -debug to see what command line is being generated for the ejbc
command.

Conor

----- Original Message -----
From: "danny tjahjadi" <danny.tjahjadi@dingoblue.com.au>
To: <ant-user@jakarta.apache.org>
Sent: Thursday, July 12, 2001 6:29 PM
Subject: Usage: [ejbc] problem


> Hi,
>
> I'm trying to build my application using ejbjar. However I keep getting
the
> following error (it's been driving me nuts for the last couple of days):
>
> ejbc.entities:
>    [ejbjar] building MedullaEntities.jar with 485 files
>      [ejbc] Usage: java weblogic.ejbc20 [options] <source jar file>
<target
> dir
> ectory or jar file>
>      [ejbc]
>      [ejbc] where options include:
>      [ejbc]     -help             Print this help message.
>      [ejbc]     -version          Print version information.
>      [ejbc]     -idl              Generate idl for remote interfaces
>      [ejbc]     -idlOverwrite     Always overwrite existing IDL files
>      [ejbc]     -idlVerbose       Display verbose information for IDL
>      [ejbc]                       generation
>      [ejbc]     -idlDirectory <dir> Specify the directory where IDL files
> will be
>      [ejbc]                       created (default : current directory)
>      [ejbc]     -iiop             Generate CORBA stubs
>      [ejbc]     -iiopDirectory <dir> Specify the directory where IIOP
stub
> files
>      [ejbc]                       will be written (default : current
>      [ejbc]                       directory)
>      [ejbc]     -keepgenerated    Keep the generated .java files.
>      [ejbc]     -compiler <javac> Java compiler to use.
>      [ejbc]     -g                Compile debugging info into class file.
>      [ejbc]     -debug            Compile with debugging on.
>      [ejbc]     -nowarn           Compile without warnings.
>      [ejbc]     -verbose          Compile with verbose output.
>      [ejbc]     -deprecation      Warn about deprecated calls.
>      [ejbc]     -normi            Passed through to Symantec's sj.
>      [ejbc]     -classpath <path> Classpath to use during compilation.
>      [ejbc]
>      [ejbc] Unrecognized option or flag, -
>      [ejbc] Java Result: 1
>
> My ant build file that produces the error is:
>   <target name="ejbc.entities" depends="compile.entitiesAll">
>     <ejbjar srcdir="${build}" descriptordir="${entities.descriptor}"
> basejarname="MedullaEntities">
>       <include name="**/*ejb-jar.xml"/>
>       <exclude name="**/*weblogic*.xml"/>
>       <support dir="${build}">
>         <include name="**/*.class"/>
>       </support>
>       <weblogic destdir="${dist.deploy}"
>                 keepgeneric="true"
>                 suffix=".jar"
>                 rebuild="false"
>                 newCMP="true">
>         <classpath>
>           <path refid="entities.class.path"/>
>           <pathelement location="${build}"/>
>         </classpath>
>         <wlclasspath>
>           <path refid="entities.class.path"/>
>         </wlclasspath>
>       </weblogic>
>     </ejbjar>
>   </target>
>
>


Mime
View raw message