What is the cause for log entry ModificationWatcher - Cannot track modifications to resource

2012-01-02 Thread Per Newgro

Hi,

If i test my app by using Start.java i get the log entry
INFO  - ModificationWatcher- Cannot track modifications to 
resource 
file:/D:/Dokumente%20und%20Einstellungen/per.n/Eigene%20Dateien/workspaces/work/whataschranz/target/classes/ch/newgro/shop/whataschranz/welcome/HomePage.html

If i change the HP Markup it's not reloaded.

Google only pops up an answer by igor
not sure you can do anything about the message...just disable the 
logger for that class/package...


But disabling the log message is not solving the problem, that my markup 
modifications are not re-loaded :-).
As far as i investigated this issue is a problem with the encoded path 
string (%20) used to load the resource by
org.apache.wicket.util.resource.locator.ResourceStreamLocator#locateByResourceFinder. 

I'm not an expert but i think i've read a message that something changed 
here (URI class or servlet-api)

but maybe someone else already solved this.

My question is - Is this a bug or can i configure something to make 
resource modification watcher working?


Thanks
Per

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



Re: What is the cause for log entry ModificationWatcher - Cannot track modifications to resource

2012-01-02 Thread Allen Gilbert
Per,

I ran into this problem recently and solved it by removing spaces from
directory names in my project path.  I plan to file a Jira issue at some
point, as it seems that ModificationWatcher should be able to handle file
paths with spaces...

-Allen

On Mon, Jan 2, 2012 at 4:42 AM, Per Newgro per.new...@gmx.ch wrote:

 Hi,

 If i test my app by using Start.java i get the log entry
 INFO  - ModificationWatcher- Cannot track modifications to
 resource file:/D:/Dokumente%20und%**20Einstellungen/per.n/Eigene%**
 20Dateien/workspaces/work/**whataschranz/target/classes/**
 ch/newgro/shop/whataschranz/**welcome/HomePage.html
 If i change the HP Markup it's not reloaded.

 Google only pops up an answer by igor
 not sure you can do anything about the message...just disable the logger
 for that class/package...

 But disabling the log message is not solving the problem, that my markup
 modifications are not re-loaded :-).
 As far as i investigated this issue is a problem with the encoded path
 string (%20) used to load the resource by
 org.apache.wicket.util.**resource.locator.**ResourceStreamLocator#**locateByResourceFinder.

 I'm not an expert but i think i've read a message that something changed
 here (URI class or servlet-api)
 but maybe someone else already solved this.

 My question is - Is this a bug or can i configure something to make
 resource modification watcher working?

 Thanks
 Per

 --**--**-
 To unsubscribe, e-mail: 
 users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: What is the cause for log entry ModificationWatcher - Cannot track modifications to resource

2012-01-02 Thread Per Newgro

Thanks Allen,

that's why i was asking in list first. So if you agree i will file a 
jira issue.


Per

Am 02.01.2012 18:14, schrieb Allen Gilbert:

Per,

I ran into this problem recently and solved it by removing spaces from
directory names in my project path.  I plan to file a Jira issue at some
point, as it seems that ModificationWatcher should be able to handle file
paths with spaces...

-Allen

On Mon, Jan 2, 2012 at 4:42 AM, Per Newgroper.new...@gmx.ch  wrote:


Hi,

If i test my app by using Start.java i get the log entry
INFO  - ModificationWatcher- Cannot track modifications to
resource file:/D:/Dokumente%20und%**20Einstellungen/per.n/Eigene%**
20Dateien/workspaces/work/**whataschranz/target/classes/**
ch/newgro/shop/whataschranz/**welcome/HomePage.html
If i change the HP Markup it's not reloaded.

Google only pops up an answer by igor
not sure you can do anything about the message...just disable the logger
for that class/package...

But disabling the log message is not solving the problem, that my markup
modifications are not re-loaded :-).
As far as i investigated this issue is a problem with the encoded path
string (%20) used to load the resource by
org.apache.wicket.util.**resource.locator.**ResourceStreamLocator#**locateByResourceFinder.

I'm not an expert but i think i've read a message that something changed
here (URI class or servlet-api)
but maybe someone else already solved this.

My question is - Is this a bug or can i configure something to make
resource modification watcher working?

Thanks
Per

--**--**-
To unsubscribe, e-mail: 
users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





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