- This topic has 7 replies, 3 voices, and was last updated 20 years, 4 months ago by Greg.
-
AuthorPosts
-
navisMemberHi,
I have an MDB in which i have specified the ejbdoclet tag like this
* @ejb.resource-ref
* res-ref-name = “${jndi.mail.N4EmailSession}”
* res-type = “javax.mail.Session”
* res-auth = “Container”Then i have xdoclet-build.properties file which has
jndi.mail.N4EmailSession=mail/Net4Now, when i run MyEclipse-> Run Xdoclet., the ejb-jar.xml contains ${jndi.mail.N4EmailSession}. Why the value is not getting replaced?
I have also tried right-clicking on xdoclet-build.xml, then Ant Build.., then unchecking “use global properties” AND adding xdoclet-build.properties in the Properties tab.
Wait a minute, i have observed that “use global properties” checkbox gets checked automatically AND properties file unset some time after i have unchecked that and added my xdoclet-build.properties file.
Seems like some serious problem to me. Any pointers.
TIA
Navjot Singh3.0RC1 + 3.8 beta 1 + Win2K
Riyad KallaMembernavis,
I’ve asked some people to take a look at this, hang tight.
navisMemberhi kalla,
any progress? if it is gonna take time, please let me know.
Riyad KallaMemberif it is gonna take time, please let me know.
Yes it might, the team is pretty swamped right now with work.
GregMemberWe have entered your report into our PR system. It is marked as priority 1 which means it will be fixed in the next beta release. Thanks for taking the time to submit a detailed problem description. That helps us make MyEclipse better for everyone.
navisMemberand when will next beta be available?
Riyad KallaMemberWe are shooting for next week I believe.
GregMembernavis,
The current release 3.8beta2 no longer uses the xdoclet builders. We are asking for user input as well as having internal discussions on the new xdoclet builder behavior if/when we add it back in. But right now, if you change the MyEclipse-XDoclet properties all builders will be removed and you must “Run XDoclet” each time you want to do a xdoclet build, instead of it happening automatically on project cleans. So you will no longer have the issue with the xdoclet builder.
But if you want to get your xdoclet-build.xml file to pick up a xdoclet-build.properties that is in the same directory you need to add the following to the top of your xdoclet-build.xml file…
<property file=”xdoclet-build.properties”/>
<?xml version="1.0" encoding="UTF-8"?> <project default="_generation_" name="XDoclet Generator"> <property file="xdoclet-build.properties"/> .... ....
Then when you “Run XDoclet” if there is a xdoclet-build.properties file in the same directory as xdoclet-build.xml file it will be processed as you would like.
If this is a solution that you would like to use, please let us know and we can provide the details of how to make all generated xdoclet-build.xml files have this <property> tag.
-
AuthorPosts