Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

merged and resolved compile errors

  • Loading branch information...
commit af13a9baed868272a618e6bff5a66c45c7853634 1 parent 0eb4c8d
@bytekast bytekast authored
Showing with 16,481 additions and 4,558 deletions.
  1. +5 −0 .gitignore
  2. +17 −11 .project
  3. +200 −27 bi-platform-v2-plugin/.classpath
  4. +1 −1  bi-platform-v2-plugin/CDF.iml
  5. +324 −0 bi-platform-v2-plugin/build-res/subfloor-js.xml
  6. +179 −0 bi-platform-v2-plugin/build-res/subfloor-pkg.xml
  7. +1,963 −0 bi-platform-v2-plugin/build-res/subfloor.xml
  8. +2 −2 bi-platform-v2-plugin/build.properties
  9. +308 −215 bi-platform-v2-plugin/build.xml
  10. +90 −0 bi-platform-v2-plugin/cdf/js/AddIns.js
  11. +904 −583 bi-platform-v2-plugin/cdf/js/CoreComponents.js
  12. +1,191 −469 bi-platform-v2-plugin/cdf/js/Dashboards.js
  13. +279 −279 bi-platform-v2-plugin/cdf/js/NavigationComponents.js
  14. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/404.png
  15. 0  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/blank.gif
  16. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/cloud-popup-relative.png
  17. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/drag-rectangle-off.png
  18. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/drag-rectangle-on.png
  19. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/east-mini.png
  20. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/layer-switcher-maximize.png
  21. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/layer-switcher-minimize.png
  22. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/marker-blue.png
  23. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/marker-gold.png
  24. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/marker-green.png
  25. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/marker.png
  26. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/measuring-stick-off.png
  27. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/measuring-stick-on.png
  28. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/north-mini.png
  29. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/panning-hand-off.png
  30. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/panning-hand-on.png
  31. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/slider.png
  32. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/south-mini.png
  33. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/west-mini.png
  34. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/zoom-minus-mini.png
  35. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/zoom-plus-mini.png
  36. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/zoom-world-mini.png
  37. BIN  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/img/zoombar.png
  38. 0  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/Firebug/errorIcon.png
  39. +209 −209 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/Firebug/firebug.css
  40. +23 −23 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/Firebug/firebug.html
  41. 0  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/Firebug/firebug.js
  42. +9 −8 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/Firebug/firebugx.js
  43. 0  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/Firebug/infoIcon.png
  44. +30 −30 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/Firebug/license.txt
  45. +12 −12 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/Firebug/readme.txt
  46. 0  bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/Firebug/warningIcon.png
  47. +332 −277 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers.js
  48. +6 −4 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Ajax.js
  49. +21 −16 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/BaseTypes.js
  50. +31 −20 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/BaseTypes/Bounds.js
  51. +106 −57 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/BaseTypes/Class.js
  52. +118 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/BaseTypes/Date.js
  53. +24 −6 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/BaseTypes/Element.js
  54. +30 −8 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/BaseTypes/LonLat.js
  55. +23 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/BaseTypes/Pixel.js
  56. +8 −3 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/BaseTypes/Size.js
  57. +8 −3 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Console.js
  58. +32 −16 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control.js
  59. +23 −6 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/ArgParser.js
  60. +3 −5 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/Attribution.js
  61. +4 −3 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/Button.js
  62. +67 −3 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/DragFeature.js
  63. +69 −9 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/DragPan.js
  64. +103 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/DrawFeature.js
  65. +6 −3 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/EditingToolbar.js
  66. +180 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/Geolocate.js
  67. +30 −12 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/GetFeature.js
  68. +57 −10 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/Graticule.js
  69. +3 −18 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/KeyboardDefaults.js
  70. +8 −5 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/LayerSwitcher.js
  71. +85 −17 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/Measure.js
  72. +51 −14 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/ModifyFeature.js
  73. +6 −5 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/MouseDefaults.js
  74. +40 −19 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/MousePosition.js
  75. +5 −4 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/MouseToolbar.js
  76. +6 −3 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/NavToolbar.js
  77. +46 −3 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/Navigation.js
  78. +22 −5 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/NavigationHistory.js
  79. +15 −5 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/OverviewMap.js
  80. +24 −7 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/Pan.js
  81. +24 −9 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/PanPanel.js
  82. +5 −4 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/PanZoom.js
  83. +64 −31 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/PanZoomBar.js
  84. +145 −53 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/Panel.js
  85. +44 −14 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/Permalink.js
  86. +192 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/PinchZoom.js
  87. +572 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/SLDSelect.js
  88. +27 −4 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/Scale.js
  89. +10 −28 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/ScaleLine.js
  90. +26 −10 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/SelectFeature.js
  91. +28 −8 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/Snapping.js
  92. +8 −7 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/Split.js
  93. +0 −183 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/ToolTips.js
  94. +183 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/TouchNavigation.js
  95. +32 −11 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/TransformFeature.js
  96. +53 −34 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/WMSGetFeatureInfo.js
  97. +401 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/WMTSGetFeatureInfo.js
  98. +3 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/ZoomBox.js
  99. +3 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/ZoomIn.js
  100. +3 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/ZoomOut.js
  101. +3 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/ZoomPanel.js
  102. +3 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Control/ZoomToMaxExtent.js
  103. +81 −19 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Events.js
  104. +14 −15 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Feature.js
  105. +48 −10 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Feature/Vector.js
  106. +3 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Feature/WFS.js
  107. +10 −7 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Filter.js
  108. +28 −18 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Filter/Comparison.js
  109. +10 −3 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Filter/FeatureId.js
  110. +52 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Filter/Function.js
  111. +12 −8 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Filter/Logical.js
  112. +5 −3 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Filter/Spatial.js
  113. +5 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format.js
  114. +7 −4 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/ArcXML.js
  115. +3 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/ArcXML/Features.js
  116. +9 −9 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/Atom.js
  117. +438 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/CQL.js
  118. +6 −5 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/CSWGetDomain.js
  119. +8 −7 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/CSWGetDomain/v2_0_2.js
  120. +6 −5 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/CSWGetRecords.js
  121. +59 −62 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/CSWGetRecords/v2_0_2.js
  122. +331 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/Context.js
  123. +7 −68 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/Filter.js
  124. +90 −24 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/Filter/v1.js
  125. +26 −10 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/Filter/v1_0_0.js
  126. +53 −13 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/Filter/v1_1_0.js
  127. +25 −13 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/GML.js
  128. +75 −17 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/GML/Base.js
  129. +4 −3 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/GML/v2.js
  130. +10 −7 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/GML/v3.js
  131. +7 −6 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/GPX.js
  132. +15 −14 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/GeoJSON.js
  133. +8 −10 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/GeoRSS.js
  134. +33 −23 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/JSON.js
  135. +173 −18 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/KML.js
  136. +108 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/OGCExceptionReport.js
  137. +15 −6 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/OSM.js
  138. +78 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/OWSCommon.js
  139. +295 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/OWSCommon/v1.js
  140. +59 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/OWSCommon/v1_0_0.js
  141. +66 −140 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/OWSCommon/v1_1_0.js
  142. +83 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/OWSContext.js
  143. +592 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/OWSContext/v0_3_1.js
  144. +180 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/QueryStringFilter.js
  145. +11 −69 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/SLD.js
  146. +247 −51 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/SLD/v1.js
  147. +3 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/SLD/v1_0_0.js
  148. +7 −41 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/SOSCapabilities.js
  149. +6 −4 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/SOSCapabilities/v1_0_0.js
  150. +3 −5 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/SOSGetFeatureOfInterest.js
  151. +302 −260 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/SOSGetObservation.js
  152. +4 −3 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/Text.js
  153. +199 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WCSGetCoverage.js
  154. +4 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WFS.js
  155. +16 −35 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WFSCapabilities.js
  156. +11 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WFSCapabilities/v1.js
  157. +17 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WFSCapabilities/v1_0_0.js
  158. +16 −1 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WFSCapabilities/v1_1_0.js
  159. +6 −4 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WFSDescribeFeatureType.js
  160. +3 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WFST.js
  161. +129 −27 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WFST/v1.js
  162. +31 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WFST/v1_0_0.js
  163. +55 −3 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WFST/v1_1_0.js
  164. +54 −21 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WKT.js
  165. +68 −282 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WMC.js
  166. +494 −44 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WMC/v1.js
  167. +31 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WMC/v1_0_0.js
  168. +25 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WMC/v1_1_0.js
  169. +15 −36 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WMSCapabilities.js
  170. +37 −13 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WMSCapabilities/v1.js
  171. +5 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1.js
  172. +5 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1_0.js
  173. +5 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1_1.js
  174. +90 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1_1_WMSC.js
  175. +5 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WMSCapabilities/v1_3.js
  176. +5 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WMSCapabilities/v1_3_0.js
  177. +25 −40 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WMSDescribeLayer.js
  178. +5 −3 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WMSDescribeLayer/v1_1.js
  179. +29 −16 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WMSGetFeatureInfo.js
  180. +129 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WMTSCapabilities.js
  181. +228 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WMTSCapabilities/v1_0_0.js
  182. +48 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WPSCapabilities.js
  183. +119 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WPSCapabilities/v1_0_0.js
  184. +181 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WPSDescribeProcess.js
  185. +250 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/WPSExecute.js
  186. +68 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/XLS.js
  187. +307 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/XLS/v1.js
  188. +53 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/XLS/v1_1_0.js
  189. +36 −5 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/XML.js
  190. +190 −0 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Format/XML/VersionedOGC.js
  191. +5 −3 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Geometry.js
  192. +85 −21 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Geometry/Collection.js
  193. +3 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Geometry/Curve.js
  194. +101 −3 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Geometry/LineString.js
  195. +9 −4 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Geometry/LinearRing.js
  196. +3 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Geometry/MultiLineString.js
  197. +3 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Geometry/MultiPoint.js
  198. +3 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Geometry/MultiPolygon.js
  199. +3 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Geometry/Point.js
  200. +3 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Geometry/Polygon.js
  201. +4 −3 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Geometry/Rectangle.js
  202. +3 −2 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Geometry/Surface.js
  203. +10 −7 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Handler.js
  204. +101 −67 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Handler/Box.js
  205. +264 −59 bi-platform-v2-plugin/cdf/js/OpenMap/OpenLayers/lib/OpenLayers/Handler/Click.js
