You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
(132) |
Apr
(319) |
May
(116) |
Jun
(8) |
Jul
(25) |
Aug
(40) |
Sep
(2) |
Oct
(2) |
Nov
(1) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(1) |
From: Nick C. <ch...@us...> - 2004-12-08 09:19:33
|
Update of /cvsroot/antworks/importer/src/java/org/krysalis/antworks/importer/depot In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29702/src/java/org/krysalis/antworks/importer/depot Modified Files: DepotAntletFinder.java Log Message: Copied from the apache incubator. Index: DepotAntletFinder.java =================================================================== RCS file: /cvsroot/antworks/importer/src/java/org/krysalis/antworks/importer/depot/DepotAntletFinder.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** DepotAntletFinder.java 3 Aug 2004 17:52:16 -0000 1.9 --- DepotAntletFinder.java 8 Dec 2004 09:19:23 -0000 1.10 *************** *** 22,40 **** import java.util.List; - import org.apache.depot.update.Artifact; - import org.apache.depot.update.ArtifactInstance; - import org.apache.depot.update.ArtifactUpdater; - import org.apache.depot.update.ArtifactUpdaterFactory; - import org.apache.depot.update.Repository; - import org.apache.depot.update.UpdateException; - import org.apache.depot.update.query.ArtifactQuery; - import org.apache.depot.update.query.ArtifactQueryHelper; - import org.apache.depot.update.repository.DefaultRepository; - import org.apache.depot.update.repository.RepositorySet; - import org.apache.depot.version.Version; - import org.apache.depot.version.VersionManager; import org.apache.tools.ant.Project; import org.krysalis.antworks.importer.AntletFinder; import org.krysalis.antworks.importer.FinderHelper; /** --- 22,40 ---- import java.util.List; import org.apache.tools.ant.Project; import org.krysalis.antworks.importer.AntletFinder; import org.krysalis.antworks.importer.FinderHelper; + import org.krysalis.depot.update.Artifact; + import org.krysalis.depot.update.ArtifactInstance; + import org.krysalis.depot.update.ArtifactUpdater; + import org.krysalis.depot.update.ArtifactUpdaterFactory; + import org.krysalis.depot.update.Repository; + import org.krysalis.depot.update.UpdateException; + import org.krysalis.depot.update.query.ArtifactQuery; + import org.krysalis.depot.update.query.ArtifactQueryHelper; + import org.krysalis.depot.update.repository.DefaultRepository; + import org.krysalis.depot.update.repository.RepositorySet; + import org.krysalis.version.Version; + import org.krysalis.version.VersionManager; /** |
From: Nick C. <ch...@us...> - 2004-12-08 09:19:32
|
Update of /cvsroot/antworks/importer/src/java/org/krysalis/antworks/importer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29702/src/java/org/krysalis/antworks/importer Modified Files: FinderHelper.java Log Message: Copied from the apache incubator. Index: FinderHelper.java =================================================================== RCS file: /cvsroot/antworks/importer/src/java/org/krysalis/antworks/importer/FinderHelper.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** FinderHelper.java 3 Aug 2004 17:50:46 -0000 1.4 --- FinderHelper.java 8 Dec 2004 09:19:23 -0000 1.5 *************** *** 20,24 **** import java.io.File; ! import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Location; import org.apache.tools.ant.Project; --- 20,24 ---- import java.io.File; ! import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Location; import org.apache.tools.ant.Project; |
From: Nick C. <ch...@us...> - 2004-11-04 07:42:24
|
Update of /cvsroot/antworks/importer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24811 Modified Files: build-bootstrap.xml Log Message: 1.4 level source. Index: build-bootstrap.xml =================================================================== RCS file: /cvsroot/antworks/importer/build-bootstrap.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** build-bootstrap.xml 1 Aug 2004 08:34:26 -0000 1.15 --- build-bootstrap.xml 4 Nov 2004 07:42:13 -0000 1.16 *************** *** 41,45 **** <!-- NEEDED? delete file="${lib.dir}/antworks-importer.jar" failonerror="false" / --> <mkdir dir="${classes.dir}" /> ! <javac srcdir="${src.dir}" destdir="${classes.dir}" debug="true" target="1.2"> <exclude name="org/krysalis/antworks/importer/depot/**" /> <classpath> --- 41,45 ---- <!-- NEEDED? delete file="${lib.dir}/antworks-importer.jar" failonerror="false" / --> <mkdir dir="${classes.dir}" /> ! <javac srcdir="${src.dir}" destdir="${classes.dir}" debug="true" target="1.4" source="1.4"> <exclude name="org/krysalis/antworks/importer/depot/**" /> <classpath> |
From: Nick C. <ch...@us...> - 2004-10-05 18:27:20
|
Update of /cvsroot/antworks/antlets/junit/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7852/junit/src Modified Files: xbuild.xml Log Message: Added junit.test.failed method. Index: xbuild.xml =================================================================== RCS file: /cvsroot/antworks/antlets/junit/src/xbuild.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** xbuild.xml 4 Jun 2004 14:21:36 -0000 1.7 --- xbuild.xml 5 Oct 2004 18:27:03 -0000 1.8 *************** *** 24,33 **** <dirname property="junit-antlet:dir" file="${ant.file.junit.antlet}" /> ! <property name="junit-antlet:build.dir" value="${project.build.dir}/junit" /> ! <property name="junit-antlet:docs.dir" value="${forrest.antlet.ctxt.dir}/content/junit" /> <property name="junit-antlet:work.dir" value="${work.dir}/junit" /> ! <available property="junit-antlet:TestCase-available" classname="junit.framework.TestCase" /> --- 24,36 ---- <dirname property="junit-antlet:dir" file="${ant.file.junit.antlet}" /> ! <property name="junit-antlet:build.dir" ! value="${project.build.dir}/junit" /> ! <property name="junit-antlet:docs.dir" ! value="${forrest.antlet.ctxt.dir}/content/junit" /> <property name="junit-antlet:work.dir" value="${work.dir}/junit" /> ! <available property="junit-antlet:TestCase-available" ! classname="junit.framework.TestCase" /> *************** *** 37,49 **** Sets the properties for this antlet ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' --> ! <target name="-junit.init" depends="-junit.getjar" description="Sets the properties for this antlet"> </target> <target name="-junit.getjar" unless="junit-antlet:TestCase-available"> <property name="junit-antlet:junitjar" value="junit-3.8.1.jar" /> ! <property name="junit-antlet:repository" value="http://www.ibiblio.org/maven/junit/jars/" /> ! <get src="${junit-antlet:repository}${junit-antlet:junitjar}" ! dest="${ant.home}/lib/${junit-antlet:junitjar}" ignoreerrors="true" verbose="true" --- 40,55 ---- Sets the properties for this antlet ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' --> ! <target name="-junit.init" ! depends="-junit.getjar" ! description="Sets the properties for this antlet"> </target> <target name="-junit.getjar" unless="junit-antlet:TestCase-available"> <property name="junit-antlet:junitjar" value="junit-3.8.1.jar" /> ! <property name="junit-antlet:repository" ! value="http://www.ibiblio.org/maven/junit/jars/" /> ! <mkdir dir="${user.home}/.ant/lib/" /> <get src="${junit-antlet:repository}${junit-antlet:junitjar}" ! dest="${user.home}/.ant/lib/${junit-antlet:junitjar}" ignoreerrors="true" verbose="true" *************** *** 56,60 **** ******************************************************************************* * ! * ${junit-antlet:junitjar} was downloaded to ${ant.home}/lib/ * ******************************************************************************* --- 62,66 ---- ******************************************************************************* * ! * ${junit-antlet:junitjar} was downloaded to ${user.home}/.ant/lib/ * ******************************************************************************* *************** *** 71,75 **** that were set by the properties.xml of the java Antwork. =================================================================== --> ! <target name="junit.test" description="Perform jUnit tests." depends="-junit.setup, compile"> <!-- Initialising --> --- 77,83 ---- that were set by the properties.xml of the java Antwork. =================================================================== --> ! <target name="junit.test" ! description="Perform jUnit tests." ! depends="-junit.setup, compile"> <!-- Initialising --> *************** *** 104,170 **** ! <condition property="junit-antlet:test.transform.src" value="properties.xml"> <available file="properties.xml" /> </condition> ! <property name="junit-antlet:test.transform.src" value="${junit-antlet:dir}/resources/dummy.xml"/> ! <!-- create build file to be used by junit antlet --> ! <xslt in="${junit-antlet:test.transform.src}" ! out="${junit-antlet:work.dir}/test.xml" ! style="${junit-antlet:dir}/resources/stylesheets/test.xsl" ! force="true"> ! <param name="testcase" expression="${testcase}" /> ! <param name="projectName" expression="${project.name}" /> ! </xslt> ! <ant antfile="${junit-antlet:work.dir}/test.xml" inheritRefs="true" /> ! </target> ! <!-- =================================================================== Results can be found in ${junit-antlet:docs.dir} =================================================================== --> ! <target name="junit.report" ! description="Performs jUnit tests and generates reports" ! depends="-junit.failsafe-test, junit.test"> ! <junitreport todir="${junit-antlet:work.dir}"> ! <fileset dir="${junit-antlet:build.dir}/results"> ! <include name="TEST-*.xml" /> ! </fileset> ! <report format="frames" todir="${junit-antlet:docs.dir}" /> ! </junitreport> ! </target> ! <!-- =================================================================== Removes all directories that were built by this Antwork =================================================================== --> ! <target name="junit.clean" description="Clean up for this antlet." depends="-junit.init"> ! <!-- clean up the directories --> ! <delete dir="${junit-antlet:docs.dir}" /> ! <delete dir="${junit-antlet:build.dir}" /> ! <delete dir="${junit-antlet:work.dir}" /> ! <delete dir="${junit-antlet:build.dir}/results" /> ! <delete dir="${junit-antlet:build.dir}/classes" /> ! </target> ! <!-- '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Initialise jUnit environment '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' --> ! <target name="-junit.setup" depends="-junit.init"> ! <mkdir dir="${junit-antlet:docs.dir}" /> ! <mkdir dir="${junit-antlet:build.dir}" /> ! <mkdir dir="${junit-antlet:work.dir}" /> ! <mkdir dir="${junit-antlet:build.dir}/results" /> ! <mkdir dir="${junit-antlet:build.dir}/classes" /> ! </target> ! <!-- '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Turn off halt-on-failure to perform jUnit tests without failing. Important to enable generating a report on the failed tests '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' --> ! <target name="-junit.failsafe-test"> ! <property name="junit.test.haltonfailure" value="no" /> ! </target> ! </project> --- 112,193 ---- ! <condition property="junit-antlet:test.transform.src" ! value="properties.xml"> <available file="properties.xml" /> </condition> ! <property name="junit-antlet:test.transform.src" ! value="${junit-antlet:dir}/resources/dummy.xml" /> ! <!-- create build file to be used by junit antlet --> ! <xslt in="${junit-antlet:test.transform.src}" ! out="${junit-antlet:work.dir}/test.xml" ! style="${junit-antlet:dir}/resources/stylesheets/test.xsl" ! force="true"> ! <param name="testcase" expression="${testcase}" /> ! <param name="projectName" expression="${project.name}" /> ! </xslt> ! <ant antfile="${junit-antlet:work.dir}/test.xml" inheritRefs="true" /> ! <property file="${junit-antlet:build.dir}/result.properties" /> ! </target> ! <!-- =================================================================== Results can be found in ${junit-antlet:docs.dir} =================================================================== --> ! <target name="junit.report" ! description="Performs jUnit tests and generates reports" ! depends="-junit.failsafe-test, junit.test"> ! <junitreport todir="${junit-antlet:work.dir}"> ! <fileset dir="${junit-antlet:build.dir}/results"> ! <include name="TEST-*.xml" /> ! </fileset> ! <report format="frames" todir="${junit-antlet:docs.dir}" /> ! </junitreport> ! </target> ! <!-- =================================================================== Removes all directories that were built by this Antwork =================================================================== --> ! <target name="junit.clean" ! description="Clean up for this antlet." ! depends="-junit.init"> ! <!-- clean up the directories --> ! <delete dir="${junit-antlet:docs.dir}" /> ! <delete dir="${junit-antlet:build.dir}" /> ! <delete dir="${junit-antlet:work.dir}" /> ! <delete dir="${junit-antlet:build.dir}/results" /> ! <delete dir="${junit-antlet:build.dir}/classes" /> ! </target> ! <!-- '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Initialise jUnit environment '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' --> ! <target name="-junit.setup" depends="-junit.init"> ! <mkdir dir="${junit-antlet:docs.dir}" /> ! <mkdir dir="${junit-antlet:build.dir}" /> ! <mkdir dir="${junit-antlet:work.dir}" /> ! <mkdir dir="${junit-antlet:build.dir}/results" /> ! <mkdir dir="${junit-antlet:build.dir}/classes" /> ! </target> ! <!-- '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Turn off halt-on-failure to perform jUnit tests without failing. Important to enable generating a report on the failed tests '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' --> ! <target name="-junit.failsafe-test"> ! <property name="junit.test.haltonfailure" value="no" /> ! </target> ! ! ! <!-- - - - - - - - - - - - - - - - - - ! target: junit.test.failed If the test fun failed then stop the build. ! - - - - - - - - - - - - - - - - - --> ! <target name="junit.test.failed" if="junit.test.failed"> ! <fail>A JUnit test failed. </fail> ! </target> ! ! ! </project> |
From: Nick C. <ch...@us...> - 2004-10-05 18:27:20
|
Update of /cvsroot/antworks/antlets/junit/src/resources/stylesheets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7852/junit/src/resources/stylesheets Modified Files: test.xsl Log Message: Added junit.test.failed method. Index: test.xsl =================================================================== RCS file: /cvsroot/antworks/antlets/junit/src/resources/stylesheets/test.xsl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** test.xsl 28 Apr 2004 06:32:52 -0000 1.2 --- test.xsl 5 Oct 2004 18:27:04 -0000 1.3 *************** *** 1,86 **** <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> ! ! <xsl:output method = "xml" ! omit-xml-declaration="no" ! indent="yes" /> ! ! <xsl:param name="testcase" /> ! <xsl:param name="projectName" /> ! ! <xsl:template match="/"> ! ! <project default="test" > ! <xsl:attribute name = "name" >junit.antlet-test-<xsl:value-of select="$projectName"/></xsl:attribute> ! ! <description> ! Actually perform the unit tests using JUnit. ! </description> ! ! <!-- =================================================================== --> ! <!-- Tests --> ! <!-- =================================================================== --> ! <target name="test"> ! ! <junit printsummary="yes" fork="yes"> ! <xsl:attribute name = "haltonfailure" >${junit.test.haltonfailure}</xsl:attribute> ! ! <formatter type="xml" /> ! <formatter type="plain" usefile="no"/> ! ! <!-- add sysproperties from properties.xml --> ! <xsl:for-each select = "//junit/antlet/extra/sysproperty"> ! <sysproperty key="{@key}" ! value="{@value}"/> ! </xsl:for-each> ! ! ! <classpath> ! <path > ! <xsl:attribute name = "refid" ><xsl:value-of select="$projectName"/>.classpath</xsl:attribute> ! </path> ! <pathelement> ! <xsl:attribute name="path">${project.build.dir}/classes</xsl:attribute> ! </pathelement> ! <pathelement> ! <xsl:attribute name="location">${junit-antlet:build.dir}/classes</xsl:attribute> ! </pathelement> ! </classpath> ! ! <xsl:choose> ! ! <!-- if we defined a testcase, run that --> ! <xsl:when test="$testcase!=''"> ! <test name=""> ! <xsl:attribute name="name"><xsl:value-of select="$testcase" /></xsl:attribute> ! </test> ! </xsl:when> ! ! <!-- else run all --> ! <xsl:otherwise> ! <batchtest> ! <xsl:attribute name="todir">${junit-antlet:build.dir}/results</xsl:attribute> ! <fileset> ! <xsl:attribute name="dir">${junit-antlet:build.dir}/classes</xsl:attribute> ! <include name="**/test/*TestCase.class"/> ! <include name="**/*Test.class" /> ! <include name="**/*Tests.class" /> ! <include name="**/Test*.class" /> ! <exclude name="**/AllTest.class" /> ! <exclude name="**/*$$*Test.class" /> ! <exclude name="**/*$*.class" /> ! </fileset> ! </batchtest> ! </xsl:otherwise> ! </xsl:choose> ! ! </junit> ! ! </target> ! ! ! </project> ! ! </xsl:template> ! ! </xsl:stylesheet> \ No newline at end of file --- 1,77 ---- <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> ! <xsl:output method="xml" omit-xml-declaration="no" indent="yes"/> ! <xsl:param name="testcase"/> ! <xsl:param name="projectName"/> ! <xsl:template match="/"> ! <project default="test"> ! <xsl:attribute name="name">junit.antlet-test-<xsl:value-of select="$projectName"/> ! </xsl:attribute> ! <description> Actually perform the unit tests using JUnit. </description> ! <!-- =================================================================== --> ! <!-- Tests --> ! <!-- =================================================================== --> ! <target name="test"> ! <junit printsummary="yes" fork="yes" failureproperty="junit.test.failed"> ! <xsl:attribute name="haltonfailure">${junit.test.haltonfailure}</xsl:attribute> ! <formatter type="xml"/> ! <formatter type="plain" usefile="no"/> ! <!-- add sysproperties from properties.xml --> ! <xsl:for-each select="//junit/antlet/extra/sysproperty"> ! <sysproperty key="{@key}" value="{@value}"/> ! </xsl:for-each> ! <classpath> ! <path> ! <xsl:attribute name="refid"> ! <xsl:value-of select="$projectName"/>.classpath</xsl:attribute> ! </path> ! <pathelement> ! <xsl:attribute name="path">${project.build.dir}/classes</xsl:attribute> ! </pathelement> ! <pathelement> ! <xsl:attribute name="location">${junit-antlet:build.dir}/classes</xsl:attribute> ! </pathelement> ! </classpath> ! <xsl:choose> ! <!-- if we defined a testcase, run that --> ! <xsl:when test="$testcase!=''"> ! <test name=""> ! <xsl:attribute name="name"> ! <xsl:value-of select="$testcase"/> ! </xsl:attribute> ! </test> ! </xsl:when> ! <!-- else run all --> ! <xsl:otherwise> ! <batchtest> ! <xsl:attribute name="todir">${junit-antlet:build.dir}/results</xsl:attribute> ! <fileset> ! <xsl:attribute name="dir">${junit-antlet:build.dir}/classes</xsl:attribute> ! <include name="**/test/*TestCase.class"/> ! <include name="**/*Test.class"/> ! <include name="**/*Tests.class"/> ! <include name="**/Test*.class"/> ! <exclude name="**/AllTest.class"/> ! <exclude name="**/*$$*Test.class"/> ! <exclude name="**/*$*.class"/> ! </fileset> ! </batchtest> ! </xsl:otherwise> ! </xsl:choose> ! </junit> ! <condition property="junit.test.property" value="junit.test.failed"> ! <isset property="junit.test.failed"/> ! </condition> ! <condition property="junit.test.property" value="junit.test.passed"> ! <not> ! <isset property="junit.test.failed"/> ! </not> ! </condition> ! <echo> ! <xsl:attribute name="message">${junit.test.property}=true</xsl:attribute> ! <xsl:attribute name="file">${junit-antlet:build.dir}/result.properties</xsl:attribute> ! </echo> ! </target> ! </project> ! </xsl:template> ! </xsl:stylesheet> |
From: Nick C. <ch...@us...> - 2004-09-29 00:07:27
|
Update of /cvsroot/antworks/antlets/apache/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21334/apache/src Modified Files: .cvsignore Log Message: Ignore generated files. Index: .cvsignore =================================================================== RCS file: /cvsroot/antworks/antlets/apache/src/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** .cvsignore 18 Mar 2004 07:31:18 -0000 1.1 --- .cvsignore 29 Sep 2004 00:07:17 -0000 1.2 *************** *** 1 **** --- 1,2 ---- usage.xml + antletdoc.xml |
From: Nick C. <ch...@us...> - 2004-09-28 17:46:04
|
Update of /cvsroot/antworks/antlets/init/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv396/init/src Modified Files: xbuild.xml Log Message: Safer handling of the temp dir. Index: xbuild.xml =================================================================== RCS file: /cvsroot/antworks/antlets/init/src/xbuild.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** xbuild.xml 14 Jul 2004 20:49:47 -0000 1.8 --- xbuild.xml 28 Sep 2004 17:45:41 -0000 1.9 *************** *** 80,84 **** <dirname property="build.dir" file="./build/build.xml"/> <property name="work.dir" value="${build.dir}/work"/> ! <property name="temp.dir" value="${env.TEMP}/${project.name}" /> <!-- base antworks dirs --> --- 80,84 ---- <dirname property="build.dir" file="./build/build.xml"/> <property name="work.dir" value="${build.dir}/work"/> ! <property name="temp.dir" value="${java.io.tmpdir}/${user.name}/${project.name}" /> <!-- base antworks dirs --> *************** *** 104,108 **** <mkdir dir="${work.dir}"/> <mkdir dir="${project.work.dir}"/> ! <mkdir dir="${temp.dir}"/> <echo > --- 104,108 ---- <mkdir dir="${work.dir}"/> <mkdir dir="${project.work.dir}"/> ! <echo > |
From: Nick C. <ch...@us...> - 2004-08-17 07:00:48
|
Update of /cvsroot/antworks/antlets/version/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22120/version/src Modified Files: xbuild.xml Log Message: No more overWrite field. Index: xbuild.xml =================================================================== RCS file: /cvsroot/antworks/antlets/version/src/xbuild.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** xbuild.xml 22 Mar 2004 01:57:57 -0000 1.2 --- xbuild.xml 17 Aug 2004 06:58:33 -0000 1.3 *************** *** 27,31 **** <description> Stamp a project with a version identifier/version data/attributes. </description> ! <version-stamp dest="${project.src.dir}" overWrite="true"> <versionMarker versionId="${project.package}" version="${project.version}"> <defaultAttributes/> --- 27,31 ---- <description> Stamp a project with a version identifier/version data/attributes. </description> ! <version-stamp dest="${project.src.dir}" > <versionMarker versionId="${project.package}" version="${project.version}"> <defaultAttributes/> |
From: Nick C. <ch...@us...> - 2004-08-16 05:11:59
|
Update of /cvsroot/antworks/antlets/scripts/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31076/scripts/src Modified Files: xbuild.xml Log Message: Format Index: xbuild.xml =================================================================== RCS file: /cvsroot/antworks/antlets/scripts/src/xbuild.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** xbuild.xml 16 Aug 2004 05:11:16 -0000 1.4 --- xbuild.xml 16 Aug 2004 05:11:50 -0000 1.5 *************** *** 59,79 **** - - - - - <!-- =================================================================== --> ! <!-- Make a execution script for a given class --> <!-- =================================================================== --> ! <target name="make-main-scripts" > <property name="scripts.antlet.script.name" value="Main" /> <property name="scripts.antlet.class" value="mypackage.${scripts.antlet.script.name}" /> <property name="scripts.antlet.extra.classpath" value="" /> <echo level="warning">DEPRECATED: use the main-script macro instead.</echo> - <main-script name="${scripts.antlet.script.name}" class="${scripts.antlet.class}" extra.classpath="${scripts.antlet.extra.classpath}" /> - - </target> --- 59,71 ---- <!-- =================================================================== --> ! <!-- Make a execution script for a given class --> <!-- =================================================================== --> ! <target name="make-main-scripts"> <property name="scripts.antlet.script.name" value="Main" /> <property name="scripts.antlet.class" value="mypackage.${scripts.antlet.script.name}" /> <property name="scripts.antlet.extra.classpath" value="" /> <echo level="warning">DEPRECATED: use the main-script macro instead.</echo> <main-script name="${scripts.antlet.script.name}" class="${scripts.antlet.class}" extra.classpath="${scripts.antlet.extra.classpath}" /> </target> |
From: Nick C. <ch...@us...> - 2004-08-16 05:11:25
|
Update of /cvsroot/antworks/antlets/scripts/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30988/scripts/src Modified Files: xbuild.xml Log Message: Deprecate the target. Index: xbuild.xml =================================================================== RCS file: /cvsroot/antworks/antlets/scripts/src/xbuild.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** xbuild.xml 16 Aug 2004 05:08:43 -0000 1.3 --- xbuild.xml 16 Aug 2004 05:11:16 -0000 1.4 *************** *** 67,74 **** <!-- Make a execution script for a given class --> <!-- =================================================================== --> ! <target name="make-main-scripts" description="Make execution script for a given java class"> <property name="scripts.antlet.script.name" value="Main" /> <property name="scripts.antlet.class" value="mypackage.${scripts.antlet.script.name}" /> <property name="scripts.antlet.extra.classpath" value="" /> <main-script name="${scripts.antlet.script.name}" class="${scripts.antlet.class}" extra.classpath="${scripts.antlet.extra.classpath}" /> --- 67,75 ---- <!-- Make a execution script for a given class --> <!-- =================================================================== --> ! <target name="make-main-scripts" > <property name="scripts.antlet.script.name" value="Main" /> <property name="scripts.antlet.class" value="mypackage.${scripts.antlet.script.name}" /> <property name="scripts.antlet.extra.classpath" value="" /> + <echo level="warning">DEPRECATED: use the main-script macro instead.</echo> <main-script name="${scripts.antlet.script.name}" class="${scripts.antlet.class}" extra.classpath="${scripts.antlet.extra.classpath}" /> |
From: Nick C. <ch...@us...> - 2004-08-16 05:10:15
|
Update of /cvsroot/antworks/antlets/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30773/scripts Modified Files: build.xml Log Message: Format Index: build.xml =================================================================== RCS file: /cvsroot/antworks/antlets/scripts/build.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** build.xml 11 Aug 2004 07:01:27 -0000 1.6 --- build.xml 16 Aug 2004 05:10:07 -0000 1.7 *************** *** 5,23 **** <description>Bootstraps the antlet maker</description> ! <property name="project.name" value="scripts"/> ! <property name="project.version" value="0.1"/> ! <!-- set these properties before the import --> ! <property name="makeantlet.antlet.name" value="scripts"/> ! <property name="makeantlet.antlet.src.dir" value="${basedir}/src"/> ! <property name="build.dir" value="${basedir}/build"/> - <typedef resource="org/krysalis/antworks/importer/antlib.xml" classpath="${user.home}/.antworks/lib/antworks-importer.jar"/> - <importer name="init-0.1"/> - <importer name="makeantlet-0.3" /> - - </project> --- 5,23 ---- <description>Bootstraps the antlet maker</description> ! <property name="project.name" value="scripts" /> ! <property name="project.version" value="0.1" /> ! <!-- set these properties before the import --> ! <property name="makeantlet.antlet.name" value="scripts" /> ! <property name="makeantlet.antlet.src.dir" value="${basedir}/src" /> ! <property name="build.dir" value="${basedir}/build" /> ! ! ! <typedef resource="org/krysalis/antworks/importer/antlib.xml" classpath="${user.home}/.antworks/lib/antworks-importer.jar" /> ! <importer name="init-0.1" /> ! <importer name="makeantlet-0.3" /> </project> |
From: Nick C. <ch...@us...> - 2004-08-16 05:09:13
|
Update of /cvsroot/antworks/antlets/scripts/src/resources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30593/scripts/src/resources Modified Files: lcp.bat main.sh.template main.bat.template Log Message: *** keyword substitution change *** Index: main.bat.template =================================================================== RCS file: /cvsroot/antworks/antlets/scripts/src/resources/main.bat.template,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** main.bat.template 18 Mar 2004 07:31:15 -0000 1.1 --- main.bat.template 16 Aug 2004 05:09:03 -0000 1.2 *************** *** 1,90 **** ! @echo off ! ! REM Copyright (c) 2001-2002 The Apache Software Foundation. All rights ! REM reserved. ! ! if exist "%HOME%\@project@rc_pre.bat" call "%HOME%\@project@rc_pre.bat" ! ! if "%OS%"=="Windows_NT" @setlocal ! ! rem %~dp0 is expanded pathname of the current script under NT ! set DEFAULT_@PROJECT@_HOME=%~dp0.. ! ! if "%@PROJECT@_HOME%"=="" set @PROJECT@_HOME=%DEFAULT_@PROJECT@_HOME% ! set DEFAULT_@PROJECT@_HOME= ! ! rem Slurp the command line arguments. This loop allows for an unlimited number ! rem of arguments (up to the command line limit, anyway). ! set @PROJECT@_CMD_LINE_ARGS=%1 ! if ""%1""=="""" goto doneStart ! shift ! :setupArgs ! if ""%1""=="""" goto doneStart ! set @PROJECT@_CMD_LINE_ARGS=%@PROJECT@_CMD_LINE_ARGS% %1 ! shift ! goto setupArgs ! rem This label provides a place for the argument list loop to break out ! rem and for NT handling to skip to. ! :doneStart ! ! rem find @PROJECT@_HOME if it does not exist due to either an invalid value passed ! rem by the user or the %0 problem on Windows 9x ! if exist "%@PROJECT@_HOME%" goto checkJava ! ! rem check for @project@ in Program Files on system drive ! if not exist "%SystemDrive%\Program Files\@project@" goto checkSystemDrive ! set @PROJECT@_HOME=%SystemDrive%\Program Files\@project@ ! goto checkJava ! ! :checkSystemDrive ! rem check for @project@ in root directory of system drive ! if not exist %SystemDrive%\@project@\nul goto checkCDrive ! set @PROJECT@_HOME=%SystemDrive%\@project@ ! goto checkJava ! ! :checkCDrive ! rem check for @project@ in C:\@project@ for Win9X users ! if not exist C:\@project@\nul goto no@project@Home ! set @PROJECT@_HOME=C:\@project@ ! goto checkJava ! ! :no@project@Home ! echo @PROJECT@_HOME is set incorrectly or @project@ could not be located. Please set @PROJECT@_HOME. ! goto end ! ! :checkJava ! set LOCALCLASSPATH=%CLASSPATH% ! for %%i in ("%@PROJECT@_HOME%\lib\*.jar") do call "%@PROJECT@_HOME%\bin\lcp.bat" %%i ! ! if "%JAVA_HOME%" == "" goto noJavaHome ! if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome ! set _JAVACMD=%JAVA_HOME%\bin\java.exe ! if exist "%JAVA_HOME%\lib\tools.jar" call "%@PROJECT@_HOME%\bin\lcp.bat" %JAVA_HOME%\lib\tools.jar ! if exist "%JAVA_HOME%\lib\classes.zip" call "%@PROJECT@_HOME%\bin\lcp.bat" %JAVA_HOME%\lib\classes.zip ! set LOCALCLASSPATH=@EXTCLASSPATH@;%@PROJECT@_HOME%\@PROJECT_JAR@;%LOCALCLASSPATH% ! goto runproject ! ! :noJavaHome ! set _JAVACMD=java.exe ! echo. ! echo Warning: JAVA_HOME environment variable is not set. ! echo If build fails because sun.* classes could not be found ! echo you will need to set the JAVA_HOME environment variable ! echo to the installation directory of java. ! echo. ! ! ! :runproject ! "%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-D@project@.home=%@PROJECT@_HOME%" %@PROJECT@_OPTS% @MAIN@ ! ! ! :end ! set LOCALCLASSPATH= ! set _JAVACMD= ! set @PROJECT@_CMD_LINE_ARGS= ! ! if "%OS%"=="Windows_NT" @endlocal ! ! :mainEnd ! if exist "%HOME%\@project@rc_post.bat" call "%HOME%\@project@rc_post.bat" ! --- 1,90 ---- ! @echo off ! ! REM Copyright (c) 2001-2002 The Apache Software Foundation. All rights ! REM reserved. ! ! if exist "%HOME%\@project@rc_pre.bat" call "%HOME%\@project@rc_pre.bat" ! ! if "%OS%"=="Windows_NT" @setlocal ! ! rem %~dp0 is expanded pathname of the current script under NT ! set DEFAULT_@PROJECT@_HOME=%~dp0.. ! ! if "%@PROJECT@_HOME%"=="" set @PROJECT@_HOME=%DEFAULT_@PROJECT@_HOME% ! set DEFAULT_@PROJECT@_HOME= ! ! rem Slurp the command line arguments. This loop allows for an unlimited number ! rem of arguments (up to the command line limit, anyway). ! set @PROJECT@_CMD_LINE_ARGS=%1 ! if ""%1""=="""" goto doneStart ! shift ! :setupArgs ! if ""%1""=="""" goto doneStart ! set @PROJECT@_CMD_LINE_ARGS=%@PROJECT@_CMD_LINE_ARGS% %1 ! shift ! goto setupArgs ! rem This label provides a place for the argument list loop to break out ! rem and for NT handling to skip to. ! :doneStart ! ! rem find @PROJECT@_HOME if it does not exist due to either an invalid value passed ! rem by the user or the %0 problem on Windows 9x ! if exist "%@PROJECT@_HOME%" goto checkJava ! ! rem check for @project@ in Program Files on system drive ! if not exist "%SystemDrive%\Program Files\@project@" goto checkSystemDrive ! set @PROJECT@_HOME=%SystemDrive%\Program Files\@project@ ! goto checkJava ! ! :checkSystemDrive ! rem check for @project@ in root directory of system drive ! if not exist %SystemDrive%\@project@\nul goto checkCDrive ! set @PROJECT@_HOME=%SystemDrive%\@project@ ! goto checkJava ! ! :checkCDrive ! rem check for @project@ in C:\@project@ for Win9X users ! if not exist C:\@project@\nul goto no@project@Home ! set @PROJECT@_HOME=C:\@project@ ! goto checkJava ! ! :no@project@Home ! echo @PROJECT@_HOME is set incorrectly or @project@ could not be located. Please set @PROJECT@_HOME. ! goto end ! ! :checkJava ! set LOCALCLASSPATH=%CLASSPATH% ! for %%i in ("%@PROJECT@_HOME%\lib\*.jar") do call "%@PROJECT@_HOME%\bin\lcp.bat" %%i ! ! if "%JAVA_HOME%" == "" goto noJavaHome ! if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome ! set _JAVACMD=%JAVA_HOME%\bin\java.exe ! if exist "%JAVA_HOME%\lib\tools.jar" call "%@PROJECT@_HOME%\bin\lcp.bat" %JAVA_HOME%\lib\tools.jar ! if exist "%JAVA_HOME%\lib\classes.zip" call "%@PROJECT@_HOME%\bin\lcp.bat" %JAVA_HOME%\lib\classes.zip ! set LOCALCLASSPATH=@EXTCLASSPATH@;%@PROJECT@_HOME%\@PROJECT_JAR@;%LOCALCLASSPATH% ! goto runproject ! ! :noJavaHome ! set _JAVACMD=java.exe ! echo. ! echo Warning: JAVA_HOME environment variable is not set. ! echo If build fails because sun.* classes could not be found ! echo you will need to set the JAVA_HOME environment variable ! echo to the installation directory of java. ! echo. ! ! ! :runproject ! "%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-D@project@.home=%@PROJECT@_HOME%" %@PROJECT@_OPTS% @MAIN@ ! ! ! :end ! set LOCALCLASSPATH= ! set _JAVACMD= ! set @PROJECT@_CMD_LINE_ARGS= ! ! if "%OS%"=="Windows_NT" @endlocal ! ! :mainEnd ! if exist "%HOME%\@project@rc_post.bat" call "%HOME%\@project@rc_post.bat" ! Index: main.sh.template =================================================================== RCS file: /cvsroot/antworks/antlets/scripts/src/resources/main.sh.template,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** main.sh.template 18 Mar 2004 07:31:15 -0000 1.1 --- main.sh.template 16 Aug 2004 05:09:03 -0000 1.2 *************** *** 1,180 **** ! #! /bin/sh ! ! # Autogenerated script to execute the java class ! # @MAIN@ ! ! # load system-wide @project@ configuration ! if [ -f "/etc/@project@.conf" ] ; then ! . /etc/@project@.conf ! fi ! ! # provide default values for people who don't use RPMs ! if [ -z "$rpm_mode" ] ; then ! rpm_mode=false; ! fi ! if [ -z "$usejikes" ] ; then ! usejikes=false; ! fi ! ! # load user @project@ configuration ! if [ -f "$HOME/.@project@rc" ] ; then ! . $HOME/.@project@rc ! fi ! ! # OS specific support. $var _must_ be set to either true or false. ! cygwin=false; ! darwin=false; ! case "`uname`" in ! CYGWIN*) cygwin=true ;; ! Darwin*) darwin=true ! if [ -z "$JAVA_HOME" ] ; then ! JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home ! fi ! ;; ! esac ! ! if [ -z "${@PROJECT@_HOME}" ] ; then ! # try to find @PROJECT@ ! if [ -d /opt/@project@ ] ; then ! @PROJECT@_HOME=/opt/@project@ ! fi ! ! if [ -d "${HOME}/opt/@project@" ] ; then ! @PROJECT@_HOME="${HOME}/opt/@project@" ! fi ! ! ## resolve links - $0 may be a link to @project@'s home ! PRG="$0" ! progname=`basename "$0"` ! ! # need this for relative symlinks ! while [ -h "$PRG" ] ; do ! ls=`ls -ld "$PRG"` ! link=`expr "$ls" : '.*-> \(.*\)$'` ! if expr "$link" : '.*/.*' > /dev/null; then ! PRG="$link" ! else ! PRG=`dirname "$PRG"`"/$link" ! fi ! done ! ! @PROJECT@_HOME=`dirname "$PRG"`/.. ! ! # make it fully qualified ! @PROJECT@_HOME=`cd "${@PROJECT@_HOME}" && pwd` ! ! fi ! ! # For Cygwin, ensure paths are in UNIX format before anything is touched ! if $cygwin ; then ! [ -n "${@PROJECT@_HOME}" ] && ! @PROJECT@_HOME=`cygpath --unix "${@PROJECT@_HOME}"` ! [ -n "$JAVA_HOME" ] && ! JAVA_HOME=`cygpath --unix "$JAVA_HOME"` ! [ -n "$CLASSPATH" ] && ! CLASSPATH=`cygpath --path --unix "$CLASSPATH"` ! fi ! ! # set @PROJECT@_LIB location ! @PROJECT@_LIB="${@PROJECT@_HOME}/lib" ! ! if [ -z "$JAVACMD" ] ; then ! if [ -n "$JAVA_HOME" ] ; then ! if [ -x "$JAVA_HOME/jre/sh/java" ] ; then ! # IBM's JDK on AIX uses strange locations for the executables ! JAVACMD="$JAVA_HOME/jre/sh/java" ! else ! JAVACMD="$JAVA_HOME/bin/java" ! fi ! else ! JAVACMD=java ! fi ! fi ! ! if [ ! -x "$JAVACMD" ] ; then ! echo "Error: JAVA_HOME is not defined correctly." ! echo " We cannot execute $JAVACMD" ! exit 1 ! fi ! ! if [ -n "$CLASSPATH" ] ; then ! LOCALCLASSPATH="$CLASSPATH" ! fi ! ! # in rpm_mode get @project@/optional/xml parser&api from JAVALIBDIR ! if $rpm_mode; then ! JAVALIBDIR="/usr/share/java" ! for i in @project@ @project@-optional jaxp_parser xml_apis ! do ! if [ -z "$LOCALCLASSPATH" ] ; then ! LOCALCLASSPATH="$JAVALIBDIR/$i.jar" ! else ! LOCALCLASSPATH="$JAVALIBDIR/$i.jar:$LOCALCLASSPATH" ! fi ! done ! ! # in rpm mode @project@/lib is in /usr/share/java/@project@ ! @PROJECT@_LIB="${JAVALIBDIR}/@project@" ! ! fi ! ! # add in the dependency .jar files in non-RPM mode (the default) ! for i in "${@PROJECT@_LIB}"/*.jar ! do ! # if the directory is empty, then it will return the input string ! # this is stupid, so case for it ! if [ -f "$i" ] ; then ! if [ -z "$LOCALCLASSPATH" ] ; then ! LOCALCLASSPATH="$i" ! else ! LOCALCLASSPATH="$i:$LOCALCLASSPATH" ! fi ! fi ! done ! ! if [ -n "$JAVA_HOME" ] ; then ! if [ -f "$JAVA_HOME/lib/tools.jar" ] ; then ! LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/tools.jar" ! fi ! ! if [ -f "$JAVA_HOME/lib/classes.zip" ] ; then ! LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/classes.zip" ! fi ! ! # OSX hack to make @project@ work with jikes ! if $darwin ; then ! OSXHACK="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes" ! if [ -d "${OSXHACK}" ] ; then ! for i in "${OSXHACK}"/*.jar ! do ! JIKESPATH="$JIKESPATH:$i" ! done ! fi ! fi ! else ! echo "Warning: JAVA_HOME environment variable is not set." ! echo " If build fails because sun.* classes could not be found" ! echo " you will need to set the JAVA_HOME environment variable" ! echo " to the installation directory of java." ! fi ! #add the Project Jar ! LOCALCLASSPATH=$LOCALCLASSPATH:${@PROJECT@_HOME}/@PROJECT_JAR@ ! # add the extra classpath ! LOCALCLASSPATH=$LOCALCLASSPATH:@EXTCLASSPATH@ ! ! # For Cygwin, switch paths to Windows format before running java ! if $cygwin; then ! @PROJECT@_HOME=`cygpath --path --windows "${@PROJECT@_HOME}"` ! JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` ! CLASSPATH=`cygpath --path --windows "$CLASSPATH"` ! LOCALCLASSPATH=`cygpath --path --windows "$LOCALCLASSPATH"` ! CYGHOME=`cygpath --path --windows "$HOME"` ! fi ! ! if [ -n "$CYGHOME" ]; then ! exec "$JAVACMD" -classpath "$LOCALCLASSPATH" -D@project@.home="${@PROJECT@_HOME}" -Dcygwin.user.home="$CYGHOME" ${@PROJECT@_OPTS} @MAIN@ ${@PROJECT@_ARGS} "$@" ! ! else ! exec "$JAVACMD" -classpath "$LOCALCLASSPATH" -D@project@.home="${@PROJECT@_HOME}" ${@PROJECT@_OPTS} @MAIN@ ${@PROJECT@_ARGS} "$@" ! ! fi --- 1,180 ---- ! #! /bin/sh ! ! # Autogenerated script to execute the java class ! # @MAIN@ ! ! # load system-wide @project@ configuration ! if [ -f "/etc/@project@.conf" ] ; then ! . /etc/@project@.conf ! fi ! ! # provide default values for people who don't use RPMs ! if [ -z "$rpm_mode" ] ; then ! rpm_mode=false; ! fi ! if [ -z "$usejikes" ] ; then ! usejikes=false; ! fi ! ! # load user @project@ configuration ! if [ -f "$HOME/.@project@rc" ] ; then ! . $HOME/.@project@rc ! fi ! ! # OS specific support. $var _must_ be set to either true or false. ! cygwin=false; ! darwin=false; ! case "`uname`" in ! CYGWIN*) cygwin=true ;; ! Darwin*) darwin=true ! if [ -z "$JAVA_HOME" ] ; then ! JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home ! fi ! ;; ! esac ! ! if [ -z "${@PROJECT@_HOME}" ] ; then ! # try to find @PROJECT@ ! if [ -d /opt/@project@ ] ; then ! @PROJECT@_HOME=/opt/@project@ ! fi ! ! if [ -d "${HOME}/opt/@project@" ] ; then ! @PROJECT@_HOME="${HOME}/opt/@project@" ! fi ! ! ## resolve links - $0 may be a link to @project@'s home ! PRG="$0" ! progname=`basename "$0"` ! ! # need this for relative symlinks ! while [ -h "$PRG" ] ; do ! ls=`ls -ld "$PRG"` ! link=`expr "$ls" : '.*-> \(.*\)$'` ! if expr "$link" : '.*/.*' > /dev/null; then ! PRG="$link" ! else ! PRG=`dirname "$PRG"`"/$link" ! fi ! done ! ! @PROJECT@_HOME=`dirname "$PRG"`/.. ! ! # make it fully qualified ! @PROJECT@_HOME=`cd "${@PROJECT@_HOME}" && pwd` ! ! fi ! ! # For Cygwin, ensure paths are in UNIX format before anything is touched ! if $cygwin ; then ! [ -n "${@PROJECT@_HOME}" ] && ! @PROJECT@_HOME=`cygpath --unix "${@PROJECT@_HOME}"` ! [ -n "$JAVA_HOME" ] && ! JAVA_HOME=`cygpath --unix "$JAVA_HOME"` ! [ -n "$CLASSPATH" ] && ! CLASSPATH=`cygpath --path --unix "$CLASSPATH"` ! fi ! ! # set @PROJECT@_LIB location ! @PROJECT@_LIB="${@PROJECT@_HOME}/lib" ! ! if [ -z "$JAVACMD" ] ; then ! if [ -n "$JAVA_HOME" ] ; then ! if [ -x "$JAVA_HOME/jre/sh/java" ] ; then ! # IBM's JDK on AIX uses strange locations for the executables ! JAVACMD="$JAVA_HOME/jre/sh/java" ! else ! JAVACMD="$JAVA_HOME/bin/java" ! fi ! else ! JAVACMD=java ! fi ! fi ! ! if [ ! -x "$JAVACMD" ] ; then ! echo "Error: JAVA_HOME is not defined correctly." ! echo " We cannot execute $JAVACMD" ! exit 1 ! fi ! ! if [ -n "$CLASSPATH" ] ; then ! LOCALCLASSPATH="$CLASSPATH" ! fi ! ! # in rpm_mode get @project@/optional/xml parser&api from JAVALIBDIR ! if $rpm_mode; then ! JAVALIBDIR="/usr/share/java" ! for i in @project@ @project@-optional jaxp_parser xml_apis ! do ! if [ -z "$LOCALCLASSPATH" ] ; then ! LOCALCLASSPATH="$JAVALIBDIR/$i.jar" ! else ! LOCALCLASSPATH="$JAVALIBDIR/$i.jar:$LOCALCLASSPATH" ! fi ! done ! ! # in rpm mode @project@/lib is in /usr/share/java/@project@ ! @PROJECT@_LIB="${JAVALIBDIR}/@project@" ! ! fi ! ! # add in the dependency .jar files in non-RPM mode (the default) ! for i in "${@PROJECT@_LIB}"/*.jar ! do ! # if the directory is empty, then it will return the input string ! # this is stupid, so case for it ! if [ -f "$i" ] ; then ! if [ -z "$LOCALCLASSPATH" ] ; then ! LOCALCLASSPATH="$i" ! else ! LOCALCLASSPATH="$i:$LOCALCLASSPATH" ! fi ! fi ! done ! ! if [ -n "$JAVA_HOME" ] ; then ! if [ -f "$JAVA_HOME/lib/tools.jar" ] ; then ! LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/tools.jar" ! fi ! ! if [ -f "$JAVA_HOME/lib/classes.zip" ] ; then ! LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/classes.zip" ! fi ! ! # OSX hack to make @project@ work with jikes ! if $darwin ; then ! OSXHACK="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes" ! if [ -d "${OSXHACK}" ] ; then ! for i in "${OSXHACK}"/*.jar ! do ! JIKESPATH="$JIKESPATH:$i" ! done ! fi ! fi ! else ! echo "Warning: JAVA_HOME environment variable is not set." ! echo " If build fails because sun.* classes could not be found" ! echo " you will need to set the JAVA_HOME environment variable" ! echo " to the installation directory of java." ! fi ! #add the Project Jar ! LOCALCLASSPATH=$LOCALCLASSPATH:${@PROJECT@_HOME}/@PROJECT_JAR@ ! # add the extra classpath ! LOCALCLASSPATH=$LOCALCLASSPATH:@EXTCLASSPATH@ ! ! # For Cygwin, switch paths to Windows format before running java ! if $cygwin; then ! @PROJECT@_HOME=`cygpath --path --windows "${@PROJECT@_HOME}"` ! JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` ! CLASSPATH=`cygpath --path --windows "$CLASSPATH"` ! LOCALCLASSPATH=`cygpath --path --windows "$LOCALCLASSPATH"` ! CYGHOME=`cygpath --path --windows "$HOME"` ! fi ! ! if [ -n "$CYGHOME" ]; then ! exec "$JAVACMD" -classpath "$LOCALCLASSPATH" -D@project@.home="${@PROJECT@_HOME}" -Dcygwin.user.home="$CYGHOME" ${@PROJECT@_OPTS} @MAIN@ ${@PROJECT@_ARGS} "$@" ! ! else ! exec "$JAVACMD" -classpath "$LOCALCLASSPATH" -D@project@.home="${@PROJECT@_HOME}" ${@PROJECT@_OPTS} @MAIN@ ${@PROJECT@_ARGS} "$@" ! ! fi Index: lcp.bat =================================================================== RCS file: /cvsroot/antworks/antlets/scripts/src/resources/lcp.bat,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lcp.bat 18 Mar 2004 07:31:15 -0000 1.1 --- lcp.bat 16 Aug 2004 05:09:03 -0000 1.2 *************** *** 1,16 **** ! REM Copyright (c) 2001-2002 The Apache Software Foundation. All rights ! REM reserved. ! ! set _CLASSPATHCOMPONENT=%1 ! if ""%1""=="""" goto gotAllArgs ! shift ! ! :argCheck ! if ""%1""=="""" goto gotAllArgs ! set _CLASSPATHCOMPONENT=%_CLASSPATHCOMPONENT% %1 ! shift ! goto argCheck ! ! :gotAllArgs ! set LOCALCLASSPATH=%_CLASSPATHCOMPONENT%;%LOCALCLASSPATH% ! --- 1,16 ---- ! REM Copyright (c) 2001-2002 The Apache Software Foundation. All rights ! REM reserved. ! ! set _CLASSPATHCOMPONENT=%1 ! if ""%1""=="""" goto gotAllArgs ! shift ! ! :argCheck ! if ""%1""=="""" goto gotAllArgs ! set _CLASSPATHCOMPONENT=%_CLASSPATHCOMPONENT% %1 ! shift ! goto argCheck ! ! :gotAllArgs ! set LOCALCLASSPATH=%_CLASSPATHCOMPONENT%;%LOCALCLASSPATH% ! |
From: Nick C. <ch...@us...> - 2004-08-16 05:08:52
|
Update of /cvsroot/antworks/antlets/scripts/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30523/scripts/src Modified Files: xbuild.xml Log Message: Use macrodef. Index: xbuild.xml =================================================================== RCS file: /cvsroot/antworks/antlets/scripts/src/xbuild.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** xbuild.xml 22 Mar 2004 01:57:57 -0000 1.2 --- xbuild.xml 16 Aug 2004 05:08:43 -0000 1.3 *************** *** 1,6 **** <?xml version="1.0"?> <!-- $Header$ --> ! <project default="version-stamp" name="scripts.antlet"> ! <description> Generate a script to execute a given java class. Set these parameters as needed: --- 1,6 ---- <?xml version="1.0"?> <!-- $Header$ --> ! <project default="make-main-scripts" name="scripts.antlet"> ! <description> Generate a script to execute a given java class. Set these parameters as needed: *************** *** 9,68 **** scripts.antlet.extra.classpath </description> ! <import file="usage.xml"/> ! ! <!-- Antlet Specific Properties --> ! <dirname property="scripts.antlet.dir" file="${ant.file.scripts.antlet}"/> ! <property name="scripts-antlet:work.dir" ! value="${project.build.dir}/work"/> ! - ! ! <!-- =================================================================== --> ! <!-- Make a execution script for a given class --> ! <!-- =================================================================== --> ! <target name="make-main-scripts" description="Make execution script for a given java class"> ! ! <property name="scripts.antlet.script.name" value="Main"/> ! <property name="scripts.antlet.class" value="mypackage.${scripts.antlet.script.name}"/> ! <property name="scripts.antlet.extra.classpath" value=""/> ! <mkdir dir="${java.antlet:dist.bin.dir}/bin"/> ! <!-- Make sh script --> ! <copy file="${scripts.antlet.dir}/resources/main.sh.template" ! tofile="${java.antlet:dist.bin.dir}/bin/${scripts.antlet.script.name}"> ! <filterset> ! <filter token="PROJECT" value="${project.name}"/> <!-- TODO: Make UPPER CASE--> ! <filter token="PROJECT_JAR" value="${project.version.package-jar}"/> ! <filter token="project" value="${project.name}"/> ! <filter token="MAIN" value="${scripts.antlet.class}"/> ! <filter token="EXTCLASSPATH" value="${scripts.antlet.extra.classpath}"/> ! </filterset> ! </copy> ! <chmod ! file="${java.antlet:dist.bin.dir}/bin/${scripts.antlet.script.name}" ! perm="774"/> ! <!-- Make bat script --> ! <copy file="${scripts.antlet.dir}/resources/main.bat.template" ! tofile="${java.antlet:dist.bin.dir}/bin/${scripts.antlet.script.name}.bat"> ! <filterset> ! <filter token="PROJECT" value="${project.name}"/> <!-- TODO: Make UPPER CASE--> ! <filter token="PROJECT_JAR" value="${project.version.package-jar}"/> ! <filter token="project" value="${project.name}"/> ! <filter token="MAIN" value="${scripts.antlet.class}"/> ! <filter token="EXTCLASSPATH" value="${scripts.antlet.extra.classpath}"/> ! </filterset> ! </copy> ! <copy file="${scripts.antlet.dir}/resources/lcp.bat" ! tofile="${java.antlet:dist.bin.dir}/bin/lcp.bat"/> ! </target> </project> --- 9,79 ---- scripts.antlet.extra.classpath </description> ! <import file="usage.xml" /> ! <!-- Antlet Specific Properties --> + <dirname property="scripts.antlet.dir" file="${ant.file.scripts.antlet}" /> + <property name="scripts-antlet:work.dir" value="${project.build.dir}/work" /> + <!-- = = = = = = = = = = = = = = = = = + macrodef: main-script + = = = = = = = = = = = = = = = = = --> + <macrodef name="main-script"> + <attribute name="name" default="Main" /> + <attribute name="class" /> + <attribute name="extra.classpath" default="" /> + <sequential> ! <mkdir dir="${java.antlet:dist.bin.dir}/bin" /> ! <!-- Make sh script --> ! <copy file="${scripts.antlet.dir}/resources/main.sh.template" tofile="${java.antlet:dist.bin.dir}/bin/@{name}"> ! <filterset> ! <filter token="PROJECT" value="${project.name}" /> ! <!-- TODO: Make UPPER CASE--> ! <filter token="PROJECT_JAR" value="${project.version.package-jar}" /> ! <filter token="project" value="${project.name}" /> ! <filter token="MAIN" value="@{class}" /> ! <filter token="EXTCLASSPATH" value="@{extra.classpath}" /> ! </filterset> ! </copy> ! <chmod file="${java.antlet:dist.bin.dir}/bin/@{name}" perm="774" /> ! <!-- Make bat script --> ! <copy file="${scripts.antlet.dir}/resources/main.bat.template" tofile="${java.antlet:dist.bin.dir}/bin/@{name}.bat"> ! <filterset> ! <filter token="PROJECT" value="${project.name}" /> ! <!-- TODO: Make UPPER CASE--> ! <filter token="PROJECT_JAR" value="${project.version.package-jar}" /> ! <filter token="project" value="${project.name}" /> ! <filter token="MAIN" value="@{class}" /> ! <filter token="EXTCLASSPATH" value="@{extra.classpath}" /> ! </filterset> ! </copy> ! <copy file="${scripts.antlet.dir}/resources/lcp.bat" tofile="${java.antlet:dist.bin.dir}/bin/lcp.bat" /> ! </sequential> ! </macrodef> ! ! ! ! ! ! ! <!-- =================================================================== --> ! <!-- Make a execution script for a given class --> ! <!-- =================================================================== --> ! <target name="make-main-scripts" description="Make execution script for a given java class"> ! <property name="scripts.antlet.script.name" value="Main" /> ! <property name="scripts.antlet.class" value="mypackage.${scripts.antlet.script.name}" /> ! <property name="scripts.antlet.extra.classpath" value="" /> ! ! <main-script name="${scripts.antlet.script.name}" class="${scripts.antlet.class}" extra.classpath="${scripts.antlet.extra.classpath}" /> ! ! ! </target> </project> |
From: Nick C. <ch...@us...> - 2004-08-13 20:03:55
|
Update of /cvsroot/antworks/antlets/makeantlet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1982/makeantlet Modified Files: build.xml Log Message: Format Index: build.xml =================================================================== RCS file: /cvsroot/antworks/antlets/makeantlet/build.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** build.xml 31 Jul 2004 23:11:40 -0000 1.8 --- build.xml 13 Aug 2004 20:03:47 -0000 1.9 *************** *** 32,37 **** includeSemanticAttribute="true" /> - - <!-- The project defined properties --- 32,35 ---- |
From: Nick C. <ch...@us...> - 2004-08-11 07:02:42
|
Update of /cvsroot/antworks/antlets/init In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23487/init Modified Files: build.xml Log Message: Use makeantlet-0.3 Index: build.xml =================================================================== RCS file: /cvsroot/antworks/antlets/init/build.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** build.xml 25 Apr 2004 04:52:43 -0000 1.8 --- build.xml 11 Aug 2004 07:01:49 -0000 1.9 *************** *** 17,21 **** classpath="${user.home}/.antworks/lib/antworks-importer.jar"/> ! <importer name="makeantlet-0.2" /> --- 17,21 ---- classpath="${user.home}/.antworks/lib/antworks-importer.jar"/> ! <importer name="makeantlet-0.3" /> |
From: Nick C. <ch...@us...> - 2004-08-11 07:02:32
|
Update of /cvsroot/antworks/antlets/pom In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23487/pom Modified Files: build.xml Log Message: Use makeantlet-0.3 Index: build.xml =================================================================== RCS file: /cvsroot/antworks/antlets/pom/build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** build.xml 25 Apr 2004 01:59:59 -0000 1.5 --- build.xml 11 Aug 2004 07:01:28 -0000 1.6 *************** *** 34,38 **** <importer name="init-0.1" href="${importer.repository}"/> ! <importer name="makeantlet-0.2" href="${importer.repository}"/> </project> --- 34,38 ---- <importer name="init-0.1" href="${importer.repository}"/> ! <importer name="makeantlet-0.3" href="${importer.repository}"/> </project> |
From: Nick C. <ch...@us...> - 2004-08-11 07:02:32
|
Update of /cvsroot/antworks/antlets/apache In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23487/apache Modified Files: build.xml Log Message: Use makeantlet-0.3 Index: build.xml =================================================================== RCS file: /cvsroot/antworks/antlets/apache/build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** build.xml 25 Apr 2004 05:02:17 -0000 1.5 --- build.xml 11 Aug 2004 07:01:46 -0000 1.6 *************** *** 19,23 **** <typedef resource="org/krysalis/antworks/importer/antlib.xml" classpath="${user.home}/.antworks/lib/antworks-importer.jar"/> <importer name="init-0.1"/> ! <importer name="makeantlet-0.2" /> --- 19,23 ---- <typedef resource="org/krysalis/antworks/importer/antlib.xml" classpath="${user.home}/.antworks/lib/antworks-importer.jar"/> <importer name="init-0.1"/> ! <importer name="makeantlet-0.3" /> |
From: Nick C. <ch...@us...> - 2004-08-11 07:02:32
|
Update of /cvsroot/antworks/antlets/tomcat5 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23487/tomcat5 Modified Files: build.xml Log Message: Use makeantlet-0.3 Index: build.xml =================================================================== RCS file: /cvsroot/antworks/antlets/tomcat5/build.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** build.xml 25 Apr 2004 02:00:30 -0000 1.3 --- build.xml 11 Aug 2004 07:01:48 -0000 1.4 *************** *** 31,35 **** <importer name="init-0.1" href="${importer.repository}"/> ! <importer name="makeantlet-0.2" href="${importer.repository}"/> --- 31,35 ---- <importer name="init-0.1" href="${importer.repository}"/> ! <importer name="makeantlet-0.3" href="${importer.repository}"/> |
From: Nick C. <ch...@us...> - 2004-08-11 07:02:32
|
Update of /cvsroot/antworks/antlets/jboss In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23487/jboss Modified Files: build.xml Log Message: Use makeantlet-0.3 Index: build.xml =================================================================== RCS file: /cvsroot/antworks/antlets/jboss/build.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** build.xml 25 Apr 2004 02:00:30 -0000 1.2 --- build.xml 11 Aug 2004 07:01:48 -0000 1.3 *************** *** 33,37 **** <importer name="init-0.1" href="${importer.repository}"/> ! <importer name="makeantlet-0.2" href="${importer.repository}"/> --- 33,37 ---- <importer name="init-0.1" href="${importer.repository}"/> ! <importer name="makeantlet-0.3" href="${importer.repository}"/> |
From: Nick C. <ch...@us...> - 2004-08-11 07:02:32
|
Update of /cvsroot/antworks/antlets/seed In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23487/seed Modified Files: build.xml Log Message: Use makeantlet-0.3 Index: build.xml =================================================================== RCS file: /cvsroot/antworks/antlets/seed/build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** build.xml 25 Apr 2004 02:00:28 -0000 1.5 --- build.xml 11 Aug 2004 07:01:47 -0000 1.6 *************** *** 33,36 **** <importer name="init-0.1" href="${importer.repository}"/> ! <importer name="makeantlet-0.2" href="${importer.repository}"/> </project> --- 33,36 ---- <importer name="init-0.1" href="${importer.repository}"/> ! <importer name="makeantlet-0.3" href="${importer.repository}"/> </project> |
From: Nick C. <ch...@us...> - 2004-08-11 07:02:32
|
Update of /cvsroot/antworks/antlets/jalopy In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23487/jalopy Modified Files: build.xml Log Message: Use makeantlet-0.3 Index: build.xml =================================================================== RCS file: /cvsroot/antworks/antlets/jalopy/build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** build.xml 26 Apr 2004 00:41:37 -0000 1.5 --- build.xml 11 Aug 2004 07:01:46 -0000 1.6 *************** *** 17,20 **** classpath="${user.home}/.antworks/lib/antworks-importer.jar" /> <importer name="init-0.1" /> ! <importer name="makeantlet-0.2" /> </project> --- 17,20 ---- classpath="${user.home}/.antworks/lib/antworks-importer.jar" /> <importer name="init-0.1" /> ! <importer name="makeantlet-0.3" /> </project> |
From: Nick C. <ch...@us...> - 2004-08-11 07:02:31
|
Update of /cvsroot/antworks/antlets/version In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23487/version Modified Files: build.xml Log Message: Use makeantlet-0.3 Index: build.xml =================================================================== RCS file: /cvsroot/antworks/antlets/version/build.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** build.xml 25 Apr 2004 02:00:32 -0000 1.6 --- build.xml 11 Aug 2004 07:01:50 -0000 1.7 *************** *** 20,24 **** <importer name="init-0.1"/> ! <importer name="makeantlet-0.2" /> --- 20,24 ---- <importer name="init-0.1"/> ! <importer name="makeantlet-0.3" /> |
From: Nick C. <ch...@us...> - 2004-08-11 07:02:31
|
Update of /cvsroot/antworks/antlets/xdoclet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23487/xdoclet Modified Files: build.xml Log Message: Use makeantlet-0.3 Index: build.xml =================================================================== RCS file: /cvsroot/antworks/antlets/xdoclet/build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** build.xml 25 Apr 2004 02:00:32 -0000 1.5 --- build.xml 11 Aug 2004 07:01:49 -0000 1.6 *************** *** 17,21 **** <typedef resource="org/krysalis/antworks/importer/antlib.xml" classpath="${user.home}/.antworks/lib/antworks-importer.jar"/> <importer name="init-0.1"/> ! <importer name="makeantlet-0.2" /> </project> --- 17,21 ---- <typedef resource="org/krysalis/antworks/importer/antlib.xml" classpath="${user.home}/.antworks/lib/antworks-importer.jar"/> <importer name="init-0.1"/> ! <importer name="makeantlet-0.3" /> </project> |
From: Nick C. <ch...@us...> - 2004-08-11 07:02:31
|
Update of /cvsroot/antworks/antlets/webapp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23487/webapp Modified Files: build.xml Log Message: Use makeantlet-0.3 Index: build.xml =================================================================== RCS file: /cvsroot/antworks/antlets/webapp/build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** build.xml 25 Apr 2004 02:00:18 -0000 1.4 --- build.xml 11 Aug 2004 07:01:46 -0000 1.5 *************** *** 16,19 **** <typedef resource="org/krysalis/antworks/importer/antlib.xml" classpath="${user.home}/.antworks/lib/antworks-importer.jar"/> <importer name="init-0.1"/> ! <importer name="makeantlet-0.2" /> </project> --- 16,19 ---- <typedef resource="org/krysalis/antworks/importer/antlib.xml" classpath="${user.home}/.antworks/lib/antworks-importer.jar"/> <importer name="init-0.1"/> ! <importer name="makeantlet-0.3" /> </project> |
From: Nick C. <ch...@us...> - 2004-08-11 07:02:31
|
Update of /cvsroot/antworks/antlets/forrest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23487/forrest Modified Files: build.xml Log Message: Use makeantlet-0.3 Index: build.xml =================================================================== RCS file: /cvsroot/antworks/antlets/forrest/build.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** build.xml 26 Apr 2004 01:02:08 -0000 1.8 --- build.xml 11 Aug 2004 07:01:47 -0000 1.9 *************** *** 32,35 **** <typedef resource="org/krysalis/antworks/importer/antlib.xml" classpath="${user.home}/.antworks/lib/antworks-importer.jar"/> <importer name="init-0.1"/> ! <importer name="makeantlet-0.2" /> </project> --- 32,35 ---- <typedef resource="org/krysalis/antworks/importer/antlib.xml" classpath="${user.home}/.antworks/lib/antworks-importer.jar"/> <importer name="init-0.1"/> ! <importer name="makeantlet-0.3" /> </project> |