ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Atif Faridi" <bop6...@bop.gov>
Subject iPlanet 6.0 EJBC generated CORBA class name issue
Date Fri, 06 Sep 2002 16:13:28 GMT
I am using the optional <iplanet ...> task. I noticed the change
(revision 1.9.2.1) to class 

org.apache.tools.ant.taskdefs.optional.ejb.IPlanetEJBC

prepends iPlanet EJBC-generated CORBA classes with "org.omg.stub". The
CORBA classes generated by my version of EJBC, 6.0, are not created with
this prefix. Thus, when executing, I get the following debugging
messages:

...
   [ejbjar] D:\iPlanet\ias6\ias\bin\ejbc -debug -iiop -gs -classpath
D:\dev\java-sandbox\aces\build\classes;D:\iPlanet\ias6\ias\classes\java\activation.jar;D:\iPlanet\ias6\ias\classes\java\jms.jar;D:\iPlanet\ias6\ias\classes\java\mail.jar;D:\iPlanet\ias6\ias\classes\java\servlet.jar;D:\iPlanet\ias6\ias\lib\java\javax.jar;D:\iPlanet\ias6\ias\lib\java\kfcjdk11.jar;D:\iPlanet\ias6\ias\lib\java\ldapjdk.jar;D:\java\j2sdk1.4.0\jre\lib\rt.jar;D:\java\j2sdk1.4.0\lib\tools.jar;D:\dev\java-sandbox\aces\lib\jmf.jar;D:\dev\java-sandbox\aces\lib\log4j.jar
-d D:\dev\java-sandbox\aces\build\classes
gov.bop.aces.ejb.SequenceGeneratorHome
gov.bop.aces.ejb.SequenceGenerator
gov.bop.aces.ejb.SequenceGeneratorEJB
...
generated:
D:\dev\java-sandbox\aces\build\classes\gov\bop\aces\ejb\_ejb_RmiCorbaBridge_SequenceGeneratorHome_Tie.class
...
   [ejbjar] adding file
'org\omg\stub\gov\bop\aces\ejb\_ejb_RmiCorbaBridge_SequenceGeneratorHome_Tie.class'
   [ejbjar] WARNING: IOException while adding entry
org\omg\stub\gov\bop\aces\ejb\_ejb_RmiCorbaBridge_SequenceGeneratorHome_Tie.class
to jarfile from
D:\dev\java-sandbox\aces\build\classes\org\omg\stub\gov\bop\aces\ejb\_ejb_RmiCorbaBridge_SequenceGeneratorHome_Tie.class
java.io.FileNotFoundException-D:\dev\java-sandbox\aces\build\classes\org\omg\stub\gov\bop\aces\ejb\_ejb_RmiCorbaBridge_SequenceGeneratorHome_Tie.class
(The system cannot find the path specified)
...

Messages are similar for other CORBA classes. I have fruitlessly
searched this and a few other mailing lists for help with this issue.
This makes me think that I am missing a necessary setting for the ejbc
executable or the modification in revision 1.9.2.1 is only applicable
for a certain version of iPlanet EJBC. This is the task definition in
build.xml:

  <target name="jar_ejb" depends="compile_classes, clean_ejbjar">
    <mkdir dir="${assemble.ejbjar}"/>
    <ejbjar srcdir="${build.classes}"
            descriptordir="${src.meta.ejbjar}"
            basejarname="${ejbjarprefix}"
            dependency="none">
      <iplanet destdir="${assemble.ejbjar}"
               iashome="${ias.home}"
               debug="yes"
               keepgenerated="yes">
      </iplanet>
      <classpath>
        <pathelement path="${build.classes}"/>
        <path refid="build.classpath"/>
      </classpath>
      <include name="**/*ejb-jar.xml"/>
      <exclude name="**/*ias-*.xml"/>
      <dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 1.1//EN" location="${src.meta.ejbjar}/ejb-jar_1_1.dtd"/>
      <dtd publicId="-//Sun Microsystems, Inc.//DTD iAS Enterprise
JavaBeans 1.0//EN" location="${src.meta.ejbjar}/IASEjb_jar_1_0.dtd"/>
    </ejbjar>
  </target>

Any help would be appreciated.

Regards,
Atif Faridi


--
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