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 Sachin Patel
Date Wed, 13 Jul 2005 19:49:22 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 Sachin Patel:
http://wiki.apache.org/geronimo/EclipseDeployment

------------------------------------------------------------------------------
  
  However, those who which to better understand and create the configurations' by hand, the
steps to create these configurations are...
  
- After installing the Maven and Mevenide features, create a new Maven Configuration by going
to '''{{{Project-->Maven-->Manage Configuration}}}''' as shown below.
+ After installing the Maven and Mevenide features, create a new Maven Configuration by going
to '''{{{Project -- >Maven --> Manage Configuration}}}''' as shown below.
  
  [image1]
  
@@ -181, +181 @@

  
  Close the wizard. You have now created a maven configuration that will run automatically
through the Eclipse build process whenever a java source file is changed.  The specified goal
will create the updated snapshot jar for one or more projects and will install them to you
maven repository.
  
- This maven configuration will be applied to all Geronimo projects since they contain the
maven builder that was automatically added to the .project files with the maven m:eclipse
goal run earlier.  However, we want to disable this for the '''{{{geronimo-assembly}}}'''
project.  Right click on the '''{{{geronimo-assembly}}}''' project and choose '''{{{Maven-->Remove
Maven nature}}}'''.  This will prevent creating a full install snapshot with every build.
Instead for '''{{{geronimo-assembly}}}''', we will create a different launch configuration
specicially for this project.  Since building the '''{{{geronimo-assembly}}}''' is relativaly
time consuming, it will not be configured to be invoked as part of the eclipse auto-build
process.
+ This maven configuration will be applied to all Geronimo projects since they contain the
maven builder that was automatically added to the .project files with the maven m:eclipse
goal run earlier.  However, we want to disable this for the '''{{{geronimo-assembly}}}'''
project.  Right click on the '''{{{geronimo-assembly}}}''' project and choose '''{{{Maven
--> Remove Maven nature}}}'''.  This will prevent creating a full install snapshot with
every build. Instead for '''{{{geronimo-assembly}}}''', we will create a different launch
configuration specicially for this project.  Since building the '''{{{geronimo-assembly}}}'''
is relativaly time consuming, it will not be configured to be invoked as part of the eclipse
auto-build process.
  
  From the menu, select '''{{{Run --> External Tools --> External Tools... }}}'''
  
@@ -202, +202 @@

  [image4]
  
  The next configuration we want to create is a Server Launch configuration that runs as a
local application rather then a remote application (as a later section will describe).
+ 
+ From the menu, select '''{{{Run --> Run...}}}'''.
+ 
+ In the wizard, select '''{{{Java Application}}}''' and hit '''{{{New}}}''' to create a launch
configuration named '''{{{Geronimo - Server}}}'''.  For project choose:
+ 
+ {{{
+ geronimo-system
+ }}}
+ 
+ For main class select:
+ 
+ {{{
+ org.apache.geronimo.system.main.Daemon
+ }}}
+ 
+ [image]
+ 
+ Select the '''{{{Arguments}}}''' tab and specify the program arguments of:
+ 
+ {{{
+ -v org/apache/geronimo/DebugConsole
+ }}}
+ 
+ This will enable the DebugConsole at launch as well as provide INFO level log details during
startup.
+ 
+ [image]
+ 
+ Select the '''{{{Classpath}}}''' tab.  Select '''{{{Add Jars...}}}''' to be added to the
User Entries list.  Add the following entry:
+ 
+ {{{
+ server.jar - \geronimo-assembly\target\geronimo-1.0-SNAPSHOT\bin\
+ }}}
+ 
+ Remove any other entries inthe User Entries list.  Your screen should look like the following...
+ 
+ [image]
+ 
  
  == Debugging Geronimo (Local) (Under construction) ==
  

Mime
View raw message