Message-ID: <839713996.919.1394424743798.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_918_2024743594.1394424743798" ------=_Part_918_2024743594.1394424743798 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Starting from Groovy 2.0-0-=
rc-1, the Ant build is no longer supported. Gradle is used instead.
This is a = legacy page that describes how Groovy was built from sources using ant prio= r to the adoption of Gradle.
You will need a JDK 1.5+ (J2SE 1.5+) or compatible JDK to bui= ld Groovy.
To execute the build process you need to have Apache Ant version
To fetch the source code for the server, you will need to have a Git c= lient version 1.2 (or newer, 1.4 is recommended) installed.=20 =20 =20
Have a look at our Git page for furt= her details on how to get the sources, either from the Codehaus Git reposit= ory, or the GitHub mirror.
Select one of the
*-src.* archives from the distribution site site and unzip it.
For example, to use the source from the Groovy
If you are behind a proxy firewall, you may need to set up proxy informa=
tion in a
If you will need to publish artifacts then you will need to have appropr=
iate permissions with codehaus and ensure that you have stored your credent=
ials in a
~/.m2/settings.xml file of the form:
To build everything, run tests and create a complete installation in
After this finished successfully, then you can try out the distribution =
that was just built. For example to play with
groovysh you can=
Sometimes its desirable to skip the test execution for faster turn aroun=
d. To turn off tests set the
skipTests property, as in:
To build a Groovy distribution archive:
This will build everything, generate documentation and create distributi=
on archives under
To publish artifacts to the Maven 2 repository, run:
If deploy is failing, then check Installing the UserTrust= CA into the Java JDK.
Please follow the instructions found here.