You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by Apache Wiki <wi...@apache.org> on 2005/12/29 18:51:34 UTC

[Geronimo Wiki] Update of "EclipseDeployment" by hogstrom

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Geronimo Wiki" for change notification.

The following page has been changed by hogstrom:
http://wiki.apache.org/geronimo/EclipseDeployment

------------------------------------------------------------------------------
  $ svn checkout http://svn.apache.org/repos/asf/geronimo/trunk geronimo
  }}} 
  
- http://www.hogstrom.org/eclipsedev/eclipsdev01.jpg
+ http://people.apache.org/~hogstrom/eclipsedev/eclipsdev01.jpg
  
  The above command will checkout the Geronimo Source and get you ready for the subsequent build stages. It will run for a bit so get a cup of coffee.
  
@@ -78, +78 @@

  
  Once this is accomplished you should see something like:
  
- http://www.hogstrom.org/eclipsedev/eclipsdev02.jpg
+ http://people.apache.org/~hogstrom/eclipsedev/eclipsdev02.jpg
  
  Notice that there are a ton of errors.  To correct these we'll have to setup the environment a bit.  This includes:
  
@@ -90, +90 @@

  === Setting the Maven Classpath variable ===
  First order of business is to tell Eclipse where the Maven repository is.  To do this select the settings in Window => Preferences
  
- http://www.hogstrom.org/eclipsedev/eclipsdev03.jpg
+ http://people.apache.org/~hogstrom/eclipsedev/eclipsdev03.jpg
  
  Click on ''New'' and a new Pop Up will appear.  Enter the appropriate directory here.
  
- http://www.hogstrom.org/eclipsedev/eclipsdev04.jpg
+ http://people.apache.org/~hogstrom/eclipsedev/eclipsdev04.jpg
  
  A number of errors should disappear.  There is still a bit of work to do...
  
  === Selecting the right JDK and its Options ===
  Eclipse allows you to select from any number of installed JDKs.  Assuming that you pulled a Sun JDK in the beginning selecting the compiler and setting the compile options should be simple.  Again, selecting Window -> Preferences you can navigate to the following screen.
  
- http://www.hogstrom.org/eclipsedev/eclipsdev05.jpg
+ http://people.apache.org/~hogstrom/eclipsedev/eclipsdev05.jpg
  
  Make sure the Sun JRE is checked.
  
@@ -110, +110 @@

  === Compiler Settings ===
  The default settings for the compiler are not correct. Here is a snapshot of the compiler settings as the appear by default:
  
- http://www.hogstrom.org/eclipsedev/eclipsdev06.jpg
+ http://people.apache.org/~hogstrom/eclipsedev/eclipsdev06.jpg
  
  Make the changes as indicated in this snapshot and apply them.
  
- http://www.hogstrom.org/eclipsedev/eclipsdev07.jpg
+ http://people.apache.org/~hogstrom/eclipsedev/eclipsdev07.jpg
  
  This will eliminate a large number of compilation problems due to the wrong JDK compiler version and syntax checking being done.  A few more warnings can be eliminated by:
  
- http://www.hogstrom.org/eclipsedev/eclipsdev08.jpg
+ http://people.apache.org/~hogstrom/eclipsedev/eclipsdev08.jpg
  
  Depending on your coding and development preferences you can eliminate many of the warnings in the task window.  Unfortunately, there are other errors as well that will require changes to the build.  For now they are documented here:
  
@@ -140, +140 @@

  == The final look of the WorkSpace ==
  Here is what the workspace should look like when your done with the above steps.  
  
- http://www.hogstrom.org/eclipsedev/eclipsdev12.jpg
+ http://people.apache.org/~hogstrom/eclipsedev/eclipsdev12.jpg
  
- Except hogstrom.org your alose can see http://www.trip.hk.cn and http://www.3ecom.com some advanced java written by chinese friends.
+ Except hogstrom.org your also can see http://www.trip.hk.cn and http://www.3ecom.com some advanced java written by chinese friends.
  ----
  
  == Creating Maven and Server Launch Configurations  ==