You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by tertioptus <be...@hotmail.com> on 2014/02/15 00:58:46 UTC

Jetty, Wicket and getting live JavaScript changes?

I use Jetty, maven and Eclipse.

*What's the best way for me to have Jetty pick up my changes from a
JavaScript file not in the war project?*

Currently, I have clean install both projects and then restart jetty to see
changes.

I am assuming this is common among Wicket users with the advent of component
bound resources.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Jetty-Wicket-and-getting-live-JavaScript-changes-tp4664472.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Jetty, Wicket and getting live JavaScript changes?

Posted by Igor Vaynberg <ig...@gmail.com>.
Yes. Because they have shared classpath.

-igor
On Feb 15, 2014 7:58 AM, "tertioptus" <be...@hotmail.com> wrote:

> Even if the resource files are in another project? Which is my particular
> issue.
>
> /For instance:
> Module 1 - jar
>    --->some-wicket-component.java
>    --->some-javascript-file.js
>
> Module 2 - war
>    -depends on Module 1
>
> Running Module 2 via jetty
> /
>
> I'm not sure how Wicket could pick up those changes.
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Jetty-Wicket-and-getting-live-JavaScript-changes-tp4664472p4664481.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Jetty, Wicket and getting live JavaScript changes?

Posted by tertioptus <be...@hotmail.com>.
Even if the resource files are in another project? Which is my particular
issue.

/For instance:
Module 1 - jar
   --->some-wicket-component.java
   --->some-javascript-file.js

Module 2 - war
   -depends on Module 1

Running Module 2 via jetty
/

I'm not sure how Wicket could pick up those changes.


--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Jetty-Wicket-and-getting-live-JavaScript-changes-tp4664472p4664481.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Jetty, Wicket and getting live JavaScript changes?

Posted by Kees van Dieren <in...@squins.com>.
Create a new application using the Quickstart guide:
http://wicket.apache.org/start/quickstart.html

Run the Start.java application right from Eclipse in debug mode.

Hot code replacement from src/main/webapp/* should work now.



Best regards / Met vriendelijke groet,

Kees van Dieren
Squins IT Solutions BV
Oranjestraat 30
2983 HS Ridderkerk
The Netherlands
Mobile: +31 (0)6 30413841
www.squins.com
Chamber of commerce Rotterdam: 24435103


2014-02-15 16:12 GMT+01:00 Igor Vaynberg <ig...@gmail.com>:

> Make sure wicket is running in development mode. It will scan resources for
> changes. A refresh in the browser will load the latest version.
>
> -igor
> On Feb 14, 2014 3:59 PM, "tertioptus" <be...@hotmail.com> wrote:
>
> > I use Jetty, maven and Eclipse.
> >
> > *What's the best way for me to have Jetty pick up my changes from a
> > JavaScript file not in the war project?*
> >
> > Currently, I have clean install both projects and then restart jetty to
> see
> > changes.
> >
> > I am assuming this is common among Wicket users with the advent of
> > component
> > bound resources.
> >
> > --
> > View this message in context:
> >
> http://apache-wicket.1842946.n4.nabble.com/Jetty-Wicket-and-getting-live-JavaScript-changes-tp4664472.html
> > Sent from the Users forum mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>

Re: Jetty, Wicket and getting live JavaScript changes?

Posted by Igor Vaynberg <ig...@gmail.com>.
Make sure wicket is running in development mode. It will scan resources for
changes. A refresh in the browser will load the latest version.

-igor
On Feb 14, 2014 3:59 PM, "tertioptus" <be...@hotmail.com> wrote:

> I use Jetty, maven and Eclipse.
>
> *What's the best way for me to have Jetty pick up my changes from a
> JavaScript file not in the war project?*
>
> Currently, I have clean install both projects and then restart jetty to see
> changes.
>
> I am assuming this is common among Wicket users with the advent of
> component
> bound resources.
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Jetty-Wicket-and-getting-live-JavaScript-changes-tp4664472.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>