HowToBuildMarauroa: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hendrik Brummermann No edit summary |
imported>Ufizavipupu No edit summary |
||
| Line 1: | Line 1: | ||
---- |
|||
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;"> |
|||
---- |
|||
=[http://ynodyky.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]= |
|||
---- |
|||
=[http://ynodyky.co.cc CLICK HERE]= |
|||
---- |
|||
</div> |
|||
{{Navigation for Marauroa Top|Using}} |
{{Navigation for Marauroa Top|Using}} |
||
{{Navigation for Marauroa Users}} |
{{Navigation for Marauroa Users}} |
||
| Line 8: | Line 16: | ||
=Requirements= |
=Requirements= |
||
To compile Marauroa you will need: |
To compile Marauroa you will need: |
||
* Java SDK 1.5 |
* Java SDK 1.5<br>http://java.sun.com |
||
* Ant 1.6 |
* Ant 1.6<br>http://ant.apache.org |
||
In order to get it working with MySQL you will also need at runtime: |
In order to get it working with MySQL you will also need at runtime: |
||
* Log4J |
* Log4J<br>http://logging.apache.org/log4j/ |
||
* MySQL Connector/J |
* MySQL Connector/J<br>http://www.mysql.com/downloads/api-jdbc-stable.html |
||
Optionally: |
Optionally: |
||
* JUnit 1.4 |
* JUnit 1.4<br>http://junit.sourceforge.net |
||
* Jython 2.1 |
* Jython 2.1<br>http://www.jython.org/download.html |
||
You have all the dependencies inside source code file as compiled binary libraries. |
You have all the dependencies inside source code file as compiled binary libraries. |
||
| Line 26: | Line 34: | ||
First you need ant properly installed on your system to build Marauroa. |
First you need ant properly installed on your system to build Marauroa. |
||
<pre> |
|||
cd /foo/bar/marauroa |
cd /foo/bar/marauroa |
||
ant dist |
ant dist |
||
</pre> |
|||
There are several ant tasks. |
There are several ant tasks. |
||
You have to run it as: |
You have to run it as: |
||
<pre> |
|||
ant task_name |
ant task_name |
||
</pre> |
|||
===compile=== |
===compile=== |
||
Compiles Marauroa into build folder and copies all needed files to their correct place. |
Compiles Marauroa into build folder and copies all needed files to their correct place. |
||
<pre> |
|||
D:\Desarrollo\marauroa |
D:\Desarrollo\marauroa>ant compile |
||
Buildfile: build.xml |
Buildfile: build.xml |
||
| Line 60: | Line 68: | ||
BUILD SUCCESSFUL |
BUILD SUCCESSFUL |
||
Total time: 9 seconds |
Total time: 9 seconds |
||
</pre> |
|||
===clean=== |
===clean=== |
||
Removes any trace of compiled stuff from marauroa. |
Removes any trace of compiled stuff from marauroa. |
||
<pre> |
|||
D:\Desarrollo\marauroa |
D:\Desarrollo\marauroa>ant clean |
||
Buildfile: build.xml |
Buildfile: build.xml |
||
| Line 76: | Line 84: | ||
BUILD SUCCESSFUL |
BUILD SUCCESSFUL |
||
Total time: 2 seconds |
Total time: 2 seconds |
||
</pre> |
|||
===jar=== |
===jar=== |
||
Builds a marauroa-''version''.jar file inside the lib folder. |
Builds a marauroa-''version''.jar file inside the lib folder. |
||
<pre> |
|||
D:\Desarrollo\marauroa |
D:\Desarrollo\marauroa>ant jar |
||
Buildfile: build.xml |
Buildfile: build.xml |
||
| Line 99: | Line 107: | ||
BUILD SUCCESSFUL |
BUILD SUCCESSFUL |
||
Total time: 4 seconds |
Total time: 4 seconds |
||
</pre> |
|||
===dist=== |
===dist=== |
||
| Line 106: | Line 114: | ||
* marauroa-''version''.zip that contains the compiled version of marauroa plus the needed dependencies to make it work. |
* marauroa-''version''.zip that contains the compiled version of marauroa plus the needed dependencies to make it work. |
||
<pre> |
|||
D:\Desarrollo\marauroa |
D:\Desarrollo\marauroa>ant dist |
||
Buildfile: build.xml |
Buildfile: build.xml |
||
| Line 355: | Line 363: | ||
BUILD SUCCESSFUL |
BUILD SUCCESSFUL |
||
Total time: 17 seconds |
Total time: 17 seconds |
||
</pre> |
|||
===docs=== |
===docs=== |
||
This task generates the java docs documentation. |
This task generates the java docs documentation.<br> |
||
You better take a look at this wiki if you are looking for documentation. |
You better take a look at this wiki if you are looking for documentation. |
||