You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by an...@apache.org on 2003/08/29 13:10:58 UTC

cvs commit: ant/src/main/org/apache/tools/ant/types Permissions.java

antoine     2003/08/29 04:10:58

  Modified:    src/main/org/apache/tools/ant/types Permissions.java
  Log:
  Adding a permission to read file.encoding in the default set of permissions
  
  Revision  Changes    Path
  1.2       +1 -0      ant/src/main/org/apache/tools/ant/types/Permissions.java
  
  Index: Permissions.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/Permissions.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Permissions.java	27 Aug 2003 14:23:17 -0000	1.1
  +++ Permissions.java	29 Aug 2003 11:10:58 -0000	1.2
  @@ -145,6 +145,7 @@
           granted.add(new java.util.PropertyPermission("os.name", "read"));
           granted.add(new java.util.PropertyPermission("os.version", "read"));
           granted.add(new java.util.PropertyPermission("os.arch", "read"));
  +        granted.add(new java.util.PropertyPermission("file.encoding", "read"));
           granted.add(new java.util.PropertyPermission("file.separator", "read"));
           granted.add(new java.util.PropertyPermission("path.separator", "read"));
           granted.add(new java.util.PropertyPermission("line.separator", "read"));
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: cvs commit: ant/src/main/org/apache/tools/ant/types Permissions.java

Posted by Martijn Kruithof <ma...@kruithof.xs4all.nl>.
Hi, in that case please also apply :

Index: docs/manual/CoreTypes/permissions.html
===================================================================
RCS file: /home/cvspublic/ant/docs/manual/CoreTypes/permissions.html,v
retrieving revision 1.1
diff -u -r1.1 permissions.html
--- docs/manual/CoreTypes/permissions.html      27 Aug 2003 14:23:17 
-0000     1.1
+++ docs/manual/CoreTypes/permissions.html      30 Aug 2003 20:51:32 -0000
@@ -106,6 +106,7 @@
  &lt;grant class=&quot;java.util.PropertyPermission&quot; 
name=os.name&quot; actions=&quot;read&quot;&gt;
  &lt;grant class=&quot;java.util.PropertyPermission&quot; 
name=os.version&quot;
actions=&quot;read&quot;&gt;
  &lt;grant class=&quot;java.util.PropertyPermission&quot; 
name=os.arch&quot; actions=&quot;read&quot;&gt;
+&lt;grant class=&quot;java.util.PropertyPermission&quot; 
name=file.encoding&quot; actions=&quot;read&quot;&gt;
  &lt;grant class=&quot;java.util.PropertyPermission&quot; 
name=file.separator&quot; actions=&quot;read&quot;&gt;
  &lt;grant class=&quot;java.util.PropertyPermission&quot; 
name=path.separator&quot; actions=&quot;read&quot;&gt;
  &lt;grant class=&quot;java.util.PropertyPermission&quot; 
name=line.separator&quot; actions=&quot;read&quot;&gt;


antoine@apache.org wrote:
> antoine     2003/08/29 04:10:58
> 
>   Modified:    src/main/org/apache/tools/ant/types Permissions.java
>   Log:
>   Adding a permission to read file.encoding in the default set of permissions
>   
>   Revision  Changes    Path
>   1.2       +1 -0      ant/src/main/org/apache/tools/ant/types/Permissions.java
>   
>   Index: Permissions.java
>   ===================================================================
>   RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/Permissions.java,v
>   retrieving revision 1.1
>   retrieving revision 1.2
>   diff -u -r1.1 -r1.2
>   --- Permissions.java	27 Aug 2003 14:23:17 -0000	1.1
>   +++ Permissions.java	29 Aug 2003 11:10:58 -0000	1.2
>   @@ -145,6 +145,7 @@
>            granted.add(new java.util.PropertyPermission("os.name", "read"));
>            granted.add(new java.util.PropertyPermission("os.version", "read"));
>            granted.add(new java.util.PropertyPermission("os.arch", "read"));
>   +        granted.add(new java.util.PropertyPermission("file.encoding", "read"));
>            granted.add(new java.util.PropertyPermission("file.separator", "read"));
>            granted.add(new java.util.PropertyPermission("path.separator", "read"));
>            granted.add(new java.util.PropertyPermission("line.separator", "read"));
>   
>   
>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org