Hi Ittay,
On Jun 25, 2008, at 10:42 AM, Ittay Dror wrote:
Hans Dockter wrote:
On Jun 25, 2008, at 6:56 AM, Russel Winder wrote:
I know this is definitely an RTFM question, but I think there is a
strategy issue here as well worth a quick email.
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'
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'm wondering what other people think about this.
IMHO 'target' is confusing and I like 'build' or 'out' better. The
things I find confusing are the build-resolvers and buildSrc directory
names. Can I suggest build/resolvers and 'src/build/groovy'
respectively (of course the user can change the layout in the same way
he can redefine src/main/java)?
build-resolver is a temporary dir and is always deleted before the
build starts. Therefore we should also delete it after the build has
executed. It should also live not in the top-level but in a
PROJECT_ROOT/.grade folder I think. If we do it like this I guess
your issue with build-resolver is solved?
I'm not sure about buildSrc. For one, I see the src folder as the
input for the build. buildSrc is not input for the build, but part of
the build logic which is otherwise contained in the build script
which lives on the top level. But I agree that there should be a
possibility to customize the location. This would be done in the
settings.gradle file, as the buildSrc jar is needed to compile the
build.gradle.
- Hans
Ittay
- 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
--
--
Ittay Dror <[EMAIL PROTECTED]>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email