There seems to be a feature in XDoclet which replaces any properties
defined using ${myprop} syntax in Java source files with their value
when generating the XML.

More specifically, when running springdoclet, I want to use the
PropertyPlaceholderConfigurer class which requires me to have the
following in the XML file:

    <property name="dao">
      <ref bean="${personDAO}"/>
    </property>

but I am unable to produce this using XDoclet because I happen to have
a personDAO property in the ant build file.  The XDoclet tag in the
source file looks like:

    /**
     * @spring.property ref="${personDAO}"
     */

but this produces

    <property name="dao">
      <ref bean="com.blah.blah.PersonDAO"/>
    </property>

which is not what I want since the property has been substituted with
its value.  Is there a way of disabling property replacement for a
particular task?

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to