facebook

MyEclipse -> Run XDoclet does not Refresh [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #199722 Reply

    If I right click the xdoclet-build.xml from Package Explorer and click Run Ant, my Refresh settings are preserved for the next time that I run Ant. If I right click the project from Project Explorer and then click MyEclipse -> Run XDoclet, my any settings are restored to the default for an Ant script.

    #199740 Reply

    Scott Anderson
    Participant

    Correct. 🙂

    This is because when you select ‘Run Ant…’ it’s up to you to pick your settings specifically. It’s basically an “advanced user” usage case.

    When you choose “Run XDoclet” we set the Ant settings to what they should be for the script to run and refresh the workbench properly, independent of what you’ve done for other Ant scripts. If we didn’t do this, the fact that you’d played around with different configurations on different Ant scripts could break the XDoclet functionality behind the scenes.

    –Scott
    MyEclipse Support

    #199748 Reply

    The problem that I have with the default setting is that any files that XDoclet might have generated are not visible until I manually refresh the project. If I use the “Run XDoclet” feature, any customizations that I made on “Run Ant” are lost without warning. I would much rather have this shortcut be configured to refresh the project than use the current ant default.

    #199756 Reply

    Scott Anderson
    Participant

    I would much rather have this shortcut be configured to refresh the project than use the current ant default.

    Actually, ‘Run XDoclet’ should always refresh the project, independent of the current Ant settings. I’ve added this issue to our internal tracking system so we can correct it in an upcoming service release. Thank you for reporting it.

    –Scott
    MyEclipse Support

    #203447 Reply

    Scott Anderson
    Participant

    I checked the code and it actually does perform a manual, hard-coded refresh.

    #204430 Reply

    Riyad Kalla
    Member

    Fixed in 2.7 GA

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: MyEclipse -> Run XDoclet does not Refresh [Closed]

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