3 | | = Compiling from sources = |
4 | | In order to get the newest version of the QCG-Computing SDK we recommend you to compile it using sources checkouted directly from SVN. You will need to perform the following steps (beforehand make sure that [http://maven.apache.org/ maven] is installed in your system) |
5 | | {{{ |
6 | | mkdir sdk |
7 | | cd sdk |
8 | | #at first compile and install the QCG-Core SDK (a dependency for QCG-Computing SDK) |
9 | | svn co https://apps.man.poznan.pl/svn/qcg-core/trunk/java/WSIT/QCGCoreSDK |
10 | | cd QCGCoreSDK/endorsed |
11 | | ./install-endorsed.sh |
12 | | ... |
13 | | [INFO] ------------------------------------------------------------------------ |
14 | | [INFO] BUILD SUCCESSFUL |
15 | | [INFO] ------------------------------------------------------------------------ |
16 | | [INFO] Total time: < 1 second |
17 | | [INFO] Finished at: Thu Dec 08 14:38:03 CET 2011 |
18 | | [INFO] Final Memory: 6M/219M |
19 | | [INFO] ------------------------------------------------------------------------ |
20 | | cd .. |
21 | | mvn install |
22 | | [INFO] Installing /home/qcg-dev/sdk/QCGCoreSDK/target/QCGCoreSDK-2.1.1.jar to /home/qcg-dev/.m2/repository/org/qcg/QCGCoreSDK/2.1.1/QCGCoreSDK-2.1.1.jar |
23 | | [INFO] Installing /home/qcg-dev/sdk/QCGCoreSDK/target/QCGCoreSDK-2.1.1-jar-with-dependencies.jar to /home/qcg-dev/.m2/repository/org/qcg/QCGCoreSDK/2.1.1/QCGCoreSDK-2.1.1-jar-with-dependencies.jar |
24 | | [INFO] ------------------------------------------------------------------------ |
25 | | [INFO] BUILD SUCCESSFUL |
26 | | [INFO] ------------------------------------------------------------------------ |
27 | | [INFO] Total time: 40 seconds |
28 | | [INFO] Finished at: Thu Dec 08 15:01:36 CET 2011 |
29 | | [INFO] Final Memory: 44M/492M |
30 | | [INFO] ------------------------------------------------------------------------ |
31 | | |
32 | | cd .. |
33 | | #finally checkout and build the QCG-Computing SDK |
34 | | svn co https://apps.man.poznan.pl/svn/qcg-computing/trunk |
35 | | cd trunk/java/WSIT/QCGComputingSDK |
36 | | mvn install:install-file -DgroupId=org.metastatic.rsync -DartifactId=JarSync -Dpackaging=jar -Dversion=0.3 -Dfile=lib/jarsync.jar |
37 | | mvn -Dmaven.test.skip=true package |
38 | | |
39 | | |
40 | | }}} |