did you figure it out?

musachy

On Wed, Jul 29, 2009 at 1:24 PM, Musachy Barroso<musa...@gmail.com> wrote:
> "It works for me" (is that a trademark already?). My config is like:
>
> <constant name="struts.class.reloading.watchList"
> value="WEB-INF/classes/com/company" />
> <constant name="struts.class.reloading.acceptClasses"
> value="com\.company\.sandbox\.actions.*" />
> <constant name="struts.convention.classes.reload" value="true" />
>
> When I touch a file under that dir, I get:
>
>  DEBUG org.apache.struts2.spring.ClassReloadingXMLWebApplicationContext
>  - Change detected in file
> [/mumble/WEB-INF/classes/com/company/MyAction.class], reloading class
> loader
>
> Are you sure the timestamp is different on the 2 files?
>
> musachy
>
> On Wed, Jul 29, 2009 at 1:12 PM, Musachy Barroso<musa...@gmail.com> wrote:
>> Let me try with relative paths.
>>
>> musachy
>>
>> On Wed, Jul 29, 2009 at 1:02 PM, Dale Newfield<d...@newfield.org> wrote:
>>> Musachy Barroso wrote:
>>>>
>>>> touche :). The FAM starts a thread that watches the dir, so it will
>>>> callback ClassReloadingXMLWebApplicationContext.onFileChange as soon
>>>> as a file is changed(set a breakpoint there and see if it is stopping,
>>>> there is also a log statement there).
>>>
>>> I included a log message generated from there in my previous post.  It does
>>> get called as soon as the spring context is set up, but never again.
>>>
>>>> Are you using relative or absolute paths for
>>>> struts.class.reloading.watchList? I haven't tested relative paths yet.
>>>
>>> I'm using relative paths.  I've been trying to test changes to my app by
>>> just copying the new .class file over the old one, but it doesn't seem to
>>> get noticed.
>>>
>>> -Dale
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: dev-h...@struts.apache.org
>>>
>>>
>>
>>
>>
>> --
>> "Hey you! Would you help me to carry the stone?" Pink Floyd
>>
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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

Reply via email to