You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by fredramsey <fr...@gmail.com> on 2012/03/29 21:00:57 UTC
Tutorial issue- changing code and refresh not working
Mac OSX, Eclipse, followed all steps.
If I make a change to the index class as in the tutorial, and refresh
(Firefox or Safari), the change is not shown. I even cleared the cache. I
end up having to rebuild.
Any ideas?
Thanks.
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tutorial-issue-changing-code-and-refresh-not-working-tp5604721p5604721.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: Tutorial issue- changing code and refresh not working
Posted by fredramsey <fr...@gmail.com>.
Thank you, Bob. That will be very helpful in case someone else runs into the
same issue.
When evaluating a software tool, one of the things I look for is how
friendly and helpful the community is.
I really don't see the harm in helping someone, and, as part of that,
reminding them to search. But to assume that someone hasn't searched, both
in the forums and on Google, and to just deliver the standard, "Search the
forums" response, doesn't help anyone.
I really love this framework so far, and look forward to making use of it.
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tutorial-issue-changing-code-and-refresh-not-working-tp5604721p5606425.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: Tutorial issue- changing code and refresh not working
Posted by Bob Harner <bo...@gmail.com>.
I just added a troubleshooting section to the Class Reloading
documentation (http://tapestry.apache.org/class-reloading.html) and
added a mention of it in the tutorial. (It might take an hour or so to
see these changes in the public site.)
On Thu, Mar 29, 2012 at 6:49 PM, fredramsey <fr...@gmail.com> wrote:
> It was a fresh Eclipse install, but I had Eclipse on the machine before,
> doing Android apps. Perhaps there was some reason to turn it off.
>
> Now, at least, if someone else runs into it,they'll find this thread :-)
>
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Tutorial-issue-changing-code-and-refresh-not-working-tp5604721p5605219.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: Tutorial issue- changing code and refresh not working
Posted by fredramsey <fr...@gmail.com>.
It was a fresh Eclipse install, but I had Eclipse on the machine before,
doing Android apps. Perhaps there was some reason to turn it off.
Now, at least, if someone else runs into it,they'll find this thread :-)
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tutorial-issue-changing-code-and-refresh-not-working-tp5604721p5605219.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Re: Tutorial issue- changing code and refresh not working
Posted by fmaylinch <fe...@gmail.com>.
fredramsey wrote
>
> That is not on by default in Eclipse, and it isn't mentioned in the
> tutorial.
>
>
> Thiago H de Paula Figueiredo wrote
>>
>> Hi are you running the webapp? Are you sure Eclipse is compiling your
>> Java
>> classes automatically and to a folder which is in the servlet container
>> classpath? Is the Eclipse Project menu - build automatically option
>> checked?
>>
>
We also made that mistake. "Build automatically" is enabled by default but
then you disable it for some reason and you forget to enable it again...
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tutorial-issue-changing-code-and-refresh-not-working-tp5604721p5605030.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: Tutorial issue- changing code and refresh not working
Posted by fredramsey <fr...@gmail.com>.
Thanks!!!
That is not on by default in Eclipse, and it isn't mentioned in the
tutorial.
Thank you very much for your help.
Thiago H de Paula Figueiredo wrote
>
> Hi are you running the webapp? Are you sure Eclipse is compiling your Java
> classes automatically and to a folder which is in the servlet container
> classpath? Is the Eclipse Project menu - build automatically option
> checked?
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
>
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tutorial-issue-changing-code-and-refresh-not-working-tp5604721p5604886.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: Tutorial issue- changing code and refresh not working
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Thu, 29 Mar 2012 17:04:32 -0300, fredramsey <fr...@gmail.com>
wrote:
> Thanks. That is not checked by default, and it is not in the tutorial.
Most probably because it's checked by default and I guess most people
don't ever change it. Anyway, thanks for pointing this out. :)
By the way, searching for "refresh" wouldn't help much, as the feature
name is "live class reloading".
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tutorial issue- changing code and refresh not working
Posted by fredramsey <fr...@gmail.com>.
Thanks. That is not checked by default, and it is not in the tutorial.
-Fred Ramsey
http://fredramsey.com
On Thu, Mar 29, 2012 at 3:37 PM, Thiago H de Paula Figueiredo [via
Tapestry] <ml...@n5.nabble.com> wrote:
> On Thu, 29 Mar 2012 16:00:57 -0300, fredramsey <[hidden email]<http://user/SendEmail.jtp?type=node&node=5604811&i=0>>
>
> wrote:
>
> > Mac OSX, Eclipse, followed all steps.
> > If I make a change to the index class as in the tutorial, and refresh
> > (Firefox or Safari), the change is not shown. I even cleared the cache.
> I
> > end up having to rebuild.
>
> Hi are you running the webapp? Are you sure Eclipse is compiling your Java
>
> classes automatically and to a folder which is in the servlet container
> classpath? Is the Eclipse Project menu - build automatically option
> checked?
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=5604811&i=1>
> For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=5604811&i=2>
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://tapestry.1045711.n5.nabble.com/Tutorial-issue-changing-code-and-refresh-not-working-tp5604721p5604811.html
> To unsubscribe from Tutorial issue- changing code and refresh not
> working, click here<http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5604721&code=ZnJlZHJhbXNleUBnbWFpbC5jb218NTYwNDcyMXwtNjgzODEwMTIx>
> .
> NAML<http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tutorial-issue-changing-code-and-refresh-not-working-tp5604721p5604883.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Re: Tutorial issue- changing code and refresh not working
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Thu, 29 Mar 2012 16:00:57 -0300, fredramsey <fr...@gmail.com>
wrote:
> Mac OSX, Eclipse, followed all steps.
> If I make a change to the index class as in the tutorial, and refresh
> (Firefox or Safari), the change is not shown. I even cleared the cache. I
> end up having to rebuild.
Hi are you running the webapp? Are you sure Eclipse is compiling your Java
classes automatically and to a folder which is in the servlet container
classpath? Is the Eclipse Project menu - build automatically option
checked?
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tutorial issue- changing code and refresh not working
Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
Try "live reloading".
On Mar 29, 2012, at 3:57 PM, fredramsey <fr...@gmail.com> wrote:
> So these threads don't contain the words "tutorial" and "refresh"?
>
> Kind of odd, don't you think?
>
> Then there's code change refresh - nothing helpful there.
>
> How about eclipse change refresh?
>
> Nope.
>
> Anyone?
>
>
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Tutorial-issue-changing-code-and-refresh-not-working-tp5604721p5604861.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: Tutorial issue- changing code and refresh not working
Posted by fredramsey <fr...@gmail.com>.
So these threads don't contain the words "tutorial" and "refresh"?
Kind of odd, don't you think?
Then there's code change refresh - nothing helpful there.
How about eclipse change refresh?
Nope.
Anyone?
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tutorial-issue-changing-code-and-refresh-not-working-tp5604721p5604861.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: Tutorial issue- changing code and refresh not working
Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
You are welcome. I am on this list for about a year and there have been at least 5 threads on this. Try a different search criteria.
On Mar 29, 2012, at 3:15 PM, fredramsey <fr...@gmail.com> wrote:
> I did. Couldn't find anything.
>
> Thanks for being so helpful.
>
>
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Tutorial-issue-changing-code-and-refresh-not-working-tp5604721p5604761.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: Tutorial issue- changing code and refresh not working
Posted by fredramsey <fr...@gmail.com>.
I did. Couldn't find anything.
Thanks for being so helpful.
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tutorial-issue-changing-code-and-refresh-not-working-tp5604721p5604761.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: Tutorial issue- changing code and refresh not working
Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
If you search past topics on this list, there are number of threads and explanations regarding this.
On Mar 29, 2012, at 3:00 PM, fredramsey wrote:
> Mac OSX, Eclipse, followed all steps.
>
> If I make a change to the index class as in the tutorial, and refresh
> (Firefox or Safari), the change is not shown. I even cleared the cache. I
> end up having to rebuild.
>
> Any ideas?
>
> Thanks.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org