Hi Derek,

sure there is a way. :) You just have to call WebAppProvider.setTempDir(). Depending on how you configure and start your jetty instance the best place is: etc/jetty-webapps.xml.

Here's some more details on how jetty chooses the tempdir if you don't specify it as described above:
http://wiki.eclipse.org/Jetty/Reference/Temporary_Directories

Hope that helps.
Thomas

On 9/13/11 12:48 PM, Derek Tu wrote:
Is there any way to change the folder location where WebAppContext unpack the war file ?

Currently jetty seems to unpack the war file to system's temp folder. I would like the war file to be unpack to a
specified folder so that I can later modify the unpacked content directly.

Thanks for your help.





_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
thomas becker
[email protected]

http://webtide.com / http://intalio.com
(the folks behind jetty and cometd)

_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to