« Eclipse Ganymede -... | Main | Using Tiny MCE with... »

Eclipse Ganymede - Maven & SVN

Hi,

after I installed new Eclipse Ganymede with additional Maven support I started to clean up my Maven Project in my Subversion repository. My fault  was that I also versioned eclipse configuration files like the .settings folder or the .project files.

So ervery time I checked out my Maven (Multi-Module) Project I have lot of errors inside the Project as all configurations need to be setup new or justified. Also wen my colleagues checked out the project or checked in there changes our elcipse configuration files become more and more terrible. The best way is to add all these eclipse stuff to the svn:ignore definition.

If you did not this in the past and you stell have checked in your eclipse config files follow these stepps to clear your Eclipse Project.

  1. make a backup of your current workspace (if something goes wrong ;-)
  2. delete the concerned projects (also delete all files from filesystem)
  3. change to your Subversion Perspective and browse into the trunk of your project
  4. delete all of the following files and folders inside the repository using the delete command
    • .project
    • .classpath
    • .settings/
    • bin/
  5. checkout the project again into your workspace
  6. synchronize the project with your repository - now subversion propose to add the files deleted before again into the repository. So for each of these files and folders open the context menu command : add to svn:ignore

After that the project should be clean and no eclipse project configuration will be stored into the repository.

Eclipse Maven2 Plugin

When you check out a maven project with the SVN Command "Check out as Maven Project" (you need the additional subversive plugin for maven in Ganymede!) you will see a lot of errors inside the projects.

I am not sure why this is but maybe the Maven 2 Suversive plugin is still not perfect. But you can correct the projects in you Elipse Ganymede IDE very easy.

After you checked out the Maven Projects (also Multi-Modul projects) explore each Project and remove first the generated /bin folder as maven generates class files into the /target folder.

Next run the context menu command "Maven->Update Project configuration"

For me this helps me to get a clean and working project workspace :-)

ix-workflow.dev.java.net

Our actual imixs ix workflow source code projects are still synchronized with the eclipse configuration files. I am sorry for that and we will correct these as soon as possible.