You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ki...@apache.org on 2020/06/23 22:16:03 UTC

svn commit: r1879131 - /poi/trunk/build.xml

Author: kiwiwings
Date: Tue Jun 23 22:16:03 2020
New Revision: 1879131

URL: http://svn.apache.org/viewvc?rev=1879131&view=rev
Log:
XmlBeans now generates the beans including the modifications which were applied by the POI build (r1879130) ... so those modifications are now obsolete

Modified:
    poi/trunk/build.xml

Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1879131&r1=1879130&r2=1879131&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Tue Jun 23 22:16:03 2020
@@ -821,28 +821,6 @@ under the License.
                     <path location="${ooxml.xmlbeans.jar}"/>
                 </classpath>
             </xmlbean>
-            <local name="loaderMethod"/>
-            <!-- the space between "public  static" is on purpose to prevent double execution -->
-            <property name="loaderMethod"><![CDATA[
-        private static synchronized org.apache.poi.schemas.@{typesystemname}.system.@{typesystemname}.TypeSystemHolder getTypeLoader() {
-            return org.apache.poi.schemas.@{typesystemname}.system.@{typesystemname}.TypeSystemHolder.typeSystem;
-        }
-
-        public  static \2 newInstance\(\) \{]]></property>
-            <replaceregexp byline="true" match="(\s*)public static ([^ ]+) newInstance\(\) \{" replace="${loaderMethod}">
-                <fileset dir="${xmlbean.sources.dir}" includes="**/*.java" excludes="**/impl/**"/>
-            </replaceregexp>
-
-            <replace dir="${xmlbean.sources.dir}" includes="**/*.java" excludes="**/impl/**">
-                <replacetoken>org.apache.xmlbeans.XmlBeans.getContextTypeLoader</replacetoken>
-                <replacevalue>getTypeLoader</replacevalue>
-            </replace>
-
-            <!-- remove deprecated warnings, as we prefer the array methods - see #56854 -->
-            <replace dir="${xmlbean.sources.dir}" includes="**/*.java" excludes="**/impl/**">
-                <replacetoken><![CDATA[     * @deprecated
-]]></replacetoken>
-            </replace>
 
             <echo>Forking javac with max heap size ${ooxml.memory}</echo>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org