ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5653] New: - Ejbjar fails
Date Wed, 02 Jan 2002 11:07:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5653>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5653

Ejbjar fails

           Summary: Ejbjar fails
           Product: Ant
           Version: 1.3
          Platform: Other
        OS/Version: Windows NT/2K
            Status: UNCONFIRMED
          Severity: Critical
          Priority: Other
         Component: Optional Tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: mona_chem@hotmail.com


I have optional.jar in my Ant_home/lib dir.
But still when running(build.xml),
....
 <target name="ejbdeploy" depends="init,copydescriptor,compileAndjar" 
description="Builds EJB component and put it in weblogic server">
    <!-- Builds EJB component from ${build} and put it in ${server_home} -->
    <ejbjar srcdir="${build}"
                destdir="${server_home}/config/lbnl/applications">
          <weblogic destdir="${server_home}/config/lbnl/applications">
            <classpath refid="classpath" />
          </weblogic>
        </ejbjar>

  </target>
  
...


i am facing the error,
Buildfile: build.xml

init:

copydescriptor:
  [copydir] DEPRECATED - The copydir task is deprecated.  Use copy instead.

compileAndjar:
    [javac] Compiling 2 source files to E:\lbnl\AntTest\build
      [jar] Building jar: E:\lbnl\AntTest\build\src_lbnl_20020102_appln.jar

ejbdeploy:

BUILD FAILED

E:\lbnl\AntTest\build.xml:95: Could not create task of type: ejbjar. Common 
solutions are to use taskdef to declare your task, or, if this is an optional 
task, to put the optional.jar in the lib directory of your ant installation 
(ANT_HOME).

Total time: 15 seconds

..please its urgent

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message