On Jun 16, 2008, at 10:22 AM, Russel Winder wrote:
I have just installed HEAD (r602) from Subversion:
|> gradle --version
No modern compiler.
Gradle 0.2-080616081509+0000
Gradle buildtime: Monday, 16 June 2008 08:15:09 o'clock GMT
Groovy 1.5.5
Java 1.6.0_06
JVM 10.0-b22
JVM Vendor: Sun Microsystems Inc.
OS Name: Linux
|>
Then I try to do use Gradle:
|> gradle
No modern compiler.
Recursive: true
Buildfilename: build.gradle
Build exits abnormally. No task names are specified!
|>
I guess there is already an issue for setting up a default target?
But
why say the buildfilename is build.gradle when it is gradlefile?
Because we have changed the conventions:
http://jira.codehaus.org/browse/GRADLE-113
There will be a release today. The user's guide will be updated.
- Hans
|> gradle test
No modern compiler.
Recursive: true
Buildfilename: build.gradle
No build sources found.
:: loading settings :: url =
jar:file:/home/users/russel/lib/Java/gradle/lib/
ivy-2.0.0.beta2_20080305165542.jar!/org/apache/ivy/core/settings/
ivysettings.xml
:: resolving dependencies :: org.gradle#build;SNAPSHOT
confs: [build]
++++ Starting build for primary task: test
++ Loading Project objects
++ Configuring Project objects
No project file available. Using empty script!
Timing: Parsing the build script took 0.009 secs
Timing: Running the build script took 0.001 secs
Timing: Missing calls took 0.002
Project=: evaluated.
Build aborted anormally. Run with -s option to get stacktrace. Run
with
-d option to get all debug info including stacktrace. Run
(additionally)
with -f option to get the full (very verbose) stacktrace
Exception: org.gradle.api.UnknownTaskException: Task(s) ["test"] are
unknown!
Total time: 1 seconds
Exit with error!
|>
So what are the targets, and how do I find out what they are?
--
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