HowToBuildMarauroa: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Ufizavipupu
No edit summary
imported>Blacklads
Undo revision 11695 by Ufizavipupu (Talk)
 
(7 intermediate revisions by 2 users not shown)
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 16: Line 8:
=Requirements=
=Requirements=
To compile Marauroa you will need:
To compile Marauroa you will need:
* Java SDK 1.5&lt;br&gt;http://java.sun.com
* Java SDK 1.5<br>http://java.sun.com
* Ant 1.6&lt;br&gt;http://ant.apache.org
* 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&lt;br&gt;http://logging.apache.org/log4j/
* Log4J<br>http://logging.apache.org/log4j/
* MySQL Connector/J&lt;br&gt;http://www.mysql.com/downloads/api-jdbc-stable.html
* MySQL Connector/J<br>http://www.mysql.com/downloads/api-jdbc-stable.html


Optionally:
Optionally:
* JUnit 1.4&lt;br&gt;http://junit.sourceforge.net
* JUnit 1.4<br>http://junit.sourceforge.net
* Jython 2.1&lt;br&gt;http://www.jython.org/download.html
* 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 34: Line 26:
First you need ant properly installed on your system to build Marauroa.
First you need ant properly installed on your system to build Marauroa.


&lt;pre&gt;
<pre>
cd /foo/bar/marauroa
cd /foo/bar/marauroa
ant dist
ant dist
&lt;/pre&gt;
</pre>




There are several ant tasks.
There are several ant tasks.
You have to run it as:
You have to run it as:
&lt;pre&gt;
<pre>
ant task_name
ant task_name
&lt;/pre&gt;
</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.
&lt;pre&gt;
<pre>
D:\Desarrollo\marauroa&gt;ant compile
D:\Desarrollo\marauroa>ant compile
Buildfile: build.xml
Buildfile: build.xml


Line 68: Line 60:
BUILD SUCCESSFUL
BUILD SUCCESSFUL
Total time: 9 seconds
Total time: 9 seconds
&lt;/pre&gt;
</pre>


===clean===
===clean===
Removes any trace of compiled stuff from marauroa.
Removes any trace of compiled stuff from marauroa.
&lt;pre&gt;
<pre>
D:\Desarrollo\marauroa&gt;ant clean
D:\Desarrollo\marauroa>ant clean
Buildfile: build.xml
Buildfile: build.xml


Line 84: Line 76:
BUILD SUCCESSFUL
BUILD SUCCESSFUL
Total time: 2 seconds
Total time: 2 seconds
&lt;/pre&gt;
</pre>


===jar===
===jar===
Builds a marauroa-''version''.jar file inside the lib folder.
Builds a marauroa-''version''.jar file inside the lib folder.
&lt;pre&gt;
<pre>
D:\Desarrollo\marauroa&gt;ant jar
D:\Desarrollo\marauroa>ant jar
Buildfile: build.xml
Buildfile: build.xml


Line 107: Line 99:
BUILD SUCCESSFUL
BUILD SUCCESSFUL
Total time: 4 seconds
Total time: 4 seconds
&lt;/pre&gt;
</pre>


===dist===
===dist===
Line 114: Line 106:
* 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.


&lt;pre&gt;
<pre>
D:\Desarrollo\marauroa&gt;ant dist
D:\Desarrollo\marauroa>ant dist
Buildfile: build.xml
Buildfile: build.xml


Line 363: Line 355:
BUILD SUCCESSFUL
BUILD SUCCESSFUL
Total time: 17 seconds
Total time: 17 seconds
&lt;/pre&gt;
</pre>


===docs===
===docs===
This task generates the java docs documentation.&lt;br&gt;
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.