xerces2-java-dont_unzip.patch 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. --- xerces-2_11_0.orig/build.xml 2010-11-26 15:42:11.000000000 -0500
  2. +++ xerces-2_11_0/build.xml 2015-12-03 02:10:02.884516544 -0500
  3. @@ -246,30 +246,6 @@
  4. tofile="${build.src}/org/apache/xerces/impl/msg/XPointerMessages_en.properties"/>
  5. <copy file="${src.dir}/org/apache/xerces/impl/xpath/regex/message.properties"
  6. tofile="${build.src}/org/apache/xerces/impl/xpath/regex/message_en.properties"/>
  7. -
  8. - <!-- now deal with API's: -->
  9. - <unzip src="${src.apis.zip}" dest="${build.src}">
  10. - <patternset
  11. - includes="org/xml/sax/**
  12. - javax/xml/**
  13. - javax/xml/datatype/**
  14. - javax/xml/namespace/**
  15. - javax/xml/parsers/**
  16. - javax/xml/stream/**
  17. - javax/xml/transform/**
  18. - javax/xml/validation/**
  19. - javax/xml/xpath/**
  20. - org/w3c/dom/*
  21. - org/w3c/dom/bootstrap/**
  22. - org/w3c/dom/events/**
  23. - org/w3c/dom/html/**
  24. - org/w3c/dom/ls/**
  25. - org/w3c/dom/ranges/**
  26. - org/w3c/dom/traversal/**
  27. - org/w3c/dom/views/**
  28. - org/w3c/dom/xpath/**"
  29. - />
  30. - </unzip>
  31. <!-- substitute tokens as needed -->
  32. <replace file="${build.dir}/src/org/apache/xerces/impl/Version.java"
  33. @@ -1231,31 +1207,6 @@
  34. <!-- HACK: Remove reference to XML11Configurable from SAX parser -->
  35. <replace file="${build.dir}/src/org/apache/xerces/parsers/AbstractSAXParser.java"
  36. token="return (fConfiguration instanceof XML11Configurable);" value="return false;"/>
  37. -
  38. - <!-- now deal with API's: -->
  39. - <unzip src="${src.apis.zip}" dest="${build.src}">
  40. - <patternset
  41. - includes="org/xml/sax/**
  42. - javax/xml/**
  43. - javax/xml/datatype/**
  44. - javax/xml/namespace/**
  45. - javax/xml/parsers/**
  46. - javax/xml/stream/**
  47. - javax/xml/transform/**
  48. - javax/xml/validation/**
  49. - javax/xml/xpath/**
  50. - org/w3c/dom/*
  51. - org/w3c/dom/bootstrap/**
  52. - org/w3c/dom/events/**
  53. - org/w3c/dom/html/**
  54. - org/w3c/dom/ls/**
  55. - org/w3c/dom/ranges/**
  56. - org/w3c/dom/traversal/**
  57. - org/w3c/dom/views/**
  58. - org/w3c/dom/xpath/**"
  59. - />
  60. - </unzip>
  61. -
  62. <!-- substitute tokens as needed -->
  63. <replace file="${build.dir}/src/org/apache/xerces/impl/Version.java"