facebook

Regenerate xdoclet-build.xml from .xdoclet [Enhancement]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    Run xdoclet command does nothing if the xdoclet-build.xml is deleted.
    I think that it should regenerate the file from the .xdoclet config file and run it.

    This is a part of a bigger issue. How should my eclipse project be shared throught a source control system? Should we include xdoclet-build.xml in the repository?
    If we include it then we have to update the references in it in every machine manually.

    If we don’t include it then we have to way to regenerate the file.

    And what if another user changes .xdoclet?
    User A adds .xdoclet to the repository
    User B makes some changes and checks in version 2 of .xdoclet
    User A updates his workspace and takes .xdoclet version 2

    Right now myeclipse doesn’t understand the change and it won’t regenerate xdoclet-build.xml to reflect the changes that user B did.

    I think that the best sollution is to store only .xdoclet in the source control system and when the user invokes the run xdoclet command to generate xdoclet-build.xml at runtime.

    Best Regards Panagiotis Korros.

    #198596

    support-michael
    Keymaster

    I agree with this idea. In my previous reply to your “Invalid Paths in …” msg I discouraged the sharing of xdoclet-build.xml files to avoid local configuration incompatibilities, e.g., absolute paths to resources, etc. While drafting my earlier reply I immediately came to the same conclusion that you present here.

    I have entered an enhancement request to revise the system behavior as you suggest. We really appreciate your inputs.

    Extending this discussion, what do you think of a feature similar to the JSP compiler preference that allows a user to enable/disable auto-build (execution) of XDoclet when the .xdoclet file is modified?

    Regards,

    Michael
    MyEclipse Support

    #198598

    I think it would be ok.

    #213881

    sbarreros
    Member

    Is there any solution for this? I deleted my xdoclet-build.xml because I moved from a computer that used to have 2 hard drives and I had an E drive in my old computer, but now I have a single disk computer and the paths in my projects are screwed up, that is why I decided to delete the xdoclet-build.xml but can not find how to regenerate it, is there even a way to do it??

    Thanks,

    #213883

    Greg
    Member

    Sure, just go to your MyEclipse-XDoclet properties page on your project and click ok. Each time you visit the properties page no matter if you edit it or not, the xdoclet-build.xml file will be regenerated.

    #213934

    sbarreros
    Member

    I did try that but I get an error message when I open the project properties and then click the OK button.
    On top it says “!ConfigurationpropertyPage.failed.delete.configuration!”
    in the messabox itself “java.lang.reflect.InvocationTargetException”
    and an OK button.

    I am using Eclipse 3.0.0 and My eclipse plugin 3.8.0 and jdk1.4.2

    Thanks for the help.

    #213936

    Greg
    Member

    Are you clicking on the MyEclipse-XDoclet property page and getting this error or some other page? Have you tried upgrading to 3.8.1? If you want to use the update site you need to be sure and read this post
    http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-3469.html

    #215902

    But what about my original post?

    After 1 year this problem is still not fixed causing many problems to our team.

    #215909

    Riyad Kalla
    Member

    pkorros,
    I am very sorry about keeping you waiting on this, if you look back over this years its been an amazingly busy year. Regardless, I went into our issue tracker, found the issue for this, upgraded it to a P1 and am waiting to see if we can get this into 3.9 for you once and for all.

    We really appreciate your patience.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Regenerate xdoclet-build.xml from .xdoclet [Enhancement]

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