HowToBuildMarauroa: Difference between revisions

Content deleted Content added
imported>Ufizavipupu
No edit summary
imported>Blacklads
Undo revision 11695 by Ufizavipupu (Talk)
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 Users}}
Line 16 ⟶ 8:
=Requirements=
To compile Marauroa you will need:
* Java SDK 1.5&lt;<br&gt;>http://java.sun.com
* Ant 1.6&lt;<br&gt;>http://ant.apache.org
 
In order to get it working with MySQL you will also need at runtime:
* Log4J&lt;<br&gt;>http://logging.apache.org/log4j/
* MySQL Connector/J&lt;<br&gt;>http://www.mysql.com/downloads/api-jdbc-stable.html
 
Optionally:
* JUnit 1.4&lt;<br&gt;>http://junit.sourceforge.net
* Jython 2.1&lt;<br&gt;>http://www.jython.org/download.html
 
You have all the dependencies inside source code file as compiled binary libraries.
Line 34 ⟶ 26:
First you need ant properly installed on your system to build Marauroa.
 
&lt;<pre&gt;>
cd /foo/bar/marauroa
ant dist
&lt;</pre&gt;>
 
 
There are several ant tasks.
You have to run it as:
&lt;<pre&gt;>
ant task_name
&lt;</pre&gt;>
 
===compile===
Compiles Marauroa into build folder and copies all needed files to their correct place.
&lt;<pre&gt;>
D:\Desarrollo\marauroa&gt;>ant compile
Buildfile: build.xml
 
Line 68 ⟶ 60:
BUILD SUCCESSFUL
Total time: 9 seconds
&lt;</pre&gt;>
 
===clean===
Removes any trace of compiled stuff from marauroa.
&lt;<pre&gt;>
D:\Desarrollo\marauroa&gt;>ant clean
Buildfile: build.xml
 
Line 84 ⟶ 76:
BUILD SUCCESSFUL
Total time: 2 seconds
&lt;</pre&gt;>
 
===jar===
Builds a marauroa-''version''.jar file inside the lib folder.
&lt;<pre&gt;>
D:\Desarrollo\marauroa&gt;>ant jar
Buildfile: build.xml
 
Line 107 ⟶ 99:
BUILD SUCCESSFUL
Total time: 4 seconds
&lt;</pre&gt;>
 
===dist===
Line 114 ⟶ 106:
* marauroa-''version''.zip that contains the compiled version of marauroa plus the needed dependencies to make it work.
 
&lt;<pre&gt;>
D:\Desarrollo\marauroa&gt;>ant dist
Buildfile: build.xml
 
Line 363 ⟶ 355:
BUILD SUCCESSFUL
Total time: 17 seconds
&lt;</pre&gt;>
 
===docs===
This task generates the java docs documentation.&lt;<br&gt;>
You better take a look at this wiki if you are looking for documentation.