make/build.xml

changeset 984
dd9ea030e762
parent 966
620bf937f377
child 991
b7a2db4de254
     1.1 --- a/make/build.xml	Tue Aug 26 11:42:07 2014 +0200
     1.2 +++ b/make/build.xml	Mon Aug 25 17:38:53 2014 +0400
     1.3 @@ -32,6 +32,9 @@
     1.4      <property file="${user.home}/.nashorn.project.local.properties"/>
     1.5  
     1.6      <loadproperties srcFile="make/project.properties"/>
     1.7 +    <path id="dist.path">
     1.8 +         <pathelement location="${dist.dir}"/>
     1.9 +    </path>
    1.10      <path id="nashorn.ext.path">
    1.11        <pathelement location="${dist.dir}"/>
    1.12        <pathelement location="${java.ext.dirs}"/>
    1.13 @@ -294,7 +297,7 @@
    1.14    <target name="generate-policy-file" depends="prepare">
    1.15      <echo file="${build.dir}/nashorn.policy">
    1.16  
    1.17 -grant codeBase "file:/${toString:nashorn.ext.path}/nashorn.jar" {
    1.18 +grant codeBase "file:/${toString:dist.path}/nashorn.jar" {
    1.19      permission java.security.AllPermission;
    1.20  };
    1.21  

mercurial