Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorMarkus Knauer2012-11-09 06:14:19 -0500
committerMarkus Knauer2012-11-09 06:14:19 -0500
commitb42698f0793be89458990a9037249089c078c570 (patch)
treeec3bc79ef1531761ce15d0c4ba45f1927bd944a7 /releng
parentc18026f8e63d59c78736ac2c5b04486fa237a70f (diff)
downloadorg.eclipse.rap-b42698f0793be89458990a9037249089c078c570.tar.gz
org.eclipse.rap-b42698f0793be89458990a9037249089c078c570.tar.xz
org.eclipse.rap-b42698f0793be89458990a9037249089c078c570.zip
Add java policy file that disables the security manager
Diffstat (limited to 'releng')
-rw-r--r--releng/org.eclipse.rap.releng/java.policy3
-rw-r--r--releng/org.eclipse.rap.releng/pom.xml3
2 files changed, 6 insertions, 0 deletions
diff --git a/releng/org.eclipse.rap.releng/java.policy b/releng/org.eclipse.rap.releng/java.policy
new file mode 100644
index 0000000000..facb61327f
--- /dev/null
+++ b/releng/org.eclipse.rap.releng/java.policy
@@ -0,0 +1,3 @@
+grant {
+ permission java.security.AllPermission;
+}; \ No newline at end of file
diff --git a/releng/org.eclipse.rap.releng/pom.xml b/releng/org.eclipse.rap.releng/pom.xml
index 3933c3f8b2..8b0be52110 100644
--- a/releng/org.eclipse.rap.releng/pom.xml
+++ b/releng/org.eclipse.rap.releng/pom.xml
@@ -167,6 +167,9 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire-version}</version>
+ <configuration>
+ <argLine>-Djava.security.manager -Djava.security.policy=${basedir}/java.policy</argLine>
+ </configuration>
<executions>
<execution>
<id>test</id>

Back to the top