PageRenderTime 16ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/asl/asl-java-ivy.xml

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
XML | 69 lines | 23 code | 5 blank | 41 comment | 0 complexity | 22edfedd13b4820c7d04ed78fe081a45 MD5 | raw file
Possible License(s): LGPL-3.0, Apache-2.0, GPL-3.0, GPL-2.0, AGPL-3.0, JSON, BSD-3-Clause
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. ********************************************************************************
  4. * Ant Script Library - Java top level module with Ivy support
  5. * Module that imports all the other java modules for a plain java build
  6. * Module property prefix: "java-ivy"
  7. ********************************************************************************
  8. * Copyright 2009 Joe Schmetzer
  9. *
  10. * Licensed under the Apache License, Version 2.0 (the "License");
  11. * you may not use this file except in compliance with the License.
  12. * You may obtain a copy of the License at
  13. *
  14. * http://www.apache.org/licenses/LICENSE-2.0
  15. *
  16. * Unless required by applicable law or agreed to in writing, software
  17. * distributed under the License is distributed on an "AS IS" BASIS,
  18. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  19. * See the License for the specific language governing permissions and
  20. * limitations under the License.
  21. ********************************************************************************
  22. -->
  23. <project name="asl-java-ivy" xmlns:ivy="antlib:org.apache.ivy.ant">
  24. <dirname property="asl-java-ivy.basedir" file="${ant.file.asl-java-ivy}"/>
  25. <import file="${asl-java-ivy.basedir}/asl-java.xml"/>
  26. <import file="${asl-java-ivy.basedir}/asl-repo-ivy.xml"/>
  27. <!-- ***********************************************************************
  28. * target overide: -init-classpath
  29. * overrides the default -init-classpath target to initialise the classpath
  30. * from Ivy
  31. ************************************************************************ -->
  32. <target name="-init-classpath" depends="repo-resolve">
  33. <ivy:cachepath pathid="java-build.classpath" conf="compile"/>
  34. </target>
  35. <!-- ***********************************************************************
  36. * target overide: -init-runtime-classpath
  37. * overrides the default -init-runtime-classpath target to initialise the classpath
  38. * from Ivy
  39. ************************************************************************ -->
  40. <target name="-init-runtime-classpath" depends="repo-resolve">
  41. <ivy:cachepath pathid="java-build.runtime-classpath" conf="runtime"/>
  42. </target>
  43. <!-- ***********************************************************************
  44. * target overide: -test-init-classpath
  45. * overrides the default -test-init-classpath target to initialise the test
  46. * classpath from Ivy
  47. ************************************************************************ -->
  48. <target name="-test-init-classpath" depends="repo-resolve">
  49. <ivy:cachepath pathid="java-test.classpath-ivy" conf="test,master"/>
  50. <path id="java-test.classpath">
  51. <path refid="java-test.classpath-ivy"/>
  52. <pathelement location="${java-build.jar-file}"/>
  53. </path>
  54. </target>
  55. <!-- ***********************************************************************
  56. * target overide: -init-version
  57. * overrides the default -init-version target to initialise the release
  58. * version from ivy.xml
  59. ************************************************************************ -->
  60. <target name="-init-version">
  61. <ivy:info/>
  62. <property name="release.version" value="${ivy.revision}"/>
  63. </target>
  64. </project>