On Jun 25, 2008, at 9:51 AM, Russel Winder wrote:

On Wed, 2008-06-25 at 08:51 +0200, Hans Dockter wrote:

Gradle by default uses the directory build as the build directory
whereas Maven uses target.  Is there a quick and easy way to make
Gradle
Maven compliant?

buildDir = 'target'

On Wed, 2008-06-25 at 09:12 +0200, Hans Dockter wrote:
Correction: buildDirName = 'target'

Splendid.  That was easy :-)

I wonder if Gradle should just go with the Maven structure by default?

I find target is a very unexpressive name and build more appropriate.
As this is a constructed folder, Maven projects don't have to change
there layouts.

I have a few, essentially trivial, points:

-- I like using Build as the name of directory but that is because I
tend to use initial capital for directory names and initial lower case
for file names.

--  With the script called build.gradle, the directory name build is a
bit irritating when it comes to command line completion.

-- Where there are multiple build systems for a given project,
consistency of default naming is helpful.

--  Even people who don't use Maven are beginning to use the Maven
structuring conventions.

PS Any news on making Gradle HEAD buildable?  I am still getting:

Exception: org.gradle.api.GradleScriptException: : Warning: Could not
find
file /home/Checkouts/Bazaar/GradleCore_Trunk/src/docs/userguide/ master.pdf to copy. Buildscript=build.gradle in line(s): 228 218

There seem to be some issue with the LaTeX userguide generation. It should work if you set -Dskip.userguide.

The output of the LaTeX pdf process can be found in: build/docs/ userguide/pdfOut

- Hans


--
Russel.
====================================================
Dr Russel Winder                 Partner

Concertant LLP                   t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,              f: +44 8700 516 084
London SW11 1EN, UK.             m: +44 7770 465 077

--
Hans Dockter
Gradle Project lead
http://www.gradle.org





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to