On Jun 18, 2008, at 5:27 AM, Ittay Dror wrote:
Hi Hans,
I always see the message 'No build sources found.', but afterwards
the build
sources are compiled.
If you compile a project without build sources the log is like this:
noname:~/java/gradle/samples/tutorial hans$ gradle -bhello.gradle hello
Modern compiler found.
Recursive: true
Buildfilename: hello.gradle
No build sources found.
...
If there are build sources the message is like this:
================================================== Start building
buildSrc
No build sources found.
:: loading settings :: url = jar:file:/Users/hans/java/gradle-
SNAPSHOT/lib/ivy-2.0.0.beta2_20080305165542.jar!/org/apache/ivy/core/
settings/ivysettings.xml
:: resolving dependencies :: org.gradle#build;SNAPSHOT
confs: [build]
...
The first line indicated that there are build sources to compile.
What Gradle does then is to execute a normal build using buildSrc as
the project dir. The line 'No build sources found.' indicates, that
the buildSrc folder has no buildSrc subfolder with build sources.
I know this is somehow confusing. We might change the level of this
log statement to debug.
- Hans
Ittay
hdockter wrote:
On Jun 17, 2008, at 8:59 PM, JerodLass wrote:
I dropped them in there and in some nearby directories and nothing
happened.
It doesn't appear to be compiling my buildSrc folder because I
can put
typing errors in the files and still no messages. Do I have to
enable the
buildSrc mechanism or something?
First of all sorry that I've missed this whole thread and haven't
been answering.
You need to place your classes under buildSrc/src/main/groovy.
I gonna write more on this tomorrow.
- Hans
Jerod
Ittay Dror wrote:
Hi Jerod,
JerodLass wrote:
Do I then need to rebuild gradle every time I change my plugin?
No, it automatically compiles the classes at the start of the
build. See
BuildSourceBuilder and the buildSrc directory in gradle itself.
Ittay
--
View this message in context: http://www.nabble.com/adding-my-own-
plugin-tp17809485p17932933.html
Sent from the gradle-user mailing list archive at Nabble.com.
--------------------------------------------------------------------
-
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
--
View this message in context: http://www.nabble.com/adding-my-own-
plugin-tp17809485p17959065.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
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