[1.4-M1] Controller reloading seems to be broken

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[1.4-M1] Controller reloading seems to be broken

Marcel Overdijk
Controller reloading does not seem to work within 1.4-M1 on Windows.

In my console I can see:
Server running. Browse to http://localhost:8080/orakel
  [groovyc] Compiling 2 source files to C:\Projects\workspace\orakel\target\classes

after changing 1 controller (compiling 2 classes?).

However when I refresh page in browser, the changes to my controller are not effective.

Anybody else having the same problem?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [1.4-M1] Controller reloading seems to be broken

Graeme Rocher-4
Administrator
Not seen it, but we've had a few reports of issues on Windows 7 (which
we never had a chance to test on). Feel free to raise a JIRA with
steps to reproduce

Cheers

On Sat, May 28, 2011 at 12:59 AM, Marcel Overdijk
<[hidden email]> wrote:

> Controller reloading does not seem to work within 1.4-M1 on Windows.
>
> In my console I can see:
> Server running. Browse to http://localhost:8080/orakel
>  [groovyc] Compiling 2 source files to
> C:\Projects\workspace\orakel\target\classes
>
> after changing 1 controller (compiling 2 classes?).
>
> However when I refresh page in browser, the changes to my controller are not
> effective.
>
> Anybody else having the same problem?
>
> --
> View this message in context: http://grails.1312388.n4.nabble.com/1-4-M1-Controller-reloading-seems-to-be-broken-tp3556582p3556582.html
> Sent from the Grails - user mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>



--
Graeme Rocher
Grails Project Lead
SpringSource - A Division of VMware
http://www.springsource.com

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

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [1.4-M1] Controller reloading seems to be broken

Deluan Quintão
I'm having this issue too, both on Mac OS X 10.6.7 and on Windows XP,
with latest JVM's. And with domain classes too.

Marcel, have you opened the JIRA?

On Mon, May 30, 2011 at 4:33 AM, Graeme Rocher <[hidden email]> wrote:

> Not seen it, but we've had a few reports of issues on Windows 7 (which
> we never had a chance to test on). Feel free to raise a JIRA with
> steps to reproduce
>
> Cheers
>
> On Sat, May 28, 2011 at 12:59 AM, Marcel Overdijk
> <[hidden email]> wrote:
>> Controller reloading does not seem to work within 1.4-M1 on Windows.
>>
>> In my console I can see:
>> Server running. Browse to http://localhost:8080/orakel
>>  [groovyc] Compiling 2 source files to
>> C:\Projects\workspace\orakel\target\classes
>>
>> after changing 1 controller (compiling 2 classes?).
>>
>> However when I refresh page in browser, the changes to my controller are not
>> effective.
>>
>> Anybody else having the same problem?
>>
>> --
>> View this message in context: http://grails.1312388.n4.nabble.com/1-4-M1-Controller-reloading-seems-to-be-broken-tp3556582p3556582.html
>> Sent from the Grails - user mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>
>
>
> --
> Graeme Rocher
> Grails Project Lead
> SpringSource - A Division of VMware
> http://www.springsource.com
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

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

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [1.4-M1] Controller reloading seems to be broken

Graeme Rocher-4
Administrator
A JIRA with steps to reproduce please

Cheers

On Thu, Jun 2, 2011 at 4:43 AM, Deluan Quintão <[hidden email]> wrote:

> I'm having this issue too, both on Mac OS X 10.6.7 and on Windows XP,
> with latest JVM's. And with domain classes too.
>
> Marcel, have you opened the JIRA?
>
> On Mon, May 30, 2011 at 4:33 AM, Graeme Rocher <[hidden email]> wrote:
>> Not seen it, but we've had a few reports of issues on Windows 7 (which
>> we never had a chance to test on). Feel free to raise a JIRA with
>> steps to reproduce
>>
>> Cheers
>>
>> On Sat, May 28, 2011 at 12:59 AM, Marcel Overdijk
>> <[hidden email]> wrote:
>>> Controller reloading does not seem to work within 1.4-M1 on Windows.
>>>
>>> In my console I can see:
>>> Server running. Browse to http://localhost:8080/orakel
>>>  [groovyc] Compiling 2 source files to
>>> C:\Projects\workspace\orakel\target\classes
>>>
>>> after changing 1 controller (compiling 2 classes?).
>>>
>>> However when I refresh page in browser, the changes to my controller are not
>>> effective.
>>>
>>> Anybody else having the same problem?
>>>
>>> --
>>> View this message in context: http://grails.1312388.n4.nabble.com/1-4-M1-Controller-reloading-seems-to-be-broken-tp3556582p3556582.html
>>> Sent from the Grails - user mailing list archive at Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>    http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>
>>
>>
>> --
>> Graeme Rocher
>> Grails Project Lead
>> SpringSource - A Division of VMware
>> http://www.springsource.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>



