We use xDoclet templates to wrap POJO classes, and then run Xdoclet again to create the EJB's - the Xdoclet creates the correct entries in the ejb.xml - if that is what you mean by deployment - Also can't you run the ant xdoclet tast  from command prompt? just make sure the libs are availiable to ant and that Ant home is set and the other RTFM..

herewith pasela a -target that also modifies the deploymentdescriptor and does some Weblogic specific stuff...

<target name="M_EJBGen" description="Generate Standard EJB" depends="xyz">
        <taskdef classpathref="xdoclet.classpath" classname="xdoclet.modules.ejb.EjbDocletTask" name="ejbdoclet" />
        <ejbdoclet ejbSpec="2.0"
                excludedTags="@version,@author,@todo"
                destDir="${dest.dir}"
                verbose="true" addedTags="@xdoclet-generated at ${TODAY},@copyright The XDoclet Team,@author XDoclet,@version ${version}">
            <weblogic destdir="./${src.dir}/META-INF" /> // here check for websphere specific tags?
            <fileset dir="${dest.dir}" >
                <include name="**/ejb/*.java" />
            </fileset>
            <remoteinterface />
            <localinterface />
            <homeinterface />
            <localhomeinterface />
            <session />
            <packageSubstitution packages="ejb" substituteWith="interfaces" />
            <utilobject includeGUID="true" cacheHomes="true" />
            <deploymentdescriptor  validateXML="true" destDir="${ src.dir}/META-INF" />
        </ejbdoclet>
    </target>

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

They chaps here are rather committed to using websphere, not that is a
problem in and of itself. My focus really is to automate the builds for
the webservices which wrap the EJB's.

I am uncertain where IBM sources this endless supply of cool aid. Maybe
I need some...



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