facebook

Project specific Deploy Location needed

💡
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. Application Servers and Deployment
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #267125 Reply

    mtrtm
    Member

    Hi,

    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

    #267198

    Riyad Kalla
    Member

    Mario,
    No worries, instead of selecting your app server, select “Custom Location” as the deployment and you can specify whatever directory you would like.

    #267649

    mtrtm
    Member

    Riyad,

    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

    #267688

    Riyad Kalla
    Member

    Mario,
    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).

    #268046

    mtrtm
    Member

    Riyad,

    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,

    #268047

    Riyad Kalla
    Member

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

    #268048

    mtrtm
    Member

    Riyad,

    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?

    #268051

    Riyad Kalla
    Member

    Try 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?

    #268053

    mtrtm
    Member

    Riyad,

    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)

    #268054

    Riyad Kalla
    Member

    If 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?

    #268057

    mtrtm
    Member

    Still the same error (with no error message)

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: Project specific Deploy Location needed

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