You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by cr...@apache.org on 2004/07/15 19:28:27 UTC

cvs commit: jakarta-commons-sandbox/workflow build.xml

craigmcc    2004/07/15 10:28:27

  Modified:    workflow build.xml
  Log:
  Regenerate build.xml to pick up most current dependencies.  (Still had to
  manually remove some absolute paths that "maven ant" put in ... sigh).
  
  Revision  Changes    Path
  1.13      +180 -409  jakarta-commons-sandbox/workflow/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/workflow/build.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- build.xml	5 Jan 2002 01:39:17 -0000	1.12
  +++ build.xml	15 Jul 2004 17:28:27 -0000	1.13
  @@ -1,416 +1,187 @@
  -<project name="Workflow" default="compile" basedir=".">
  +<?xml version="1.0" encoding="UTF-8"?>
   
  +<!--build.xml generated by maven from project.xml version 0.1-dev
  +  on date July 15 2004, time 1022-->
   
  -<!--
  -        "Workflow" component of the Jakarta Commons Subproject
  -        $Id$
  --->
  -
  -
  -<!-- ========== Initialize Properties ===================================== -->
  -
  -
  -  <property file="build.properties"/>                <!-- Component local   -->
  -  <property file="../build.properties"/>             <!-- Commons local     -->
  -  <property file="${user.home}/build.properties"/>   <!-- User local        -->
  -
  -  <!-- The URL to be retrieved by the IOExecuteTestCase -->
  -  <property name="ioexecute.url" value="http://localhost:8080/"/>
  -
  -<!-- ========== External Dependencies ===================================== -->
  -
  -
  -  <!-- The directories corresponding to your necessary dependencies -->
  -  <property name="jaxp.home"               value="/usr/local/jaxp-1.1"/>
  -  <property name="junit.home"              value="/usr/local/junit3.7"/>
  -  <property name="commons.home"            value="../../jakarta-commons"/>
  -  <property name="sandbox.home"            value="../../jakarta-commons-sandbox"/>
  -  <property name="beanutils.home"          value="${commons.home}/beanutils"/>
  -  <property name="collections.home"        value="${commons.home}/collections"/>
  -  <property name="digester.home"           value="${commons.home}/digester"/>
  -  <property name="jxpath.home"             value="${commons.home}/jxpath"/>
  -  <property name="logging.home"            value="${commons.home}/logging"/>
  -  <property name="servletapi.home"         value="../../jakarta-servleatpi-4"/>
  -
  -  <!-- Demo web application deployment properties -->
  -  <property name="deploy.home"             value="../../jakarta-tomcat-4.0/build/webapps"/>
  -  <property name="deploy.name"             value="wizard-demo"/>
  -
  -
  -<!-- ========== Derived Values ============================================ -->
  -
  -
  -  <!-- The locations of necessary jar files -->
  -  <property name="jaxp.jaxp.jar"           value="${jaxp.home}/jaxp.jar"/>
  -  <property name="jaxp.parser.jar"         value="${jaxp.home}/crimson.jar"/>
  -  <property name="jaxp.xalan.jar"          value="${jaxp.home}/xalan.jar"/>
  -  <property name="junit.jar"               value="${junit.home}/junit.jar"/>
  -  <property name="commons-beanutils.jar"   value="${beanutils.home}/dist/commons-beanutils.jar"/>
  -  <property name="commons-collections.jar" value="${collections.home}/dist/commons-collections.jar"/>
  -  <property name="commons-digester.jar"    value="${digester.home}/dist/commons-digester.jar"/>
  -  <property name="commons-jxpath.jar"      value="${jxpath.home}/dist/commons-jxpath.jar"/>
  -  <property name="commons-logging.jar"     value="${logging.home}/dist/commons-logging.jar"/>
  -  <property name="servlet.jar"             value="${servletapi.home}/lib/servlet.jar"/>
  -
  -
  -<!-- ========== Component Declarations ==================================== -->
  -
  -
  -  <!-- The name of this component -->
  -  <property name="component.name"          value="workflow"/>
  -
  -  <!-- The title of this component -->
  -  <property name="component.title"         value="Workflow Management System"/>
  -
  -  <!-- The current version number of this component -->
  -  <property name="component.version"       value="0.1-dev"/>
  -
  -  <!-- The base directory for compilation targets -->
  -  <property name="build.home"              value="target"/>
  -
  -  <!-- The base directory for component configuration files -->
  -  <property name="conf.home"               value="src/conf"/>
  -
  -  <!-- The base directory for distribution targets -->
  -  <property name="dist.home"               value="dist"/>
  -
  -  <!-- The base directory for component sources -->
  -  <property name="source.home"             value="src/java"/>
  -
  -  <!-- The base directory for unit test sources -->
  -  <property name="test.home"               value="src/test"/>
  -
  -
  -<!-- ========== Compiler Defaults ========================================= -->
  -
  -
  -  <!-- Should Java compilations set the 'debug' compiler option? -->
  -  <property name="compile.debug"           value="true"/>
  -
  -  <!-- Should Java compilations set the 'deprecation' compiler option? -->
  -  <property name="compile.deprecation"     value="false"/>
  -
  -  <!-- Should Java compilations set the 'optimize' compiler option? -->
  -  <property name="compile.optimize"        value="true"/>
  -
  -  <!-- Construct compile classpath -->
  -  <path id="compile.classpath">
  -    <pathelement location="${build.home}/classes"/>
  -    <pathelement location="${jaxp.jaxp.jar}"/>
  -    <pathelement location="${jaxp.parser.jar}"/>
  -    <pathelement location="${jaxp.xalan.jar}"/>
  -    <pathelement location="${commons-beanutils.jar}"/>
  -    <pathelement location="${commons-collections.jar}"/>
  -    <pathelement location="${commons-digester.jar}"/>
  -    <pathelement location="${commons-jxpath.jar}"/>
  -    <pathelement location="${commons-logging.jar}"/>
  -    <pathelement location="${servlet.jar}"/>
  -  </path>
  -
  -
  -<!-- ========== Test Execution Defaults =================================== -->
  -
  -  <!-- Construct unit test classpath -->
  -  <path id="test.classpath">
  -    <pathelement location="${build.home}/classes"/>
  -    <pathelement location="${build.home}/tests"/>
  -    <pathelement location="${jaxp.jaxp.jar}"/>
  -    <pathelement location="${jaxp.parser.jar}"/>
  -    <pathelement location="${jaxp.xalan.jar}"/>
  -    <pathelement location="${commons-beanutils.jar}"/>
  -    <pathelement location="${commons-collections.jar}"/>
  -    <pathelement location="${commons-digester.jar}"/>
  -    <pathelement location="${commons-jxpath.jar}"/>
  -    <pathelement location="${commons-logging.jar}"/>
  -    <pathelement location="${servlet.jar}"/>
  -    <pathelement location="${junit.jar}"/>
  -  </path>
  -
  -  <!-- Should all tests fail if one does? -->
  -  <property name="test.failonerror"        value="true"/>
  -
  -  <!-- The test runner to execute -->
  -  <property name="test.runner"             value="junit.textui.TestRunner"/>
  -
  -
  -<!-- ========== Demonstration Program Defaults ============================ -->
  -
  -  <!-- Construct demonstration classpath -->
  -  <path id="demo.classpath">
  -    <pathelement location="${build.home}/classes"/>
  -    <pathelement location="${jaxp.jaxp.jar}"/>
  -    <pathelement location="${jaxp.parser.jar}"/>
  -    <pathelement location="${jaxp.xalan.jar}"/>
  -    <pathelement location="${commons-beanutils.jar}"/>
  -    <pathelement location="${commons-collections.jar}"/>
  -    <pathelement location="${commons-digester.jar}"/>
  -    <pathelement location="${commons-jxpath.jar}"/>
  -    <pathelement location="${servlet.jar}"/>
  -  </path>
  -
  -  <!-- The demonstration program runner to execute -->
  -  <property name="demo.runner"             value="org.apache.commons.workflow.demo.Main"/>
  -
  -  <!-- The default pathname to the demonstration data file -->
  -  <property name="demo.filename"           value="src/java/org/apache/commons/workflow/demo/main.xml"/>
  -
  -
  -<!-- ========== Executable Targets ======================================== -->
  -
  -
  -  <target name="init"
  -   description="Initialize and evaluate conditionals">
  -    <echo message="-------- ${component.name} ${component.version} --------"/>
  -    <filter  token="name"                  value="${component.name}"/>
  -    <filter  token="version"               value="${component.version}"/>
  -  </target>
  -
  -
  -  <target name="prepare" depends="init"
  -   description="Prepare build directory">
  -    <mkdir dir="${build.home}"/>
  -    <mkdir dir="${build.home}/classes"/>
  -    <mkdir dir="${build.home}/conf"/>
  -    <mkdir dir="${build.home}/tests"/>
  -  </target>
  -
  -
  -  <target name="static" depends="prepare"
  -   description="Copy static files to build directory">
  -    <tstamp/>
  -    <copy  todir="${build.home}/conf" filtering="on">
  -      <fileset dir="${conf.home}" includes="*.MF"/>
  -    </copy>
  -  </target>
  -
  -
  -  <target name="compile" depends="static"
  -   description="Compile shareable components">
  -    <javac  srcdir="${source.home}"
  -           destdir="${build.home}/classes"
  -             debug="${compile.debug}"
  -       deprecation="${compile.deprecation}"
  -          optimize="${compile.optimize}"
  -          excludes="org/apache/commons/workflow/demo/**">
  -      <classpath refid="compile.classpath"/>
  -    </javac>
  -    <copy    todir="${build.home}/classes" filtering="on">
  -      <fileset dir="${source.home}"
  -          excludes="**/*.java org/apache/commons/workflow/demo/**"/>
  -    </copy>
  -  </target>
  -
  -
  -  <target name="clean"
  -   description="Clean build and distribution directories">
  -    <delete    dir="${build.home}"/>
  -    <delete    dir="${dist.home}"/>
  -  </target>
  -
  -
  -  <target name="all" depends="clean,compile"
  -   description="Clean and compile all components"/>
  -
  -
  -  <target name="javadoc" depends="compile"
  -   description="Create component Javadoc documentation">
  -    <mkdir      dir="${dist.home}"/>
  -    <mkdir      dir="${dist.home}/docs"/>
  -    <mkdir      dir="${dist.home}/docs/api"/>
  -    <javadoc sourcepath="${source.home}"
  -                destdir="${dist.home}/docs/api"
  -           packagenames="org.apache.commons.*"
  -                 author="true"
  -                private="true"
  -                version="true"
  -               doctitle="&lt;h1&gt;${component.title}&lt;/h1&gt;"
  -            windowtitle="${component.title} (Version ${component.version})"
  -                 bottom="Copyright (c) 2001 - Apache Software Foundation">
  -      <classpath  refid="compile.classpath"/>
  -    </javadoc>
  -  </target>
  -
  -
  -  <target name="dist" depends="compile,javadoc"
  -   description="Create binary distribution">
  -    <mkdir      dir="${dist.home}"/>
  -    <copy      file="../LICENSE"
  -              todir="${dist.home}"/>
  -    <mkdir      dir="${build.home}/classes/META-INF"/>
  -    <copy      file="../LICENSE"
  -             tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
  -    <jar    jarfile="${dist.home}/commons-${component.name}.jar"
  -            basedir="${build.home}/classes"
  -           manifest="${build.home}/conf/MANIFEST.MF"/>
  -  </target>
  -
  -
  -<!-- ========== Unit Test Targets ========================================= -->
  -
  -
  -  <target name="compile.tests" depends="compile"
  -   description="Compile unit test cases">
  -    <javac  srcdir="${test.home}"
  -           destdir="${build.home}/tests"
  -             debug="${compile.debug}"
  -       deprecation="${compile.deprecation}"
  -          optimize="${compile.optimize}">
  -      <classpath refid="test.classpath"/>
  +<project default="jar" name="commons-workflow" basedir=".">
  +  <property name="defaulttargetdir" value="/home/craigmcc/Apache/jakarta-commons-sandbox/workflow/target">
  +  </property>
  +  <property name="libdir" value="/home/craigmcc/Apache/jakarta-commons-sandbox/workflow/target/lib">
  +  </property>
  +  <property name="classesdir" value="/home/craigmcc/Apache/jakarta-commons-sandbox/workflow/target/classes">
  +  </property>
  +  <property name="testclassesdir" value="/home/craigmcc/Apache/jakarta-commons-sandbox/workflow/target/test-classes">
  +  </property>
  +  <property name="testclassesdir" value="/home/craigmcc/Apache/jakarta-commons-sandbox/workflow/target/test-classes">
  +  </property>
  +  <property name="testreportdir" value="/home/craigmcc/Apache/jakarta-commons-sandbox/workflow/target/test-reports">
  +  </property>
  +  <property name="distdir" value="dist">
  +  </property>
  +  <property name="javadocdir" value="dist/docs/api">
  +  </property>
  +  <property name="final.name" value="commons-workflow-0.1-dev">
  +  </property>
  +  <target name="init" description="o Initializes some properties">
  +    <mkdir dir="${libdir}">
  +    </mkdir>
  +    <condition property="noget">
  +      <equals arg2="only" arg1="${build.sysclasspath}">
  +      </equals>
  +    </condition>
  +  </target>
  +  <target name="compile" description="o Compile the code" depends="get-deps">
  +    <mkdir dir="${classesdir}">
  +    </mkdir>
  +    <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
  +      <src>
  +        <pathelement location="src/java">
  +        </pathelement>
  +      </src>
  +      <classpath>
  +        <fileset dir="${libdir}">
  +          <include name="*.jar">
  +          </include>
  +        </fileset>
  +      </classpath>
       </javac>
  -    <copy    todir="${build.home}/tests" filtering="on">
  -      <fileset dir="${test.home}" excludes="**/*.java"/>
  -    </copy>
  -  </target>
  -
  -
  -  <target name="test"  depends="compile.tests,
  -                                test.BaseActivity,
  -                                test.BaseContext,
  -                                test.BaseExecute,
  -                                test.CoreBlock,
  -                                test.CoreExecute,
  -                                test.IOExecute,
  -                                test.WebContext,
  -                                test.WebExecute"
  -   description="Run all unit test cases">
  -  </target>
  -
  -
  -  <target name="test.BaseActivity">
  -    <echo message="Running BaseActivity tests ..."/>
  -    <java classname="${test.runner}" fork="yes"
  -        failonerror="${test.failonerror}">
  -      <arg value="org.apache.commons.workflow.base.BaseActivityTestCase"/>
  -      <classpath refid="test.classpath"/>
  -    </java>
  -  </target>
  -
  -
  -  <target name="test.BaseContext">
  -    <echo message="Running BaseContext tests ..."/>
  -    <java classname="${test.runner}" fork="yes"
  -        failonerror="${test.failonerror}">
  -      <arg value="org.apache.commons.workflow.base.BaseContextTestCase"/>
  -      <classpath refid="test.classpath"/>
  -    </java>
  -  </target>
  -
  -  <target name="test.BaseExecute">
  -    <echo message="Running BaseExecute tests ..."/>
  -    <java classname="${test.runner}" fork="yes"
  -        failonerror="${test.failonerror}">
  -      <arg value="org.apache.commons.workflow.base.BaseExecuteTestCase"/>
  -      <classpath refid="test.classpath"/>
  -    </java>
  -  </target>
  -
  -  <target name="test.CoreBlock">
  -    <echo message="Running CoreBlock tests ..."/>
  -    <java classname="${test.runner}" fork="yes"
  -        failonerror="${test.failonerror}">
  -      <arg value="org.apache.commons.workflow.core.CoreBlockTestCase"/>
  -      <classpath refid="test.classpath"/>
  -    </java>
  -  </target>
  -
  -  <target name="test.CoreExecute">
  -    <echo message="Running CoreExecute tests ..."/>
  -    <java classname="${test.runner}" fork="yes"
  -        failonerror="${test.failonerror}">
  -      <arg value="org.apache.commons.workflow.core.CoreExecuteTestCase"/>
  -      <classpath refid="test.classpath"/>
  -    </java>
  -  </target>
  -
  -  <target name="test.IOExecute">
  -    <echo message="Running IOExecute tests ..."/>
  -    <java classname="${test.runner}" fork="yes"
  -        failonerror="${test.failonerror}">
  -      <sysproperty key="ioexecute.url" value="${ioexecute.url}"/>
  -      <arg value="org.apache.commons.workflow.io.IOExecuteTestCase"/>
  -      <classpath refid="test.classpath"/>
  -    </java>
  -  </target>
  -
  -  <target name="test.WebContext">
  -    <echo message="Running WebContext tests ..."/>
  -    <java classname="${test.runner}" fork="yes"
  -        failonerror="${test.failonerror}">
  -      <arg value="org.apache.commons.workflow.web.WebContextTestCase"/>
  -      <classpath refid="test.classpath"/>
  -    </java>
  -  </target>
  -
  -  <target name="test.WebExecute">
  -    <echo message="Running WebExecute tests ..."/>
  -    <java classname="${test.runner}" fork="yes"
  -        failonerror="${test.failonerror}">
  -      <arg value="org.apache.commons.workflow.web.WebExecuteTestCase"/>
  -      <classpath refid="test.classpath"/>
  -    </java>
  -  </target>
  -
  -
  -<!-- ========== Demonstration Program Target ============================== -->
  -
  -
  -  <target name="compile.demo" depends="compile"
  -   description="Compile demonstration program">
  -    <javac  srcdir="${source.home}"
  -           destdir="${build.home}/classes"
  -             debug="${compile.debug}"
  -       deprecation="${compile.deprecation}"
  -          optimize="${compile.optimize}"
  -          includes="org/apache/commons/workflow/demo/**">
  -      <classpath refid="compile.classpath"/>
  +    <copy todir="${classesdir}">
  +      <fileset dir=".">
  +        <include name="**/*.properties">
  +        </include>
  +      </fileset>
  +    </copy>
  +    <mkdir dir="${classesdir}/META-INF">
  +    </mkdir>
  +    <copy todir="${classesdir}/META-INF">
  +      <fileset dir=".">
  +        <include name="NOTICE.txt">
  +        </include>
  +      </fileset>
  +    </copy>
  +  </target>
  +  <target name="jar" description="o Create the jar" depends="compile,test">
  +    <jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
  +    </jar>
  +  </target>
  +  <target name="clean" description="o Clean up the generated directories">
  +    <delete dir="${defaulttargetdir}">
  +    </delete>
  +    <delete dir="${distdir}">
  +    </delete>
  +  </target>
  +  <target name="dist" description="o Create a distribution" depends="jar, javadoc">
  +    <mkdir dir="dist">
  +    </mkdir>
  +    <copy todir="dist">
  +      <fileset dir="${defaulttargetdir}" includes="*.jar">
  +      </fileset>
  +      <fileset dir="${basedir}" includes="LICENSE*, README*">
  +      </fileset>
  +    </copy>
  +  </target>
  +  <target name="test" description="o Run the test cases" if="test.failure" depends="internal-test">
  +    <fail message="There were test failures.">
  +    </fail>
  +  </target>
  +  <target name="internal-test" depends="compile-tests">
  +    <mkdir dir="${testreportdir}">
  +    </mkdir>
  +    <junit dir="./" failureproperty="test.failure" printSummary="yes" fork="true" haltonerror="true">
  +      <sysproperty key="basedir" value=".">
  +      </sysproperty>
  +      <formatter type="xml">
  +      </formatter>
  +      <formatter usefile="false" type="plain">
  +      </formatter>
  +      <classpath>
  +        <fileset dir="${libdir}">
  +          <include name="*.jar">
  +          </include>
  +        </fileset>
  +        <pathelement path="${testclassesdir}">
  +        </pathelement>
  +        <pathelement path="${classesdir}">
  +        </pathelement>
  +      </classpath>
  +      <batchtest todir="${testreportdir}">
  +        <fileset dir="src/test">
  +          <include name="org/apache/commons/workflow/TestAll.java">
  +          </include>
  +          <include name="org/apache/commons/workflow/adt/TestAll.java">
  +          </include>
  +        </fileset>
  +      </batchtest>
  +    </junit>
  +  </target>
  +  <target name="compile-tests" depends="compile">
  +    <mkdir dir="${testclassesdir}">
  +    </mkdir>
  +    <javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
  +      <src>
  +        <pathelement location="src/test">
  +        </pathelement>
  +      </src>
  +      <classpath>
  +        <fileset dir="${libdir}">
  +          <include name="*.jar">
  +          </include>
  +        </fileset>
  +        <pathelement path="${classesdir}">
  +        </pathelement>
  +      </classpath>
       </javac>
  -    <copy    todir="${build.home}/classes" filtering="on">
  -      <fileset dir="${source.home}"
  -          includes="org/apache/commons/workflow/demo/**"
  -          excludes="**/*.java"/>
  -    </copy>
  -  </target>
  -
  -  <target name="demo" depends="compile.demo"
  -   description="Excecute the demonstration program">
  -    <echo message="Excecuting demo program on ${demo.filename}"/>
  -    <java classname="${demo.runner}" fork="yes"
  -        failonerror="true">
  -      <arg value="${demo.filename}"/>
  -      <classpath refid="demo.classpath"/>
  -    </java>
     </target>
  -
  -
  -  <target name="compile.wizard" depends="compile"
  -   description="Compile wizard demonstration web application">
  -    <mkdir  dir="${build.home}/${deploy.name}"/>
  -    <copy todir="${build.home}/wizard-demo">
  -      <fileset dir="src/wizard-demo" includes="**"/>
  -    </copy>
  +  <target name="javadoc" description="o Generate javadoc">
  +    <mkdir dir="${javadocdir}">
  +    </mkdir>
  +    <tstamp>
  +      <format pattern="2001-yyyy" property="year">
  +      </format>
  +    </tstamp>
  +    <property name="copyright" value="Copyright &amp;copy;  The Apache Software Foundation. All Rights Reserved.">
  +    </property>
  +    <property name="title" value="Commons Workflow 0.1-dev API">
  +    </property>
  +    <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="src/java" packagenames="org.apache.commons.workflow.*.*">
  +      <classpath>
  +        <fileset dir="${libdir}">
  +          <include name="*.jar">
  +          </include>
  +        </fileset>
  +        <pathelement location="${defaulttargetdir}/${final.name}.jar">
  +        </pathelement>
  +      </classpath>
  +    </javadoc>
     </target>
  -
  -
  -  <target name="deploy.wizard" depends="compile.wizard"
  -   description="Deploy wizard demonstration web application">
  -    <mkdir  dir="${deploy.home}/${deploy.name}"/>
  -    <copy todir="${deploy.home}/${deploy.name}">
  -      <fileset dir="src/wizard-demo" includes="**"/>
  -    </copy>
  -    <mkdir  dir="${deploy.home}/${deploy.name}/WEB-INF/classes"/>
  -    <copy todir="${deploy.home}/${deploy.name}/WEB-INF/classes">
  -      <fileset dir="${build.home}/classes" includes="**"/>
  -    </copy>
  -    <mkdir  dir="${deploy.home}/${deploy.name}/WEB-INF/lib"/>
  -    <copy todir="${deploy.home}/${deploy.name}/WEB-INF/lib"
  -           file="${commons-beanutils.jar}"/>
  -    <copy todir="${deploy.home}/${deploy.name}/WEB-INF/lib"
  -           file="${commons-collections.jar}"/>
  -    <copy todir="${deploy.home}/${deploy.name}/WEB-INF/lib"
  -           file="${commons-digester.jar}"/>
  -    <copy todir="${deploy.home}/${deploy.name}/WEB-INF/lib"
  -           file="${commons-jxpath.jar}"/>
  +  <target name="get-deps" unless="noget" depends="init">
  +    <get dest="${libdir}/servletapi-2.3.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar">
  +    </get>
  +    <get dest="${libdir}/commons-beanutils-1.6.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/commons-beanutils/jars/commons-beanutils-1.6.jar">
  +    </get>
  +    <get dest="${libdir}/commons-digester-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/commons-digester/jars/commons-digester-1.5.jar">
  +    </get>
  +    <get dest="${libdir}/commons-collections-2.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/commons-collections/jars/commons-collections-2.1.jar">
  +    </get>
  +    <get dest="${libdir}/commons-jxpath-1.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/commons-jxpath/jars/commons-jxpath-1.1.jar">
  +    </get>
  +    <get dest="${libdir}/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar">
  +    </get>
  +    <get dest="${libdir}/xml-apis-2.0.2.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/xml-apis/jars/xml-apis-2.0.2.jar">
  +    </get>
  +    <get dest="${libdir}/xerces-2.0.2.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/xerces/jars/xerces-2.0.2.jar">
  +    </get>
  +    <get dest="${libdir}/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar">
  +    </get>
  +    <get dest="${libdir}/ant-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar">
  +    </get>
  +    <get dest="${libdir}/ant-optional-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-optional-1.5.jar">
  +    </get>
  +  </target>
  +  <target name="install-maven">
  +    <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar">
  +    </get>
  +    <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
  +    </unjar>
     </target>
  -
  -
  -</project>
  +</project>
  \ No newline at end of file
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


