cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Stevens" <>
Subject Re: How to access configuration files and properties after packaging
Date Thu, 03 Jul 2008 11:37:21 GMT
2008/7/3 Robin Rigby <>:
> Here is one way that seems to work.  Make a separate set of configuration
> for development and the default for production.
> \src\main\resources\META-INF\cocoon\properties\
> \src\main\resources\META-INF\cocoon\dev\properties\
> and run during development with
> mvn -Dorg.apache.cocoon.mode=dev jetty:run

Safer, surely, to make development the default and configure the
production server with the system property?  Otherwise a developer who
forgets the -D when testing out some code changes could completely
mess up your live data...

--  Open source java Sudoku application

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message