facebook

xdoclet-build.properties not getting replaced

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #208604 Reply

    navis
    Member

    Hi,

    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/Net4

    Now, 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 Singh

    3.0RC1 + 3.8 beta 1 + Win2K

    #208611 Reply

    Riyad Kalla
    Member

    navis,
    I’ve asked some people to take a look at this, hang tight.

    #208673 Reply

    navis
    Member

    hi kalla,

    any progress? if it is gonna take time, please let me know.

    #208677 Reply

    Riyad Kalla
    Member

    if it is gonna take time, please let me know.

    Yes it might, the team is pretty swamped right now with work.

    #208694 Reply

    Greg
    Member

    We 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.

    #208724 Reply

    navis
    Member

    and when will next beta be available?

    #208737 Reply

    Riyad Kalla
    Member

    We are shooting for next week I believe.

    #209918 Reply

    Greg
    Member

    navis,

    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.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: xdoclet-build.properties not getting replaced

You must be logged in to post in the forum log in