Author: dkatayev
Date: 2010-06-15 09:24:09 -0400 (Tue, 15 Jun 2010)
New Revision: 2602
Modified:
jcr/trunk/exo.jcr.component.core/pom.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/test.policy
Log:
EXOJCR-756 fileseparator added
Modified: jcr/trunk/exo.jcr.component.core/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/pom.xml 2010-06-15 12:47:05 UTC (rev 2601)
+++ jcr/trunk/exo.jcr.component.core/pom.xml 2010-06-15 13:24:09 UTC (rev 2602)
@@ -479,9 +479,9 @@
<include name="test.policy"/>
</fileset>
<filterset>
- <filter token="MAVEN_REPO"
value="${settings.localRepository}"/>
- <filter token="MAIN_CLASSES"
value="${project.build.outputDirectory}"/>
- <filter token="TEST_CLASSES"
value="${project.build.testOutputDirectory}"/>
+ <filter token="MAVEN_REPO"
value="${settings.localRepository}${file.separator}"/>
+ <filter token="MAIN_CLASSES"
value="${project.build.outputDirectory}${file.separator}"/>
+ <filter token="TEST_CLASSES"
value="${project.build.testOutputDirectory}${file.separator}"/>
</filterset>
</copy>
</tasks>
Modified: jcr/trunk/exo.jcr.component.core/src/test/resources/test.policy
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/test.policy 2010-06-15 12:47:05
UTC (rev 2601)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/test.policy 2010-06-15 13:24:09
UTC (rev 2602)
@@ -1,14 +1,14 @@
-grant codeBase "file:@MAVEN_REPO@/-"{
+grant codeBase "file:@MAVEN_REPO@-"{
permission java.security.AllPermission;
};
-grant codeBase "file:@MAIN_CLASSES@/-"{
+grant codeBase "file:@MAIN_CLASSES@-"{
permission java.security.AllPermission;
};
-grant codeBase "file:@TEST_CLASSES@/-"{
+grant codeBase "file:@TEST_CLASSES@-"{
permission java.lang.RuntimePermission "setSecurityManager";
permission java.lang.RuntimePermission "getJCRSystemSession";
permission java.lang.RuntimePermission "manageRepository";