Skip to main content

Notice: This Wiki is now read only and edits are no longer 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 36: Line 36:
  
 
== Build Instructions ==
 
== Build Instructions ==
 +
ICard Manager is built using the [http://maven.apache.org/ Maven] software project management tool. Follow these instructions to build ICard Manager from sources.
 
* '''Building within Eclipse IDE:'''
 
* '''Building within Eclipse IDE:'''
** The normal project build method will compile the source
+
** Install [http://m2eclipse.codehaus.org/ m2eclipse] plugin for Eclipse IDE
** How to export a WAR<sup>1</sup> file from a Web project:
+
** Checkout project org.eclipse.higgins.icm2 from CVS repository at :pserver:anonymous@dev.eclipse.org:/cvsroot/technology
*** 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.
+
** Import project into Eclipse workspace (File->Import->General->Existing Projects into workspase)
*** 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.
+
** Configure RPPS client in file ${basedir}/icm-ws/src/main/conf/jaxrpc-rpps-client-config.xml
*** 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.
+
** Add Maven build configuration (Project->Properties->Builders->New->m2 build)  
*** Click Finish.
+
*** Type build configuration name
 
+
*** Choose base directory
* '''Command-line builds:'''
+
*** Add goals "clean install"
** How to create a client stub Jar lib:
+
*** Add "settings.localRepository" variable (Variables...->Edit variable->New)
*** From the project directory, run '''wsbuild.xml''' ant script. Resulting '''wsstub.jar''' lib will be placed inside the WEB-INF/lib directory<sup>2</sup>.
+
*** Set value of "settings.localRepository" variable to maven repositary ($user.home/.m2/repositary)
 
+
*** Add parameter name "settings.localRepository" and value "${settings.localRepository}"
* '''Builds notes:'''  
+
** Run build
** <sup>1</sup> The Eclipse Web Tools Platform should be installed. [http://www.eclipse.org/webtools/main.php More about WTP].
+
** Deploy $basedir/icm-web/target/icm.war
** <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%. Note please, before WS client stub creating it is needed to replace the WSDL location with the actual URL inside '''/conf/jaxrpc-rpps-client-config.xml''' descriptor.
+
* '''Build from command-line:'''
 +
** Install [http://maven.apache.org/ Maven]  
 +
** Check out project org.eclipse.higgins.icm2 from CVS repository at :pserver:anonymous@dev.eclipse.org:/cvsroot/technology
 +
** Configure RPPS client in file ${basedir}/icm-ws/src/main/conf/jaxrpc-rpps-client-config.xml  
 +
** Run command: mvn clean install
 +
** Deploy $basedir/icm-web/target/icm.war
  
 
== See Also ==
 
== See Also ==
 
* [http://www.eclipse.org/higgins Higgins Home]
 
* [http://www.eclipse.org/higgins Higgins Home]
 
* [[Components]]
 
* [[Components]]

Revision as of 11:44, 25 June 2007

General CVS Information

Connection Type Committers  :extssh:
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.icm2 anonymous viewcvs
committer

Build Instructions

ICard Manager is built using the Maven software project management tool. Follow these instructions to build ICard Manager from sources.

  • Building within Eclipse IDE:
    • Install m2eclipse plugin for Eclipse IDE
    • Checkout project org.eclipse.higgins.icm2 from CVS repository at :pserver:anonymous@dev.eclipse.org:/cvsroot/technology
    • Import project into Eclipse workspace (File->Import->General->Existing Projects into workspase)
    • Configure RPPS client in file ${basedir}/icm-ws/src/main/conf/jaxrpc-rpps-client-config.xml
    • Add Maven build configuration (Project->Properties->Builders->New->m2 build)
      • Type build configuration name
      • Choose base directory
      • Add goals "clean install"
      • Add "settings.localRepository" variable (Variables...->Edit variable->New)
      • Set value of "settings.localRepository" variable to maven repositary ($user.home/.m2/repositary)
      • Add parameter name "settings.localRepository" and value "${settings.localRepository}"
    • Run build
    • Deploy $basedir/icm-web/target/icm.war
  • Build from command-line:
    • Install Maven
    • Check out project org.eclipse.higgins.icm2 from CVS repository at :pserver:anonymous@dev.eclipse.org:/cvsroot/technology
    • Configure RPPS client in file ${basedir}/icm-ws/src/main/conf/jaxrpc-rpps-client-config.xml
    • Run command: mvn clean install
    • Deploy $basedir/icm-web/target/icm.war

See Also

Back to the top