1 Don't unzip the sources which were bundled originally. Guix strips them from
2 the source and uses pre-build packages.
4 Taken from https://anonscm.debian.org/viewvc/pkg-java/trunk/libxerces2-java/debian/patches/02_build_dont_unzip.patch?revision=14507
7 ===================================================================
11 <copy file="${src.dir}/org/apache/xerces/impl/xpath/regex/message.properties"
12 tofile="${build.src}/org/apache/xerces/impl/xpath/regex/message_en.properties"/>
14 - <!-- now deal with API's: -->
15 + <!-- not needed for Debian
16 <unzip src="${src.apis.zip}" dest="${build.src}">
18 includes="org/xml/sax/**
25 <!-- substitute tokens as needed -->
26 <replace file="${build.dir}/src/org/apache/xerces/impl/Version.java"
28 <replace file="${build.dir}/src/org/apache/xerces/parsers/AbstractSAXParser.java"
29 token="return (fConfiguration instanceof XML11Configurable);" value="return false;"/>
31 - <!-- now deal with API's: -->
32 + <!-- not needed for Debian
33 <unzip src="${src.apis.zip}" dest="${build.src}">
35 includes="org/xml/sax/**
43 <!-- substitute tokens as needed -->
44 <replace file="${build.dir}/src/org/apache/xerces/impl/Version.java"