Sorry, we could not display the entire diff because too many files (1,060) changed.
View
5 .gitignore
@@ -0,0 +1,5 @@
+bi-platform-v2-plugin/test-lib
+bi-platform-v2-plugin/bin
+bi-platform-v2-plugin/dist
+bi-platform-v2-plugin/lib
+
View
28 .project
@@ -1,11 +1,17 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>pentaho-cdf</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>pentaho-cdf</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
View
227 bi-platform-v2-plugin/.classpath
@@ -2,32 +2,205 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="lib" path="dev-lib/ant-contrib-1.0b3.jar"/>
- <classpathentry kind="lib" path="dev-lib/jxl.jar"/>
- <classpathentry kind="lib" path="lib/antlr-2.7.6.jar"/>
- <classpathentry kind="lib" path="lib/asm-1.5.3.jar"/>
- <classpathentry kind="lib" path="lib/asm-attrs-1.5.3.jar"/>
- <classpathentry kind="lib" path="lib/avalon-framework-4.1.3.jar"/>
- <classpathentry kind="lib" path="lib/cglib-2.1_3.jar"/>
- <classpathentry kind="lib" path="lib/commons-io-1.4.jar"/>
- <classpathentry kind="lib" path="lib/commons-lang-2.2.jar"/>
- <classpathentry kind="lib" path="lib/commons-logging-1.1.jar"/>
- <classpathentry kind="lib" path="lib/dom4j-1.6.1.jar"/>
- <classpathentry kind="lib" path="lib/ehcache-1.2.3.jar"/>
- <classpathentry kind="lib" path="lib/hibernate-3.2.6.ga.jar"/>
- <classpathentry kind="lib" path="lib/json-3.1.jar"/>
- <classpathentry kind="lib" path="lib/jta-1.0.1B.jar"/>
- <classpathentry kind="lib" path="lib/log4j-1.2.12.jar"/>
- <classpathentry kind="lib" path="lib/logkit-1.0.1.jar"/>
- <classpathentry kind="lib" path="lib/pentaho-bi-platform-api-TRUNK-SNAPSHOT.jar"/>
- <classpathentry kind="lib" path="lib/pentaho-bi-platform-engine-core-TRUNK-SNAPSHOT.jar"/>
- <classpathentry kind="lib" path="lib/pentaho-bi-platform-engine-services-TRUNK-SNAPSHOT.jar"/>
- <classpathentry kind="lib" path="lib/pentaho-bi-platform-plugin-services-TRUNK-SNAPSHOT.jar"/>
- <classpathentry kind="lib" path="lib/pentaho-bi-platform-repository-TRUNK-SNAPSHOT.jar"/>
- <classpathentry kind="lib" path="lib/pentaho-bi-platform-util-TRUNK-SNAPSHOT.jar"/>
- <classpathentry kind="lib" path="lib/pentaho-bi-platform-web-servlet-TRUNK-SNAPSHOT.jar"/>
- <classpathentry kind="lib" path="lib/pentaho-bi-platform-web-TRUNK-SNAPSHOT.jar"/>
- <classpathentry kind="lib" path="lib/servlet-api-2.4.jar"/>
- <classpathentry kind="lib" path="lib/xml-apis-1.0.b2.jar"/>
<classpathentry kind="output" path="bin"/>
+ <classpathentry kind="lib" path="dev-lib/ant-contrib-1.0b3.jar" />
+ <classpathentry kind="lib" path="dev-lib/jxl.jar" />
+ <classpathentry kind="lib" path="lib/antlr-2.7.6.jar" />
+ <classpathentry kind="lib" path="lib/asm-1.5.3.jar" />
+ <classpathentry kind="lib" path="lib/asm-attrs-1.5.3.jar" />
+ <classpathentry kind="lib" path="lib/axis2-adb-1.4.1.jar" />
+ <classpathentry kind="lib" path="lib/axis2-kernel-1.4.1.jar" />
+ <classpathentry kind="lib" path="lib/batik-awt-util-1.7.jar" />
+ <classpathentry kind="lib" path="lib/batik-dom-1.7.jar" />
+ <classpathentry kind="lib" path="lib/batik-svggen-1.7.jar" />
+ <classpathentry kind="lib" path="lib/cglib-2.1_3.jar" />
+ <classpathentry kind="lib" path="lib/cglib-nodep-2.2.jar" />
+ <classpathentry kind="lib" path="lib/commons-beanutils-1.8.0.jar" />
+ <classpathentry kind="lib" path="lib/commons-codec-1.3.jar" />
+ <classpathentry kind="lib" path="lib/commons-collections-3.2.jar" />
+ <classpathentry kind="lib" path="lib/commons-dbcp-1.2.1.jar" />
+ <classpathentry kind="lib" path="lib/commons-digester-1.8.jar" />
+ <classpathentry kind="lib" path="lib/commons-httpclient-3.0.1.jar" />
+ <classpathentry kind="lib" path="lib/commons-io-2.1.jar" />
+ <classpathentry kind="lib" path="lib/commons-lang-2.4.jar" />
+ <classpathentry kind="lib" path="lib/commons-logging-1.1.1.jar" />
+ <classpathentry kind="lib" path="lib/commons-logging-api-1.0.4.jar" />
+ <classpathentry kind="lib" path="lib/commons-math-1.1.jar" />
+ <classpathentry kind="lib" path="lib/commons-net-1.4.1.jar" />
+ <classpathentry kind="lib" path="lib/commons-pool-1.2.jar" />
+ <classpathentry kind="lib" path="lib/commons-vfs-1.0.jar" />
+ <classpathentry kind="lib" path="lib/dom4j-1.6.1.jar" />
+ <classpathentry kind="lib" path="lib/ehcache-1.2.3.jar" />
+ <classpathentry kind="lib" path="lib/ehcache-core-2.5.1.jar" />
+ <classpathentry kind="lib" path="lib/hibernate-3.2.6.ga.jar" />
+ <classpathentry kind="lib" path="lib/hibernate-commons-annotations-3.2.0.Final.jar" />
+ <classpathentry kind="lib" path="lib/hibernate-core-3.6.9.Final.jar" />
+ <classpathentry kind="lib" path="lib/hibernate-jpa-2.0-api-1.0.1.Final.jar" />
+ <classpathentry kind="lib" path="lib/javassist-3.4.GA.jar" />
+ <classpathentry kind="lib" path="lib/jaxen-1.1.jar" />
+ <classpathentry kind="lib" path="lib/jcommon-1.0.14.jar" />
+ <classpathentry kind="lib" path="lib/jfreechart-1.0.9.jar" />
+ <classpathentry kind="lib" path="lib/jmi-200507110943.jar" />
+ <classpathentry kind="lib" path="lib/jmiutils-200507110943.jar" />
+ <classpathentry kind="lib" path="lib/joda-time-1.6.jar" />
+ <classpathentry kind="lib" path="lib/js-1.7R1.jar" />
+ <classpathentry kind="lib" path="lib/json-3.1.jar" />
+ <classpathentry kind="lib" path="lib/jta-1.1.jar" />
+ <classpathentry kind="lib" path="lib/jug-lgpl-2.0.0.jar" />
+ <classpathentry kind="lib" path="lib/kettle-core-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="lib/kettle-db-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="lib/kettle-engine-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="lib/libbase-1.2-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="lib/libformula-1.2-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="lib/mdrapi-200507110943.jar" />
+ <classpathentry kind="lib" path="lib/mof-200507110943.jar" />
+ <classpathentry kind="lib" path="lib/nbmdr-200507110943-custom.jar" />
+ <classpathentry kind="lib" path="lib/ognl-2.6.9.jar" />
+ <classpathentry kind="lib" path="lib/openide-util-200507110943.jar" />
+ <classpathentry kind="lib" path="lib/oro-2.0.8.jar" />
+ <classpathentry kind="lib" path="lib/pentaho-actionsequence-dom-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="lib/pentaho-connections-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="lib/pentaho-cwm-1.5.4.jar" />
+ <classpathentry kind="lib" path="lib/pentaho-database-model-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="lib/pentaho-metadata-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="lib/pentaho-platform-api-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="lib/pentaho-platform-core-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="lib/pentaho-platform-extensions-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="lib/pentaho-platform-repository-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="lib/pentaho-publisher-1.6.0.jar" />
+ <classpathentry kind="lib" path="lib/pentaho-versionchecker-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="lib/pentaho-xul-core-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="lib/scannotation-1.0.2.jar" />
+ <classpathentry kind="lib" path="lib/servlet-api-2.4.jar" />
+ <classpathentry kind="lib" path="lib/simple-jndi-0.11.3.jar" />
+ <classpathentry kind="lib" path="lib/slf4j-api-1.6.1.jar" />
+ <classpathentry kind="lib" path="lib/spring-2.5.6.jar" />
+ <classpathentry kind="lib" path="lib/spring-beans-2.5.6.jar" />
+ <classpathentry kind="lib" path="lib/spring-ldap-core-1.3.0.RELEASE.jar" />
+ <classpathentry kind="lib" path="lib/spring-security-core-2.0.5.RELEASE.jar" />
+ <classpathentry kind="lib" path="lib/xercesImpl-2.9.1.jar" />
+ <classpathentry kind="lib" path="lib/xml-apis-1.3.04.jar" />
+ <classpathentry kind="lib" path="lib/xpp3_min-1.1.4c.jar" />
+ <classpathentry kind="lib" path="lib/xstream-1.3.1.jar" />
+ <classpathentry kind="lib" path="test-lib/antlr-2.7.6.jar" />
+ <classpathentry kind="lib" path="test-lib/aopalliance-1.0.jar" />
+ <classpathentry kind="lib" path="test-lib/asm-1.5.3.jar" />
+ <classpathentry kind="lib" path="test-lib/asm-attrs-1.5.3.jar" />
+ <classpathentry kind="lib" path="test-lib/aspectjrt-1.6.6.jar" />
+ <classpathentry kind="lib" path="test-lib/axis2-adb-1.4.1.jar" />
+ <classpathentry kind="lib" path="test-lib/axis2-kernel-1.4.1.jar" />
+ <classpathentry kind="lib" path="test-lib/batik-awt-util-1.7.jar" />
+ <classpathentry kind="lib" path="test-lib/batik-dom-1.7.jar" />
+ <classpathentry kind="lib" path="test-lib/batik-svggen-1.7.jar" />
+ <classpathentry kind="lib" path="test-lib/cglib-2.2.jar" />
+ <classpathentry kind="lib" path="test-lib/cglib-nodep-2.2.jar" />
+ <classpathentry kind="lib" path="test-lib/commons-beanutils-1.8.0.jar" />
+ <classpathentry kind="lib" path="test-lib/commons-cli-1.2.jar" />
+ <classpathentry kind="lib" path="test-lib/commons-codec-1.3.jar" />
+ <classpathentry kind="lib" path="test-lib/commons-collections-3.2.1.jar" />
+ <classpathentry kind="lib" path="test-lib/commons-dbcp-1.2.2.jar" />
+ <classpathentry kind="lib" path="test-lib/commons-digester-1.8.jar" />
+ <classpathentry kind="lib" path="test-lib/commons-httpclient-3.0.1.jar" />
+ <classpathentry kind="lib" path="test-lib/commons-io-2.1.jar" />
+ <classpathentry kind="lib" path="test-lib/commons-lang-2.4.jar" />
+ <classpathentry kind="lib" path="test-lib/commons-logging-1.1.1.jar" />
+ <classpathentry kind="lib" path="test-lib/commons-logging-api-1.0.4.jar" />
+ <classpathentry kind="lib" path="test-lib/commons-math-1.1.jar" />
+ <classpathentry kind="lib" path="test-lib/commons-net-1.4.1.jar" />
+ <classpathentry kind="lib" path="test-lib/commons-pool-1.3.jar" />
+ <classpathentry kind="lib" path="test-lib/commons-vfs-1.0.jar" />
+ <classpathentry kind="lib" path="test-lib/concurrent-1.3.4.jar" />
+ <classpathentry kind="lib" path="test-lib/derby-10.5.3.0_1.jar" />
+ <classpathentry kind="lib" path="test-lib/dom4j-1.6.1.jar" />
+ <classpathentry kind="lib" path="test-lib/ehcache-core-2.5.1.jar" />
+ <classpathentry kind="lib" path="test-lib/fontbox-0.1.0.jar" />
+ <classpathentry kind="lib" path="test-lib/google-collections-1.0-rc5.jar" />
+ <classpathentry kind="lib" path="test-lib/gwt-servlet-2.4.0.jar" />
+ <classpathentry kind="lib" path="test-lib/hibernate-commons-annotations-3.2.0.Final.jar" />
+ <classpathentry kind="lib" path="test-lib/hibernate-core-3.6.9.Final.jar" />
+ <classpathentry kind="lib" path="test-lib/hibernate-jpa-2.0-api-1.0.1.Final.jar" />
+ <classpathentry kind="lib" path="test-lib/hsqldb-1.8.0.7.jar" />
+ <classpathentry kind="lib" path="test-lib/jackrabbit-api-2.4.0.jar" />
+ <classpathentry kind="lib" path="test-lib/jackrabbit-core-2.4.0.jar" />
+ <classpathentry kind="lib" path="test-lib/jackrabbit-jcr-commons-2.4.0.jar" />
+ <classpathentry kind="lib" path="test-lib/jackrabbit-spi-2.4.0.jar" />
+ <classpathentry kind="lib" path="test-lib/jackrabbit-spi-commons-2.4.0.jar" />
+ <classpathentry kind="lib" path="test-lib/javassist-3.4.GA.jar" />
+ <classpathentry kind="lib" path="test-lib/jaxen-1.1.jar" />
+ <classpathentry kind="lib" path="test-lib/jcl-over-slf4j-1.6.4.jar" />
+ <classpathentry kind="lib" path="test-lib/jcommon-1.0.14.jar" />
+ <classpathentry kind="lib" path="test-lib/jcr-2.0.jar" />
+ <classpathentry kind="lib" path="test-lib/jempbox-0.2.0.jar" />
+ <classpathentry kind="lib" path="test-lib/jersey-apache-client-1.11.jar" />
+ <classpathentry kind="lib" path="test-lib/jersey-client-1.11.jar" />
+ <classpathentry kind="lib" path="test-lib/jersey-core-1.11.jar" />
+ <classpathentry kind="lib" path="test-lib/jersey-json-1.11.jar" />
+ <classpathentry kind="lib" path="test-lib/jersey-multipart-1.11.jar" />
+ <classpathentry kind="lib" path="test-lib/jersey-server-1.11.jar" />
+ <classpathentry kind="lib" path="test-lib/jersey-servlet-1.11.jar" />
+ <classpathentry kind="lib" path="test-lib/jersey-spring-1.11.jar" />
+ <classpathentry kind="lib" path="test-lib/jfreechart-1.0.9.jar" />
+ <classpathentry kind="lib" path="test-lib/jmi-200507110943.jar" />
+ <classpathentry kind="lib" path="test-lib/jmiutils-200507110943.jar" />
+ <classpathentry kind="lib" path="test-lib/joda-time-1.6.jar" />
+ <classpathentry kind="lib" path="test-lib/js-1.7R1.jar" />
+ <classpathentry kind="lib" path="test-lib/jta-1.1.jar" />
+ <classpathentry kind="lib" path="test-lib/jug-lgpl-2.0.0.jar" />
+ <classpathentry kind="lib" path="test-lib/junit-4.4.jar" />
+ <classpathentry kind="lib" path="test-lib/kettle-core-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="test-lib/kettle-db-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="test-lib/kettle-engine-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="test-lib/libbase-1.2-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="test-lib/libformula-1.2-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="test-lib/log4j-1.2.16.jar" />
+ <classpathentry kind="lib" path="test-lib/lucene-core-3.0.3.jar" />
+ <classpathentry kind="lib" path="test-lib/mail-1.4.1.jar" />
+ <classpathentry kind="lib" path="test-lib/mdrapi-200507110943.jar" />
+ <classpathentry kind="lib" path="test-lib/metro-webservices-api-2.0.jar" />
+ <classpathentry kind="lib" path="test-lib/metro-webservices-rt-2.0.jar" />
+ <classpathentry kind="lib" path="test-lib/mimepull-1.6.jar" />
+ <classpathentry kind="lib" path="test-lib/mof-200507110943.jar" />
+ <classpathentry kind="lib" path="test-lib/nbmdr-200507110943-custom.jar" />
+ <classpathentry kind="lib" path="test-lib/nekohtml-1.9.7.jar" />
+ <classpathentry kind="lib" path="test-lib/ognl-2.6.9.jar" />
+ <classpathentry kind="lib" path="test-lib/openide-util-200507110943.jar" />
+ <classpathentry kind="lib" path="test-lib/oro-2.0.8.jar" />
+ <classpathentry kind="lib" path="test-lib/pdfbox-0.7.3.jar" />
+ <classpathentry kind="lib" path="test-lib/pentaho-actionsequence-dom-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="test-lib/pentaho-connections-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="test-lib/pentaho-cwm-1.5.4.jar" />
+ <classpathentry kind="lib" path="test-lib/pentaho-database-model-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="test-lib/pentaho-metadata-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="test-lib/pentaho-platform-api-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="test-lib/pentaho-platform-core-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="test-lib/pentaho-platform-core-test-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="test-lib/pentaho-platform-repository-test-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="test-lib/pentaho-publisher-1.6.0.jar" />
+ <classpathentry kind="lib" path="test-lib/pentaho-versionchecker-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="test-lib/pentaho-vfs-1.0.jar" />
+ <classpathentry kind="lib" path="test-lib/pentaho-xul-core-TRUNK-SNAPSHOT.jar" />
+ <classpathentry kind="lib" path="test-lib/poi-3.2-FINAL.jar" />
+ <classpathentry kind="lib" path="test-lib/poi-scratchpad-3.2-FINAL.jar" />
+ <classpathentry kind="lib" path="test-lib/quartz-1.7.2.jar" />
+ <classpathentry kind="lib" path="test-lib/scannotation-1.0.2.jar" />
+ <classpathentry kind="lib" path="test-lib/se-jcr-0.9.jar" />
+ <classpathentry kind="lib" path="test-lib/servlet-api-2.4.jar" />
+ <classpathentry kind="lib" path="test-lib/simple-jndi-0.11.3.jar" />
+ <classpathentry kind="lib" path="test-lib/slf4j-api-1.6.4.jar" />
+ <classpathentry kind="lib" path="test-lib/slf4j-log4j12-1.6.1.jar" />
+ <classpathentry kind="lib" path="test-lib/spring-2.5.6.jar" />
+ <classpathentry kind="lib" path="test-lib/spring-beans-2.5.6.jar" />
+ <classpathentry kind="lib" path="test-lib/spring-context-2.5.6.jar" />
+ <classpathentry kind="lib" path="test-lib/spring-context-support-2.5.6.jar" />
+ <classpathentry kind="lib" path="test-lib/spring-core-2.5.6.jar" />
+ <classpathentry kind="lib" path="test-lib/spring-ldap-core-1.3.0.RELEASE.jar" />
+ <classpathentry kind="lib" path="test-lib/spring-security-core-2.0.5.RELEASE.jar" />
+ <classpathentry kind="lib" path="test-lib/spring-test-2.5.6.jar" />
+ <classpathentry kind="lib" path="test-lib/spring-web-2.5.6.jar" />
+ <classpathentry kind="lib" path="test-lib/spring-webmvc-2.5.6.jar" />
+ <classpathentry kind="lib" path="test-lib/tika-core-1.0.jar" />
+ <classpathentry kind="lib" path="test-lib/xercesImpl-2.9.1.jar" />
+ <classpathentry kind="lib" path="test-lib/xml-apis-1.3.04.jar" />
+ <classpathentry kind="lib" path="test-lib/xpp3_min-1.1.4c.jar" />
+ <classpathentry kind="lib" path="test-lib/xstream-1.3.1.jar" />
</classpath>
View
2  bi-platform-v2-plugin/CDF.iml
@@ -6,7 +6,7 @@
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/bin" />
</content>
- <content url="file://$MODULE_DIR$/../solution/bi-developers/cdf-samples" />
+ <content url="file://$MODULE_DIR$/../solution/bi-developers/pentaho-cdf" />
<content url="file://$MODULE_DIR$/../solution/cdf" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
View
324 bi-platform-v2-plugin/build-res/subfloor-js.xml
@@ -0,0 +1,324 @@
+<!--===========================================================================
+Copyright (c) 2012, Pentaho Engineering Team
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of the Pentaho Corporation nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY Pentaho Engineering Team ''AS IS'' AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+============================================================================-->
+<!--===========================================================================
+ == SUBFLOOR-JS ==
+
+ $Rev: 1 $
+ $Date: 2012-02-22 9:58:26 -0500 (Wed, 09 Dec 2009) $
+ Project Home: http://code.google.com/p/subfloor/
+
+ Provides default targets for creating application archives such as zip and tar.gzip
+ files.
+ ============================================================================-->
+
+<project name="subfloor-js" basedir="." default="default" xmlns:ivy="antlib:org.apache.ivy.ant">
+
+
+ <!-- Import the next subfloor instance, defaults to -pkg, but configurable -->
+ <echo message="JS importing pkg file: ${subfloor-js-pkg.file}"/>
+ <import file="subfloor-pkg.xml"/>
+
+
+ <property name="js.lib.dir" value="js-lib"/>
+
+ <!-- location of module scripts -->
+ <property name="js.module.script.dir" value="package-res/module-scripts"/>
+
+ <property name="js.module.script.namespace" value=""/>
+
+ <!-- directory to unzip all dependent JS zips -->
+ <property name="js.module.script.agg.dir" value="build-res/module-scripts"/>
+
+ <property name="js.build.output.dir" value="bin/scriptOutput"/>
+
+ <!--<property name="js.requires.dojo" value="false"/>-->
+
+ <property name="js.dojo.agg.dir" value="build-res/dojo"/>
+
+
+ <property name="js.dojo.version" value="1.6.1"/>
+ <property name="js.dojo-artifact" value="dojo-release-${js.dojo.version}-src"/>
+ <property name="js.dojo.root" value="build-res"/>
+ <property name="js.dojo.src"
+ value="${js.dojo.root}/dojo-release-${js.dojo.version}-src"
+ description="Dojo source folder"/>
+ <property name="js.dojo.src.release"
+ value="${js.dojo.src}/release/dojo"
+ description="Dojo source folder"/>
+ <property name="js.dojo.script.dir" value="package-res/scripts"/>
+
+ <property name="js.build.file" value="build-res/javascript.build.js"/>
+ <property name="js.dojo.build.profile" value="build-res/dojo.profile.js"/>
+ <property name="js.dojo.src.dir" value="scripts/dojo"/>
+ <property name="js.script.package.dest" value="${stage.dir}/${package.root.dir}/scripts"/>
+ <property name="js.dojo.module.name" value="dojo-custom"/>
+
+
+ <target name="js.clean"
+ description="Cleans all the files generated from a build with the exception of IVY-downloaded jars (see clean-all)">
+ <delete dir="${js.module.script.agg.dir}"/>
+ </target>
+
+ <target name="resolve-js">
+ <ivy:resolve file="ivy.xml" conf="js"/>
+ <ivy:retrieve conf="js" pattern="${js.lib.dir}/[module]-[revision](-[classifier]).[ext]"/>
+ </target>
+
+ <target name="clean-js">
+ <delete dir="${js.lib.dir}" />
+ </target>
+
+ <target name="build-js" depends="install-antcontrib">
+ <delete dir="${js.build.output.dir}"/>
+ <delete dir="${js.module.script.agg.dir}" />
+ <echo message="js.module.script.agg.dir: ${js.module.script.agg.dir}"/>
+ <mkdir dir="${js.module.script.agg.dir}" />
+
+ <unzip dest="${js.module.script.agg.dir}" overwrite="true">
+ <fileset dir=".">
+ <include name="${js.lib.dir}/*.zip"/>
+ </fileset>
+ </unzip>
+
+ <copy todir="${js.module.script.agg.dir}/${js.module.script.namespace}" overwrite="true">
+ <fileset dir="${js.module.script.dir}">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+
+
+ <copy todir="${js.module.script.agg.dir}" overwrite="true">
+ <fileset dir="build-res/pentaho-js-build/module-scripts">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+
+ <if>
+ <available file="${js.dojo.src.dir}"/>
+ <then>
+ <copy todir="${js.module.script.agg.dir}" overwrite="true">
+ <fileset dir="${js.dojo.src.dir}">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+ </then>
+ <else>
+ </else>
+ </if>
+
+ <path id="build.classpath">
+ <fileset dir="build-res/pentaho-js-build/libs"> <!-- temporary until core build files in artifactory -->
+ <include name="*.jar" />
+ </fileset>
+ </path>
+
+ <!-- uncomment once core build in artifactory, placed in dev-lib for now -->
+ <!--<java classname="org.mozilla.javascript.tools.shell.Main"-->
+ <!--fork="true"-->
+ <!--classpathref="build.classpath"-->
+ <!--args="${js.module.script.agg.dir}/r.js -o ${js.build.file}">-->
+ <!--</java>-->
+ <mkdir dir="${js.build.output.dir}"/>
+ <java classname="org.mozilla.javascript.tools.shell.Main"
+ fork="true"
+ classpathref="build.classpath"
+ args="build-res/pentaho-js-build/r.js -o ${js.build.file}">
+ </java>
+ <antcall target="build-dojo"/>
+ </target>
+
+ <target name="build-dojo" if="js.requires.dojo" depends="install-dojo">
+ <delete dir="${stage.dir}/dojo-release"/>
+ <mkdir dir="${stage.dir}/dojo-release"/>
+
+ <copy verbose="true" todir="${js.dojo.src}" overwrite="true">
+ <fileset dir="${js.module.script.agg.dir}">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+
+
+ <java classname="org.mozilla.javascript.tools.shell.Main"
+ dir="${js.dojo.src}/util/buildscripts"
+ fork="true">
+
+ <arg value="build.js"/>
+ <arg value="action=release"/>
+ <arg value="offlineProfile=true"/>
+ <arg value="copyTests=false"/>
+ <arg value="version=${project.revision}"/>
+ <arg value="profileFile=../../../../${js.dojo.build.profile}"/>
+ <classpath>
+ <pathelement location="${js.dojo.src}/util/shrinksafe/js.jar"/>
+ <pathelement location="${js.dojo.src}/util/shrinksafe/shrinksafe.jar"/>
+ </classpath>
+ </java>
+ <!-- copy the scripts out -->
+
+
+ <copy todir="${stage.dir}/dojo-release/dojo/nls" overwrite="true">
+ <fileset dir="${js.dojo.src.release}/dojo/nls"/>
+ </copy>
+ <copy todir="${stage.dir}/dojo-release/dojo/cldr/nls" overwrite="true">
+ <fileset dir="${js.dojo.src.release}/dojo/cldr/nls"/>
+ </copy>
+
+ <copy todir="${stage.dir}/dojo-release" overwrite="true">
+ <fileset dir="${js.dojo.script.dir}">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+
+ <concat destfile="${stage.dir}/dojo-release/dojo/${js.dojo.module.name}.js" overwrite="yes">
+
+ <fileset file="${js.dojo.src.release}/dojo/dojo.js" />
+ <fileset file="${js.dojo.src.release}/dojo/${js.dojo.module.name}.js" />
+
+ </concat>
+
+
+ </target>
+
+ <target name="dist-js" >
+ <echo message="dist-js: ${js.module.script.dir}"/>
+ <mkdir dir="bin/js-source/${js.module.script.namespace}"/>
+ <copy todir="bin/js-source/${js.module.script.namespace}" overwrite="true">
+ <fileset dir="${js.module.script.dir}">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+
+ <zip destfile="${dist.dir}/${ivy.artifact.id}-${project.revision}-js.zip">
+ <zipfileset dir="bin/js-source" includes="**/*"/>
+ </zip>
+ </target>
+
+ <target name="js.publish-nojar">
+ <antcall target="maven-publish-js-source">
+ <param name="publish.groupId" value="${ivy.artifact.group}" />
+ <param name="publish.artifactId" value="${ivy.artifact.id}" />
+ <param name="publish.version" value="${project.revision}" />
+ <param name="publish.file" value="${dist.dir}/${ivy.artifact.id}-${project.revision}-js.zip" />
+ </antcall>
+ </target>
+
+ <target name="maven-publish-js-source" depends="install-antcontrib">
+ <sequential>
+ <fail message="No file found at: ${publish.file}">
+ <condition>
+ <not>
+ <available file="${publish.file}" />
+ </not>
+ </condition>
+ </fail>
+ <if>
+ <isset property="isWindows" />
+ <then>
+ <exec executable="cmd" failonerror="true">
+ <arg value="/c" />
+ <arg value="mvn.bat" />
+ <arg value="deploy:deploy-file" />
+ <arg value="-DrepositoryId=${ivy.repository.id}" />
+ <arg value="-Durl=${ivy.repository.publish}" />
+ <arg value="-DgroupId=${publish.groupId}" />
+ <arg value="-DartifactId=${publish.artifactId}" />
+ <arg value="-Dversion=${publish.version}" />
+ <arg value="-DgeneratePom=true" />
+ <arg value="-Dpackaging=zip" />
+ <arg value="-Dclassifier=js" />
+ <arg value="-Dfile=${publish.file}" />
+ </exec>
+ </then>
+ <else>
+ <exec executable="mvn" failonerror="true">
+ <arg value="deploy:deploy-file" />
+ <arg value="-DrepositoryId=${ivy.repository.id}" />
+ <arg value="-Durl=${ivy.repository.publish}" />
+ <arg value="-DgroupId=${publish.groupId}" />
+ <arg value="-DartifactId=${publish.artifactId}" />
+ <arg value="-Dversion=${publish.version}" />
+ <arg value="-DgeneratePom=true" />
+ <arg value="-Dpackaging=zip" />
+ <arg value="-Dclassifier=js" />
+ <arg value="-Dfile=${publish.file}" />
+ </exec>
+ </else>
+ </if>
+ </sequential>
+ </target>
+
+
+ <target name="package-js-output">
+ <copy todir="${js.script.package.dest}" overwrite="true">
+ <fileset dir="${js.module.script.dir}">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+ <copy todir="${js.script.package.dest}" overwrite="true">
+ <fileset dir="${js.build.output.dir}">
+ <include name="*"/>
+ </fileset>
+ </copy>
+
+ <if>
+ <available file="${stage.dir}/dojo-release"/>
+ <then>
+ <mkdir dir="${js.script.package.dest}/dojo"/>
+ <copy todir="${js.script.package.dest}/dojo" overwrite="true">
+ <fileset dir="${stage.dir}/dojo-release">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+ </then>
+ <else/>
+ </if>
+ </target>
+
+
+ <target name="install-dojo" if="js.requires.dojo" depends="install-antcontrib">
+
+ <if>
+ <available file="${js.dojo.root}/${js.dojo-artifact}.zip"/>
+ <then/>
+ <else>
+ <mkdir dir="${js.dojo.root}"/>
+ <get src="http://download.dojotoolkit.org/release-${js.dojo.version}/${js.dojo-artifact}.zip"
+ dest="${js.dojo.root}/${js.dojo-artifact}.zip"/>
+
+ <unzip src="${js.dojo.root}/${js.dojo-artifact}.zip" dest="${js.dojo.root}"/>
+
+ <copy verbose="true" todir="${js.dojo.src}/util/buildscripts" overwrite="true">
+ <fileset dir="build-res/licenses">
+ <include name="*.txt"/>
+ </fileset>
+ <mapper type="glob" from="dojo_*" to="*"/>
+ </copy>
+ </else>
+ </if>
+ </target>
+
+</project>
View
179 bi-platform-v2-plugin/build-res/subfloor-pkg.xml
@@ -0,0 +1,179 @@
+<!--===========================================================================
+Copyright (c) 2009, Pentaho Engineering Team
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of the Pentaho Corporation nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY Pentaho Engineering Team ''AS IS'' AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+============================================================================-->
+<!--===========================================================================
+ == SUBFLOOR-PKG ==
+
+ $Rev: 100 $
+ $Date: 2009-12-09 11:43:26 -0500 (Wed, 09 Dec 2009) $
+ Project Home: http://code.google.com/p/subfloor/
+
+ Provides default targets for creating application archives such as zip and tar.gzip
+ files.
+ ============================================================================-->
+
+<project name="subfloor-pkg" basedir="." default="default" xmlns:ivy="antlib:org.apache.ivy.ant">
+
+ <!-- Define the default location of the common build file -->
+ <property name="subfloor.file"
+ value="./subfloor.xml"
+ description="This is the location of the standardized subfloor.xml file" />
+
+ <!-- Import the common_build.xml file which contains all the default tasks -->
+ <import file="${subfloor.file}" />
+
+ <property name="stage.dir" value="${bin.dir}/stage" description="Package staging" />
+ <property name="package.root.dir"
+ value="${ivy.artifact.id}"
+ description="Root directory of final zip or tar package" />
+ <property name="approot.stage.dir"
+ value="${stage.dir}/${package.root.dir}"
+ description="Stage application root dir" />
+ <property name="package.id" value="${ivy.artifact.id}" />
+ <property name="package.basename" value="${package.id}-${project.revision}" />
+ <property name="package.resdir" value="${basedir}/package-res" />
+ <property name="package.artifact.ivyfile"
+ value="package-ivy.xml"
+ description="The ivy file defining dependencies of the package" />
+ <property name="package.artifact.pomfile"
+ value="package-pom.xml"
+ description="The Maven pom file defining dependencies of the package" />
+
+ <target name="dist" depends="jar,package" description="Builds and packages the application" />
+
+ <target name="clean-dist">
+ <delete dir="${dist.dir}" />
+ <delete dir="${stage.dir}" />
+ </target>
+
+ <!-- override of jar target.. this definitely should be moved into common build -->
+ <target name="jar"
+ depends="compile,set-build.id,create-version-file"
+ description="Jars up the bin directory after a compile">
+ <jar destfile="${dist.dir}/${ivy.artifact.id}-${project.revision}.jar">
+ <manifest>
+ <attribute name="Implementation-Title" value="${impl.title}" />
+ <attribute name="Implementation-Version" value="${project.revision}.${build.id}" />
+ <attribute name="Implementation-Vendor" value="${impl.vendor}" />
+ <attribute name="Implementation-ProductID" value="${impl.productID}" />
+ </manifest>
+ <fileset dir="${classes.dir}" />
+ </jar>
+ </target>
+
+ <target name="create-version-file">
+ <propertyfile file="${classes.dir}/version.properties" comment="${impl.title} build information">
+ <entry key="version" value="${project.revision}.${build.id}" />
+ <entry key="builddate" type="date" value="now" />
+ </propertyfile>
+ </target>
+
+ <target name="assemble.init">
+ <mkdir dir="${approot.stage.dir}" />
+ </target>
+
+ <target name="assemble" depends="assemble.init,assemble.copy-libs">
+ <copy todir="${approot.stage.dir}" overwrite="true">
+ <fileset dir="${package.resdir}" />
+ </copy>
+ <chmod perm="a+x" dir="${stage.dir}" includes="**/*.sh" />
+ </target>
+
+ <target name="assemble.copy-libs">
+ <copy todir="${approot.stage.dir}/lib">
+ <fileset dir="${lib.dir}" />
+ <fileset file="${dist.dir}/${ivy.artifact.id}-${project.revision}.jar" />
+ </copy>
+ </target>
+
+ <target name="package"
+ depends="assemble,package-zip,package-targz"
+ description="Creates packaged distributable artifacts" />
+
+ <target name="package-zip">
+ <zip destfile="${dist.dir}/${package.basename}.zip">
+ <zipfileset dir="${stage.dir}" />
+ </zip>
+ </target>
+
+ <target name="package-targz">
+ <tar destfile="${dist.dir}/${package.basename}.tar.gz" longfile="gnu" compression="gzip">
+ <tarfileset dir="${stage.dir}" mode="755">
+ <include name="**/*.sh" />
+ </tarfileset>
+ <tarfileset dir="${stage.dir}">
+ <exclude name="**/*.sh" />
+ </tarfileset>
+ </tar>
+ </target>
+
+ <!--=======================================================================
+ create-pom (override)
+
+ Creates the POM files for publishing the jar and gwt zip package to the Maven repository
+ ====================================================================-->
+ <target name="create-pom"
+ depends="install-ivy,subfloor.create-pom,create-package-pom"
+ description="Creates a POM file based on the ivy dependencies" />
+
+ <!--=======================================================================
+ create-package-pom
+
+ Creates a POM file for the package
+ ====================================================================-->
+ <target name="create-package-pom"
+ depends="install-ivy"
+ description="Creates a POM file based on the ivy dependencies for a separate package">
+ <ivy:makepom ivyfile="${package.artifact.ivyfile}" pomfile="${package.artifact.pomfile}" />
+ <replace file="${package.artifact.pomfile}" token="jar" value="zip" />
+ </target>
+
+ <!--=======================================================================
+ publish-nojar (override)
+
+ Publishes the zip package to the Maven repository
+ ====================================================================-->
+ <target name="publish-nojar" depends="install-antcontrib,create-pom,ivy.deliver,subfloor.publish-nojar">
+
+ <antcall target="maven-publish-artifact">
+ <param name="publish.pomFile" value="${package.artifact.pomfile}" />
+ <param name="publish.file" value="${dist.dir}/${package.basename}.zip" />
+ </antcall>
+ </target>
+
+ <!--=======================================================================
+ publish-local-nojar (override)
+
+ Publishes zip package locally
+ ====================================================================-->
+ <target name="publish-local-nojar" depends="install-ivy,subfloor.publish-local-nojar">
+ <ivy:resolve file="${package.artifact.ivyfile}" />
+ <ivy:publish resolver="local" pubrevision="${project.revision}" overwrite="true" forcedeliver="true">
+ <artifacts pattern="${dist.dir}/[artifact]-[revision].[ext]" />
+ </ivy:publish>
+ </target>
+
+</project>
View
1,963 bi-platform-v2-plugin/build-res/subfloor.xml
@@ -0,0 +1,1963 @@
+<!--===========================================================================
+Copyright (c) 2008-2009, Pentaho Engineering Team
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of the Pentaho Corporation nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY Pentaho Engineering Team ''AS IS'' AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+============================================================================-->
+<!--===========================================================================
+ == SUBFLOOR ==
+
+ $Rev: 113 $
+ $Date: 2010-09-03 15:02:57 -0400 (Fri, 03 Sep 2010) $
+ Project Home: http://code.google.com/p/subfloor/
+
+ This file contains the default implementation of the ant tasks to
+ perform a build. This file should be included by the build.xml file
+ for your particular project. That build file should redefine any task
+ that is defined in subfloor.xml IF AND ONLY IF the function of the
+ task needs to be customized.
+
+ FORMATTING:
+ ALIGNMENT: indent=2 spaces and wrap lines longer than 120 chars
+ NAMING: targets intended for execution by a user are named single-word
+ or hyphenated. Internal targets use '.' notation.
+
+ TO GET STARTED with your project, you will need this file in
+ your project's root directory along with three additional files:
+ 1. build.xml
+ 2. build.properties
+ 3. ivy_settings.xml
+ 4. ivy.xml
+
+ Below are some templates:
+
+ === build.xml
+ <project name="MyProject" basedir="." default="jar" xmlns:ivy="antlib:org.apache.ivy.ant" >
+ <description>
+ This build file is used to create the MyProject project and works with the subfloor.xml file.
+ </description>
+
+ <import file="subfloor.xml"/>
+ </project>
+
+ === build.properties
+ project.revision=1.0-SNAPSHOT #the version of your project. This will appear in jar META-INF, dist artifact filenames and IVY revision metadata.
+ ivy.artifact.id=my-project #IVY metadata describing the name of the artifact
+ impl.title=My Project #English language version of your project name
+
+============================================================================-->
+
+
+<project name="subfloor" basedir="." default="default" xmlns:ivy="antlib:org.apache.ivy.ant">
+ <description>
+-------------------------------------------------------------------------------
+ subfloor.xml provides tasks needed to perform a project build.
+ It is typically not used directly but imported by each project's build.xml
+ file. The build.xml file can override tasks when customization is required.
+
+MAIN TARGETS
+============
+ * clean / clean-all :
+ remove all artifacts of the build, clean-all adds the removal
+ of any library or jar dependencies downloaded as part of the build
+
+ * resolve :
+ download/refresh library or jar dependencies needed for the build (uses Apache IVY)
+
+ * compile :
+ run javac on the project's source
+
+ * jar :
+ creates a jar file
+
+ * dist :
+ creates all project distributables
+
+ * test :
+ runs JUnit tests from your project's test source
+
+SPECIAL TARGETS
+============
+ * publish-local :
+ builds a jar for your project and registers it with the local artifact repository isolated
+ to your machine at $HOME/.ivy2/local. Further executions of the the resolve target by this
+ or other projects will find your published jar.
+
+ * ivy-clean* :
+ this family of targets helps reset your IVY environment in the event that you are having
+ difficulty resolving dependencies
+
+TYPICAL TARGET SEQUENCE
+============
+ * clean-all resolve dist :
+ a good start to build all project distributables from scratch. Note that jar dependencies
+ will not be downloaded unless you explicitly run the resolve target. We made the resolution
+ and retrieval completely discretionary since there are many situations in which
+ you will not want to get or refresh dependencies, e.g. if you are offline with no Internet
+ access. In such case, you could just run "dist" if the set of jars you already have are
+ sufficient.
+
+ </description>
+
+ <!-- Load the properties files in the proper order -->
+ <property file="override.properties"
+ description="Properties customized for your development environment belong in this file. This file will never be checked into the SCM." />
+ <property file="build.properties"
+ description="Properties customized for your particular project belong in this file." />
+
+ <!-- =================================================================================
+ Property Defaults
+ Any of these properties can be overridden in either build.properties or override.properties
+ =================================================================================-->
+
+ <!-- Project meta properties -->
+ <property name="impl.vendor" value="Your Company Here" description="Jar file metadata describing the jar's vendor" />
+ <property name="impl.productID"
+ value=""
+ description="Jar file metadata indicating the product ID (this is not the revision)" />
+
+ <!-- Compile properties -->
+ <property name="src.dir" value="${basedir}/src" description="Project source code directory" />
+ <property name="bin.dir" value="${basedir}/bin" description="Base directory for all non-dist build output" />
+ <property name="classes.dir"
+ value="${bin.dir}/classes"
+ description="Classes compiled from project source code are placed here" />
+ <property name="lib.dir"
+ value="${basedir}/lib"
+ description="Directory that hosts Jar files required to compile project source. (IVY will populate this directory with required jars)" />
+ <property name="devlib.dir"
+ value="${basedir}/dev-lib"
+ description="Directory for developer to place development Jar files (not affected by clean targets)" />
+
+ <!-- Compiler properties (passed directly to javac ant target) -->
+ <property name="javac.debug"
+ value="true"
+ description="Indicates whether source should be compiled with debug information (passed to javac ant task)." />
+ <property name="javac.deprecation"
+ value="true"
+ description="Indicates whether source should be compiled with deprecation information" />
+ <property name="javac.source" value="1.5" description="Provide source compatibility with specified release" />
+ <property name="javac.target" value="1.5" description="Generate class files for specific VM version" />
+ <property name="javac.maxmemory" value="256M" description="Max memory alloted to java compile" />
+
+ <!-- Third party Ant tasks and tools properties -->
+ <property name="subfloor.resources.dir"
+ value="${user.home}/.subfloor"
+ description="Base dir for runtime jars that are required exclusively by the build process" />
+ <property name="subfloor.tmp.dir"
+ value="${subfloor.resources.dir}/tmp"
+ description="Temporary space where files are prepared for installation" />
+ <property name="antcontrib.build.cache.dir"
+ value="${subfloor.resources.dir}/ant-contrib"
+ description="Directory where the Ant-Contrib jar (and dependencies) is placed after it is auto-downloaded by the build" />
+ <property name="svnant.use-javahl"
+ value="false"
+ description="Prefer JNI JavaHL binding over the command line client for native svn support" />
+ <property name="svnant.use-svnkit"
+ value="true"
+ description="Prefer SVNKit binding over the command line client for native svn support (defaults to true)" />
+ <property name="ivy.url"
+ value="http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar"
+ description="The URL to the current release of Apache IVY" />
+
+ <!-- Test properties -->
+ <property name="testsrc.dir" value="${basedir}/test-src" description="Directory that hosts the test source files" />
+ <property name="testlib.dir"
+ value="${basedir}/test-lib"
+ description="Directory for jar files needed during unit testing" />
+ <property name="testbin.dir"
+ value="${bin.dir}/test"
+ description="Base directory for all compiler generated test output" />
+ <property name="testclasses.dir"
+ value="${testbin.dir}/classes"
+ description="Classes compiled from project test code are placed here" />
+ <property name="testreports.dir"
+ value="${bin.dir}/reports/test"
+ description="Base directory that holds all unit test report files" />
+ <property name="testreports.xml.dir"
+ value="${testreports.dir}/xml"
+ description="Unit test xml reports are placed here" />
+ <property name="testreports.html.dir"
+ value="${testreports.dir}/html"
+ description="Unit test html reports are placed here" />
+ <property name="junit.haltonfailure" value="no" description="Fail the build if a test fails" />
+ <property name="junit.maxmemory" value="256M" description="Heap size when Junit is run in fork mode" />
+ <property name="headless.unittest" value="true" description="Runs the unit tests in headless mode" />
+
+ <!-- Code Coverage properties -->
+ <property name="instrumented.classes.dir"
+ value="${testbin.dir}/instrumented-classes"
+ description="Directory where instrumented project classes are placed for use by code coverage utility" />
+ <property name="cobertura.data.dir"
+ value="${testbin.dir}/cobertura-bin"
+ description="Temporary data directory used by Cobertura" />
+ <property name="coberturareports.dir"
+ value="${bin.dir}/reports/cobertura"
+ description="Base directory for all generated Cobertura code coverage reports" />
+ <property name="coberturareports.xml.dir"
+ value="${coberturareports.dir}/xml"
+ description="Cobertura xml reports are placed here" />
+ <property name="coberturareports.html.dir"
+ value="${coberturareports.dir}/html"
+ description="Cobertura html reports are placed here" />
+
+ <!-- Javadoc properties -->
+ <property name="javadoc.dir"
+ value="${bin.dir}/javadoc"
+ description="Directory where generated javadoc will be placed" />
+ <property name="javadoc.packagenames"
+ value="org.mypackagename.*"
+ description="This property is passed to the packagenames property of the javadoc ant task. You should customize this for your project." />
+ <property name="javadoc.zip.filename" value="${ivy.artifact.id}-${project.revision}-javadoc.zip" />
+ <property name="javadoc.tar.filename" value="${ivy.artifact.id}-${project.revision}-javadoc.tar.gz" />
+
+ <!-- Distribution and Assembly properties -->
+ <property name="dist.dir"
+ value="${basedir}/dist"
+ description="Base directory for all project artifacts (jar, zip, tar.gz, etc...)" />
+ <property name="license.dir"
+ value="${basedir}"
+ description="Base directory where this project's license files reside" />
+ <property name="res.dir"
+ value="${basedir}/res"
+ description="Directory that holds resources not included in the source tree" />
+ <property name="source.zip.filename" value="${ivy.artifact.id}-${project.revision}-sources.zip" />
+ <property name="source.tar.filename" value="${ivy.artifact.id}-${project.revision}-sources.tar.gz" />
+ <property name="source.publish" value="true" />
+
+ <!-- Ivy properties -->
+ <property name="ivy.settingsurl"
+ value="file:${basedir}/ivysettings.xml"
+ description="URL to the (common) ivysettings.xml. This file is required by the build to configure IVY. Note you must escape the ':' if this property exists in a .properties file" />
+ <property name="ivyfile"
+ value="ivy.xml"
+ description="The name of the IVY xml file defining your project's dependencies" />
+ <property name="ivy.artifact.group"
+ value="mycompanyname"
+ description="IVY metadata describing the originating company or organization" />
+ <property name="ivy.artifact.pomfile"
+ value="${dist.dir}/pom.xml"
+ description="The path to the Maven pom file to deploy with the artifact" />
+ <property name="ivy.artifact.ivyfilename"
+ value="ivy.xml"
+ description="The name of the IVY xml file to deploy with the artifact" />
+ <property name="ivy.artifact.ivypathname"
+ value="${dist.dir}/ivy.xml"
+ description="The full path to the IVY xml file to deploy with the artifact" />
+ <property name="ivy.reports.dir"
+ value="${bin.dir}/reports/ivy"
+ description="Base directory that holds all IVY dependency report files" />
+ <property name="ivy.configs" value="*" description="Set of configs used for IVY reporting and checking operations" />
+ <property name="ivy.use.symlinks" value="true" description="Flag indicating if Ivy should create symlinks when retrieving artifacts."/>
+
+ <!-- Tattletale properties -->
+ <property name="tattletale.url"
+ value="http://repo.pentaho.org/artifactory/repo/jboss/tattletale/1.1.2.Final/tattletale-1.1.2.Final.zip"
+ description="The URL from which to download tattletale" />
+ <property name="tattletale.classname"
+ value="org.jboss.tattletale.ant.ReportTask"
+ description="The name of the class which will run the tattletale reports" />
+ <property name="tattletale.reports.dir"
+ value="${bin.dir}/reports/tattletale"
+ description="Base directory that holds the output of the tattletale reports" />
+ <property name="tattletale.configfile"
+ value=""
+ description="The configuration file for the tattletale report" />
+
+ <!-- Sonar properties -->
+ <property name="sonar.url"
+ value="http://repo1.maven.org/maven2/org/codehaus/sonar-plugins/sonar-ant-task/1.2/sonar-ant-task-1.2.jar"/>
+ <property name="sonar.classname"
+ value="org.sonar.ant.SonarTask"/>
+
+ <!-- Load the manifest file (if any) as a properties file -->
+ <property name="dist.manifest.file"
+ value="${dist.dir}/MANIFEST.MF"
+ description="The manifest file that will be generated as part of the build" />
+ <property name="manifest.file"
+ value="${res.dir}/META-INF/MANIFEST.MF"
+ description="The location of the MANIFEST.MF file for this application." />
+ <property file="${manifest.file}"
+ description="Loads the manifest information from the manifest file as a properties file." />
+
+ <!-- Set the project revision number to the value in the manifest file (if it has not
+ been specified in the properties file -->
+ <property name="project.revision"
+ value="${Implementation-Version}"
+ description="Sets the version number of the project based on the Implementation-Version found in the manifest file (if one is supplied and nothing is specified in the build.properties)" />
+ <fail message="A project revision number has not been determined!">
+ <condition>
+ <matches string="${project.revision}" pattern="\$\{.*\}" />
+ </condition>
+ </fail>
+
+ <!-- Set the project title to the value in the manifest file (if it has not
+ been specified in the properties file -->
+ <property name="impl.title"
+ value="${Implementation-Title}"
+ description="Sets the title of the project based on the Implementation-Title found in the manifest file (if one is supplied and nothing is specified in the build.properties)" />
+ <fail message="A project title has not been determined!">
+ <condition>
+ <matches string="${impl.title}" pattern="\$\{.*\}" />
+ </condition>
+ </fail>
+
+ <!-- Build Mode properties -->
+ <property name="release" value="false" description="Set this to true if you want to generate a release artifact" />
+
+ <!-- Ivy should only use symlinks if we're not in release mode -->
+ <condition property="ivy.use.symlinks.internal">
+ <and>
+ <isfalse value="${release}"/>
+ <istrue value="${ivy.use.symlinks}"/>
+ </and>
+ </condition>
+
+ <!-- Set the os property -->
+ <condition property="isLinux">
+ <os family="unix" />
+ </condition>
+ <condition property="isWindows">
+ <os family="windows" />
+ </condition>
+ <condition property="isMac">
+ <os family="mac" />
+ </condition>
+
+ <condition property="os.classifier" value="win">
+ <os family="windows" />
+ </condition>
+ <condition property="os.classifier" value="mac">
+ <os family="mac" />
+ </condition>
+ <condition property="os.classifier" value="linux">
+ <os family="unix" />
+ </condition>
+ <property name="os.classifier" value="unsupported" />
+
+ <!-- Setup the compile classpath -->
+ <path id="classpath">
+ <fileset dir="${devlib.dir}">
+ <include name="**/*.jar" />
+ </fileset>
+ <fileset dir="${lib.dir}">
+ <include name="**/*.jar" />
+ </fileset>
+ </path>
+
+ <!-- Setup the classpath used for testing -->
+ <path id="test.classpath">
+ <fileset dir="${devlib.dir}">
+ <include name="**/*.jar" />
+ </fileset>
+ <fileset dir="${lib.dir}">
+ <include name="**/*.jar" />
+ </fileset>
+ <fileset dir="${testlib.dir}">
+ <include name="**/*.jar" />
+ </fileset>
+ <pathelement path="${testclasses.dir}" />
+ <pathelement path="${classes.dir}" />
+ </path>
+
+
+ <!--=======================================================================
+ default
+
+ The target that is run if no target is given
+ ====================================================================-->
+ <target name="default" depends="build" />
+
+
+ <!--=======================================================================
+ build
+
+ Runs a typical build process to create the project locally
+ ====================================================================-->
+ <target name="build" depends="clean-all,resolve,cobertura,dist-source,dist" />
+
+
+ <!--=======================================================================
+ build-testless
+
+ Runs a typical build process to create the project locally (no testing)
+ ====================================================================-->
+ <target name="build-testless" depends="clean-all,resolve,dist-source,dist" />
+
+
+ <!--=======================================================================
+ continuous
+
+ Runs a typical continuous integration build including project dist,
+ test, and coverage artifacts
+ ====================================================================-->
+ <target name="continuous" depends="build,publish" />
+
+
+ <!--=======================================================================
+ continuous-testless
+
+ Runs a typical continuous integration build including project dist,
+ and coverage artifacts
+ ====================================================================-->
+ <target name="continuous-testless" depends="build-testless,publish" />
+
+
+ <!--=======================================================================
+ install-antcontrib
+
+ (Fetches and) installs ant-contrib tasks.
+ ====================================================================-->
+ <target name="install-antcontrib" depends="antcontrib.download-check">
+ <taskdef resource="net/sf/antcontrib/antlib.xml">
+ <classpath>
+ <fileset dir="${antcontrib.build.cache.dir}">
+ <include name="*.jar" />
+ </fileset>
+ </classpath>
+ </taskdef>
+ </target>
+
+
+ <!--=======================================================================
+ antcontrib.download-check
+
+ Fetches ant-contrib from sourceforge if it is not already present
+ ====================================================================-->
+ <target name="antcontrib.download-check">
+ <condition property="antcontrib.available">
+ <and>
+ <available file="${antcontrib.build.cache.dir}" />
+ <available classname="net.sf.antcontrib.logic.IfTask">
+ <classpath>
+ <fileset dir="${antcontrib.build.cache.dir}">
+ <include name="*.jar" />
+ </fileset>
+ </classpath>
+ </available>
+ </and>
+ </condition>
+ <antcall target="antcontrib.download" />
+ </target>
+
+
+ <!--=======================================================================
+ antcontrib.download
+
+ Fetches ant-contrib from sourceforge
+ ====================================================================-->
+ <target name="antcontrib.download" unless="antcontrib.available">
+ <mkdir dir="${subfloor.tmp.dir}" />
+ <get src="http://downloads.sourceforge.net/ant-contrib/ant-contrib-1.0b3-bin.zip"
+ dest="${subfloor.tmp.dir}/antcontrib.zip"
+ usetimestamp="true" />
+ <unzip src="${subfloor.tmp.dir}/antcontrib.zip" dest="${subfloor.tmp.dir}">
+ <patternset>
+ <include name="**/*.jar" />
+ </patternset>
+ </unzip>
+ <copy todir="${antcontrib.build.cache.dir}">
+ <fileset dir="${subfloor.tmp.dir}/ant-contrib">
+ <include name="**/*.jar" />
+ </fileset>
+ </copy>
+ </target>
+
+
+ <!--=======================================================================
+ init
+
+ Ensures that all the required directories exist before processing
+ a build.
+ ====================================================================-->
+ <target name="init">
+ <mkdir dir="${classes.dir}" />
+ <mkdir dir="${dist.dir}" />
+ <mkdir dir="${lib.dir}" />
+ <mkdir dir="${devlib.dir}" />
+ <mkdir dir="${testlib.dir}" />
+ </target>
+
+
+ <!--=======================================================================
+ install-svnant
+
+ (Fetches and) installs the SVN ANT for use by this ant script
+ ====================================================================-->
+ <target name="install-svnant" depends="install-ivy">
+ <if>
+ <istrue value="${svnant.isinstalled}" />
+ <then>
+ <echo message="Skipping SVN ANT install. SVN ANT has already been configured by the build" />
+ </then>
+ <else>
+ <taskdef-with-ivy organisation="tigris"
+ module="svnant"
+ revision="1.3.0"
+ resource="org/tigris/subversion/svnant/svnantlib.xml"
+ classname="org.tigris.subversion.svnant.SvnTask" />
+ <property name="svnant.isinstalled" value="true" />
+ </else>
+ </if>
+ </target>
+
+
+ <!--=======================================================================
+ test-svnant
+
+ Tests SVN by printing out the repository
+ ====================================================================-->
+ <target name="test-svnant" depends="install-svnant">
+ <svn javahl="${svnant.use-javahl}" svnkit="${svnant.use-svnkit}">
+ <wcVersion path="." />
+ </svn>
+ <echo message="Subversion repository url: ${repository.url}" />
+ </target>
+
+
+ <!--=======================================================================
+ svn-revision
+
+ Prints and sets the SVN revision for the repository at the current dir (if svn.revision is not set)
+ ====================================================================-->
+ <target name="svn-revision" depends="install-svnant">
+
+ <svn javahl="${svnant.use-javahl}" svnkit="${svnant.use-svnkit}">
+ <status path="." revisionProperty="svn.revision" />
+ </svn>
+ <echo message="Subversion repository revision: ${svn.revision}" />
+ </target>
+
+
+ <!--=======================================================================
+ set-build.id
+
+ Sets a property build.id to the either "development" or the svn revision
+ if in release mode
+ ====================================================================-->
+ <target name="set-build.id" unless="build.id" depends="install-antcontrib">
+ <if>
+ <istrue value="${release}" />
+ <then>
+ <antcallback target="svn-revision" return="svn.revision" />
+ <property name="build.id" value="${svn.revision}" />
+ </then>
+ <else>
+ <property name="build.id" value="development" />
+ </else>
+ </if>
+ </target>
+
+ <!--=================================================================================
+ version-properties: common Ant driven version file generation. Projects that produce
+ a package or packages should run this target. Projects that produce
+ jars only should NOT.
+ ===================================================================================-->
+ <target name="version-properties" depends="set-build.id">
+ <tstamp>
+ <format property="build.time" pattern="yyyy/MM/dd hh:mm aa" />
+ </tstamp>
+ <propertyfile file="version.properties" comment="Release Build version info">
+ <entry key="release.major.number" value="${release.major.number}" />
+ <entry key="release.minor.number" value="${release.minor.number}" />
+ <entry key="release.milestone.number" value="${release.milestone.number}" />
+ <entry key="release.candidate.token" value="${release.candidate.token}" />
+ <entry key="impl.vendor" value="${impl.vendor}" />
+ <entry key="impl.version"
+ value="${release.major.number}.${release.minor.number}.${release.milestone.number}.${build.id}" />
+ <entry key="impl.title" value="${impl.title}" />
+ <entry key="buildDate" value="${build.time}" />
+ <entry key="svn.revision" value="${build.id}" />
+ <entry key="release.build.number" default="0" type="int" operation="+" value="1" pattern="0000" />
+ </propertyfile>
+ <property file="${basedir}/version.properties" />
+ </target>
+
+
+ <!--=======================================================================
+ install-ivy
+
+ Fetches and installs IVY ant tasks if not already installed
+ ====================================================================-->
+ <target name="install-ivy" depends="install-antcontrib">
+ <if>
+ <istrue value="${ivy.isinstalled}" />
+ <then>
+ <echo message="Skipping IVY install. IVY has already been configured by the build" />
+ </then>
+ <else>
+ <download-antlib name="ivy" url="${ivy.url}" classname="org.apache.ivy.ant.IvyTask" extension="jar" />
+ <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant">
+ <classpath>
+ <fileset dir="${subfloor.resources.dir}/ivy">
+ <include name="*.jar" />
+ </fileset>
+ </classpath>
+ </taskdef>
+ <ivy:settings url="${ivy.settingsurl}" />
+ <property name="ivy.isinstalled" value="true" />
+ </else>
+ </if>
+ </target>
+
+
+ <!--=======================================================================
+ ivy.check-releasable
+
+ Verifies that there are no SNAPSHOT dependencies defined in the ivy xml.
+ If there are SNAPSHOTS, fail the release build.
+ ====================================================================-->
+ <target name="ivy.check-releasable" depends="install-ivy, install-antcontrib">
+ <if>
+ <istrue value="${release}" />
+ <then>
+ <sequential>
+ <ivy:artifactproperty conf="${ivy.configs}" name="dep.[module]/[artifact]-[revision]" value="[revision]" />
+
+ <propertyselector property="violators" match="dep\..*SNAPSHOT.*" select="\0" casesensitive="false" />
+
+ <fail if="violators"
+ message="Release not possible, you have dependencies on non-released artifacts: ${violators}" />
+ </sequential>
+ </then>
+ </if>
+ </target>
+
+
+ <!--=======================================================================
+ resolve
+
+ Using ivy and the dependencies for the project (defined in the ivy.xml
+ file), this task will retrieve the needed files and place them into
+ the defined directories.
+ ====================================================================-->
+ <target name="resolve"
+ depends="resolve-default, resolve-test, ivy.check-releasable"
+ description="Retrieves all the dependent libraries" />
+
+ <target name="resolve-init" unless="resolve-init.skip" depends="install-ivy">
+ <!-- If this is the 1st time through resolve-init, then we need to clean up the jars
+-->
+ <antcall target="clean-jars" />
+ <property name="resolve-init.skip" value="" />
+ </target>
+
+ <target name="resolve-default" depends="resolve-default.default,resolve-default.composite"/>
+
+ <!--
+ This target resolves the default IVY configuration as a composite of child configurations.
+ You should set ivy.default.sub-configs in your build.properties only if you want your default
+ configuration to be treated as a composite of two or more child configurations.
+ To turn this on, set ivy.default.sub-configs property in your build.properties, e.g.
+ ivy.default.sub-configs=external,internal
+ Note: the parent config "default" proper will not be resolved
+ -->
+ <target name="resolve-default.composite" depends="install-antcontrib,resolve-init" if="ivy.default.sub-configs">
+ <for list="${ivy.default.sub-configs}" param="conf">
+ <sequential>
+ <ivy:resolve file="${ivyfile}" conf="default_@{conf}" />
+ <ivy:retrieve conf="default_@{conf}" pattern="${lib.dir}/@{conf}/[module]-[revision](-[classifier]).[ext]" symlink="${ivy.use.symlinks.internal}" />
+ </sequential>
+ </for>
+ </target>
+
+ <target name="resolve-default.default" depends="resolve-init" unless="ivy.default.sub-configs">
+ <ivy:resolve file="${ivyfile}" conf="default" />
+ <ivy:retrieve conf="default" pattern="${lib.dir}/[module]-[revision](-[classifier]).[ext]" symlink="${ivy.use.symlinks.internal}" />
+ </target>
+
+ <target name="resolve-test" depends="resolve-init">
+ <ivy:resolve file="${ivyfile}" conf="test" />
+ <ivy:retrieve conf="test" pattern="${testlib.dir}/[module]-[revision](-[classifier]).[ext]" symlink="${ivy.use.symlinks.internal}" />
+ </target>
+
+ <target name="resolve-codegen" depends="resolve-init">
+ <ivy:resolve file="${ivyfile}" conf="codegen" />
+ <ivy:retrieve conf="codegen" pattern="${lib.dir}/[module]-[revision](-[classifier]).[ext]" symlink="${ivy.use.symlinks.internal}" />
+ </target>
+
+ <target name="resolve-runtime" depends="resolve-init">
+ <ivy:resolve file="${ivyfile}" conf="runtime" />
+ <ivy:retrieve conf="runtime" pattern="${lib.dir}/[module]-[revision](-[classifier]).[ext]" symlink="${ivy.use.symlinks.internal}" />
+ </target>
+
+
+ <!--=======================================================================
+ ivy-clean-cache
+
+ Cleans the IVY cache. You are erasing IVY's memory. Run this if you
+ want to force IVY to go fetch all your project dependencies from scratch.
+ WARNING: this will affect all IVY projects, not just the current workspace
+ ====================================================================-->
+ <target name="ivy-clean-cache" depends="install-ivy">
+ <ivy:cleancache />
+ </target>
+
+
+ <!--=======================================================================
+ ivy-clean-local
+
+ Completely cleans your local repository of any files published locally
+ by way of publish-local.
+ WARNING: this is a global action and will affect other IVY projects
+ currently referencing a locally published dependency
+ ====================================================================-->
+ <target name="ivy-clean-local" depends="install-ivy">
+ <delete dir="${ivy.local.default.root}/" />
+ </target>
+
+
+ <!--=======================================================================
+ ivy-clean-by-name
+
+ Cleans your IVY cache and local repository of specific files.
+ WARNING: this is a global action and will affect other IVY projects
+ currently referencing a locally published dependency
+ ====================================================================-->
+ <target name="ivy-clean-pentaho" depends="install-ivy">
+ <mkdir dir="${ivy.local.default.root}" />
+ <!-- just in case it doesn't exist -->
+ <for param="dir">
+ <path>
+ <dirset dir="${ivy.local.default.root}" includes="*${ivy.clean.pattern}*" />
+ <dirset dir="${ivy.default.ivy.user.dir}/cache" includes="*${ivy.clean.pattern}*" />
+ </path>
+ <sequential>
+ <delete dir="@{dir}" includeemptydirs="true" />
+ </sequential>
+ </for>
+ <for param="file">
+ <path>
+ <fileset dir="${ivy.local.default.root}" includes="*${ivy.clean.pattern}*" />
+ <fileset dir="${ivy.default.ivy.user.dir}/cache" includes="*${ivy.clean.pattern}*" />
+ </path>
+ <sequential>
+ <delete file="@{file}" />
+ </sequential>
+ </for>
+ </target>
+
+
+ <!--=======================================================================
+ ivy-report
+
+ Generates an IVY dependency report for this project.
+ ====================================================================-->
+ <target name="ivy-report" depends="install-ivy">
+ <ivy:resolve file="${ivyfile}" conf="${ivy.configs}" />
+ <ivy:report xml="true" todir="${ivy.reports.dir}" />
+ </target>
+
+
+ <!--=======================================================================
+ publish-local-nojar
+
+ Publishes the jar file for this project to the user's local repository
+ for download by other projects currently being executed on the user's
+ system.
+ ====================================================================-->
+ <target name="publish-local-nojar" depends="install-ivy,publish-local-nojar.internal">
+ <if>
+ <equals arg1="${tests.publish}" arg2="true" />
+ <then>
+ <antcall target="publish-local-nojar.internal">
+ <param name="ivy.artifact.id" value="${ivy.artifact.id}-test"/>
+ </antcall>
+ </then>
+ </if>
+ <antcall target="publish-local-nojar.post"/>
+ </target>
+
+ <!--=======================================================================
+ publish-local-nojar.post this target is invoked after the normal set of publish-local-nojar
+ is completed, override this to perform additional publishing in extensions of subfloor, etc
+ ====================================================================-->
+ <target name="publish-local-nojar.post">
+ </target>
+
+ <target name="publish-local-nojar.internal" depends="install-ivy">
+ <ivy:resolve file="${ivy.artifact.ivyfilename}" />
+ <ivy:publish resolver="local" pubrevision="${project.revision}" overwrite="true" forcedeliver="true" warnonmissing="yes" haltonmissing="no">
+ <artifacts pattern="${dist.dir}/[artifact]-[revision](-[classifier]).[ext]" />
+ </ivy:publish>
+ </target>
+
+ <!--=======================================================================
+ publish-local
+
+ Builds and publishes the jar file for this project to the user's
+ local repository for download by other projects currently being
+ executed on the user's system.
+ ====================================================================-->
+ <target name="publish-local"
+ depends="dist, dist-source, publish-local-nojar"
+ description="Builds and publishes the jar file to the local repository" />
+
+
+ <!--=======================================================================
+ publish
+
+ Creates and publishes the jar file for this project to a Maven2
+ repository.
+ ====================================================================-->
+ <target name="publish" depends="dist, dist-source, publish-nojar">
+ </target>
+
+
+ <!--=======================================================================
+ publish-nojar
+
+ Publishes the jar file for this project to a Maven2 repository.
+ ====================================================================-->
+ <target name="publish-nojar" depends="install-antcontrib,create-pom,ivy.deliver,publish-nojar.internal">
+ <if>
+ <equals arg1="${tests.publish}" arg2="true" />
+ <then>
+ <antcall target="publish-nojar.internal">
+ <param name="ivy.artifact.id" value="${ivy.artifact.id}-test"/>
+ </antcall>
+ </then>
+ </if>
+ </target>
+
+ <target name="publish-nojar.internal" depends="install-antcontrib,create-pom,ivy.deliver">
+ <antcall target="maven-publish-dependencies">
+ <param name="publish.groupId" value="${ivy.artifact.group}" />
+ <param name="publish.artifactId" value="${ivy.artifact.id}" />
+ <param name="publish.version" value="${project.revision}" />
+ <param name="publish.file" value="${ivy.artifact.ivypathname}" />
+ </antcall>
+
+ <if>
+ <equals arg1="${source.publish}" arg2="true" />
+ <then>
+ <antcall target="maven-publish-sources">
+ <param name="publish.groupId" value="${ivy.artifact.group}" />
+ <param name="publish.artifactId" value="${ivy.artifact.id}" />
+ <param name="publish.version" value="${project.revision}" />
+ <param name="publish.file" value="${dist.dir}/${ivy.artifact.id}-${project.revision}-sources.jar" />
+ </antcall>
+ </then>
+ </if>
+
+ <antcall target="maven-publish-artifact">
+ <param name="publish.pomFile" value="${ivy.artifact.pomfile}" />
+ <param name="publish.file" value="${dist.dir}/${ivy.artifact.id}-${project.revision}.jar" />
+ </antcall>
+
+ <antcall target="maven-publish.post"/>
+
+ </target>
+
+ <!-- Override this if anything is needed to be done after the standard parts of publish are completed -->
+ <!-- Such as: publishing non-standard/extended artifacts, etc -->
+ <target name="maven-publish.post"/>
+
+ <!--=======================================================================
+ ivy.deliver
+
+ Creates a publishable version of the ivy dependencies file, ivy.xml
+ ====================================================================-->
+ <target name="ivy.deliver" depends="resolve">
+ <ivy:deliver conf="*(public)" deliverpattern="${dist.dir}/ivy.xml" />
+ </target>
+
+
+ <!--=======================================================================
+ maven-publish-dependencies
+
+ A function that deploys an ivy.xml file to a maven repository
+ ====================================================================-->
+ <target name="maven-publish-dependencies" depends="install-antcontrib">
+ <sequential>
+ <fail message="No file found at: ${publish.file}">
+ <condition>
+ <not>
+ <available file="${publish.file}" />
+ </not>
+ </condition>
+ </fail>
+ <echo message="Publishing ${publish.file} to ${ivy.repository.publish}..." />
+ <if>
+ <isset property="isWindows" />
+ <then>
+ <exec executable="cmd" failonerror="true">
+ <arg value="/c" />
+ <arg value="mvn.bat" />
+ <arg value="deploy:deploy-file" />
+ <arg value="-DrepositoryId=${ivy.repository.id}" />
+ <arg value="-Durl=${ivy.repository.publish}" />
+ <arg value="-DgroupId=${publish.groupId}" />
+ <arg value="-DartifactId=${publish.artifactId}" />
+ <arg value="-Dversion=${publish.version}" />
+ <arg value="-Dpackaging=ivy.xml" />
+ <arg value="-Dfile=${publish.file}" />
+ </exec>
+ </then>
+ <else>
+ <exec executable="mvn" failonerror="true">
+ <arg value="deploy:deploy-file" />
+ <arg value="-DrepositoryId=${ivy.repository.id}" />
+ <arg value="-Durl=${ivy.repository.publish}" />
+ <arg value="-DgroupId=${publish.groupId}" />
+ <arg value="-DartifactId=${publish.artifactId}" />
+ <arg value="-Dversion=${publish.version}" />
+ <arg value="-Dpackaging=ivy.xml" />
+ <arg value="-Dfile=${publish.file}" />
+ <arg value="-e" />
+ </exec>
+ </else>
+ </if>
+ </sequential>
+ </target>
+
+
+ <!--=======================================================================
+ maven-publish-artifact
+
+ A function that deploys an artifact to a maven repository
+ ====================================================================-->
+ <target name="maven-publish-artifact" depends="install-antcontrib">
+ <sequential>
+ <fail message="No file found at: ${publish.file}">
+ <condition>
+ <not>
+ <available file="${publish.file}" />
+ </not>
+ </condition>
+ </fail>
+ <echo message="Publishing ${publish.file} to ${ivy.repository.publish}..." />
+ <if>
+ <isset property="isWindows" />
+ <then>
+ <exec executable="cmd" failonerror="true">
+ <