For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 10 replies, 2 voices, and was last updated 19 years ago by
mtrtm.
-
AuthorPosts
-
mtrtmMemberHi,
I have searched and can’t seem to find any way to change the Deploy Location for a project. I currently have MyEclipse 5.1.
If I Manage Deployments for a certain server and click Add, I can select a project but the Deploy Location is uneditable. Is there any way to change this?
Thanks,
Mario
March 9, 2007 at 7:32 pm #267198
Riyad KallaMemberMario,
No worries, instead of selecting your app server, select “Custom Location” as the deployment and you can specify whatever directory you would like.March 19, 2007 at 5:15 pm #267649
mtrtmMemberRiyad,
Thanks for the suggestion. My problem is that I need to deploy to a directory that contains another web project – my web project is an addition to the existing one.
If I use the “Custom Location” option, it overwrites the project that is currently there. What I need it to do is just add all of its files to the existing deployment.
Is there any way to use MyEclipse when having to do specific deployment like this?
Thanks in advance,
Mario
Mario
March 20, 2007 at 10:09 am #267688
Riyad KallaMemberMario,
When you get a conflict with an existing deployment location, MyEclipse will prompt you if you want to Replace/Backup/Overlay the new deployment with the old one. I suppose you want to choose Overlay (or Overwrite… I forget the exact verbage).March 27, 2007 at 11:05 am #268046
mtrtmMemberRiyad,
Overwrite does what you are talking about – thanks for the help on that one.
I have a new problem now – Every time I try to deploy to a “Custom Location – Suffixed” with a Deploy Type of Archived and choose to “Overwrite remote resources” I get an error popup. The error pop up only says Error, has a red circle with a white X in it and has an OK button. Could you tell me what this error means? Maybe you could search where you are throwing an error with no message?
I also can’t seem to get MyEclipse to deploy any class files at all after this error is encountered. Is this related or a different issue?
Any help would be appreciated. Thanks,
March 27, 2007 at 11:29 am #268047
Riyad KallaMemberThat error is usually the side effect of some weird state either of the project, or of the deployment location and almost always throws an exception to the log file, can you check for it?
(<workspace dir>\.metadata\.log) is the location of the log file, look near the bottom.
March 27, 2007 at 11:46 am #268048
mtrtmMemberRiyad,
Thanks for the quick reply. This has happened both with a copied project and one I tried building (kind of) from scratch.
To make sure I was capturing the correct error in the .log file, I opened it up and put a marker in at the very bottom of the file, then reproduced the error. I then opened the log file up again and nothing was written to the file.
Any more ideas?
March 27, 2007 at 11:56 am #268051
Riyad KallaMemberTry and shut down your app server, remove all the deployments, then right-click on each project at the root and do a Refresh. Then clean all the projects and re-create the deployments.
Did that work?
March 27, 2007 at 2:01 pm #268053
mtrtmMemberRiyad,
Sorry, that didn’t fix it. I looked in the log and just seem to see a lot of MyEclipse validation errors (javascript exceptions mostly)
March 27, 2007 at 2:03 pm #268054
Riyad KallaMemberIf you create a new workspace temporarily, say File > switch workspace > C:\tempworkspace. Then import your two projects into it, and configure Tomcat… do they deploy without a hitch?
March 27, 2007 at 2:27 pm #268057
mtrtmMemberStill the same error (with no error message)
-
AuthorPosts
