Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Building the Higgins I-Card Manager Service"

(I-Card Manager Projects)
(Build Instructions)
Line 39: Line 39:
 
* '''Building within Eclipse IDE:'''
 
* '''Building within Eclipse IDE:'''
 
** The normal project build method will compile the source
 
** The normal project build method will compile the source
** How to produce an Eclipse plugin:
+
** How to export a WAR file from a Web project:
*** '''Run->External Tools->Build RPPS Core plugin'''. This will run Ant build script to produce Eclipse plugin. Resulting plugin's jar along with the build's log file will be placed in "build/plugins" folder. See also: <sup>1</sup>.  
+
*** Right click on a Web project folder and select Export from the pop-up menu. Then select WAR file in the Export window and then select Next.
** How to produce a standalone jar:
+
*** Specify the Web project you want to export (this field is primed if you used the pop-up menu to open the wizard), and specify a location for the new WAR file.
*** '''Run->External Tools->Build RPPS Core jar'''. This will run Ant build script to produce standalone jar. Resulting jar file will be placed in "build/lib" folder. See also: <sup>1</sup>.
+
*** Optional: Optionally, supply WAR export Options, such as whether or not to include Java™ source files in the WAR, and whether to overwrite any existing resources during the export process. Source files are not usually included in a WAR file, because they are not necessary for the server to run the web application.
** How to produce javadoc:
+
*** Click Finish.
*** '''Run->External Tools->Build RPPS Core javadoc'''. This will run Ant build script to produce javadoc. Javadocs will be generated in "build/doc" folder. See also: <sup>1</sup>.
+
 
+
  
 
* '''Command-line builds:'''
 
* '''Command-line builds:'''
** How to produce an Eclipse plugin:
+
** How to create a client stub Jar lib:
*** From the project directory, run '''"ant plugin -Declipse.home=<path to eclipse installation>"''' Resulting plugin's jar along with the build's log file will be placed in "build/plugins" folder.
+
*** From the project directory, run '''wsbuild.xml''' ant script. Resulting wsstub.jar lib will be placed inside the WEB-INF/lib directory.
** How to produce a standalone jar:
+
*** From the project directory, run '''"ant"'''. Resulting jar file will be placed in "build/lib" folder. See also: <sup>2</sup>.
+
** How to produce javadoc:
+
*** From the project directory, run '''"ant javadoc"'''. Javadoc will be generated in "build/doc" folder. See also: <sup>2</sup>.
+
 
+
  
 
* '''Builds notes:'''  
 
* '''Builds notes:'''  
** <sup>1</sup> Provided Eclipse launch configuration runs ant using the same JRE as the workspace. If you need to change JRE for some reason you will need to provide "-Declipse.home=<path to eclipse installation>" VM argument.
+
** The Eclipse Web Tools Platform should be installed. [http://www.eclipse.org/webtools/main.php More about WTP].
** <sup>2</sup> In order to process plugin specific files you will need to add "-Declipse.home=<path to eclipse installation>" option to the command line.
+
  
 
== See Also ==
 
== See Also ==
 
* [http://www.eclipse.org/higgins Higgins Home]
 
* [http://www.eclipse.org/higgins Higgins Home]
 
* [[Components]]
 
* [[Components]]

Revision as of 05:11, 2 April 2007

General CVS Information

Connection Type Committers  :ext:
Anonymous access  :pserver:
Host dev.eclipse.org
Repository Path /cvsroot/technology


I-Card Manager Projects

Main I-Card Manager project is

Project Module Location Eclipse PSF ViewCVS
I-Card Manager org.eclipse.higgins/app/org.eclipse.higgins.icm anonymous viewcvs
committer

Build Instructions

  • Building within Eclipse IDE:
    • The normal project build method will compile the source
    • How to export a WAR file from a Web project:
      • Right click on a Web project folder and select Export from the pop-up menu. Then select WAR file in the Export window and then select Next.
      • Specify the Web project you want to export (this field is primed if you used the pop-up menu to open the wizard), and specify a location for the new WAR file.
      • Optional: Optionally, supply WAR export Options, such as whether or not to include Java™ source files in the WAR, and whether to overwrite any existing resources during the export process. Source files are not usually included in a WAR file, because they are not necessary for the server to run the web application.
      • Click Finish.
  • Command-line builds:
    • How to create a client stub Jar lib:
      • From the project directory, run wsbuild.xml ant script. Resulting wsstub.jar lib will be placed inside the WEB-INF/lib directory.
  • Builds notes:

See Also

Back to the top