incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject svn commit: r1353078 - in /incubator/flex/trunk: ./ modules/thirdparty/batik/resources/META-INF/services/ modules/thirdparty/batik/resources/org/apache/flex/forks/batik/apps/rasterizer/resources/
Date Sat, 23 Jun 2012 06:43:49 GMT
Author: aharui
Date: Sat Jun 23 06:43:48 2012
New Revision: 1353078

URL: http://svn.apache.org/viewvc?rev=1353078&view=rev
Log:
Add Apache header to a few files and list RAT exceptions in build.xml.

Modified:
    incubator/flex/trunk/build.xml
    incubator/flex/trunk/modules/thirdparty/batik/resources/META-INF/services/org.apache.flex.forks.batik.dom.DomExtension
    incubator/flex/trunk/modules/thirdparty/batik/resources/org/apache/flex/forks/batik/apps/rasterizer/resources/rasterizer.policy

Modified: incubator/flex/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/build.xml?rev=1353078&r1=1353077&r2=1353078&view=diff
==============================================================================
--- incubator/flex/trunk/build.xml (original)
+++ incubator/flex/trunk/build.xml Sat Jun 23 06:43:48 2012
@@ -1524,7 +1524,31 @@
              uri="antlib:org.apache.rat.anttasks"/>
         <rat:report xmlns:rat="antlib:org.apache.rat.anttasks" 
             reportFile="${basedir}/rat.log">
-            <fileset dir="${rat.dir}"/>
+            <fileset dir="${rat.dir}">
+                <!--          Start of binary files           -->
+                <!-- exclude Flash Professional file used for integration with Flash Professional
-->
+                <exclude name="frameworks/projects/flash-integration/FLA/ContentHolder.fla"/>
+                <!-- exclude font embedded in asdoc example -->
+                <exclude name="frameworks/projects/framework/asdoc/en_US/mx/effects/examples/assets/OpenSans-Regular.ttf"/>
+                <!-- exclude media (png, gif, jpg, mp3, flv) -->
+                <exclude name="**/*.png"/>
+                <exclude name="**/*.gif"/>
+                <exclude name="**/*.jpg"/>
+                <exclude name="**/*.mp3"/>
+                <exclude name="**/*.flv"/>
+                <!--          End of binary files           -->
+                <!-- exclude batik manifests -->
+                <exclude name="modules/thirdparty/batik/sources/*.mf"/>
+                <!-- exclude w3c sources -->
+                <exclude name="modules/thirdparty/batik/resources/org/apache/flex/forks/batik/dom/svg/resources/*.mod"/>
+                <exclude name="modules/thirdparty/batik/resources/org/apache/flex/forks/batik/dom/svg/resources/*.dtd"/>
+                <exclude name="modules/thirdparty/batik/sources/org/w3c/flex/forks/css/sac/*.java"/>
+                <exclude name="modules/thirdparty/batik/sources/org/w3c/flex/forks/css/sac/helpers/ParserFactory.java"/>
+                <!-- exclude config files -->
+                <exclude name="modules/thirdparty/xerces-patch/src/java/META-INF/services/javax.xml.parsers.SAXParserFactory"/>
+                <exclude name="modules/thirdparty/xerces-patch/src/java/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration"/>
+                <exclude name="modules/thirdparty/xerces-patch/src/java/org/apache/xerces/jaxp/javax.xml.parsers.SAXParserFactory"/>
+            </fileset>
         </rat:report>
     </target>
     

Modified: incubator/flex/trunk/modules/thirdparty/batik/resources/META-INF/services/org.apache.flex.forks.batik.dom.DomExtension
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/modules/thirdparty/batik/resources/META-INF/services/org.apache.flex.forks.batik.dom.DomExtension?rev=1353078&r1=1353077&r2=1353078&view=diff
==============================================================================
--- incubator/flex/trunk/modules/thirdparty/batik/resources/META-INF/services/org.apache.flex.forks.batik.dom.DomExtension
(original)
+++ incubator/flex/trunk/modules/thirdparty/batik/resources/META-INF/services/org.apache.flex.forks.batik.dom.DomExtension
Sat Jun 23 06:43:48 2012
@@ -1,10 +1,19 @@
-#############################################################################
-# Copyright (C) The Apache Software Foundation. All rights reserved.        #
-# ------------------------------------------------------------------------- #
-# This software is published under the terms of the Apache Software License #
-# version 1.1, a copy of which has been included with this distribution in  #
-# the LICENSE file.                                                         #
-#############################################################################
+###############################################################################
+# Copyright 2023 The Apache Software Foundation
+#
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#
+###############################################################################
 
 # This file registers the example DOM extension as a service for the 
 # SVGOMDocument.

