Hmm sorry, I had it typed in but apparently didn't send it.

You have to tell Maven, Jetty, Your IDE that it needs to copy the html
files from the src directory to the classpath. Wicket Quickstart does
this on each compile because of the <resources> section. Apparently
the jetty plugin doesn't pick this up, and neither does netbeans.

Wicket can't magically detect changes that are not on the classpath.
If your setup doesn't copy those resources, Wicket won't find it.

On how to configure netbeans or maven jetty plugin, see their forums.

Martijn

On Wed, Sep 10, 2008 at 4:36 PM, pixologe <[EMAIL PROTECTED]> wrote:
>
> You mean the one in which you say one shouldn't use mvn jetty plugin for
> development?
>
> Hmmm... it says
>
>
>> The Wicket quickstart project provides a very well
>> functioning embedded jetty server, which runs like a charm in the
>> Eclipse debugger (and IDEA and Netbeans debugger) providing everything
>> Java offers without *any* additional configuration.
>>
>
> Sorry, maybe I am just to stupid to get what you are trying to tell me...
>
> But I guess this *does* mean that there is no swapping apart from the one my
> IDE offers and thus indirectly answers my question.
>
> Thanks.
>
> Sorry if this conversation is/was frustrating to you.
>
>
> Martijn Dashorst wrote:
>>
>> s/first/second/
>>
>> On Wed, Sep 10, 2008 at 4:12 PM, Martijn Dashorst
>> <[EMAIL PROTECTED]> wrote:
>>> Then you don't have netbeans configured to copy the html over to the
>>> classpath, like I told in my first reply.
>>>
>>> Martijn
>>>
>>> On Wed, Sep 10, 2008 at 3:56 PM, pixologe <[EMAIL PROTECTED]>
>>> wrote:
>>>>
>>>>
>>>> Martijn Dashorst wrote:
>>>>>
>>>>> The maven jetty plugin is not meant for development, but for quick
>>>>> demos.
>>>> Well, at least to me, this was not obvious. Good to know.
>>>> However, also after starting the quickstart project within the IDE,
>>>> there is
>>>> not hot deployment of classes or HTML files. Same behavior.
>>>> Netbeans replaces a class if I tell him to do so, but no chance for HTML
>>>> and
>>>> properties.
>>>>
>>>> So is this behavior intended or am I just too stupid to get it?
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Hot-deployment---code-swapping-tp19410295p19414150.html
>>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Become a Wicket expert, learn from the best: http://wicketinaction.com
>>> Apache Wicket 1.3.4 is released
>>> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
>>>
>>
>>
>>
>> --
>> Become a Wicket expert, learn from the best: http://wicketinaction.com
>> Apache Wicket 1.3.4 is released
>> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Hot-deployment---code-swapping-tp19410295p19414599.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to