Locked History Actions

Eclipse/DeegreeSVN

Checking out deegree 2 with subversion

Before checking out deegree from subversion please make sure, text file encoding is set to the right standard.

  • Open Window->Preferences

  • Select General->Workspace

  • Make sure text file encoding is set to UTF-8.

Instructions on setting up deegree 3 can be found at here.

text_file_encoding.jpg

1. Step 1:

After installing of the subclipse plugins (and restart), click:

  • File->new->Project

In the following dialog select SVN->checkout Projects from SVN:

new_project.png

2. Step 2:

Create a new svn repository location:

new_svn_location.png

3. Step 3:

In the next dialog add one of the following urls,

new_svn_location_2.png

4. Step 4:

The next Dialog lists all Modules on the server, the svn-repository layout differs from the old cvs repository, it has following structure:

repos_view_1.png

Six modules are selectable

  • apps, different applications which use the deegree lib, examples are igeoportal or drm-admin
  • base, the deegree framework, including libs, tests, resourcen and scripts. This is the directory which resembles the old cvs repository the most.
  • contrib, different applications which were created outside of the deegree project.
  • demo, docs und test are self explaining

Some of these Components have the common svn subdirectory structure, they are used for the deegree versioning and release management:

  • branches, containing differend branches of the module

  • tags, differend stable versions e.g beneath base/tags/ a directoy named 2.0.0 is located which contains the 2.0.0 version of Deegree.

  • trunk, the working / unstable copy , comparable with $CVS_HEAD. This directory contains the most recent (unstable) version of Deegree.

If you are looking for the most recent deegree framework, you'll probably want to select base/trunk, and afterwards click next or finish.

repos_view_2.png

While clicking on the "next" button, you can optionally select a revision. It is very important, that while clicking the "next" button you should select the checkout as a project using the project wizard:

check_out_as.png

5. Step 5:

In the project wizard dialog select java project:

new_project_2.png

6. Step 6:

Define name and jre:

project_specs.png

7. Step 7:

ignore message on "existing" files, simply click "ok".

confirm_overwrite.png

8. Step 8:

Checking out as usual:

checkin_out.png

Confirm the question to open the Java Perspective.

Afterwards, you have to edit the build path of the new project:

  • Project -> Properties

  • Select "Java Build Path"
  • Select "Source"
  • Select "deegree", click "Remove"
  • Click "Add Folder", select "src" and "test/junit", click "OK"
  • Change "Default output folder" to "deegree/classes"
  • Click "OK"

build_path.jpg

9. Finish

Attention:

  • Header: die alte $Header Variable heißt jetzt $HeadURL, dem entsprechend sollten beim anlegen von neuen Dateien der Header angepasst werden.

  • Footers können nicht mehr von SVN mit den LOG-Messages gefüllt werden, sie verlieren daher ihre Relevanz und können gelöscht werden. Um zu sehen wer was mit welcher Nachricht eingecheckt hat kann die Option show history im team context menü benutzen. show_history.png

history.png

10. Synchronising

Wie bei cvs kann über das kontext menü -> Team->Synchronize mit dem SVN-repository synchronisiert werden, wonach einen commit oder einen update erfolgen kann.

synchronize_svn.png


CategoryDeegree2