--
Graeme Rocher
Grails Project Lead
SpringSource - A Division of VMware
http://www.springsource.com

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

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [1.4-M1] Controller reloading seems to be broken

Groovy Comley
Was a JIRA issue created for this? I'm having issues with this on Grails 1.3.7 and Windows 7?


On 2 June 2011 09:36, Graeme Rocher <[hidden email]> wrote:
A JIRA with steps to reproduce please

Cheers

On Thu, Jun 2, 2011 at 4:43 AM, Deluan Quintão <[hidden email]> wrote:
> I'm having this issue too, both on Mac OS X 10.6.7 and on Windows XP,
> with latest JVM's. And with domain classes too.
>
> Marcel, have you opened the JIRA?
>
> On Mon, May 30, 2011 at 4:33 AM, Graeme Rocher <[hidden email]> wrote:
>> Not seen it, but we've had a few reports of issues on Windows 7 (which
>> we never had a chance to test on). Feel free to raise a JIRA with
>> steps to reproduce
>>
>> Cheers
>>
>> On Sat, May 28, 2011 at 12:59 AM, Marcel Overdijk
>> <[hidden email]> wrote:
>>> Controller reloading does not seem to work within 1.4-M1 on Windows.
>>>
>>> In my console I can see:
>>> Server running. Browse to http://localhost:8080/orakel
>>>  [groovyc] Compiling 2 source files to
>>> C:\Projects\workspace\orakel\target\classes
>>>
>>> after changing 1 controller (compiling 2 classes?).
>>>
>>> However when I refresh page in browser, the changes to my controller are not
>>> effective.
>>>
>>> Anybody else having the same problem?
>>>
>>> --
>>> View this message in context: http://grails.1312388.n4.nabble.com/1-4-M1-Controller-reloading-seems-to-be-broken-tp3556582p3556582.html
>>> Sent from the Grails - user mailing list archive at Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>    http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>
>>
>>
>> --
>> Graeme Rocher
>> Grails Project Lead
>> SpringSource - A Division of VMware
>> http://www.springsource.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>



--
Graeme Rocher
Grails Project Lead
SpringSource - A Division of VMware
http://www.springsource.com

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

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [1.4-M1] Controller reloading seems to be broken

Graeme Rocher-4
Administrator
Not that I know of, please raise one

Cheers

On Fri, Jun 3, 2011 at 6:52 PM, Groovy Comley <[hidden email]> wrote:

> Was a JIRA issue created for this? I'm having issues with this on Grails
> 1.3.7 and Windows 7?
>
> On 2 June 2011 09:36, Graeme Rocher <[hidden email]> wrote:
>>
>> A JIRA with steps to reproduce please
>>
>> Cheers
>>
>> On Thu, Jun 2, 2011 at 4:43 AM, Deluan Quintão <[hidden email]> wrote:
>> > I'm having this issue too, both on Mac OS X 10.6.7 and on Windows XP,
>> > with latest JVM's. And with domain classes too.
>> >
>> > Marcel, have you opened the JIRA?
>> >
>> > On Mon, May 30, 2011 at 4:33 AM, Graeme Rocher <[hidden email]>
>> > wrote:
>> >> Not seen it, but we've had a few reports of issues on Windows 7 (which
>> >> we never had a chance to test on). Feel free to raise a JIRA with
>> >> steps to reproduce
>> >>
>> >> Cheers
>> >>
>> >> On Sat, May 28, 2011 at 12:59 AM, Marcel Overdijk
>> >> <[hidden email]> wrote:
>> >>> Controller reloading does not seem to work within 1.4-M1 on Windows.
>> >>>
>> >>> In my console I can see:
>> >>> Server running. Browse to http://localhost:8080/orakel
>> >>>  [groovyc] Compiling 2 source files to
>> >>> C:\Projects\workspace\orakel\target\classes
>> >>>
>> >>> after changing 1 controller (compiling 2 classes?).
>> >>>
>> >>> However when I refresh page in browser, the changes to my controller
>> >>> are not
>> >>> effective.
>> >>>
>> >>> Anybody else having the same problem?
>> >>>
>> >>> --
>> >>> View this message in context:
>> >>> http://grails.1312388.n4.nabble.com/1-4-M1-Controller-reloading-seems-to-be-broken-tp3556582p3556582.html
>> >>> Sent from the Grails - user mailing list archive at Nabble.com.
>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> To unsubscribe from this list, please visit:
>> >>>
>> >>>    http://xircles.codehaus.org/manage_email
>> >>>
>> >>>
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Graeme Rocher
>> >> Grails Project Lead
>> >> SpringSource - A Division of VMware
>> >> http://www.springsource.com
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe from this list, please visit:
>> >>
>> >>    http://xircles.codehaus.org/manage_email
>> >>
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe from this list, please visit:
>> >
>> >    http://xircles.codehaus.org/manage_email
>> >
>> >
>> >
>>
>>
>>
>> --
>> Graeme Rocher
>> Grails Project Lead
>> SpringSource - A Division of VMware
>> http://www.springsource.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
>



