My favorites | Sign in
Project Home Wiki Source
Search
for
Building  
Building VCC
Featured
Updated Jul 17, 2011 by maill...@gmail.com

Introduction

Virtual Combat Cards is now a Maven project. This choice has proven an invaluable choice since in helped on quality and building.

Details

To build VCC you will need the following components:

  • Apache Maven 2.x
  • Mercurial client (on windows TortoiseHG is a good option for windows)

Once you have these running you should follow these steps:

  1. Get the code using:
  2. hg clone https://mailleux@code.google.com/p/virtual-combat-cards/ virtual-combat-cards
    With this command your base directory will be virtual-combat-cards.
  3. One of the dependencies is not available on Maven repositories, so you have to download InfoNode Docking Windows and issue the following Maven command to add it to your repository:
  4. mvn install:install-file -DgroupId=com.infonode -DartifactId=idw-gpl -Dversion=1.6.1 -Dpackaging=jar -Dfile=<path to lib>/idw-gpl.jar
    You will need to download the GPL version of the library to run this command (it is shipped on the normal VCC releases).
  5. Enter the first module with:
  6. cd vcc-run
  7. Compile and install the vcc-run module:
  8. mvn install
  9. Go back to the base directory:
  10. cd ..
  11. Compile the core modules using:
  12. mvn compile
  13. To run the build project:
  14. mvn exec:java -Dexec.mainClass="vcc.Main" -debug

Sign in to add a comment
Powered by Google Project Hosting