facebook

Creating a project with existing code in workspace

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #244107 Reply

    CakeWipe
    Member

    This is probably a simple eclipse question but I’ve never been able to do it.
    I currently have my project checked out from (non eclipse) cvs into c:/dev/MyApp
    MyApp contains the following folders Source, exe, dist, build, classes. I dont want to change this structure because this is company file structure.
    c:/dev is my workspace that I use in eclipse. I want to be able to create a java project that consists only of the source folder without changing or moving this folder structure.

    When I try to do a new->java project->use existing code it naturally says “Cannot create project content in workspace.” because this code is already in my workspace.

    I know the normal way of doing this is to create a repository directory and then create a dev directory and create a project in import the code into your project. If I do this, I’ll have to move my changed files back and forth to check back into cvs and run from a different location. Or I could just drag the whole cvs directory into eclipse but that adds the exe, dist, build folders as packages and clutters up eclipse because I’m only concerned about the source folder.

    Once I make changes in eclipse, I manually double click on the build file in windows located in c:/dev/MyApp/Source/built.bat

    How do I check in a new project with into c:/dev/MyApp then create this project in eclipse into the same directory?

    #244139 Reply

    Riyad Kalla
    Member

    Moving to OT > Soft Dev

    Cake I don’t know why you are avoiding Eclipse’s CVS functionality, but if you did use it this would all be a lot easier. Check Out As… > Java Projects > Finish

    #244149 Reply

    CakeWipe
    Member

    I am avoiding eclipse cvs because the company uses third party cvs software which is not compatible with eclipse.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Creating a project with existing code in workspace

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