geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Geronimo Wiki] Update of "EclipseDeployment" by hogstrom
Date Mon, 06 Jun 2005 04:58:19 GMT
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

------------------------------------------------------------------------------
   * Setting the Java Compiler Options 
   * Fixing problems in the current release (yup, I'll open bug reports unless you beat me
to it :)
  
- ===Setting the Maven Classpath variable===
+ === 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
@@ -80, +80 @@

  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 setting up the Compiler settings should be pretty straight forward.
+ 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
+ 
+ Make sure the Sun JRE is checked.
+ 
+ Next, we need to update the compiler settings.
+ 
+ === 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
+ 
+ Make the changes as indicated in this snapshot and apply them.
+ 
+ http://www.hogstrom.org/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
+ 
+ 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:
+ 
+ == Correct Project Errors ==
+ There are currently two issues in the build process at the time of writing.  First, is a
problem in many of the *-builder projects.  The problem is that when the projects are created
they are using an absolute path for some reason.  This is easily remedied using the procedure
below.
+ 
+ Note that the task window is loaded with "Build Path Errors".  
+ 
+ 
  
  (More to come...to be done on a plane tomorrow :)
  

Mime
View raw message