Hello gurus,

I understand that the remotefacade needs two runthroughs.

In the first pass I run entityfacade whereafter I through antcall run the second pass which

don’t do anything at all – the new *FacadeEJB.java files aren’t detected it seems.

 

Any suggestion as to what I might be doing wrong ?

 

:)esper

 

 

<!-- ========= X D O C L E T  ========================-->

<target name="xdoclet" depends="init, runmain" >

      <echo message=". :::::::::::::::::::::Running XDoclet::::::::::::::::::::::::"/>

      <ejbdoclet

            destDir="./ejb"

            excludedtags="@version, @author"

            ejbspec="2.0"

            verbose="true"

            force="true">

 

      <fileset dir=".">

            <include name="dk/itu/next/rea/transform/velocity/model/silkshop/*.java"/>

      </fileset>

      <dataobject />

      <remoteinterface/>

      <homeinterface/>

      <localinterface/>

      <localhomeinterface/>

     

      <utilobject includeGUID="true"/>

      <valueobject/>

      <entitycmp pattern="{0}CMP"/>

      <session/>

    

       <entityfacade/>

 

      <deploymentdescriptor destdir="ejb/META-INF"

                                    acceptInterfaces="true"/>

 

      <jboss

                  version="3.1"

                  datasource="java:/DefaultDS"

                  datasourceMapping="Hypersonic SQL"

                  unauthenticatedPrincipal="nobody"

                  xmlencoding="UTF-8"

                  destdir="ejb/META-INF"

                  validatexml="true"

                  generateRelations="true"

                  preferredrelationmapping="relation-table" />

      </ejbdoclet>

     

      <!--<copy todir="ejb/dk/itu/next/rea/transform/velocity/model/silkshop">

            <fileset dir="dk/itu/next/rea/transform/velocity/model/silkshop/"/>

      </copy>-->

  

        <antcall target="remote"/>

            <antcall target="modifyjboss"/>

     

      <echo message="________Succesfully ran XDoclet_________"/>

</target>

 

 

<!-- ========= X D O C L E T   R E M O T E F A C A D E ========================-->

<target name="remote">

      <echo message=". :::::::::::::::::::::Running XDoclet REMOTE FACADE::::::::::::::::::::::::"/>

 

<ejbdoclet

            destDir="./ejb/"

            excludedtags="@version, @author"

            ejbspec="2.0"

            verbose="true"

            force="true">

      <fileset dir="./ejb/dk/itu/next/rea/transform/velocity/model/silkshop/">

            <include name="*.java"/>

      </fileset>

     

      <remotefacade pattern="{0}RealFacade"/>

  

</ejbdoclet>

</target>

 

 

Reply via email to