ruper2 buildx.xml,NONE,1.1 buildEnv.bat,NONE,1.1 testout.txt,NONE,1.1 build.xml,1.5,1.6 ruper.xml,1.4,1.5

[email protected]
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/ruper2
In directory sc8-pr-cvs1:/tmp/cvs-serv19796

Modified Files:
	build.xml ruper.xml 
Added Files:
	buildx.xml buildEnv.bat testout.txt 
Log Message:
adding the repository mgr to Resource Updater and changed the handlerMgr 
to take the map of handler chains...  

--- NEW FILE: buildx.xml ---
<?xml version="1.0"?>

<!--
==============================================================================

	NOTE: 	This build file is meant for bootstrap only, for gump/others.
			Only the main project is built. Use centipede for the others.
 
==============================================================================
-->

<project name="krysalis-ruper" default="build" basedir=".">

  <!--
  The developer/user can override properties (optionnal)
  without editing this file. To do this, he define properties in files :
    - build.properties : common file to all developper, used to avoid edit build.xml
    - .ant.properties : properties specific to this project (not shared by developer)
    - ${user.home}/.ant.properties" : properties share by all project of the developer
  All properties can be overridden (name, version, build.compiler, ...)
  Somes are only defined in a complementary properties file :
    - webapps.home : destination directory where deploy web application (war...)
  -->
  <property file="build.properties"/>
  <property file=".ant.properties"/>
  <property file="${user.home}/.ant.properties"/>

  <property name="project.name" value="krysalis-ruper2-core"/>
  <property name="project.part" value="core"/>
  
  <property name="vendor" value="Krysalis"/>
  <property name="url" value="http://krysalis.org/ruper"/>
  <property name="version" value="0.6-dev1"/>
  <property name="year" value="2003"/>
  <property name="build.compiler.warnings" value="true"/>
  <property name="build.compiler.depend" value="true"/>
  <property name="build.compiler.fulldepend" value="true"/>

  <property name="debug" value="on"/>
  <property name="optimize" value="off"/>
  <property name="deprecation" value="on"/>

  <property name="src" value="src/java/${project.part}"/>
  <property name="src.test" value="src/test/${project.part}"/>
  
  <property name="lib"  value="lib"/>
  <property name="build" value="build/ant-bootstrap/${project.name}"/>
  <property name="classes" value="${build}/classes"/>
  
  <property name="reports.test" value="${build}/reports/test"/>
  
  
  <property name="tool.home" value="${ant.home}"/>
  <property name="jdk.home" value="${java.home}/.."/>
  
  
  <fileset id="classes.run" dir="${lib}"/>
  <fileset id="classes.compile" dir="${lib}"/>
  <fileset id="classes.jdk" dir="${jdk.home}/lib"/>

  <fileset id="src.java.all" dir="${src}">
    <include name="java/**/*.java" />
    <include name="test/**/*.java" />
  </fileset>

  <path id="classpath.compile">
    <fileset refid="classes.compile"/>
  </path>

  <path id="classpath.run">
    <fileset refid="classes.run"/>
    <pathelement location="${classes}"/>
  </path>

  <path id="classpath.tool">
    <pathelement	location="${tool.home}/classes"/>
    <fileset refid="classes.tool"/>
    <fileset refid="classes.jdk"/>
  </path>


  <target name="init" unless="initialize">
  	<tstamp>
  		<format property="year" pattern="yyyy" /> 
  	</tstamp>
  	<tstamp>
  		<format property="DATE_STAMP" pattern="yyyyMMdd" timezone="GMT"/> 
  	</tstamp>
  	
    <echo message="--------------------------------------------------------"/>
    <echo message="	${project.name} ${version} ${DATE_STAMP} Build"/>
    <echo message="    Copyright ${year} ${vendor}"/>
    <echo message="--------------------------------------------------------"/>
    <echo message="Ant	            :	${ant.version}"/>
	<echo message="Ant File	        :	${ant.file}"/>
	<echo message="Ant Prj	        :	${ant.project.name}"/>
    <echo message="Ant Java	        :	${ant.java.version}"/>
    <echo message="Ant Home         :	${ant.home}"/>
    <echo message="--------------------------------------------------------"/>
    
    <property name="initialize" value="ok"/>
  </target>
  
  <target name="libraryInit" depends="init">
    	<get src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.jar" 
    		dest="${lib}/junit.jar" 
    		usetimestamp="true"
			verbose="true"/>
    	<get src="http://www.ibiblio.org/maven/commons-httpclient/jars/commons-httpclient-2.0alpha1.jar" 
    		dest="${lib}/commons-httpclient.jar" 
    		usetimestamp="true"
			verbose="true"/>
    	<get src="http://www.ibiblio.org/maven/regexp/jars/regexp-1.2.jar" 
    		dest="${lib}/jakarta-regexp.jar" 
    		usetimestamp="true"
			verbose="true"/>
    	<get src="http://www.ibiblio.org/maven/commons-vfs/jars/commons-vfs-SNAPSHOT.jar" 
    		dest="${lib}/commons-vfs.jar" 
    		usetimestamp="true"
		verbose="true"/>
  </target>

  <!-- =================================================================== -->
  <!-- BUILD                                                               -->
  <!-- =================================================================== -->

  <target name="build-init" depends="init, libraryInit">
    <mkdir dir="${build}"/>
    <mkdir dir="${classes}"/>
    <mkdir dir="${reports.test}"/>
  </target>

  <!-- Compile java sources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  -->
  <target name="compile" depends="build-init">
    <javac srcdir="${src}"
      destdir="${classes}"
      debug="${debug}"
      optimize="${optimize}"
      deprecation="${deprecation}"
    	>
    	<classpath refid="classpath.compile"/>
	</javac>    
  </target>
  
  <!-- Test the stuff .... -->
  <target name="test" depends="compile">
  	<javac srcdir="${src.test}"
      destdir="${build}/classes"
      debug="${debug}"
      optimize="${optimize}"
      deprecation="${deprecation}"
    	>
    	<classpath refid="classpath.compile"/>
	</javac>    
	<junit printsummary="withOutAndErr" 
			haltonfailure="yes"
			showoutput="yes">
    	<classpath refid="classpath.run"/>

  		<formatter type="plain"/>

	  	<batchtest fork="yes" todir="${reports.test}">
    		<fileset dir="${src.test}">
		      <include name="**/*Test*.java"/>
		    </fileset>
	  	</batchtest>
	</junit>
  </target>

  <!-- Build final jar = code + resources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  -->
  <target name="jar" depends="compile">
  		<!-- This copy is a bit of a hack for project.part="" (i.e. main) -->
  		<property name="constraints" value="${src}/ruper.constraints" />
  		<available property="constraints.available"
  					file="${constraints}" />
  		<echo message="Copy ${constraints} if ${constraints.available}"/>
 		<copy file="${constraints}"
 			failonerror="false"
 			verbose="true"
          	tofile="${build}/classes/ruper.constraints"/>
  		<!-- This copy is a bit of a hack for project.part=ant -->
  		<property name="descriptor" value="${src}/krysalis-ruper" />
  		<available property="descriptor.available"
  					file="${descriptor}" />
  		<echo message="Copy ${descriptor} if ${descriptor.available}"/>
 		<copy file="${descriptor}"
 			failonerror="false"
 			verbose="true"
          	tofile="${build}/classes/krysalis-ruper"/>
        <!-- This copy is a bit of a hack for project.part=ant -->
  		<property name="descriptor" value="${src}/krysalis-ruper-types" />
  		<available property="descriptor.available"
  					file="${descriptor}" />
  		<echo message="Copy ${descriptor} if ${descriptor.available}"/>
 		<copy file="${descriptor}"
 			failonerror="false"
 			verbose="true"
          	tofile="${build}/classes/krysalis-ruper-types"/>
        <!-- Get all the classes -->
    	<jar jarfile="${build}/${project.name}-${version}.jar"
         	basedir="${build}/classes"
    		>
      		<exclude name="**/_index.txt"/>
    	</jar>
  </target>

  <target name="build" depends="compile,jar"/>
  
  <target name="gump" depends="compile,jar">
    <property name="output.jar" value="${build}/${project.name}-${DATE_STAMP}.jar"/>
    <echo message="Gump output = ${output.jar}" />
    <copy file  ="${build}/${project.name}-${version}.jar"
          tofile="${output.jar}"
          verbose="true"/>
  </target>
  

  <!-- =================================================================== -->
  <!-- CLEAN                                                               -->
  <!-- =================================================================== -->
  <target name="clean">
      <delete >
      		<fileset dir="${build}" >
      			<include name="**/*"/>
      			<exclude name="ide/**"/>
      		</fileset>
      </delete>
  </target>

