You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by lukaszkaleta <lu...@gmail.com> on 2012/06/23 17:05:40 UTC
Tapestry 5.3.3 quickstart, Gradle, Idea: life class reloading issue
Hi :)
I am checking tapestry quickstart application build with gradle.
For dev I am using idea (gradle idea)
I have problem with life class reloading when project is started with gradle
jettyRun.
I configure mine ide to compile classes into build/classes/main/
When I do the same with maven it works (classes under target/classes)
Could you please give me a hint how to solve this ?
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-3-quickstart-Gradle-Idea-life-class-reloading-issue-tp5714046.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.3.3 quickstart, Gradle: life class reloading issue
Posted by lukaszkaleta <lu...@gmail.com>.
Thank you for help.
I do not know what I had wrong ... I start from scrach with new project and
is works now.
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-3-quickstart-Gradle-Idea-life-class-reloading-issue-tp5714046p5714059.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.3.3 quickstart, Gradle: life class reloading issue
Posted by Taha Siddiqi <ta...@gmail.com>.
One thing I do forget sometimes is setting PRODUCTION_MODE to false.
Also you can delete the build directory and check if idea is putting the classes in the right folder.
regards
Taha
On Jun 24, 2012, at 12:02 PM, lukaszkaleta wrote:
> Hi Taha, thanks for replay :)
>
> well for me it does not work somehow ...
>
> I am using latest gradle version: 1.0
> tapestry is 5.3.3.
>
> I am wondering if this maybe has something todo with gradle war/jetty ...
> but I am not sure.
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-3-quickstart-Gradle-Idea-life-class-reloading-issue-tp5714046p5714057.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.3.3 quickstart, Gradle: life class reloading issue
Posted by lukaszkaleta <lu...@gmail.com>.
Hi Taha, thanks for replay :)
well for me it does not work somehow ...
I am using latest gradle version: 1.0
tapestry is 5.3.3.
I am wondering if this maybe has something todo with gradle war/jetty ...
but I am not sure.
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-3-quickstart-Gradle-Idea-life-class-reloading-issue-tp5714046p5714057.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.3.3 quickstart, Gradle: life class reloading issue
Posted by Taha Siddiqi <ta...@gmail.com>.
Yes and works like a charm.
I have added this to the idea plugin in build.gradle.
idea {
module {
inheritOutputDirs = false
outputDir = file("build/classes/main")
testOutputDir = file('build/classes/test')
downloadJavadoc = true
downloadSources = true
}
}
On Jun 23, 2012, at 11:32 PM, lukaszkaleta wrote:
> yes I supposed to do the same, but when mine idea open gradle project it does
> not work for me.
> Are you using gradle too ?
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-3-quickstart-Gradle-Idea-life-class-reloading-issue-tp5714046p5714052.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.3.3 quickstart, Gradle: life class reloading issue
Posted by lukaszkaleta <lu...@gmail.com>.
yes I supposed to do the same, but when mine idea open gradle project it does
not work for me.
Are you using gradle too ?
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-3-quickstart-Gradle-Idea-life-class-reloading-issue-tp5714046p5714052.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.3.3 quickstart, Gradle: life class reloading issue
Posted by Taha Hafeez Siddiqi <ta...@gmail.com>.
I use cmd + F9 after I make a change and it is done.
Sent from my iPhone
On Jun 23, 2012, at 9:43 PM, lukaszkaleta <lu...@gmail.com> wrote:
> Yes, I read this page.
>
> So far I exclude IDEA from mine tesing.
>
> As I said with maven it works.
>
> This is how I am testing with maven:
> - on first console I am running: mvn jetty:run
> - I change Index page (from quickstrart app) via simple editor
> - on second console I am running: mvn clean install
> The result from editing Index is shown ok.
>
> This is how I am testing with gradle:
> - on first console I am running: gradle jettyRun
> - I change Index page (from quickstrart app) via simple editor
> - on second console I am running: gradle compileJave (or gradle build)
> The result from editing Index is not shown, life class reloading seems to
> not work somehow.
>
> Please note that I am running the same application for both tests.
> Any ideas what should I need to do to make it work with gradle ?
>
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-3-quickstart-Gradle-Idea-life-class-reloading-issue-tp5714046p5714050.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.3.3 quickstart, Gradle: life class reloading issue
Posted by lukaszkaleta <lu...@gmail.com>.
Yes, I read this page.
So far I exclude IDEA from mine tesing.
As I said with maven it works.
This is how I am testing with maven:
- on first console I am running: mvn jetty:run
- I change Index page (from quickstrart app) via simple editor
- on second console I am running: mvn clean install
The result from editing Index is shown ok.
This is how I am testing with gradle:
- on first console I am running: gradle jettyRun
- I change Index page (from quickstrart app) via simple editor
- on second console I am running: gradle compileJave (or gradle build)
The result from editing Index is not shown, life class reloading seems to
not work somehow.
Please note that I am running the same application for both tests.
Any ideas what should I need to do to make it work with gradle ?
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-3-quickstart-Gradle-Idea-life-class-reloading-issue-tp5714046p5714050.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.3.3 quickstart, Gradle, Idea: life class reloading issue
Posted by Bob Harner <bo...@gmail.com>.
My lazy reply: have you worked through the troubleshooting section at the
bottom of http://tapestry.apache.org/class-reloading.html ?
On Jun 23, 2012 11:06 AM, "lukaszkaleta" <lu...@gmail.com> wrote:
> Hi :)
>
> I am checking tapestry quickstart application build with gradle.
> For dev I am using idea (gradle idea)
>
> I have problem with life class reloading when project is started with
> gradle
> jettyRun.
> I configure mine ide to compile classes into build/classes/main/
>
> When I do the same with maven it works (classes under target/classes)
>
> Could you please give me a hint how to solve this ?
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-3-quickstart-Gradle-Idea-life-class-reloading-issue-tp5714046.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>