ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Master" <tmas...@iknowledgeinc.com>
Subject ejbc task help needed!
Date Fri, 24 Aug 2001 19:26:09 GMT
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