</project>

<!--
$Id: buildx.xml,v 1.1 2003/09/16 20:40:32 anou_mana Exp $
-->


--- NEW FILE: buildEnv.bat ---
set TSC_JARS=
set CLASSPATH=.
set WORK=C:\Projects\eclipse\opensource

set VERSION=%WORK%\version
set RUPER=%WORK%\ruper2
set CENTIPEDE=%WORK%\krysalis-centipede
set LOGGING=%WORK%\commons-logging
set HTTP=%WORK%\commons-httpclient
set VFS=%WORK%\vfs
set REGEXP=%WORK%\jakarta-regexp

set CLASSPATH=%CLASSPATH%;%VERSION%\bin
set CLASSPATH=%CLASSPATH%;%RUPER%\bin
set CLASSPATH=%CLASSPATH%;%LOGGING%\bin
set CLASSPATH=%CLASSPATH%;%HTTP%\bin
set CLASSPATH=%CLASSPATH%;%VFS%\bin
set CLASSPATH=%CLASSPATH%;%REGEXP%\bin
set CLASSPATH=%CLASSPATH%;%CENTIPEDE%\bin

set CLASSPATH=%CLASSPATH%;%TSC_JARS%


--- NEW FILE: testout.txt ---
Buildfile: build.xml

test1:
     [sync] Execute Synchronize...
     [sync] Update File : C:\Projects\eclipse\opensource\ruper2\lib\test.jar
     [sync] Code [PROCESS] test.jar file://C:/Projects/eclipse/opensource/ruper2/lib/test.jar
     [sync] Debug:Code [PROCESS] test.jar file://C:/Projects/eclipse/opensource/ruper2/lib/test.jar
     [sync] Code [EXTRACTED] test null null jar
     [sync] Debug:Code [EXTRACTED] test null null jar
     [sync] Code [RESOURCE_REQUEST] org.krysalis.ruper.query.ResourceSpecifierRequest@176cad3
     [sync] Debug:Code [RESOURCE_REQUEST] org.krysalis.ruper.query.ResourceSpecifierRequest@176cad3
     [sync]   Resource Groups: 
     [sync]   List Type: ArrayList
     [sync]   Entry #0, class: ResourceGroup
     [sync]     ResourceGroup : test
     [sync]   --------------------------------------------------------------
     [sync]   Repositories: 
     [sync]   DefaultRepositorySet : org.krysalis.ruper.repository.DefaultRepositorySet@1113622
     [sync]   --------------------------------------------------------------
     [sync]   Where: 
     [sync]   List Type: SelectorSet
     [sync]   Entry #0, class: NameSelector
     [sync]     NameSelector : NameSelector:Code [NAME_SELECTOR] :test
     [sync]   Entry #1, class: TypeSelector
     [sync]     TypeSelector : TypeSelector:Code [TYPE_SELECTOR] :java [i.e. http://krysalis.org/resource/java]
     [sync]   --------------------------------------------------------------
     [sync]   Group By: 
     [sync]   List Type: ComparatorSet
     [sync]   Entry #0, class: NameComparator
     [sync]     NameComparator : NameComparator:Code [NAME_COMPARATOR] 
     [sync]   Entry #1, class: VersionComparator
     [sync]     VersionComparator : VersionComparator:Code [VERSION_COMPARATOR] 
     [sync]   --------------------------------------------------------------
     [sync]   Order By: 
     [sync]   List Type: ComparatorSet
     [sync]   Entry #0, class: NameComparator
     [sync]     NameComparator : NameComparator:Code [NAME_COMPARATOR] 
     [sync]   Entry #1, class: TypeComparator
     [sync]     TypeComparator : TypeComparator:Code [TYPE_COMPARATOR] 
     [sync]   Entry #2, class: VersionComparator
     [sync]     VersionComparator : VersionComparator:Code [VERSION_COMPARATOR] 
     [sync] Code [SEARCH_REPOSITORY] repo:Krysalis
     [sync] Debug:Code [SEARCH_REPOSITORY] repo:Krysalis
     [sync] Code [RESOURCE_GROUP] test
     [sync] Debug:Code [RESOURCE_GROUP] test
     [sync] Code [LIST_RESOURCES] repo:Krysalis test org.krysalis.ruper.util.select.AllSelector@d73c7a
     [sync] Debug:Code [LIST_RESOURCES] repo:Krysalis test org.krysalis.ruper.util.select.AllSelector@d73c7a
     [sync] Check Exists http://www.krysalis.org/library/projects//test/jars
     [sync] Debug:Check Exists http://www.krysalis.org/library/projects//test/jars
     [sync] Perform List http://www.krysalis.org/library/projects//test/jars
     [sync] Debug:Perform List http://www.krysalis.org/library/projects//test/jars
     [sync] Code [PROCESS] test-1.1.jar http://www.krysalis.org/library/projects/test/jars/test-1.1.jar
     [sync] Debug:Code [PROCESS] test-1.1.jar http://www.krysalis.org/library/projects/test/jars/test-1.1.jar
     [sync] Code [EXTRACTED] test 1.1 null jar
     [sync] Debug:Code [EXTRACTED] test 1.1 null jar
     [sync] Code [PROCESS] test-1.2-alpha.jar http://www.krysalis.org/library/projects/test/jars/test-1.2-alpha.jar
     [sync] Debug:Code [PROCESS] test-1.2-alpha.jar http://www.krysalis.org/library/projects/test/jars/test-1.2-alpha.jar
     [sync] Code [EXTRACTED] test 1.2-alpha null jar
     [sync] Debug:Code [EXTRACTED] test 1.2-alpha null jar
     [sync] Code [PROCESS] test-1.2.jar http://www.krysalis.org/library/projects/test/jars/test-1.2.jar
     [sync] Debug:Code [PROCESS] test-1.2.jar http://www.krysalis.org/library/projects/test/jars/test-1.2.jar
     [sync] Code [EXTRACTED] test 1.2 null jar
     [sync] Debug:Code [EXTRACTED] test 1.2 null jar
     [sync] Code [PROCESS] test-docs.zip http://www.krysalis.org/library/projects/test/jars/test-docs.zip
     [sync] Debug:Code [PROCESS] test-docs.zip http://www.krysalis.org/library/projects/test/jars/test-docs.zip
     [sync] Code [EXTRACTED] test null docs zip
     [sync] Debug:Code [EXTRACTED] test null docs zip
     [sync] Code [PROCESS] test-src.gz http://www.krysalis.org/library/projects/test/jars/test-src.gz
     [sync] Debug:Code [PROCESS] test-src.gz http://www.krysalis.org/library/projects/test/jars/test-src.gz
     [sync] Code [EXTRACTED] test null src gz
     [sync] Debug:Code [EXTRACTED] test null src gz
     [sync] Code [PROCESS] test-src.tar.Z http://www.krysalis.org/library/projects/test/jars/test-src.tar.Z
     [sync] Debug:Code [PROCESS] test-src.tar.Z http://www.krysalis.org/library/projects/test/jars/test-src.tar.Z
     [sync] Code [EXTRACTED] test null src tar.Z
     [sync] Debug:Code [EXTRACTED] test null src tar.Z
     [sync] Code [PROCESS] test-src.zip http://www.krysalis.org/library/projects/test/jars/test-src.zip
     [sync] Debug:Code [PROCESS] test-src.zip http://www.krysalis.org/library/projects/test/jars/test-src.zip
     [sync] Code [EXTRACTED] test null src zip
     [sync] Debug:Code [EXTRACTED] test null src zip
     [sync] Code [PROCESS] test.jar http://www.krysalis.org/library/projects/test/jars/test.jar
     [sync] Debug:Code [PROCESS] test.jar http://www.krysalis.org/library/projects/test/jars/test.jar
     [sync] Code [EXTRACTED] test null null jar
     [sync] Debug:Code [EXTRACTED] test null null jar
     [sync] Code [SEARCH_REPOSITORY] repo:Maven
     [sync] Debug:Code [SEARCH_REPOSITORY] repo:Maven
     [sync] Code [RESOURCE_GROUP] test
     [sync] Debug:Code [RESOURCE_GROUP] test
     [sync] Code [LIST_RESOURCES] repo:Maven test org.krysalis.ruper.util.select.AllSelector@d73c7a
     [sync] Debug:Code [LIST_RESOURCES] repo:Maven test org.krysalis.ruper.util.select.AllSelector@d73c7a
     [sync] Check Exists http://www.ibiblio.org/maven//test/jars
     [sync] Debug:Check Exists http://www.ibiblio.org/maven//test/jars
     [sync] Code [NO_RESOURCES] repo:Maven
     [sync] Warn:Code [NO_RESOURCES] repo:Maven
     [sync] --------------------------------------------------------------
     [sync] All Results
     [sync] List Type: ArrayList
     [sync] Entry #0, class: Resource
     [sync]   Resource Identifier: java:test
     [sync]   Resource Type: java [i.e. http://krysalis.org/resource/java]
     [sync]   Resource Group: test
     [sync]   Resource Filename: test-1.1.jar
     [sync]   Resource Location: http://www.krysalis.org/library/projects/test/jars/test-1.1.jar
     [sync]   Resource Version: 1.1
     [sync] Entry #1, class: Resource
     [sync]   Resource Identifier: java:test
     [sync]   Resource Type: java [i.e. http://krysalis.org/resource/java]
     [sync]   Resource Group: test
     [sync]   Resource Filename: test-1.2-alpha.jar
     [sync]   Resource Location: http://www.krysalis.org/library/projects/test/jars/test-1.2-alpha.jar
     [sync]   Resource Version: 1.2.a
     [sync] Entry #2, class: Resource
     [sync]   Resource Identifier: java:test
     [sync]   Resource Type: java [i.e. http://krysalis.org/resource/java]
     [sync]   Resource Group: test
     [sync]   Resource Filename: test-1.2.jar
     [sync]   Resource Location: http://www.krysalis.org/library/projects/test/jars/test-1.2.jar
     [sync]   Resource Version: 1.2
     [sync] Entry #3, class: Resource
     [sync]   Resource Identifier: java:test
     [sync]   Resource Type: docs [i.e. http://krysalis.org/resource/docs]
     [sync]   Resource Group: test
     [sync]   Resource Filename: test-docs.zip
     [sync]   Resource Location: http://www.krysalis.org/library/projects/test/jars/test-docs.zip
     [sync] Entry #4, class: Resource
     [sync]   Resource Identifier: java:test
     [sync]   Resource Type: javasrc [i.e. http://krysalis.org/resource/javasrc]
     [sync]   Resource Group: test
     [sync]   Resource Filename: test-src.gz
     [sync]   Resource Location: http://www.krysalis.org/library/projects/test/jars/test-src.gz
     [sync] Entry #5, class: Resource
     [sync]   Resource Identifier: java:test
     [sync]   Resource Type: javasrc [i.e. http://krysalis.org/resource/javasrc]
     [sync]   Resource Group: test
     [sync]   Resource Filename: test-src.tar.Z
     [sync]   Resource Location: http://www.krysalis.org/library/projects/test/jars/test-src.tar.Z
     [sync] Entry #6, class: Resource
     [sync]   Resource Identifier: java:test
     [sync]   Resource Type: javasrc [i.e. http://krysalis.org/resource/javasrc]
     [sync]   Resource Group: test
     [sync]   Resource Filename: test-src.zip
     [sync]   Resource Location: http://www.krysalis.org/library/projects/test/jars/test-src.zip
     [sync] Entry #7, class: Resource
     [sync]   Resource Identifier: java:test
     [sync]   Resource Type: java [i.e. http://krysalis.org/resource/java]
     [sync]   Resource Group: test
     [sync]   Resource Filename: test.jar
     [sync]   Resource Location: http://www.krysalis.org/library/projects/test/jars/test.jar
     [sync] --------------------------------------------------------------
     [sync] Grouped Results
     [sync] List Type: ResourceResult
     [sync] Entry #0, class: ArrayList
     [sync]   List Type: ArrayList
     [sync]   Entry #0, class: Resource
     [sync]     Resource Identifier: java:test
     [sync]     Resource Type: docs [i.e. http://krysalis.org/resource/docs]
     [sync]     Resource Group: test
     [sync]     Resource Filename: test-docs.zip
     [sync]     Resource Location: http://www.krysalis.org/library/projects/test/jars/test-docs.zip
     [sync] Entry #1, class: ArrayList
     [sync]   List Type: ArrayList
     [sync]   Entry #0, class: Resource
     [sync]     Resource Identifier: java:test
     [sync]     Resource Type: java [i.e. http://krysalis.org/resource/java]
     [sync]     Resource Group: test
     [sync]     Resource Filename: test-1.1.jar
     [sync]     Resource Location: http://www.krysalis.org/library/projects/test/jars/test-1.1.jar
     [sync]     Resource Version: 1.1
     [sync] Entry #2, class: ArrayList
     [sync]   List Type: ArrayList
     [sync]   Entry #0, class: Resource
     [sync]     Resource Identifier: java:test
     [sync]     Resource Type: java [i.e. http://krysalis.org/resource/java]
     [sync]     Resource Group: test
     [sync]     Resource Filename: test-1.2-alpha.jar
     [sync]     Resource Location: http://www.krysalis.org/library/projects/test/jars/test-1.2-alpha.jar
     [sync]     Resource Version: 1.2.a
     [sync] --------------------------------------------------------------
     [sync] Final (Grouped/Ordered) Results
     [sync] List Type: ResourceResult
     [sync] Entry #0, class: ArrayList
     [sync]   List Type: ArrayList
     [sync]   Entry #0, class: Resource
     [sync]     Resource Identifier: java:test
     [sync]     Resource Type: docs [i.e. http://krysalis.org/resource/docs]
     [sync]     Resource Group: test
     [sync]     Resource Filename: test-docs.zip
     [sync]     Resource Location: http://www.krysalis.org/library/projects/test/jars/test-docs.zip
     [sync] Entry #1, class: ArrayList
     [sync]   List Type: ArrayList
     [sync]   Entry #0, class: Resource
     [sync]     Resource Identifier: java:test
     [sync]     Resource Type: java [i.e. http://krysalis.org/resource/java]
     [sync]     Resource Group: test
     [sync]     Resource Filename: test-1.1.jar
     [sync]     Resource Location: http://www.krysalis.org/library/projects/test/jars/test-1.1.jar
     [sync]     Resource Version: 1.1
     [sync] Entry #2, class: ArrayList
     [sync]   List Type: ArrayList
     [sync]   Entry #0, class: Resource
     [sync]     Resource Identifier: java:test
     [sync]     Resource Type: java [i.e. http://krysalis.org/resource/java]
     [sync]     Resource Group: test
     [sync]     Resource Filename: test-1.2-alpha.jar
     [sync]     Resource Location: http://www.krysalis.org/library/projects/test/jars/test-1.2-alpha.jar
     [sync]     Resource Version: 1.2.a
     [sync] --------------------------------------------------------------
     [sync] List Type: ResourceResult
     [sync] Entry #0, class: ArrayList
     [sync]   List Type: ArrayList
     [sync]   Entry #0, class: Resource
     [sync]     Resource Identifier: java:test
     [sync]     Resource Type: docs [i.e. http://krysalis.org/resource/docs]
     [sync]     Resource Group: test
     [sync]     Resource Filename: test-docs.zip
     [sync]     Resource Location: http://www.krysalis.org/library/projects/test/jars/test-docs.zip
     [sync] Entry #1, class: ArrayList
     [sync]   List Type: ArrayList
     [sync]   Entry #0, class: Resource
     [sync]     Resource Identifier: java:test
     [sync]     Resource Type: java [i.e. http://krysalis.org/resource/java]
     [sync]     Resource Group: test
     [sync]     Resource Filename: test-1.1.jar
     [sync]     Resource Location: http://www.krysalis.org/library/projects/test/jars/test-1.1.jar
     [sync]     Resource Version: 1.1
     [sync] Entry #2, class: ArrayList
     [sync]   List Type: ArrayList
     [sync]   Entry #0, class: Resource
     [sync]     Resource Identifier: java:test
     [sync]     Resource Type: java [i.e. http://krysalis.org/resource/java]
     [sync]     Resource Group: test
     [sync]     Resource Filename: test-1.2-alpha.jar
     [sync]     Resource Location: http://www.krysalis.org/library/projects/test/jars/test-1.2-alpha.jar
     [sync]     Resource Version: 1.2.a
     [sync]   Resource Groups: 
     [sync]   List Type: ArrayList
     [sync]   Entry #0, class: ResourceGroup
     [sync]     ResourceGroup : test
     [sync]   --------------------------------------------------------------
     [sync]   Repositories: 
     [sync]   RepositorySet : org.krysalis.ruper.repository.RepositorySet@16f25a7
     [sync]   --------------------------------------------------------------
     [sync]   Where: 
     [sync]   List Type: SelectorSet
     [sync]   Entry #0, class: NameSelector
     [sync]     NameSelector : NameSelector:Code [NAME_SELECTOR] :test
     [sync]   Entry #1, class: TypeSelector
     [sync]     TypeSelector : TypeSelector:Code [TYPE_SELECTOR] :java [i.e. http://krysalis.org/resource/java]
     [sync]   --------------------------------------------------------------
     [sync]   Group By: 
     [sync]   List Type: ComparatorSet
     [sync]   Entry #0, class: NameComparator
     [sync]     NameComparator : NameComparator:Code [NAME_COMPARATOR] 
     [sync]   Entry #1, class: VersionComparator
     [sync]     VersionComparator : VersionComparator:Code [VERSION_COMPARATOR] 
     [sync]   --------------------------------------------------------------
     [sync]   Order By: 
     [sync]   List Type: ComparatorSet
     [sync]   Entry #0, class: NameComparator
     [sync]     NameComparator : NameComparator:Code [NAME_COMPARATOR] 
     [sync]   Entry #1, class: TypeComparator
     [sync]     TypeComparator : TypeComparator:Code [TYPE_COMPARATOR] 
     [sync]   Entry #2, class: VersionComparator
     [sync]     VersionComparator : VersionComparator:Code [VERSION_COMPARATOR] 
     [sync] Code [SEARCH_REPOSITORY] repo:C:\Projects\eclipse\opensource\ruper2\C:\Projects\eclipse\opensource\ruper2\C:\Projects\eclipse\opensource\ruper2\lib
     [sync] Debug:Code [SEARCH_REPOSITORY] repo:C:\Projects\eclipse\opensource\ruper2\C:\Projects\eclipse\opensource\ruper2\C:\Projects\eclipse\opensource\ruper2\lib
     [sync] Code [RESOURCE_GROUP] test
     [sync] Debug:Code [RESOURCE_GROUP] test
     [sync] Code [LIST_RESOURCES] repo:C:\Projects\eclipse\opensource\ruper2\C:\Projects\eclipse\opensource\ruper2\C:\Projects\eclipse\opensource\ruper2\lib test org.krysalis.ruper.util.select.AllSelector@d73c7a
     [sync] Debug:Code [LIST_RESOURCES] repo:C:\Projects\eclipse\opensource\ruper2\C:\Projects\eclipse\opensource\ruper2\C:\Projects\eclipse\opensource\ruper2\lib test org.krysalis.ruper.util.select.AllSelector@d73c7a
     [sync] Check Exists file://C:/Projects/eclipse/opensource/ruper2/C:/Projects/eclipse/opensource/ruper2/C:/Projects/eclipse/opensource/ruper2/lib
     [sync] Debug:Check Exists file://C:/Projects/eclipse/opensource/ruper2/C:/Projects/eclipse/opensource/ruper2/C:/Projects/eclipse/opensource/ruper2/lib
     [sync] Code [NO_RESOURCES] repo:C:\Projects\eclipse\opensource\ruper2\C:\Projects\eclipse\opensource\ruper2\C:\Projects\eclipse\opensource\ruper2\lib
     [sync] Warn:Code [NO_RESOURCES] repo:C:\Projects\eclipse\opensource\ruper2\C:\Projects\eclipse\opensource\ruper2\C:\Projects\eclipse\opensource\ruper2\lib
     [sync] Code [NO_RESOURCES] 
     [sync] Warn:Code [NO_RESOURCES] 
     [sync] Code [NO_RESOURCES] 
     [sync] Info:Code [NO_RESOURCES] 

BUILD SUCCESSFUL
Total time: 9 seconds

Index: build.xml
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/build.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** build.xml	4 Sep 2003 16:45:54 -0000	1.5
--- build.xml	16 Sep 2003 20:40:32 -0000	1.6
***************
*** 1,235 ****
  <?xml version="1.0"?>
! 
! <!--
! ==============================================================================
! 
! 	NOTE: 	This build file is meant for bootstrap only, for gump/others.
! 			Only the main project is built. Use centipede for the others.
!  
! ==============================================================================
! -->
! 
! <project name="krysalis-ruper" default="build" basedir=".">
! 
!   <!--
!   The developer/user can override properties (optionnal)
!   without editing this file. To do this, he define properties in files :
!     - build.properties : common file to all developper, used to avoid edit build.xml
!     - .ant.properties : properties specific to this project (not shared by developer)
!     - ${user.home}/.ant.properties" : properties share by all project of the developer
!   All properties can be overridden (name, version, build.compiler, ...)
!   Somes are only defined in a complementary properties file :
!     - webapps.home : destination directory where deploy web application (war...)
!   -->
!   <property file="build.properties"/>
!   <property file=".ant.properties"/>
!   <property file="${user.home}/.ant.properties"/>
! 
!   <property name="project.name" value="krysalis-ruper2-core"/>
!   <property name="project.part" value="core"/>
!   
!   <property name="vendor" value="Krysalis"/>
!   <property name="url" value="http://krysalis.org/ruper"/>
!   <property name="version" value="0.6-dev1"/>
!   <property name="year" value="2003"/>
!   <property name="build.compiler.warnings" value="true"/>
!   <property name="build.compiler.depend" value="true"/>
!   <property name="build.compiler.fulldepend" value="true"/>
! 
!   <property name="debug" value="on"/>
!   <property name="optimize" value="off"/>
!   <property name="deprecation" value="on"/>
! 
!   <property name="src" value="src/java/${project.part}"/>
!   <property name="src.test" value="src/test/${project.part}"/>
!   
!   <property name="lib"  value="lib"/>
!   <property name="build" value="build/ant-bootstrap/${project.name}"/>
!   <property name="classes" value="${build}/classes"/>
!   
!   <property name="reports.test" value="${build}/reports/test"/>
!   
!   
!   <property name="tool.home" value="${ant.home}"/>
!   <property name="jdk.home" value="${java.home}/.."/>
!   
!   
!   <fileset id="classes.run" dir="${lib}"/>
!   <fileset id="classes.compile" dir="${lib}"/>
!   <fileset id="classes.jdk" dir="${jdk.home}/lib"/>
! 
!   <fileset id="src.java.all" dir="${src}">
!     <include name="java/**/*.java" />
!     <include name="test/**/*.java" />
!   </fileset>
! 
!   <path id="classpath.compile">
!     <fileset refid="classes.compile"/>
!   </path>
! 
!   <path id="classpath.run">
!     <fileset refid="classes.run"/>
!     <pathelement location="${classes}"/>
!   </path>
! 
!   <path id="classpath.tool">
!     <pathelement	location="${tool.home}/classes"/>
!     <fileset refid="classes.tool"/>
!     <fileset refid="classes.jdk"/>
!   </path>
! 
! 
!   <target name="init" unless="initialize">
!   	<tstamp>
!   		<format property="year" pattern="yyyy" /> 
!   	</tstamp>
!   	<tstamp>
!   		<format property="DATE_STAMP" pattern="yyyyMMdd" timezone="GMT"/> 
!   	</tstamp>
!   	
!     <echo message="--------------------------------------------------------"/>
!     <echo message="	${project.name} ${version} ${DATE_STAMP} Build"/>
!     <echo message="    Copyright ${year} ${vendor}"/>
!     <echo message="--------------------------------------------------------"/>
!     <echo message="Ant	            :	${ant.version}"/>
! 	<echo message="Ant File	        :	${ant.file}"/>
! 	<echo message="Ant Prj	        :	${ant.project.name}"/>
!     <echo message="Ant Java	        :	${ant.java.version}"/>
!     <echo message="Ant Home         :	${ant.home}"/>
!     <echo message="--------------------------------------------------------"/>
!     
!     <property name="initialize" value="ok"/>
!   </target>
!   
!   <target name="libraryInit" depends="init">
!     	<get src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.jar" 
!     		dest="${lib}/junit.jar" 
!     		usetimestamp="true"
! 			verbose="true"/>
!     	<get src="http://www.ibiblio.org/maven/commons-httpclient/jars/commons-httpclient-2.0alpha1.jar" 
!     		dest="${lib}/commons-httpclient.jar" 
!     		usetimestamp="true"
! 			verbose="true"/>
!     	<get src="http://www.ibiblio.org/maven/regexp/jars/regexp-1.2.jar" 
!     		dest="${lib}/jakarta-regexp.jar" 
!     		usetimestamp="true"
! 			verbose="true"/>
!     	<get src="http://www.ibiblio.org/maven/commons-vfs/jars/commons-vfs-SNAPSHOT.jar" 
!     		dest="${lib}/commons-vfs.jar" 
!     		usetimestamp="true"
! 		verbose="true"/>
!   </target>
! 
!   <!-- =================================================================== -->
!   <!-- BUILD                                                               -->
!   <!-- =================================================================== -->
! 
!   <target name="build-init" depends="init, libraryInit">
!     <mkdir dir="${build}"/>
!     <mkdir dir="${classes}"/>
!     <mkdir dir="${reports.test}"/>
!   </target>
! 
!   <!-- Compile java sources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  -->
!   <target name="compile" depends="build-init">
!     <javac srcdir="${src}"
!       destdir="${classes}"
!       debug="${debug}"
!       optimize="${optimize}"
!       deprecation="${deprecation}"
!     	>
!     	<classpath refid="classpath.compile"/>
! 	</javac>    
!   </target>
!   
!   <!-- Test the stuff .... -->
!   <target name="test" depends="compile">
!   	<javac srcdir="${src.test}"
!       destdir="${build}/classes"
!       debug="${debug}"
!       optimize="${optimize}"
!       deprecation="${deprecation}"
!     	>
!     	<classpath refid="classpath.compile"/>
! 	</javac>    
! 	<junit printsummary="withOutAndErr" 
! 			haltonfailure="yes"
! 			showoutput="yes">
!     	<classpath refid="classpath.run"/>
! 
!   		<formatter type="plain"/>
! 
! 	  	<batchtest fork="yes" todir="${reports.test}">
!     		<fileset dir="${src.test}">
! 		      <include name="**/*Test*.java"/>
! 		    </fileset>
! 	  	</batchtest>
! 	</junit>
!   </target>
! 
!   <!-- Build final jar = code + resources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  -->
!   <target name="jar" depends="compile">
!   		<!-- This copy is a bit of a hack for project.part="" (i.e. main) -->
!   		<property name="constraints" value="${src}/ruper.constraints" />
!   		<available property="constraints.available"
!   					file="${constraints}" />
!   		<echo message="Copy ${constraints} if ${constraints.available}"/>
!  		<copy file="${constraints}"
!  			failonerror="false"
!  			verbose="true"
!           	tofile="${build}/classes/ruper.constraints"/>
!   		<!-- This copy is a bit of a hack for project.part=ant -->
!   		<property name="descriptor" value="${src}/krysalis-ruper" />
!   		<available property="descriptor.available"
!   					file="${descriptor}" />
!   		<echo message="Copy ${descriptor} if ${descriptor.available}"/>
!  		<copy file="${descriptor}"
!  			failonerror="false"
!  			verbose="true"
!           	tofile="${build}/classes/krysalis-ruper"/>
!         <!-- This copy is a bit of a hack for project.part=ant -->
!   		<property name="descriptor" value="${src}/krysalis-ruper-types" />
!   		<available property="descriptor.available"
!   					file="${descriptor}" />
!   		<echo message="Copy ${descriptor} if ${descriptor.available}"/>
!  		<copy file="${descriptor}"
!  			failonerror="false"
!  			verbose="true"
!           	tofile="${build}/classes/krysalis-ruper-types"/>
!         <!-- Get all the classes -->
!     	<jar jarfile="${build}/${project.name}-${version}.jar"
!          	basedir="${build}/classes"
!     		>
!       		<exclude name="**/_index.txt"/>
!     	</jar>
!   </target>
! 
!   <target name="build" depends="compile,jar"/>
!   
!   <target name="gump" depends="compile,jar">
!     <property name="output.jar" value="${build}/${project.name}-${DATE_STAMP}.jar"/>
!     <echo message="Gump output = ${output.jar}" />
!     <copy file  ="${build}/${project.name}-${version}.jar"
!           tofile="${output.jar}"
!           verbose="true"/>
!   </target>
!   
! 
!   <!-- =================================================================== -->
!   <!-- CLEAN                                                               -->
!   <!-- =================================================================== -->
!   <target name="clean">
!       <delete >
!       		<fileset dir="${build}" >
!       			<include name="**/*"/>
!       			<exclude name="ide/**"/>
!       		</fileset>
!       </delete>
!   </target>
! 
! </project>
! 
! <!--
! $Id$
! -->
! 
--- 1,10 ----
  <?xml version="1.0"?>
! <project name="ruper-synchronize-test" basedir="." default="all">
! 	<typedef resource="krysalis-ruper2-types"/>	
! 	<taskdef resource="krysalis-ruper2-tasks"/>	
! 		
! 	<target name="test1">
! 		<sync file="lib/test.jar" />
! 	</target>
! 	
! </project>
\ No newline at end of file

Index: ruper.xml
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/ruper.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ruper.xml	12 Sep 2003 15:19:43 -0000	1.4
--- ruper.xml	16 Sep 2003 20:40:32 -0000	1.5
***************
*** 9,18 ****
  <config>
  	<repositoryset id="default">
! 		
  		<repository id="maven" class="org.krysalis.ruper.repository.DefaultRepository" 
! 					url="http://www.ibiblio.org/maven/%{name}/jars/"
  					remote="true"
  					active="true" />
  		
  		<repository id="test" class="org.krysalis.ruper.repository.DefaultRepository" 
  					url="http://www.test.org/jars/"
--- 9,23 ----
  <config>
  	<repositoryset id="default">
! 
  		<repository id="maven" class="org.krysalis.ruper.repository.DefaultRepository" 
! 					url="http://www.ibiblio.org/maven/"
  					remote="true"
  					active="true" />
  		
+ 		<repository id="krysalis" class="org.krysalis.ruper.repository.DefaultRepository" 
+ 					url="http://www.krysalis.org/library/projects/"
+ 					remote="true"
+ 					active="true" />
+ 					
  		<repository id="test" class="org.krysalis.ruper.repository.DefaultRepository" 
  					url="http://www.test.org/jars/"




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.