I feel for you! - after a short stint with RAD I can only recommend one thing: Speak to the suits and discuss using another plugin - I  can only suggest moving to MyEclipse: its a fraction of the price of RAD, and actually works (most of the time..). The plus for you - it supports Websphere 4,5,6 as applictation servers. Using Xdoclet becomes a breeze, and the only catch will be having to use Webshpere App server. Note - if you are not using Websphere there is no reason to use RAD ! . Bonus: not using RAD will take you a lot closer to having code that is portable to any J2ee application server. Good luck!

On 7/13/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:

The current problem is as follow:

Within RAD:

   1. RAD *is kind enough* to make use of the xdoclet tags in my EJB
and generate the Home and Remote interface and ejb-jar.xml.
   2. Using the ejbdeploy task which is in I believe C:\Program
Files\IBM\Rational\SDP\6.0\rwd\eclipse\plugins\com.ibm.etools.ejb.ant_6.0.1\runtime\ejbAnt.jar
a java.lang.NoSuchMethodError is thrown. There is a ant_6.0.0 directory
that also has the ant task but it seems identical. It appears that
I.B.M decided to throw in their own/odd logging package which is
becoming confused with the common-logging in the classpath for the
project. I am not completely sure on this last issue, this is what is
being reported to me.


With Ant on the command line:

    1: Including all the RAD libs we are able to get xdoclet generate
the Remote and Home interfaces and the ejb-jar.xml
    2: In this environment we get a java.lang.NullPointerException
thrown. I have attempted to jad the
rad-anttasks-6.0.0\com\ibm\etools\ejb\ant\EJBDeploy.java and believe
that it attempts to use
ResourcesPlugin.getWorkspace().getRoot().getProject(ejbProjectName); I
don't know for certain if it is at this point the exception is thrown
because the line number from the stacktrace is out of sync.

My questions are:

1: Has anybody been successfully able to generate an ejb jar of their
project with ant without RAD dependencies for websphere 6.0?
2: Are their any other 3'rd party tasks, ways IE Maven plugins, ideas
to use RAD for development but manage the build via ant or maven?

A side note: Goggles to be worn when using RAD




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
For the ctjug home page see http://www.ctjug.org.za
-~----------~----~----~----~------~----~------~--~---

Reply via email to