deegree Logo OSGeo Logo  
    Home         About         Professional Services         Download         Users         Developers         News         Links         Community    
    Contribution         SCM         Architecture    

SCM: Accessing and Getting Source Code of deegree

With the use of SVN deegree reorganized some modules in the SCM like the following:

  • apps - Source of clients like iGeoPortal and U3R
  • base - Main module where most Java code lives
  • contrib - contribution to the deegree project
  • demo - demo applications
  • docs - all documentation
  • test - tests for JUnit and OGC Testengine

Viewing the SCM via Browser

Go to the SCM


SVN command line client

If you have the SVN command line client installed, you may use the following shell commands (presented in bash flavour) to get a fresh working copy:

svn checkout https://svn.wald.intevation.org/svn/deegree/base/trunk

Next steps

To compile, test and deploy deegree using the ant build file, please have a look at the readme.txt file in the deegree root directory.

Checking out and setting up deegree in Eclipse

The following step-by-step instruction refers to the menu structure and naming of Eclipse 3.2.2.. Be aware to have a SVN plugin like Subclipse installed.

  1. Run Eclipse
  2. Open a new project: File > New > Project
  3. Select SVN > Checkout Projects from SVN, click "Next"
  4. Create a new repository location: "https://svn.wald.intevation.org/svn/deegree/", click "Next"
  5. Select Folder to checkout
  6. deegree and its folders in SVN
  7. Select the folder with the according content (see above). and click "Next"
  8. Select "Check out as a project configured using the New Project Wizard". , click "Next"
  9. Using the Project Wizard
  10. "Java Project", click "Next"
  11. Enter name for the new project, e.g. "deegree", make sure the compiler compliance level is set to (Java) "5.0"
  12. Select "Finish"
  13. Confirm the question to open the Java Perspective
  14. Afterwards, you have to edit the build path of the new project:
    • Project -> Properties
    • Select "Java Build Path"
    • Select "Libraries" -> "Add JARs"
    • Add each and every (!) jar from the "lib" directory and click OK
    • Select "Source"
    • Select "deegree", click "Remove"
    • Click "Add Folder", select "src" and "test", click "OK"
    • Change "Default output folder" to "deegree/classes"
    • Click "OK"
Eclipse will then try to build deegree. This may take a moment...

However, you will still see compile errors. This is due to missing libraries (with commercial licenses, e.g. Oracle) which you need to obtain yourself. Alternatively, you can disable the compiling of the classes that depend on these libraries.

  Twitter  
 

 
     
  Contact  
 
Business Contact
 
Mailing Lists
 
report bugs
 
     
This site is hosted by lat/lon GmbH. info -- at -- deegree.org