Bugs item #523372, was opened at 2002-02-27 13:22
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=523372&group_id=31602
Category: ejbdoclet
Group: None
Status: Open
>Resolution: Fixed
Priority: 5
Submitted By: Thomas Larsen (toften)
Assigned to: Nobody/Anonymous (nobody)
Summary: Ant property specified values
Initial Comment:
When using an Ant property to specify a value followed
by a text string, it doesn't get parsed correctly.
"xxBean.java" file:
.
.
* @ejb:bean name="Person"
* jndi-name="${project.name}/Person"
.
.
When this is parsed the result in the jboss.xml file
is:
.
.
<enterprise-beans>
<entity>
<ejb-name>Person</ejb-name>
<jndi-name>project.name}/Perso</jndi-name>
</entity>
</enterprise-beans>
.
.
However if the .java file contains:
.
.
* @ejb:bean name="Person"
* jndi-name="${project.name}"
.
.
Then the value is parsed correctly and the result in
the jboss.xml file is:
.
.
<enterprise-beans>
<entity>
<ejb-name>Person</ejb-name>
<jndi-name>xdoclet</jndi-name>
</entity>
</enterprise-beans>
.
.
Attached is the build.xml file
----------------------------------------------------------------------
>Comment By: Dmitri Colebatch (dimc)
Date: 2002-04-04 13:50
Message:
Logged In: YES
user_id=204154
Changed HomeTagsHandler (see http://cvs.sourceforge.net/cgi-
bin/viewcvs.cgi/xdoclet/xdoclet/core/src/xdoclet/ejb/tags/Ho
meTagsHandler.java.diff?r1=1.27&r2=1.28) to call
XDocletTagsHelper.dereferenceProperties() on JNDI name
attribute. Also changed ClassTagsHandler to do similar for
<XDtClass:classTagValue />
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=523372&group_id=31602
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel