ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Master" <tmas...@iknowledgeinc.com>
Subject Re: ejbc task help needed!
Date Fri, 24 Aug 2001 19:28:46 GMT
ignore my message. i was being an ass. i had to preappend basedir to src and
dest.

Here's an error I got using it though.  NOW i am lost:
jarProject:
      [jar] Building jar:
C:\dev\iknowledge\V2.0\iNEXT\java\jar\appserver.jar
     [echo] Using ejbc on appserver.jar, and storing resultant jar in
C:\bea\wls
erver6.1/config/iknowdomain/applications...
     [ejbc] Exception occurred reading ejb-jar.xml - continuing
     [ejbc] Running ejbc for ejb-jar.xml
     [ejbc] ERROR: You must specify a source ejb-jar file ending with the
suffix
 .jar for weblogic.ejbc

BUILD FAILED

Execution of ejbc helper failed


Help would be nice, unless im in the doghouse for being stupid. :)

T Master.

----- Original Message -----
From: "T Master" <tmaster@iknowledgeinc.com>
To: "ant user mailist" <ant-user@jakarta.apache.org>
Sent: Friday, August 24, 2001 1:26 PM
Subject: ejbc task help needed!


> I need help using ejbc with weblogic, and ant 1.4beta2.  My error is
below.
> Apparently my directory is not a class.  Go figure.
> The dest dir is set to the package space where the class files reside.
>
> Why can't I run ejbc on a jar file directly?
>
> Bill, any insight?
>
>
> jarProject:
>       [jar] Building jar:
> C:\dev\iknowledge\V2.0\iNEXT\java\jar\appserver.jar
>      [echo] Using ejbc on appserver.jar, and storing resultant jar in
> C:\bea\wls
> erver6.1/config/iknowdomain/applications...
> BUILD FAILED
> C:\dev\iknowledge\V2.0\iNEXT\java\build\appserver-build.xml:272: dest
> directory
> class is not valid
> dest directory class\com\iknowledge\inext\server\ejb is not valid
>         at
> org.apache.tools.ant.taskdefs.optional.ejb.Ejbc.execute(Ejbc.java, C
> mpiled Code)
>         at org.apache.tools.ant.Task.perform(Task.java:217)
>         at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
>         at org.apache.tools.ant.Target.performTasks(Target.java:182)
>         at org.apache.tools.ant.Project.executeTarget(Project.java,
Compiled
> Co
> e)
>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java, Compiled
> Code)
>         at org.apache.tools.ant.Task.perform(Task.java:217)
>         at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
>         at org.apache.tools.ant.Target.performTasks(Target.java:182)
>         at org.apache.tools.ant.Project.executeTarget(Project.java,
Compiled
> Co
> e)
>         at org.apache.tools.ant.Project.executeTargets(Project.java,
> Compiled C
> de)
>         at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
>         at org.apache.tools.ant.Main.start(Main.java, Compiled Code)
>         at org.apache.tools.ant.Main.main(Main.java:176)
>
> Total time: 11 seconds
>
>
>
>
>
>
>         <ejbc
>             descriptors="${basedir}/${src.dir}/${project.path.ejb}"
>             src="${src.dir}"
>             dest="${build.dir}"
>             manifest="appserver.mf"
>             classpath="ejb.descriptor.build.classpath">
>             <include name="*.xml"/>
>         </ejbc>
>


Mime
View raw message