This sounds like a bug to me.
I'm in the middle of a machine reinstall, but should be able to look at it
later today.
--
dIon Gillard, Multitask Consulting
"Veerasamy, Thirumalai (Cognizant)" <[EMAIL PROTECTED]> wrote on
20/03/2004 02:42:56 AM:
> Hi,
>
> It creates the stubs but it doesn't compile those files and put it in
> the jar file. Now I have set the java_home to IBM JDK, but still it
> doesn't happen, any idea? How to trouble shoot? Is it that it is not
> able to compiling the code since the folder is different or something.
> The output log is given below.
>
> I found one more thing that the maven.was40.ejb.deployOptions property
> is not used in the plugin code. I added to it.
>
> <java className="com.ibm.etools.ejbdeploy.EJBDeploy"
> fork="true"
> classpathRef="ejbdeploy.classpath">
> <env key="JAVA_HOME" value="${maven.was40.home}/java"/>
> <env key="PATH" value="${maven.was40.home}/java/bin"/>
> <jvmarg value="-Xmx512m"/>
> <sysproperty key="websphere.lib.dir"
> value="${maven.was40.home}/lib"/>
> <arg value="${maven.was40.ejb.file}" />
> <arg value="${workingDir}" />
> <arg value="${maven.was40.ejb.out.file}" />
> ** <arg line="${maven.was40.ejb.deployOptions}"/> ** //added by me
> <arg value="-cp"/>
> <arg value="${cpMaven}"/>
> </java>
>
> [java] Generating deployment code
> [java] Processing session bean: AttributeManagerEJB
> [java] Processing session bean: ContentEJB
> [java] Processing session bean: CacheLoaderEJB
> [java] Processing session bean: CollectionManagerEJB
> [java] Processing session bean: VisitorManagerEJB
> [java] Processing session bean: ShareDataEJB
> [java] Processing session bean: VisitorDataAccessEJB
> [java] Building: /vsrm-ejb-2.2.jar.
> [java] Invoking Java Builder on /vsrm-ejb-2.2.jar.
> [java] Scrubbing output folder
> [java] Analyzing packages
> [java] Analyzing sources
> [java] Compiling content of ejbModule/com/mmm/vsrm/service
> [java] Copying all resources on the classpath
> [java] Build done.
> [java] Java build completed
> [java] Invoking RMIC.
> [java] Building: /vsrm-ejb-2.2.jar.
> [java] Invoking Java Builder on /vsrm-ejb-2.2.jar.
> [java] Reading resource change information for : vsrm-ejb-2.2.jar
> [java] Updating resources on the classpath
> [java] Build done.
> [java] Java build completed
> [java] Building: /vsrm-ejb-2.2.jar. Invoking Java Builder on
> /vsrm-ejb-2.2.jar.
> [java] Building: /vsrm-ejb-2.2.jar. Reading resource change
> information for : vsrm-ejb-2.2.jar
> [java] Building: /vsrm-ejb-2.2.jar.
> [java] Building: /vsrm-ejb-2.2.jar. Updating resources on the
> classpath
> [java] Building: /vsrm-ejb-2.2.jar. Build done.
> [java] Building: /vsrm-ejb-2.2.jar.
> [java] Building: /vsrm-ejb-2.2.jar. Java build completed
> [java] Building: /vsrm-ejb-2.2.jar. Invoking Validation on
> /vsrm-ejb-2.2.jar.
> [java] Building: /vsrm-ejb-2.2.jar.
> [java] Updating.
> [java] Shutting down workbench.
> [java] EJBDeploy complete.
> [java] 0 Errors, 6 Warnings, 0 Informational Messages
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 19, 2004 5:56 PM
> To: Maven Users List
> Subject: RE: How can I generate Deploy and RMIC Code for IBM Websphere,
> I couldn't find any plugins
>
> "Veerasamy, Thirumalai (Cognizant)" <[EMAIL PROTECTED]> wrote
> on
> 19/03/2004 11:07:07 PM:
>
> > I could see this code in goal "was40:generate-ejb-code"
> >
> > <java className="com.ibm.etools.ejbdeploy.EJBDeploy"
> > fork="true"
> > classpathRef="ejbdeploy.classpath">
> > <env key="JAVA_HOME" value="${maven.was40.home}/java"/>
> > <env key="PATH" value="${maven.was40.home}/java/bin"/>
> > <jvmarg value="-Xmx512m"/>
> > <sysproperty key="websphere.lib.dir"
> > value="${maven.was40.home}/lib"/>
> > <arg value="${maven.was40.ejb.file}" />
> > <arg value="${workingDir}" />
> > <arg value="${maven.was40.ejb.out.file}" />
> > <arg value="-cp"/>
> > <arg value="${cpMaven}"/>
> > </java>
> >
> > which set the java_home automatically. As I told you I am using ver
> 1.1
> > plugin. I think it was not there in ver 1.0 plugin. Do you still want
> me
> > to set the java_home and path there?
>
> Yes. RMIC will fail without the IBM JDK on the path. Which, under
> windows
> xp for me, doesn't happen using the plugin. The above was my attempt to
> get it to work, but it is not consistent.
> --
> dIon Gillard, Multitask Consulting
> [attachment "InterScan_Disclaimer.txt" deleted by dIon
> Gillard/Multitask Consulting/AU]
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]