Skip to main content
Jump to: navigation, search

Difference between revisions of "RPPS Web CVS"

(RPPS Web Projects)
(Build Instructions)
Line 149: Line 149:
 
* '''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<sup>1</sup> 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 Web service WAR file:
*** 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 '''rpps.war''' file will be placed inside the dist/tomcat directory<sup>2</sup>.
** 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.
+
** <sup>1</sup> The Eclipse Web Tools Platform should be installed. [http://www.eclipse.org/webtools/main.php More about WTP]. Note please, before WS WAR file creating it is needed to export the project (WAR) into '''dist''' directory.
** <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.
+
** <sup>2</sup> Assume that you have installed the JWSDP from [http://java.sun.com/webservices/ http://java.sun.com/webservices] and defined the Windows environment variable %JWSDP_HOME%.
  
 
== See Also ==
 
== See Also ==
 
* [http://www.eclipse.org/higgins Higgins Home]
 
* [http://www.eclipse.org/higgins Higgins Home]
 
* [[Components]]
 
* [[Components]]

Revision as of 05:20, 5 June 2007

General CVS Information

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


RPPS Web Projects

Main RPPS Web project is

Project Module Location Eclipse PSF ViewCVS
RPPS Web org.eclipse.higgins/app/org.eclipse.higgins.rpps.web anonymous viewcvs
committer


The RPPS Web project depends on several other Higgins projects

Project Module Location Eclipse PSF ViewCVS
Configuration API org.eclipse.higgins/plugins/org.eclipse.higgins.configuration.api anonymous viewcvs
committer
Configuration Common org.eclipse.higgins/plugins/org.eclipse.higgins.configuration.common anonymous viewcvs
committer
Configuration XML org.eclipse.higgins/plugins/org.eclipse.higgins.configuration.xml anonymous viewcvs
committer
I-Card Interfaces org.eclipse.higgins/plugins/org.eclipse.higgins.icard anonymous viewcvs
committer
I-Card Provider CardSpace Common org.eclipse.higgins/plugins/org.eclipse.higgins.icard.provider.cardspace.common anonymous viewcvs
committer
I-Card Provider CardSpace Zurich org.eclipse.higgins/plugins/org.eclipse.higgins.icard.provider.cardspace.zurich anonymous viewcvs
committer
I-Card Provider CardSpace Idemix org.eclipse.higgins/plugins/org.eclipse.higgins.icard.provider.idemix anonymous viewcvs
committer
I-Card Selector Service Interfaces org.eclipse.higgins/plugins/plugins/org.eclipse.higgins.iss anonymous viewcvs
committer
I-Card Selector Service CardSpace org.eclipse.higgins/plugins/plugins/org.eclipse.higgins.iss.cardspace anonymous viewcvs
committer
I-Card Selector Service Idemix org.eclipse.higgins/plugins/plugins/org.eclipse.higgins.iss.idemix anonymous viewcvs
committer
I-Card Registry org.eclipse.higgins/plugins/org.eclipse.higgins.icard.registry anonymous viewcvs
committer
Higgins Registry org.eclipse.higgins/plugins/org.eclipse.higgins.registry anonymous viewcvs
committer
RSS-SSE Parser Library org.eclipse.higgins/plugins/org.eclipse.higgins.rsse anonymous viewcvs
committer
RPPS Core org.eclipse.higgins/plugins/org.eclipse.higgins.rpps anonymous viewcvs
committer

Build Instructions

  • Building within Eclipse IDE:
    • The normal project build method will compile the source
    • How to export a WAR1 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 Web service WAR file:
      • From the project directory, run wsbuild.xml ant script. Resulting rpps.war file will be placed inside the dist/tomcat directory2.
  • Builds notes:
    • 1 The Eclipse Web Tools Platform should be installed. More about WTP. Note please, before WS WAR file creating it is needed to export the project (WAR) into dist directory.
    • 2 Assume that you have installed the JWSDP from http://java.sun.com/webservices and defined the Windows environment variable %JWSDP_HOME%.

See Also

Copyright © Eclipse Foundation, Inc. All Rights Reserved.