RE: cvs commit: jakarta-commons-sandbox/workflow build.xml

Posted by Arnaud Heritier <ah...@apache.org>.
> <ah...@apache.org> wrote:
> > Hello Craig,
> >
> >         I have a good and a bad news.
> >         The good is that the problem is fixed in CVS (http://jira.codehaus.org/browse/MPANT-16),
> but the bad is that the ant plugin
> > wasn't release before maven 1.0.
> >         If this bug is really annoying (what I understand) I can publish a new release for the
> ant plugin. Do you want?
> >
> 
> Phew ... at least it wasn't my stupidity :-).

;-)

> 
> As to what to do, that would seem sort of dependent on how Maven wants
> to handle updates of plugins.  If they are going to have their own
> separate release cycles, then it would make sense to publish an
> updated Ant plugin separately (I presume that plugins are versioned
> like dependencies are, so I can pick the ones I want, right?).  If
> not, you're pretty likely to confuse Maven users if you start
> publishing individual jars with no version info on top of the 1.0
> release.  To say nothing of confusing Maven developers when they get a
> bug report, and have no idea what combination of plugins are actually
> being used by the reporter.

Maven core is published with a set of plugins provided by default. 
Now that this first release is out, each plugin have their own release cycles.
A user can update or add a plugin with a command like :
maven plugin:download -DgroupId=<group> -DartifactId=<artifact> -Dversion=<release>

