Code Search for Developers
 
 
  

ivy-mixin.xml from SmartFrog at Krugle


Show ivy-mixin.xml syntax highlighted

<project name="ivy" 
    xmlns:ivy="antlib:fr.jayasoft.ivy.ant">

  <description>
    These targets extend compile-and-jar with extra states and transitions,
    to do pom-based builds.
  </description>

  
  <import file="core.xml"/>

  <!--define the published state-->
  <target name="published" depends="ivy-publish"/>


  <target name="ivy-init" depends="init-core,load-version-info,artifact-names">
    <property name="ivy.dir" location="${root.dir}/antbuild/ivy" />
    <typedef uri="antlib:fr.jayasoft.ivy.ant" onerror="fail"
             resource="fr/jayasoft/ivy/ant/antlib.xml">
      <classpath>
        <pathelement location="${ivy.dir}/lib/ivy-${ivy.version}.jar"/>
      </classpath>
    </typedef>
    <fail >
      <condition >
        <not>
          <typefound uri="antlib:fr.jayasoft.ivy.ant" name="retrieve"/>
        </not>
      </condition>
      You need the ivy tasks from http://www.jayasoft.org/ivy/download
      ivy.jar should be installed in ANT_HOME/lib or ${user.home}/.ant/lib
    </fail>
    <!--copy ivy artifacts -->
    <property name="ivy.lib.dir" location="${build.dir}/ivy/lib" />
    <ivy:configure file="${ivy.dir}/ivyconf.xml"/>
    <property name="ivy.artifact.retrieve.pattern"
        value="[conf]/[artifact]-[revision].[ext]"/>
    <property name="ivy.publish.pattern"
        value="[artifact]-[revision].[ext]"/>
  </target>

  <target name="ivy-resolve" depends="ivy-init">
    <ivy:resolve />
  </target>

  <target name="ivy-retrieve" depends="ivy-resolve">
    <ivy:retrieve pattern="${ivy.lib.dir}/${ivy.artifact.retrieve.pattern}" sync="true" />
  </target>

  <target name="ivy-report" depends="ivy-resolve">
    <ivy:report todir="${build.dir}/ivy/report"/>
  </target>

  <target name="ready-to-publish" depends="state.ready-to-publish,ivy-report"/>

  <target name="ivy-publish" depends="ready-to-publish-all,ready-to-publish,ivy-resolve">
    <ivy:publish resolver="local" pubrevision="${artifact.version}"
        overwrite="true"
        artifactspattern="${dist.lib.dir}/${ivy.publish.pattern}" />
  </target>

  <target name="ready-to-publish-all" depends="ready-to-publish,documents-processed"/>

  <target name="ivy-publish-all" depends="ivy-publish">
  </target>

  <target name="ivy-install" depends="ivy-publish"
      description="Component built and installed locally"/>

  <target name="ivy-published" depends="ivy-publish" />


</project>



See more files for this project here

SmartFrog

SmartFrog (Smart Framework for Object Groups) is a framework for configuring and automatically activating distributed applications. \r\nThe SmartFrog framework is released under LGPL license.\r\nMore info at: www.smartfrog.org

Project homepage: http://sourceforge.net/projects/smartfrog
Programming language(s): Java,XML
License: other

  checkstyle/
    checkstyle-config
    checkstyle-frames.xsl
    checkstyle-policy.xml
    checkstyle-text.xsl
    checkstyle-xdoc.xsl
  checkstyle.xml
  classpaths.xml
  compile-and-jar-mixin.xml
  core.xml
  daemon.xml
  dist.xml
  gui.xml
  ivy-mixin.xml
  javadoc-mixin.xml
  m2.xml
  macros-mixin.xml
  maven-v4_0_0.xsd
  rpm.xml
  security-mixin.xml
  sftasks.xml
  state.xml
  systemtest.xml
  unittest.xml