--
Graeme Rocher
Grails Project Lead
SpringSource - A Division of VMware
http://www.springsource.com

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

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [1.4-M1] Controller reloading seems to be broken

Groovy Comley
Hi Graeme,


I wasn't entirely sure of the components so appologies if I got that wrong.

By the way, I couldn't register for JIRA in chrome. Kept refreshing and/dying on submit. I was beginning to think I needed to know a secret handshake or something? FF did the trick.

Cheers
Simon





On 3 June 2011 20:21, Graeme Rocher <[hidden email]> wrote:
Not that I know of, please raise one

Cheers

On Fri, Jun 3, 2011 at 6:52 PM, Groovy Comley <[hidden email]> wrote:
> Was a JIRA issue created for this? I'm having issues with this on Grails
> 1.3.7 and Windows 7?
>
> On 2 June 2011 09:36, Graeme Rocher <[hidden email]> wrote:
>>
>> A JIRA with steps to reproduce please
>>
>> Cheers
>>
>> On Thu, Jun 2, 2011 at 4:43 AM, Deluan Quintão <[hidden email]> wrote:
>> > I'm having this issue too, both on Mac OS X 10.6.7 and on Windows XP,
>> > with latest JVM's. And with domain classes too.
>> >
>> > Marcel, have you opened the JIRA?
>> >
>> > On Mon, May 30, 2011 at 4:33 AM, Graeme Rocher <[hidden email]>
>> > wrote:
>> >> Not seen it, but we've had a few reports of issues on Windows 7 (which
>> >> we never had a chance to test on). Feel free to raise a JIRA with
>> >> steps to reproduce
>> >>
>> >> Cheers
>> >>
>> >> On Sat, May 28, 2011 at 12:59 AM, Marcel Overdijk
>> >> <[hidden email]> wrote:
>> >>> Controller reloading does not seem to work within 1.4-M1 on Windows.
>> >>>
>> >>> In my console I can see:
>> >>> Server running. Browse to http://localhost:8080/orakel
>> >>>  [groovyc] Compiling 2 source files to
>> >>> C:\Projects\workspace\orakel\target\classes
>> >>>
>> >>> after changing 1 controller (compiling 2 classes?).
>> >>>
>> >>> However when I refresh page in browser, the changes to my controller
>> >>> are not
>> >>> effective.
>> >>>
>> >>> Anybody else having the same problem?
>> >>>
>> >>> --
>> >>> View this message in context:
>> >>> http://grails.1312388.n4.nabble.com/1-4-M1-Controller-reloading-seems-to-be-broken-tp3556582p3556582.html
>> >>> Sent from the Grails - user mailing list archive at Nabble.com.
>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> To unsubscribe from this list, please visit:
>> >>>
>> >>>    http://xircles.codehaus.org/manage_email
>> >>>
>> >>>
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Graeme Rocher
>> >> Grails Project Lead
>> >> SpringSource - A Division of VMware
>> >> http://www.springsource.com
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe from this list, please visit:
>> >>
>> >>    http://xircles.codehaus.org/manage_email
>> >>
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe from this list, please visit:
>> >
>> >    http://xircles.codehaus.org/manage_email
>> >
>> >
>> >
>>
>>
>>
>> --
>> Graeme Rocher
>> Grails Project Lead
>> SpringSource - A Division of VMware
>> http://www.springsource.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
>



--
Graeme Rocher
Grails Project Lead
SpringSource - A Division of VMware
http://www.springsource.com

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

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [1.4-M1] Controller reloading seems to be broken

Otho
I tried it with Netbeans and Grails 1.4 M1 and also with starting the app directly from the console and controllers don't get reloaded though the compilation is shown in the console.

I have no problems with reloading in 1.3.7 though.

Win7 64bit with latest 64bit JDK.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [1.4-M1] Controller reloading seems to be broken

Groovy Comley
I'm beginning get a little concerned that this problem is only an issue for me and all the rest of you folks are Linux/OSX people. Surely controllers not reloading would be a bit of an issue that most would be wailing about by now as it impacts development time? 

If it is just a 'me' problem are there any pointers in what to look for so I can begin debugging? What folders should I look at to see timestamp changes? I've looked at the target folder and if I change a Domain class, Taglib or GSP then the timestamps change on all three but if I change a controller.....nothing.

Thanks
Simon

On 4 June 2011 15:37, Otho <[hidden email]> wrote:
I tried it with Netbeans and Grails 1.4 M1 and also with starting the app directly from the console and controllers don't get reloaded though the compilation is shown in the console.

I have no problems with reloading in 1.3.7 though.