In fact, when we have a doubt to reproduce a bug, the developer can ask the user's configuration with the -i option for example.
We have regularly some bugs not correctly classified in Jira but we move them ;-)

I will propose to the maven team to release the ant plugin.

Arnaud.




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: cvs commit: jakarta-commons-sandbox/workflow build.xml

Posted by Craig McClanahan <cr...@gmail.com>.
On Sun, 18 Jul 2004 18:34:34 +0200, Arnaud Heritier
<ah...@apache.org> wrote:
> Hello Craig,
> 
>         I have a good and a bad news.
>         The good is that the problem is fixed in CVS (http://jira.codehaus.org/browse/MPANT-16), but the bad is that the ant plugin
> wasn't release before maven 1.0.
>         If this bug is really annoying (what I understand) I can publish a new release for the ant plugin. Do you want?
> 

Phew ... at least it wasn't my stupidity :-).

As to what to do, that would seem sort of dependent on how Maven wants
to handle updates of plugins.  If they are going to have their own
separate release cycles, then it would make sense to publish an
updated Ant plugin separately (I presume that plugins are versioned
like dependencies are, so I can pick the ones I want, right?).  If
not, you're pretty likely to confuse Maven users if you start
publishing individual jars with no version info on top of the 1.0
release.  To say nothing of confusing Maven developers when they get a
bug report, and have no idea what combination of plugins are actually
being used by the reporter.

>         Arnaud

Craig


> 
> > -----Message d'origine-----
> > De : Arnaud Heritier [mailto:aheritier@apache.org]
> > Envoyé : jeudi 15 juillet 2004 23:31
> > À : 'Jakarta Commons Developers List'
> > Objet : RE: cvs commit: jakarta-commons-sandbox/workflow build.xml
> >
> > Ok, Craig
> >
> > I hoped that you used an old release ;-)
> >
> > I will try to found what is happening!
> >
> > Arnaud
> >
> > > -----Message d'origine-----
> > > De : Craig McClanahan [mailto:craigmcc@apache.org]
> > > Envoyé : jeudi 15 juillet 2004 22:41
> > > À : Jakarta Commons Developers List
> > > Objet : Re: cvs commit: jakarta-commons-sandbox/workflow build.xml
> > >
> > > Arnaud Heritier wrote:
> > >
> > > >Hello Craig,
> > > >
> > > >   Which maven release do you use??
> > > >
> > > >   I thought that we fixed this bug!!
> > > >
> > > >   It seems that you committed some absolute paths!
> > > >
> > > >Arnaud
> > > >
> > > >
> > > >
> > > I used the 1.0 final release :-(.
> > >
> > > Reproducible test case -- go to jakarta-commons-sandbox/workflow and run
> > > "maven ant".
> > >
> > > Craig
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


RE: cvs commit: jakarta-commons-sandbox/workflow build.xml

Posted by Arnaud Heritier <ah...@apache.org>.
Hello Craig,

	I have a good and a bad news.
	The good is that the problem is fixed in CVS (http://jira.codehaus.org/browse/MPANT-16), but the bad is that the ant plugin
wasn't release before maven 1.0.
	If this bug is really annoying (what I understand) I can publish a new release for the ant plugin. Do you want?

	Arnaud
	
	

> -----Message d'origine-----
> De : Arnaud Heritier [mailto:aheritier@apache.org]
> Envoyé : jeudi 15 juillet 2004 23:31
> À : 'Jakarta Commons Developers List'
> Objet : RE: cvs commit: jakarta-commons-sandbox/workflow build.xml
> 
> Ok, Craig
> 
> I hoped that you used an old release ;-)
> 
> I will try to found what is happening!
> 
> Arnaud
> 
> > -----Message d'origine-----
> > De : Craig McClanahan [mailto:craigmcc@apache.org]
> > Envoyé : jeudi 15 juillet 2004 22:41
> > À : Jakarta Commons Developers List
> > Objet : Re: cvs commit: jakarta-commons-sandbox/workflow build.xml
> >
> > Arnaud Heritier wrote:
> >
> > >Hello Craig,
> > >
> > >	Which maven release do you use??
> > >
> > >	I thought that we fixed this bug!!
> > >
> > >	It seems that you committed some absolute paths!
> > >
> > >Arnaud
> > >
> > >
> > >
> > I used the 1.0 final release :-(.
> >
> > Reproducible test case -- go to jakarta-commons-sandbox/workflow and run
> > "maven ant".
> >
> > Craig
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


RE: cvs commit: jakarta-commons-sandbox/workflow build.xml

Posted by Arnaud Heritier <ah...@apache.org>.
Ok, Craig

I hoped that you used an old release ;-)

I will try to found what is happening!

Arnaud

> -----Message d'origine-----
> De : Craig McClanahan [mailto:craigmcc@apache.org]
> Envoyé : jeudi 15 juillet 2004 22:41
> À : Jakarta Commons Developers List
> Objet : Re: cvs commit: jakarta-commons-sandbox/workflow build.xml
> 
> Arnaud Heritier wrote:
> 
> >Hello Craig,
> >
> >	Which maven release do you use??
> >
> >	I thought that we fixed this bug!!
> >
> >	It seems that you committed some absolute paths!
> >
> >Arnaud
> >
> >
> >
> I used the 1.0 final release :-(.
> 
> Reproducible test case -- go to jakarta-commons-sandbox/workflow and run
> "maven ant".
> 
> Craig
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: cvs commit: jakarta-commons-sandbox/workflow build.xml

Posted by Craig McClanahan <cr...@apache.org>.
Arnaud Heritier wrote:

>Hello Craig,
>
>	Which maven release do you use??
>
>	I thought that we fixed this bug!!
>
>	It seems that you committed some absolute paths!
>	
>Arnaud
>
>  
>
I used the 1.0 final release :-(.

Reproducible test case -- go to jakarta-commons-sandbox/workflow and run 
"maven ant".

Craig


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


RE: cvs commit: jakarta-commons-sandbox/workflow build.xml

Posted by Arnaud Heritier <ah...@apache.org>.
Hello Craig,

	Which maven release do you use??

	I thought that we fixed this bug!!

	It seems that you committed some absolute paths!
	
Arnaud


>   +  <property name="defaulttargetdir" value="/home/craigmcc/Apache/jakarta-commons-
> sandbox/workflow/target">
>   +  </property>
>   +  <property name="libdir" value="/home/craigmcc/Apache/jakarta-commons-
> sandbox/workflow/target/lib">
>   +  </property>
>   +  <property name="classesdir" value="/home/craigmcc/Apache/jakarta-commons-
> sandbox/workflow/target/classes">
>   +  </property>
>   +  <property name="testclassesdir" value="/home/craigmcc/Apache/jakarta-commons-
> sandbox/workflow/target/test-classes">
>   +  </property>
>   +  <property name="testclassesdir" value="/home/craigmcc/Apache/jakarta-commons-
> sandbox/workflow/target/test-classes">
>   +  </property>
>   +  <property name="testreportdir" value="/home/craigmcc/Apache/jakarta-commons-
> sandbox/workflow/target/test-reports">



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org