Hi all,
Is there a way to do following:
@tag.declare-variable name="subquery" value="where ............ 100
lines here"

and later on use it, for example:
@jboss.declared-sql
......
query="select x from y where ${subquery}"

and

@jboss.declared-sql
......
query="select count(x) from y where ${subquery}"


I have plenty of such cases, and would like to keep the code (sql) in one place and use as variable.

I know that I can pass the string through ANT and use it as variable,
but it is not good to keep sources separated in .java and some ant
properties.

Thanks,
  Tom


------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to