Win7 64bit with latest 64bit JDK.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [1.4-M1] Controller reloading seems to be broken

Graeme Rocher-4
Administrator
I'm on OSX and can't reproduce right now, but if you raise a JIRA,
attach an example with steps to reproduce I can take a look

Cheers

On Tue, Jun 7, 2011 at 8:42 AM, Groovy Comley <[hidden email]> wrote:

> I'm beginning get a little concerned that this problem is only an issue for
> me and all the rest of you folks are Linux/OSX people. Surely controllers
> not reloading would be a bit of an issue that most would be wailing about by
> now as it impacts development time?
> If it is just a 'me' problem are there any pointers in what to look for so I
> can begin debugging? What folders should I look at to see timestamp changes?
> I've looked at the target folder and if I change a Domain class, Taglib or
> GSP then the timestamps change on all three but if I change a
> controller.....nothing.
> Thanks
> Simon
>
> On 4 June 2011 15:37, Otho <[hidden email]> wrote:
>>
>> I tried it with Netbeans and Grails 1.4 M1 and also with starting the app
>> directly from the console and controllers don't get reloaded though the
>> compilation is shown in the console.
>>
>> I have no problems with reloading in 1.3.7 though.
>>
>> Win7 64bit with latest 64bit JDK.
>
>



--
Graeme Rocher
Grails Project Lead
SpringSource - A Division of VMware
http://www.springsource.com

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

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [1.4-M1] Controller reloading seems to be broken

Groovy Comley
Hi Graeme,

I raised  http://jira.grails.org/browse/GRAILS-7585 when you asked last time but I didn't add an example so while I was putting an example together I remembered this oddity I have when generating controllers in intellij, I investigated further and it turns out intellij had created a single folder called 'com.mydomain' instead of two folders called 'com' and 'domain' so although my package naming looks correct its actually not in line with the folders which is obviously causing the issue. 

I'm sorry to have wasted time on something so obvious, I should have check the file system instead of relying intellij's view. 

Simon

On 7 June 2011 09:01, Graeme Rocher <[hidden email]> wrote:
I'm on OSX and can't reproduce right now, but if you raise a JIRA,
attach an example with steps to reproduce I can take a look

Cheers

On Tue, Jun 7, 2011 at 8:42 AM, Groovy Comley <[hidden email]> wrote:
> I'm beginning get a little concerned that this problem is only an issue for
> me and all the rest of you folks are Linux/OSX people. Surely controllers
> not reloading would be a bit of an issue that most would be wailing about by
> now as it impacts development time?
> If it is just a 'me' problem are there any pointers in what to look for so I
> can begin debugging? What folders should I look at to see timestamp changes?
> I've looked at the target folder and if I change a Domain class, Taglib or
> GSP then the timestamps change on all three but if I change a
> controller.....nothing.
> Thanks
> Simon
>
> On 4 June 2011 15:37, Otho <[hidden email]> wrote:
>>
>> I tried it with Netbeans and Grails 1.4 M1 and also with starting the app
>> directly from the console and controllers don't get reloaded though the
>> compilation is shown in the console.
>>
>> I have no problems with reloading in 1.3.7 though.
>>
>> Win7 64bit with latest 64bit JDK.
>
>



--
Graeme Rocher
Grails Project Lead
SpringSource - A Division of VMware
http://www.springsource.com

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

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [1.4-M1] Controller reloading seems to be broken

Otho
I just checked for grails 1.4. On my filesystem directories got created correctly.

An example to reproduce is just created with

grails create-app reload
grail create-controller test

controller index closure:

def index = {
        [testValue: "FOO"]
    }


test/index.gsp:

<!DOCTYPE html>
<html>
<head><title>Simple GSP page</title></head>

<body>
<h1>${testValue}</h1>
</body>
</html>

Now when the value of testValue in the controller is changed 2 files get compiled, but the new value does not show up in browser.



2011/6/7 Groovy Comley <[hidden email]>
Hi Graeme,

I raised  http://jira.grails.org/browse/GRAILS-7585 when you asked last time but I didn't add an example so while I was putting an example together I remembered this oddity I have when generating controllers in intellij, I investigated further and it turns out intellij had created a single folder called 'com.mydomain' instead of two folders called 'com' and 'domain' so although my package naming looks correct its actually not in line with the folders which is obviously causing the issue. 

I'm sorry to have wasted time on something so obvious, I should have check the file system instead of relying intellij's view. 

Simon

On 7 June 2011 09:01, Graeme Rocher <[hidden email]> wrote:
I'm on OSX and can't reproduce right now, but if you raise a JIRA,
attach an example with steps to reproduce I can take a look

Cheers

On Tue, Jun 7, 2011 at 8:42 AM, Groovy Comley <[hidden email]> wrote:
> I'm beginning get a little concerned that this problem is only an issue for
> me and all the rest of you folks are Linux/OSX people. Surely controllers
> not reloading would be a bit of an issue that most would be wailing about by
> now as it impacts development time?
> If it is just a 'me' problem are there any pointers in what to look for so I
> can begin debugging? What folders should I look at to see timestamp changes?
> I've looked at the target folder and if I change a Domain class, Taglib or
> GSP then the timestamps change on all three but if I change a
> controller.....nothing.
> Thanks
> Simon
>
> On 4 June 2011 15:37, Otho <[hidden email]> wrote:
>>
>> I tried it with Netbeans and Grails 1.4 M1 and also with starting the app
>> directly from the console and controllers don't get reloaded though the
>> compilation is shown in the console.
>>
>> I have no problems with reloading in 1.3.7 though.
>>
>> Win7 64bit with latest 64bit JDK.
>
>



--
Graeme Rocher
Grails Project Lead
SpringSource - A Division of VMware
http://www.springsource.com

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

   http://xircles.codehaus.org/manage_email




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [1.4-M1] Controller reloading seems to be broken

Graeme Rocher-4
Administrator
Otho, what operating system are you using? Please report a JIRA with
all the details

Thank you

On Tue, Jun 7, 2011 at 11:36 AM, Otho <[hidden email]> wrote:

> I just checked for grails 1.4. On my filesystem directories got created
> correctly.
>
> An example to reproduce is just created with
>
> grails create-app reload
> grail create-controller test
>
> controller index closure:
>
> def index = {
>         [testValue: "FOO"]
>     }
>
>
> test/index.gsp:
>
> <!DOCTYPE html>
> <html>
> <head><title>Simple GSP page</title></head>
>
> <body>
> <h1>${testValue}</h1>
> </body>
> </html>
>
> Now when the value of testValue in the controller is changed 2 files get
> compiled, but the new value does not show up in browser.
>
>
>
> 2011/6/7 Groovy Comley <[hidden email]>
>>
>> Hi Graeme,
>> I raised  http://jira.grails.org/browse/GRAILS-7585 when you asked last
>> time but I didn't add an example so while I was putting an example together
>> I remembered this oddity I have when generating controllers in intellij, I
>> investigated further and it turns out intellij had created a single folder
>> called 'com.mydomain' instead of two folders called 'com' and 'domain' so
>> although my package naming looks correct its actually not in line with the
>> folders which is obviously causing the issue.
>> I'm sorry to have wasted time on something so obvious, I should have check
>> the file system instead of relying intellij's view.
>> Simon
>>
>> On 7 June 2011 09:01, Graeme Rocher <[hidden email]> wrote:
>>>
>>> I'm on OSX and can't reproduce right now, but if you raise a JIRA,
>>> attach an example with steps to reproduce I can take a look
>>>
>>> Cheers
>>>
>>> On Tue, Jun 7, 2011 at 8:42 AM, Groovy Comley <[hidden email]> wrote:
>>> > I'm beginning get a little concerned that this problem is only an issue
>>> > for
>>> > me and all the rest of you folks are Linux/OSX people. Surely
>>> > controllers
>>> > not reloading would be a bit of an issue that most would be wailing
>>> > about by
>>> > now as it impacts development time?
>>> > If it is just a 'me' problem are there any pointers in what to look for
>>> > so I
>>> > can begin debugging? What folders should I look at to see timestamp
>>> > changes?
>>> > I've looked at the target folder and if I change a Domain class, Taglib
>>> > or
>>> > GSP then the timestamps change on all three but if I change a
>>> > controller.....nothing.
>>> > Thanks
>>> > Simon
>>> >
>>> > On 4 June 2011 15:37, Otho <[hidden email]> wrote:
>>> >>
>>> >> I tried it with Netbeans and Grails 1.4 M1 and also with starting the
>>> >> app
>>> >> directly from the console and controllers don't get reloaded though
>>> >> the
>>> >> compilation is shown in the console.
>>> >>
>>> >> I have no problems with reloading in 1.3.7 though.
>>> >>
>>> >> Win7 64bit with latest 64bit JDK.
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Graeme Rocher
>>> Grails Project Lead
>>> SpringSource - A Division of VMware
>>> http://www.springsource.com
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>    http://xircles.codehaus.org/manage_email
>>>
>>>
>>
>
>



--
Graeme Rocher
Grails Project Lead
SpringSource - A Division of VMware
http://www.springsource.com

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

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [1.4-M1] Controller reloading seems to be broken

Otho
Created at http://jira.grails.org/browse/GRAILS-7594


2011/6/7 Graeme Rocher <[hidden email]>
Otho, what operating system are you using? Please report a JIRA with
all the details

Thank you

On Tue, Jun 7, 2011 at 11:36 AM, Otho <[hidden email]> wrote:
> I just checked for grails 1.4. On my filesystem directories got created
> correctly.
>
> An example to reproduce is just created with
>
> grails create-app reload
> grail create-controller test
>
> controller index closure:
>
> def index = {
>         [testValue: "FOO"]
>     }
>
>
> test/index.gsp:
>
> <!DOCTYPE html>
> <html>
> <head><title>Simple GSP page</title></head>
>
> <body>
> <h1>${testValue}</h1>
> </body>
> </html>
>
> Now when the value of testValue in the controller is changed 2 files get
> compiled, but the new value does not show up in browser.
>
>
>
> 2011/6/7 Groovy Comley <[hidden email]>
>>
>> Hi Graeme,
>> I raised  http://jira.grails.org/browse/GRAILS-7585 when you asked last
>> time but I didn't add an example so while I was putting an example together
>> I remembered this oddity I have when generating controllers in intellij, I
>> investigated further and it turns out intellij had created a single folder
>> called 'com.mydomain' instead of two folders called 'com' and 'domain' so
>> although my package naming looks correct its actually not in line with the
>> folders which is obviously causing the issue.
>> I'm sorry to have wasted time on something so obvious, I should have check
>> the file system instead of relying intellij's view.
>> Simon
>>
>> On 7 June 2011 09:01, Graeme Rocher <[hidden email]> wrote:
>>>
>>> I'm on OSX and can't reproduce right now, but if you raise a JIRA,
>>> attach an example with steps to reproduce I can take a look
>>>
>>> Cheers
>>>
>>> On Tue, Jun 7, 2011 at 8:42 AM, Groovy Comley <[hidden email]> wrote:
>>> > I'm beginning get a little concerned that this problem is only an issue
>>> > for
>>> > me and all the rest of you folks are Linux/OSX people. Surely
>>> > controllers
>>> > not reloading would be a bit of an issue that most would be wailing
>>> > about by
>>> > now as it impacts development time?
>>> > If it is just a 'me' problem are there any pointers in what to look for
>>> > so I
>>> > can begin debugging? What folders should I look at to see timestamp
>>> > changes?
>>> > I've looked at the target folder and if I change a Domain class, Taglib
>>> > or
>>> > GSP then the timestamps change on all three but if I change a
>>> > controller.....nothing.
>>> > Thanks
>>> > Simon
>>> >
>>> > On 4 June 2011 15:37, Otho <[hidden email]> wrote:
>>> >>
>>> >> I tried it with Netbeans and Grails 1.4 M1 and also with starting the
>>> >> app
>>> >> directly from the console and controllers don't get reloaded though
>>> >> the
>>> >> compilation is shown in the console.
>>> >>
>>> >> I have no problems with reloading in 1.3.7 though.
>>> >>
>>> >> Win7 64bit with latest 64bit JDK.
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Graeme Rocher
>>> Grails Project Lead
>>> SpringSource - A Division of VMware
>>> http://www.springsource.com
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>    http://xircles.codehaus.org/manage_email
>>>
>>>
>>
>
>



--
Graeme Rocher
Grails Project Lead
SpringSource - A Division of VMware
http://www.springsource.com

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

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

RE: [1.4-M1] Controller reloading seems to be broken

halrlee
I am having this same problem and wanted to add that one difference that I notice between the two versions.

In 1.3.7 in the .grails project folder there is a folder called tomcat specifically
.grails\1.3.7\projects\g137\tomcat\work\Tomcat\localhost\g137
When I run the app in 1.3.7 there are no files in this folder

But when I run another app called ademo in 1.4M1 I get a folder called grails-resources with
.grails\1.4.0.M1\projects\ademo\tomcat\work\Tomcat\localhost\ademo\grails-resources

This folder contains sub folders (css,images, js, plugins)

Also I notice that if I change a css file that those changes aren't getting refreshed as well.
So updates to the css file in my project folder take a server restart for the file to be copied into the location above.
If I change the file in the .grails tomcat folder the changes are immediate.

Not sure if that helps...

I am also on Win7 with jdk1.6_24.

Thanks
Hal





Date: Tue, 7 Jun 2011 22:57:35 +0200
From: [hidden email]
To: [hidden email]
Subject: Re: [grails-user] [1.4-M1] Controller reloading seems to be broken

Created at http://jira.grails.org/browse/GRAILS-7594


2011/6/7 Graeme Rocher <[hidden email]>
Otho, what operating system are you using? Please report a JIRA with
all the details

Thank you

On Tue, Jun 7, 2011 at 11:36 AM, Otho <[hidden email]> wrote:
> I just checked for grails 1.4. On my filesystem directories got created
> correctly.
>
> An example to reproduce is just created with
>
> grails create-app reload
> grail create-controller test
>
> controller index closure:
>
> def index = {
>         [testValue: "FOO"]
>     }
>
>
> test/index.gsp:
>
> <!DOCTYPE html>
> <html>
> <head><title>Simple GSP page</title></head>
>
> <body>
> <h1>${testValue}</h1>
> </body>
> </html>
>
> Now when the value of testValue in the controller is changed 2 files get
> compiled, but the new value does not show up in browser.
>
>
>
> 2011/6/7 Groovy Comley <[hidden email]>
>>
>> Hi Graeme,
>> I raised  http://jira.grails.org/browse/GRAILS-7585 when you asked last
>> time but I didn't add an example so while I was putting an example together
>> I remembered this oddity I have when generating controllers in intellij, I
>> investigated further and it turns out intellij had created a single folder
>> called 'com.mydomain' instead of two folders called 'com' and 'domain' so
>> although my package naming looks correct its actually not in line with the
>> folders which is obviously causing the issue.
>> I'm sorry to have wasted time on something so obvious, I should have check
>> the file system instead of relying intellij's view.
>> Simon
>>
>> On 7 June 2011 09:01, Graeme Rocher <[hidden email]> wrote:
>>>
>>> I'm on OSX and can't reproduce right now, but if you raise a JIRA,
>>> attach an example with steps to reproduce I can take a look
>>>
>>> Cheers
>>>
>>> On Tue, Jun 7, 2011 at 8:42 AM, Groovy Comley <[hidden email]> wrote:
>>> > I'm beginning get a little concerned that this problem is only an issue
>>> > for
>>> > me and all the rest of you folks are Linux/OSX people. Surely
>>> > controllers
>>> > not reloading would be a bit of an issue that most would be wailing
>>> > about by
>>> > now as it impacts development time?
>>> > If it is just a 'me' problem are there any pointers in what to look for
>>> > so I
>>> > can begin debugging? What folders should I look at to see timestamp
>>> > changes?
>>> > I've looked at the target folder and if I change a Domain class, Taglib
>>> > or
>>> > GSP then the timestamps change on all three but if I change a
>>> > controller.....nothing.
>>> > Thanks
>>> > Simon
>>> >
>>> > On 4 June 2011 15:37, Otho <[hidden email]> wrote:
>>> >>
>>> >> I tried it with Netbeans and Grails 1.4 M1 and also with starting the
>>> >> app
>>> >> directly from the console and controllers don't get reloaded though
>>> >> the
>>> >> compilation is shown in the console.
>>> >>
>>> >> I have no problems with reloading in 1.3.7 though.
>>> >>
>>> >> Win7 64bit with latest 64bit JDK.
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Graeme Rocher
>>> Grails Project Lead
>>> SpringSource - A Division of VMware
>>> http://www.springsource.com
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>    http://xircles.codehaus.org/manage_email
>>>
>>>
>>
>
>



--
Graeme Rocher
Grails Project Lead
SpringSource - A Division of VMware
http://www.springsource.com

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

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [1.4-M1] Controller reloading seems to be broken

Graeme Rocher-4
Administrator
Hi Hal,

Yes I believe there are several problems on Windows 7 which we'll
address for the next milestone

Cheers

On Tue, Jun 7, 2011 at 11:13 PM, Hal Lee <[hidden email]> wrote:

> I am having this same problem and wanted to add that one difference that I
> notice between the two versions.
> In 1.3.7 in the .grails project folder there is a folder called tomcat
> specifically
> .grails\1.3.7\projects\g137\tomcat\work\Tomcat\localhost\g137
> When I run the app in 1.3.7 there are no files in this folder
> But when I run another app called ademo in 1.4M1 I get a folder called
> grails-resources with
> .grails\1.4.0.M1\projects\ademo\tomcat\work\Tomcat\localhost\ademo\grails-resources
> This folder contains sub folders (css,images, js, plugins)
> Also I notice that if I change a css file that those changes aren't getting
> refreshed as well.
> So updates to the css file in my project folder take a server restart for
> the file to be copied into the location above.
> If I change the file in the .grails tomcat folder the changes are immediate.
> Not sure if that helps...
> I am also on Win7 with jdk1.6_24.
> Thanks
> Hal
>
>
>
> ________________________________
> Date: Tue, 7 Jun 2011 22:57:35 +0200
> From: [hidden email]
> To: [hidden email]
> Subject: Re: [grails-user] [1.4-M1] Controller reloading seems to be broken
>
> Created at http://jira.grails.org/browse/GRAILS-7594
>
>
> 2011/6/7 Graeme Rocher <[hidden email]>
>
> Otho, what operating system are you using? Please report a JIRA with
> all the details
>
> Thank you
>
> On Tue, Jun 7, 2011 at 11:36 AM, Otho <[hidden email]> wrote:
>> I just checked for grails 1.4. On my filesystem directories got created
>> correctly.
>>
>> An example to reproduce is just created with
>>
>> grails create-app reload
>> grail create-controller test
>>
>> controller index closure:
>>
>> def index = {
>>         [testValue: "FOO"]
>>     }
>>
>>
>> test/index.gsp:
>>
>> <!DOCTYPE html>
>> <html>
>> <head><title>Simple GSP page</title></head>
>>
>> <body>
>> <h1>${testValue}</h1>
>> </body>
>> </html>
>>
>> Now when the value of testValue in the controller is changed 2 files get
>> compiled, but the new value does not show up in browser.
>>
>>
>>
>> 2011/6/7 Groovy Comley <[hidden email]>
>>>
>>> Hi Graeme,
>>> I raised  http://jira.grails.org/browse/GRAILS-7585 when you asked last
>>> time but I didn't add an example so while I was putting an example
>>> together
>>> I remembered this oddity I have when generating controllers in intellij,
>>> I
>>> investigated further and it turns out intellij had created a single
>>> folder
>>> called 'com.mydomain' instead of two folders called 'com' and 'domain' so
>>> although my package naming looks correct its actually not in line with
>>> the
>>> folders which is obviously causing the issue.
>>> I'm sorry to have wasted time on something so obvious, I should have
>>> check
>>> the file system instead of relying intellij's view.
>>> Simon
>>>
>>> On 7 June 2011 09:01, Graeme Rocher <[hidden email]> wrote:
>>>>
>>>> I'm on OSX and can't reproduce right now, but if you raise a JIRA,
>>>> attach an example with steps to reproduce I can take a look
>>>>
>>>> Cheers
>>>>
>>>> On Tue, Jun 7, 2011 at 8:42 AM, Groovy Comley <[hidden email]> wrote:
>>>> > I'm beginning get a little concerned that this problem is only an
>>>> > issue
>>>> > for
>>>> > me and all the rest of you folks are Linux/OSX people. Surely
>>>> > controllers
>>>> > not reloading would be a bit of an issue that most would be wailing
>>>> > about by
>>>> > now as it impacts development time?
>>>> > If it is just a 'me' problem are there any pointers in what to look
>>>> > for
>>>> > so I
>>>> > can begin debugging? What folders should I look at to see timestamp
>>>> > changes?
>>>> > I've looked at the target folder and if I change a Domain class,
>>>> > Taglib
>>>> > or
>>>> > GSP then the timestamps change on all three but if I change a
>>>> > controller.....nothing.
>>>> > Thanks
>>>> > Simon
>>>> >
>>>> > On 4 June 2011 15:37, Otho <[hidden email]> wrote:
>>>> >>
>>>> >> I tried it with Netbeans and Grails 1.4 M1 and also with starting the
>>>> >> app
>>>> >> directly from the console and controllers don't get reloaded though
>>>> >> the
>>>> >> compilation is shown in the console.
>>>> >>
>>>> >> I have no problems with reloading in 1.3.7 though.
>>>> >>
>>>> >> Win7 64bit with latest 64bit JDK.
>>>> >
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Graeme Rocher
>>>> Grails Project Lead
>>>> SpringSource - A Division of VMware
>>>> http://www.springsource.com
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe from this list, please visit:
>>>>
>>>>    http://xircles.codehaus.org/manage_email
>>>>
>>>>
>>>
>>
>>
>
>
>
> --
> Graeme Rocher
> Grails Project Lead
> SpringSource - A Division of VMware
> http://www.springsource.com
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>
>



--
Graeme Rocher
Grails Project Lead
SpringSource - A Division of VMware
http://www.springsource.com

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

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [1.4-M1] Controller reloading seems to be broken

halrlee
Thanks Graeme

Went back to 1.3.7 this morning..
Good news is the downgrade was fairly painless.

Another item that you might want to be aware of is that when I also tried the run-war that the running war couldn't find one of my templates but it looked like the gsp's were all there. It might be nothing and I know very vague but just wanted to mention it since it seems that there were some issues with W7.

Will grab the next milestone when I hear about it.

Thanks again
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [1.4-M1] Controller reloading seems to be broken

Otho
The issue is marked as solved for 1.4-M2. Great job. But just out of curiosity: What was the problem?

2011/6/8 halrlee <[hidden email]>
Thanks Graeme

Went back to 1.3.7 this morning..
Good news is the downgrade was fairly painless.

Another item that you might want to be aware of is that when I also tried
the run-war that the running war couldn't find one of my templates but it
looked like the gsp's were all there. It might be nothing and I know very
vague but just wanted to mention it since it seems that there were some
issues with W7.

Will grab the next milestone when I hear about it.

Thanks again


--
View this message in context: http://grails.1312388.n4.nabble.com/1-4-M1-Controller-reloading-seems-to-be-broken-tp3556582p3582679.html
Sent from the Grails - user mailing list archive at Nabble.com.

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

   http://xircles.codehaus.org/manage_email



Loading...