Import (non Eclipse-based) project from CVS into Eclipse

admin 2
0 0
Read Time:1 Minute, 4 Second

This post describes how to import a (non-Eclipse) based project from CVS into Eclipse.

For plain Java projects

  1. Right-click on the module you want to check out and choose “Check out As”.
  2. Make sure that “Check out as project configured using the new project wizard” is selected in the pop-up window and push the “Next” button. Warning: not checking out a module/project using a project wizard will leave you with a project without a Java builder.
  3. Choose your release (Head in most cases) and push the “Finish” button
  4. You will be presented with a screen to choose a project Wizard. If you have a plain Java project, choose “Java Project”.
  5. After pressing the “Next” button once more, give your project a name, preferrably the same name as the CVS module you are checking out
  6. In the next window, leave everything as is, and click “Finish”. The project will be imported from CVS.

For web applications (.war)

In case you have a web-application, things are much easier, if you have the Lomboz and/or Tomcat plug-ins installed. In that case, you choose the “Tomcat project” or “Lomboz J2ee project” options in step 4. This saves you quite some effort in setting up the right classpath and deployment facilities!

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

2 thoughts on “Import (non Eclipse-based) project from CVS into Eclipse

  1. You’ll also notice that Eclipse doesn’t recognize JSP files as ASCII!
    This you definitely want to fix. From the Eclipse newsletter:

    go to the Eclipse main menu and select the following:
    Window — > Preferences — > Team
    Open up the Team node and click on File Content. Review the file types listed
    and check to see if any of the text file types used in your project are
    missing from the list. To add a file type, click the Add button. In the Enter
    File Extension panel, type jsp, then click OK. Eclipse will then add the
    entry for Java Server Pages as ASCII.
    To tell CVS not to put specific file types under source control, go to the
    Eclipse main menu and select the following:
    Window — > Preferences — > Team
    Open up the Team node and click on Ignored Resource. Review the list for file
    types you’d like to ignore. Click the Add button. In the Enter Ignore
    Pattern, enter *.class. Click OK. CVS will not place Java binaries under
    source control.

Comments are closed.

Next Post

Exception-handling in Struts

For a simple and generic solution to the boring and code-aesthetics ruining routine of catching rare exceptions in your Struts-actions, try a global exceptionhandler. Related posts: Hibernate + Middlegen Roundtrip Development applied Tiger (Java 5.0) Generics, auto (un)boxing and new For loop Profiling in Eclipse Example of XSL-transforming in ADF […]
%d bloggers like this: