facebook

Project contents cannot be inside workspace directory prob?

💡
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 IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #201765 Reply

    minhv
    Member

    My setup : eclipse 2.1.2 (started with -data D:\Projects)
    MyEclipse 020700RC2.
    I just start using MyEclipse and what I want is having all project modules under the same root directory. So let say I want to create a new project “foo”, with EAR project “foo_eap”, web project “foo_web”, and ejb project “foo_ejb”. On my harddisk, I want to have the following directory structure:
    D:\Projects\foo
    D:\Projects\foo\foo_eap
    D:\Projects\foo\foo_web
    D:\Projects\foo\foo_ejb

    I created “foo” directory under D:\Projects, then try to create foo_eap project in MyEclipse project creation wizards. In the “New Enterprise Application Project” popup window, I entered foo_eap in the “Project Name” field, if the “Use Default Location” checkbox is checked, MyEclipse will use D:\Projects\foo_eap directory, which is not what I wanted. If I unchecked it, then enter D:\Projects\foo\foo_eap, then it won’t allow me to do that. I got the message “Project contents cannot be inside workspace directory”, and the Next and Finish buttons were disabled.

    How can I get around this? I don’t want to start eclipse with “-data D:\Projects”, then create my projects outside of that directory.
    Thanks for your help.

    #201867

    support-michael
    Keymaster

    Eclipse (not MyEclipse) restricts projects created in the workspace to be direct subdirectories of the workspace directory, i.e., <myworkspace>/foo_eap. Thus, Eclipse is prohibiting your action to create <myworkspace>/foo/foo_eap. Consider dropping use of the -data option which points to the workspace of your Eclipse/MyEclipse instance and you should be able to create a project directory hierarchy …/foo/foo_eap.

    Michael
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Project contents cannot be inside workspace directory prob?

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