Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Start up your Eclipse workspace.

  2. Open up Java Perspective:  Window->Perspective->Open Perspective->Java
     
  3. Open up Git Repositories view:  Window->Show View->Other->Git->Git Repositories
     
  4. In the view, click the "Clone a Git Repository and add the clone to this view":  

  5. Enter the information for the Juneau Git Repository.  Then click next.

     
  6. In the Branch Selection page, select only the master branch.  Then click next.


  7. In the Local Destination page, select a location where your local Git repository will reside.  
    Note that this is NOT the same location as your workspace. 
    Make sure to select the checkbox for importing all the projects into your workspace.
    Then click finish.
     
     
  8. After a couple of minutes, you should see the following projects loaded into your workspace:
     

3 - Loading code style preferences

Various code style preferences are located in the /juneau-releng/eclipse-preferences directory.

  • juneau-code-templates.xml - Import via Properties->Java Code Style->Code Templates.
  • juneau-formatter.xml - Import via Properties->Java Code Style->Formatter.
  • juneau-organize-imports.importorder - Import via Properties->Java Code Style->Organize Imports.

4 - Overview of projects

The juneau-root project contains the top-level contents of the Git repository.  It contains all the other sub-projects.

...

The juneau-distrib project creates zips that contain the built libraries and source code for a release.

...

5 - Using Maven to build projects

The project can be built using maven from a command line by running the following in the workspace root:

     mvn clean package


5 6 - JUnit Tests

 

JUnit tests are located in the following locations:

...