Versions Compared

Key

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

...

  • A set of instructions for new developers of Juneau to get their Eclipse workspace up-and-running.

...

  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.


    Update:  The URI for the Juneau project is now
    https://gitbox.apache.org/repos/asf/juneau.git
     
  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:
    (sorry....some of the names have changed)
     

...

The juneau-examples-rest project is a microservice project that provides various examples for defining REST resources and custom serializers and parsers.

  • The juneau-examples-rest.launch file is used to run the samples microservice from your Eclipse workspace.  
    It starts up a REST microservice on port 10000 with various samples:
  • The war/web.xml file is not used, but provides an example for deploying the microservice as a war file.
  • The samplesexamples.cfg file is the external configuration file for the microservice.  When built, a microservice consists of two files:  an executable jar and this config file.

...