From: Zarar S. <za...@gm...> - 2006-08-16 19:37:23
|
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? |