2008/7/3 Robin Rigby <[EMAIL PROTECTED]>:
> 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\config.properties
> \src\main\resources\META-INF\cocoon\dev\properties\config.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...


Andy.
-- 
http://pseudoq.sourceforge.net/  Open source java Sudoku application

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

Reply via email to