Maybe you could consider first processing your source files with Velocity
and then calling Xdoclet.

Joachim

----- Original Message -----
From: "Matthew Hixson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 23, 2003 2:19 AM
Subject: [JBoss-user] specifying a variable in xdoclet


> I would like to be able to deploy my webapp in both Resin and JBoss.
> One problem I have is keeping finders in sync with both versions.
> Resin allows order by in its EJBQL while JBoss requires that the
> finders are specified in a JBoss specific deployment descriptor as
> JBossQL.  I'd like to do something like the following with xdoclet so
> that I can change the finder in one place and have it sent to both app
> servers' proper deployment descriptors.
>
>   * $description = "This finder finds some stuff."
>   * $signature="java.util.Collection findStuff(java.lang.String value)"
>   * $query = "select object(o) from foo o order by o.bar"
>   * @ejb.finder
>   *     signature="$signature"
>   *     query="$query"
>   * @jboss.query
>   *     description="$description"
>   *     signature="$signature"
>   *     query="$query"
>
>   Thanks,
>     -M@
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to