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 Thu, 14 Jul 2005 13:26:33 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

------------------------------------------------------------------------------
  
  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 '''{{{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... }}}'''
  
@@ -246, +246 @@

  
  Whenever source file changes are made, and an eclipse build is invoked, the maven builder
will automatically be triggered to update the snapshot jars for each individual project that
contained java source modifications for that build cycle.  The jar will be created inside
the project and will then be copied to the Maven repository.
  
- Now in order for the server to use the updated snapshot, the repository from the '''{{{geronimo-assembly}}}'''
project needs to be updated as well since this is the installation that we pointed to in our
'''Geronimo - Server''' launch configuration.  This is done through the external tool configuration
'''{{{Assemble}}}'''.  Selecting the '''{{{geronimo-assembly}}}''' project and invoking this
configuration will regenerate the install image so that the repository is updated with the
latest snapshot jars.
+ Now in order for the server to use the updated snapshot(s), the repository from the '''{{{geronimo-assembly}}}'''
project needs to be updated as well since this is the installation that we pointed to in our
'''Geronimo - Server''' launch configuration.  This is done by selecting the '''{{{geronimo-assembly}}}'''
project and then launching the external tool configuration '''{{{Assemble}}}'''.  This will
regenerate the install image so that the repository is updated with the latest snapshot jars.
 Be sure the server is not running before running this operation.
  
  Now you are ready to launch server and your changes will be in affect.  For subsequent changes
you simply stop the server, run '''{{{Assemble}}}''', and relaunch
  '''{{{Geronimo - Server}}}'''.

Mime
View raw message