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/10/05 05:53:40 UTC
[Geronimo Wiki] Update of "EclipseDeployment" by Sachin Patel
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
------------------------------------------------------------------------------
After installing the Maven and Mevenide features, create a new Maven Configuration by going to '''{{{Project -- >Maven --> Manage Configuration}}}''' as shown below.
- http://sppatel.dyndns.org/geronimo/mavenconfigmenu.gif
+ http://people.apache.org/~sppatel/wiki-images/mavenconfigmenu.gif
Hit '''{{{New}}}''' to create a custom configuration named '''{{{Build}}}'''. Select the '''{{{Build is happening offline}}}''' option. And for the goal to run specify…
@@ -158, +158 @@
default –Dmaven.test.skip=true –Dmaven.itest.skip=true
}}}
- http://sppatel.dyndns.org/geronimo/maven1.gif
+ http://people.apache.org/~sppatel/wiki-images/maven1.gif
Select the '''{{{Patterns}}}''' tab define a new File Pattern of '''{{{**/*.java}}}'''. At the bottom, make sure that '''{{{Auto Build}}}''' is selected.
- http://sppatel.dyndns.org/geronimo/maven2.gif
+ http://people.apache.org/~sppatel/wiki-images/maven2.gif
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.
@@ -176, +176 @@
default -Dgeronimo.assemble.clean=false -Dgeronimo.assemble.minimal=true -Dgeronimo.assembly.zip=false
}}}
- http://sppatel.dyndns.org/geronimo/assemble1.gif
+ http://people.apache.org/~sppatel/wiki-images/assemble1.gif
Select the '''{{{Main}}}''' tab and specify the following base directory. Then close the wizard.
@@ -184, +184 @@
${workspace_loc:/geronimo}
}}}
- http://sppatel.dyndns.org/geronimo/assemble2.gif
+ http://people.apache.org/~sppatel/wiki-images/assemble2.gif
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).
@@ -202, +202 @@
org.apache.geronimo.system.main.Daemon
}}}
- http://sppatel.dyndns.org/geronimo/launch1.gif
+ http://people.apache.org/~sppatel/wiki-images/launch1.gif
Select the '''{{{Arguments}}}''' tab and specify the program arguments of:
@@ -212, +212 @@
This will enable the Debug Console at launch as well as provide INFO level log details during startup.
- http://sppatel.dyndns.org/geronimo/launch2.gif
+ http://people.apache.org/~sppatel/wiki-images/launch2.gif
Select the '''{{{Classpath}}}''' tab. Select '''{{{Add Jars...}}}''' to be added to the User Entries list. Add the following entry:
@@ -222, +222 @@
'''You must remove all other entries in the User Entries list.''' Your screen should look like the following...
- http://sppatel.dyndns.org/geronimo/launch3.gif
+ http://people.apache.org/~sppatel/wiki-images/launch3.gif
Next, select the source tab and add all Geronimo projects.
- http://sppatel.dyndns.org/geronimo/launch4.gif
+ http://people.apache.org/~sppatel/wiki-images/launch4.gif
== Debugging Geronimo as a Local Application ==
@@ -239, +239 @@
Now you are ready to launch server and your changes will be in affect.
- http://sppatel.dyndns.org/geronimo/startoutput.gif
+ http://people.apache.org/~sppatel/wiki-images/startoutput.gif
For subsequent changes you simply stop the server, run '''{{{Assemble}}}''', and relaunch '''{{{Geronimo - Server}}}'''.