Modified: incubator/flex/trunk/modules/thirdparty/batik/resources/org/apache/flex/forks/batik/apps/rasterizer/resources/rasterizer.policy
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/modules/thirdparty/batik/resources/org/apache/flex/forks/batik/apps/rasterizer/resources/rasterizer.policy?rev=1353078&r1=1353077&r2=1353078&view=diff
==============================================================================
--- incubator/flex/trunk/modules/thirdparty/batik/resources/org/apache/flex/forks/batik/apps/rasterizer/resources/rasterizer.policy
(original)
+++ incubator/flex/trunk/modules/thirdparty/batik/resources/org/apache/flex/forks/batik/apps/rasterizer/resources/rasterizer.policy
Sat Jun 23 06:43:48 2012
@@ -1 +1 @@
-
grant codeBase "${app.dev.base}/classes/" {
  permission java.security.AllPermission;
};





grant codeBase "${app.dev.base}/lib/xerces_2_5_0.jar" {
  permission java.security.AllPermission;
};

grant codeBase "${app.dev.base}/lib/pdf-transcoder.jar" {
  permission java.security.AllPermission;
};


grant codeBase "${app.dev.base}/lib/js.jar" {


  permission java.lang.RuntimePermission "createClassLoader";


  permission java.net.SocketPermission "*", "listen, connect, resolve, accept";


  permission java.lang.RuntimePermission "accessDeclaredMembers";


  permission java.util.PropertyPermission "org.mozilla.javascript.JavaAdapter", "read";


  permission java.util.PropertyPermission "org.mozilla.javascript.JavaAdapterClassName", "read";


  permission java.io.FilePermission "<<ALL FILES>>", "read";


};





grant {


  permission java.io.FilePermission "resources/org/apache/batik/dom/svg/resources/svg10.dtd",
"read";


  permission java.io.FilePermission "resources/org/apache/batik/dom/svg/resources/UserAgentStyleSheet.css",
"read";


};











\ No newline at end of file
+// -------------------------------------------------------------------------
// Copyright 2002-2003 The Apache Software Foundation
// 
//    Licensed under the Apache License, Version 2.0 (the "License");
//    you may not use this file except in compliance with the License.
//    You may obtain a copy of the License at
// 
//        http://www.apache.org/licenses/LICENSE-2.0
// 
//    Unless required by applicable law or agreed to in writing, software
//    distributed under the License is distributed on an "AS IS" BASIS,
//    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//    See the License for the specific language governing permissions and
//    limitations under the License.
// -------------------------------------------------------------------------

grant codeBase "${app.dev.base}/classes/" {
  permission java.security.AllPermission;
};





grant codeBase "${app.dev.base}/lib/xerces_2_5_0.jar" {
  permission java.security.AllPermission;
};

grant codeBase "${app.dev.base}/lib/pdf-transcoder.jar" {
  permission java.security.AllPermission;
};


grant codeBase "${app.dev.base}/lib/js.jar" {


  permission java.lang.RuntimePermission "createClassLoader";


  permission java.net.SocketPermission "*", "listen, connect, resolve, accept";


  permission java.lang.RuntimePermission "accessDeclaredMembers";


  permission java.util.PropertyPermission "org.mozilla.javascript.JavaAdapter", "read";


  permission java.util.PropertyPermission "org.mozilla.javascript.JavaAdapterClassName", "read";


  permission java.io.FilePermission "<<ALL FILES>>", "read";


};





grant {


  permission java.io.FilePermission "resources/org/apache/batik/dom/svg/resources/svg10.dtd",
"read";


  permission java.io.FilePermission "resources/org/apache/batik/dom/svg/resources/UserAgentStyleSheet.css",
"read";


};











\ No newline at end of file



Mime
View raw message