For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 8 replies, 5 voices, and was last updated 21 years, 2 months ago by
Riyad Kalla.
-
AuthorPosts
-
Panagiotis KorrosMemberRun 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 2Right 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.
September 18, 2003 at 8:02 am #198596
support-michaelKeymasterI 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 SupportSeptember 18, 2003 at 8:41 am #198598
Panagiotis KorrosMemberI think it would be ok.
August 28, 2004 at 1:40 am #213881
sbarrerosMemberIs 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,
August 28, 2004 at 6:29 am #213883
GregMemberSure, 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.
August 29, 2004 at 10:27 pm #213934
sbarrerosMemberI 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.
August 29, 2004 at 11:45 pm #213936
GregMemberAre 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.htmlSeptember 24, 2004 at 8:33 am #215902
Panagiotis KorrosMemberBut what about my original post?
After 1 year this problem is still not fixed causing many problems to our team.
September 24, 2004 at 8:55 am #215909
Riyad KallaMemberpkorros,
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.
-
AuthorPosts
