The resource reloading mechanism in Magnolia 5.4 should actually be independent
of the IDE used.
At any rate, here's my configuration
- Eclipse (Mars) Tomcat configuration
[img]http://i.imgur.com/bPXLCh5.png[/img].
- Tomcat serves magnolia-bundled-webapp
[img]http://i.imgur.com/eisBalG.png[/img]
- [i]magnolia.home=${magnolia.app.rootdir} [/i]// that is the default which in
my example resolves to /path-to-magnolia-bundled-webapp/src/main/webapp
Now if I edit [i]/hello-magnolia/templates/pages/hello.yaml[/i] I see this in
the logs meaning that the resource reloading has actually happened (may take up
to 10s for reloading to be triggered iirc).
[code]INFO: Server startup in 45290 ms
/Users/fgrilli/devel/workspace/magnolia/CE/magnolia-5.4.x/ce-bundle/magnolia-bundled-webapp/src/main/webapp/hello-magnolia/templates/pages/hello.yaml
2015-08-30 11:12:26,708 INFO
agnolia.config.source.yaml.YamlConfigurationSource: Registered
DefinitionMetadataBuilder.DefinitionMetadataImpl(type=TEMPLATE,
referenceId=hello-magnolia:pages/hello, name=hello, module=hello-magnolia,
location=/hello-magnolia/templates/pages/hello.yaml,
relativeLocation=pages/hello) from
LayeredResource{path='/hello-magnolia/templates/pages/hello.yaml',
layeredResources=[FileSystemResource{origin=filesystem,path=/hello-magnolia/templates/pages/hello.yaml,file}]}[/code]
HTH,
Federico
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=a46ffa92-3543-4835-9048-e6ba1c32d093
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------