Redefine packageSubstitution for utilobject, like this for example:

<utilobject templatefile="build/util.j">
        <packageSubstitution packages="entities,facades,task"
substituteWith="utils"/>
</utilobject>

Ara.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:xdoclet-user-
> [EMAIL PROTECTED]] On Behalf Of Boris Nieuwenhuis
> Sent: Tuesday, April 16, 2002 3:23 PM
> To: '[EMAIL PROTECTED]'
> Subject: [Xdoclet-user] session subtask and packagesubstitution
> 
> Hi,
> I am using the session and util and the packagesubstitution subtask.
> For the Util classes the package substitution from facades to
interfaces
> package is working, but the classes generated from the session subtask
end
> up in the facades packages. This is not very practical, since I want
to
> use
> the Util class in the class generated in the Session subtask.
> Anybody knows where this behaviour comes from and if this is by
design?
> Thanks Boris
> 
> <ejbdoclet sourcepath="${java.dir};${gen.java.dir}"
>                  destdir="${gen.java.dir}"
>                  classpathref="project.class.path"
>                  excludedtags="@version,@author">
>          <fileset dir="${java.dir}">
>             <include name="**/*EJB.java" />
>             <include name="**/*MDB.java" />
>          </fileset>
>          <packageSubstitution packages="entities,facades,task"
> substituteWith="interfaces"/>
>          <dataobject/>
>          <remoteinterface/>
>          <localinterface/>
>          <homeinterface/>
>          <localhomeinterface/>
>          <entitypk/>
>          <entitycmp/>
>          <utilobject templatefile="build/util.j"/>
>          <session templatefile="build/custom-session.j"/>
>          <deploymentdescriptor
> destdir="${delotto.deploy.dir}/ejb/META-INF"/>
>          <!-- jboss version="2.4" xmlencoding="UTF-8"
> typemapping="Hypersonic SQL" datasource="java:/DefaultDS"
> destdir="${delotto.deploy.dir}/ejb/META-INF"/ -->
>          <!-- jboss version="2.4" xmlencoding="UTF-8" typemapping="MS
> SQLSERVER2000" datasource="java:/WebfarmMSDS"
> destdir="${delotto.deploy.dir}/ejb/META-INF"/ -->
>          <jboss version="2.4" xmlencoding="UTF-8"
typemapping="Oracle8"
> datasource="java:/DeLottoDS" destdir="${delotto.deploy.dir}/ejb/META-
> INF"/>
>       </ejbdoclet>
> 
> 
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to