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.
Difference between revisions of "Building the Higgins I-Card Manager Service"
(→Build Instructions) |
|||
Line 56: | Line 56: | ||
** Run command: ''mvn clean install'' | ** Run command: ''mvn clean install'' | ||
** Deploy ${basedir}/icm-web/target/icm.war | ** Deploy ${basedir}/icm-web/target/icm.war | ||
+ | |||
+ | == Notes == | ||
+ | |||
+ | * Maven Build Number Plugin repocitory is changed. So need to add the following pluginRepository to pom.xml | ||
+ | |||
+ | <pluginRepositories> | ||
+ | <pluginRepository> | ||
+ | <id>tlc</id> | ||
+ | <name>TLC Repository</name> | ||
+ | <url>http://commons.ucalgary.ca/pub/m2</url> | ||
+ | </pluginRepository> | ||
+ | </pluginRepositories> | ||
+ | |||
+ | * Need to install gwt from http://code.google.com/webtoolkit/download.html and update google.webtoolkit.home property in icm-web/pom.xml | ||
+ | |||
+ | * Add xmlsec-1.4.0.jar to local repository by running the command | ||
+ | |||
+ | mvn install:install-file -DgroupId=org.apache.xml -DartifactId=xmlsec -Dversion=1.4.0 -Dpackaging=jar -Dfile=/path/to/xmlsec-1.4.0.jar | ||
+ | |||
== See Also == | == See Also == | ||
* [http://www.eclipse.org/higgins Higgins Home] | * [http://www.eclipse.org/higgins Higgins Home] | ||
* [[Components]] | * [[Components]] |
Revision as of 22:34, 3 December 2007
Contents
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
- Import project org.eclipse.higgins.icm2 from CVS repository at :pserver:anonymous@dev.eclipse.org:/cvsroot/technology into Eclipse workspace
- Configure WS client in ${basedir}/icm-ws/src/main/conf/jaxrpc-rpps-client-config.xml file. It is needed to replace the WSDL location with the actual URL.
- 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 (Run->External Tools->configuration name)
- 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 WS client in file ${basedir}/icm-ws/src/main/conf/jaxrpc-rpps-client-config.xml to replace the WSDL location with the actual URL.
- Run command: mvn clean install
- Deploy ${basedir}/icm-web/target/icm.war
Notes
- Maven Build Number Plugin repocitory is changed. So need to add the following pluginRepository to pom.xml
<pluginRepositories> <pluginRepository> <id>tlc</id> <name>TLC Repository</name> <url>http://commons.ucalgary.ca/pub/m2</url> </pluginRepository> </pluginRepositories>
- Need to install gwt from http://code.google.com/webtoolkit/download.html and update google.webtoolkit.home property in icm-web/pom.xml
- Add xmlsec-1.4.0.jar to local repository by running the command
mvn install:install-file -DgroupId=org.apache.xml -DartifactId=xmlsec -Dversion=1.4.0 -Dpackaging=jar -Dfile=/path/to/xmlsec-1.4.0.jar