Due debugging purposes, and only in development environment, I need to manipulate with a text-file. Obviously I ran into following message... > access denied (java.io.FilePermission F:\workspace\AppEngine1\war\js\main.js > delete)
I thought adding the permission to java.policy would cure this, so I modified all three I have on my system*, adding following line to the 'default' grant-block > permission java.io.FilePermission "F:\\workspace\\AppEngine1\\war\\js\\*", > "read,write,delete"; (I hope the syntax is OK.) But that did not help. :( Which is the proper policy-file to modify? (Does the development server honor them at all?) Or could/should I pass my own by adding "- Djava.security.policy=mypolicy" switch to run/debug settings in Eclipse? *) I believe the proper one is the one belonging to JRE that is checked under Window -> Preferences -> Java -> Installed JREs. I just wanted to be sure... Regards J. Záruba -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
