You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by je...@apache.org on 2002/04/04 15:07:30 UTC
cvs commit: jakarta-avalon-excalibur/thread default.properties build.xml
jefft 02/04/04 05:07:30
Modified: lang Tag: depchecking build.xml
logger Tag: depchecking build.xml
pool Tag: depchecking build.xml
testcase Tag: depchecking build.xml
thread Tag: depchecking build.xml
Added: lang Tag: depchecking default.properties
logger Tag: depchecking default.properties
pool Tag: depchecking default.properties
testcase Tag: depchecking default.properties
thread Tag: depchecking default.properties
Log:
Add depchecking to new projects
Revision Changes Path
No revision
No revision
1.1.2.1 +16 -41 jakarta-avalon-excalibur/lang/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/lang/build.xml,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
--- build.xml 4 Apr 2002 05:09:03 -0000 1.1
+++ build.xml 4 Apr 2002 13:07:29 -0000 1.1.2.1
@@ -2,50 +2,15 @@
<project name="Excalibur Lang" default="main" basedir=".">
- <!-- load per-project properties -->
- <property file="project.properties"/>
-
<!--
Give user a chance to override without editing this file
(and without typing -D each time he compiles it)
-->
- <property file="ant.properties"/>
- <property file="../ant.properties"/>
<property file="${user.home}/.ant.properties"/>
-
- <!-- Settings used to configure compile environment -->
- <property name="build.debug" value="on"/>
- <property name="build.optimize" value="off"/>
- <property name="build.deprecation" value="off"/>
- <property name="build.compress" value="false"/>
- <property name="junit.failonerror" value="false"/>
-
- <!-- location of intermediate products -->
- <property name="build.dir" value="build"/>
- <property name="build.lib" value="${build.dir}/lib"/>
- <property name="build.conf" value="${build.dir}/conf"/>
- <property name="build.classes" value="${build.dir}/classes"/>
- <property name="build.tests" value="${build.dir}/tests"/>
- <property name="build.reports" value="${build.dir}/reports"/>
-
- <!-- Set the properties for source directories -->
- <property name="src.dir" value="src"/>
- <property name="java.dir" value="${src.dir}/java"/>
- <property name="conf.dir" value="${src.dir}/conf"/>
- <property name="test.dir" value="${src.dir}/test"/>
-
- <!-- Set the properties for distribution directories -->
- <property name="dist.dir" value="dist"/>
- <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
-
- <!-- name of .zip/.tar.gz/.bz2 files and their top-level directory -->
- <property name="dist.name" value="${name}-${version}"/>
-
- <!-- name of jar file -->
- <property name="jar.name" value="${name}-${version}.jar"/>
-
- <!-- property indicating directory where all distribution archives are placed -->
- <property name="dist.base" value="distributions"/>
+ <property file="../ant.properties"/>
+ <property file="ant.properties"/>
+ <property file="../default.properties"/>
+ <property file="default.properties"/>
<!-- Classpath for product -->
<path id="project.class.path">
@@ -54,12 +19,22 @@
<pathelement location="${junit.jar}"/>
<pathelement location="${checkstyle.jar}"/>
</path>
+ <property name="cp" refid="project.class.path"/>
- <target name="main" depends="jar" description="Build the project"/>
+ <target name="main" depends="dist.lite" description="Build the project"/>
<target name="rebuild" depends="clean,main" description="Rebuild the project"/>
+
+ <target name="dependencies" description="Check dependencies">
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredClass">
+ <property name="name" value="junit.jar"/>
+ <property name="class" value="junit.framework.Test"/>
+ <property name="classpath" value="${cp}"/>
+ </ant>
+ </target>
+
<!-- Compiles the source code -->
- <target name="compile" description="Compiles the source code">
+ <target name="compile" depends="dependencies" description="Compiles the source code">
<mkdir dir="${build.classes}"/>
No revision
No revision
1.1.2.1 +51 -0 jakarta-avalon-excalibur/lang/Attic/default.properties
No revision
No revision
1.1.2.1 +24 -41 jakarta-avalon-excalibur/logger/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/logger/build.xml,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
--- build.xml 4 Apr 2002 02:34:13 -0000 1.1
+++ build.xml 4 Apr 2002 13:07:29 -0000 1.1.2.1
@@ -2,60 +2,26 @@
<project name="Excalibur Logger" default="main" basedir=".">
- <!-- load per-project properties -->
- <property file="project.properties"/>
-
<!--
Give user a chance to override without editing this file
(and without typing -D each time he compiles it)
-->
- <property file="ant.properties"/>
- <property file="../ant.properties"/>
<property file="${user.home}/.ant.properties"/>
-
- <!-- Settings used to configure compile environment -->
- <property name="build.debug" value="on"/>
- <property name="build.optimize" value="off"/>
- <property name="build.deprecation" value="off"/>
- <property name="build.compress" value="false"/>
- <property name="junit.failonerror" value="false"/>
-
- <!-- location of intermediate products -->
- <property name="build.dir" value="build"/>
- <property name="build.lib" value="${build.dir}/lib"/>
- <property name="build.conf" value="${build.dir}/conf"/>
- <property name="build.classes" value="${build.dir}/classes"/>
- <property name="build.tests" value="${build.dir}/tests"/>
- <property name="build.reports" value="${build.dir}/reports"/>
-
- <!-- Set the properties for source directories -->
- <property name="src.dir" value="src"/>
- <property name="java.dir" value="${src.dir}/java"/>
- <property name="conf.dir" value="${src.dir}/conf"/>
- <property name="test.dir" value="${src.dir}/test"/>
-
- <!-- Set the properties for distribution directories -->
- <property name="dist.dir" value="dist"/>
- <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
-
- <!-- name of .zip/.tar.gz/.bz2 files and their top-level directory -->
- <property name="dist.name" value="${name}-${version}"/>
-
- <!-- name of jar file -->
- <property name="jar.name" value="${name}-${version}.jar"/>
-
- <!-- property indicating directory where all distribution archives are placed -->
- <property name="dist.base" value="distributions"/>
+ <property file="../ant.properties"/>
+ <property file="ant.properties"/>
+ <property file="../default.properties"/>
+ <property file="default.properties"/>
<!-- Classpath for product -->
<path id="project.class.path">
<pathelement path="${java.class.path}"/>
<pathelement location="${build.classes}"/>
- <pathelement location="${logkit.jar}"/>
+ <pathelement location="${avalon-logkitjar}"/>
<pathelement location="${avalon-framework.jar}"/>
<pathelement location="${junit.jar}"/>
<pathelement location="${checkstyle.jar}"/>
</path>
+ <property name="cp" refid="project.class.path"/>
<target name="main" depends="jar" description="Build the project"/>
<target name="rebuild" depends="clean,main" description="Rebuild the project"/>
@@ -76,8 +42,25 @@
</available>
</target>
+ <target name="dependencies" description="Check dependencies">
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredClass">
+ <property name="name" value="junit.jar"/>
+ <property name="class" value="junit.framework.Test"/>
+ <property name="classpath" value="${cp}"/>
+ </ant>
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredFile">
+ <property name="name" value="avalon-framework.jar"/>
+ <property name="path" value="${avalon-framework.jar}"/>
+ <property name="proj.home" value="${basedir}/../../jakarta-avalon"/>
+ </ant>
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredFile">
+ <property name="name" value="avalon-logkit.jar"/>
+ <property name="path" value="${avalon-logkit.jar}"/>
+ </ant>
+ </target>
+
<!-- Compiles the source code -->
- <target name="compile" depends="check-environment" description="Compiles the source code">
+ <target name="compile" depends="dependencies, check-environment" description="Compiles the source code">
<mkdir dir="${build.classes}"/>
No revision
No revision
1.1.2.1 +66 -0 jakarta-avalon-excalibur/logger/Attic/default.properties
No revision
No revision
1.1.2.1 +34 -41 jakarta-avalon-excalibur/pool/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/pool/build.xml,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
--- build.xml 4 Apr 2002 05:09:03 -0000 1.1
+++ build.xml 4 Apr 2002 13:07:29 -0000 1.1.2.1
@@ -2,68 +2,61 @@
<project name="Excalibur Pool" default="main" basedir=".">
- <!-- load per-project properties -->
- <property file="project.properties"/>
-
<!--
Give user a chance to override without editing this file
(and without typing -D each time he compiles it)
-->
- <property file="ant.properties"/>
- <property file="../ant.properties"/>
<property file="${user.home}/.ant.properties"/>
-
- <!-- Settings used to configure compile environment -->
- <property name="build.debug" value="on"/>
- <property name="build.optimize" value="off"/>
- <property name="build.deprecation" value="off"/>
- <property name="build.compress" value="false"/>
- <property name="junit.failonerror" value="false"/>
-
- <!-- location of intermediate products -->
- <property name="build.dir" value="build"/>
- <property name="build.lib" value="${build.dir}/lib"/>
- <property name="build.conf" value="${build.dir}/conf"/>
- <property name="build.classes" value="${build.dir}/classes"/>
- <property name="build.tests" value="${build.dir}/tests"/>
- <property name="build.reports" value="${build.dir}/reports"/>
-
- <!-- Set the properties for source directories -->
- <property name="src.dir" value="src"/>
- <property name="java.dir" value="${src.dir}/java"/>
- <property name="conf.dir" value="${src.dir}/conf"/>
- <property name="test.dir" value="${src.dir}/test"/>
-
- <!-- Set the properties for distribution directories -->
- <property name="dist.dir" value="dist"/>
- <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
-
- <!-- name of .zip/.tar.gz/.bz2 files and their top-level directory -->
- <property name="dist.name" value="${name}-${version}"/>
-
- <!-- name of jar file -->
- <property name="jar.name" value="${name}-${version}.jar"/>
-
- <!-- property indicating directory where all distribution archives are placed -->
- <property name="dist.base" value="distributions"/>
+ <property file="../ant.properties"/>
+ <property file="ant.properties"/>
+ <property file="../default.properties"/>
+ <property file="default.properties"/>
<!-- Classpath for product -->
<path id="project.class.path">
<pathelement path="${java.class.path}"/>
<pathelement location="${build.classes}"/>
- <pathelement location="${logkit.jar}"/>
+ <pathelement location="${avalon-logkit.jar}"/>
<pathelement location="${avalon-framework.jar}"/>
<pathelement location="${excalibur-collections.jar}"/>
<pathelement location="${excalibur-concurrent.jar}"/>
<pathelement location="${junit.jar}"/>
<pathelement location="${checkstyle.jar}"/>
</path>
+ <property name="cp" refid="project.class.path"/>
<target name="main" depends="jar" description="Build the project"/>
<target name="rebuild" depends="clean,main" description="Rebuild the project"/>
+ <target name="dependencies" description="Check dependencies">
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredClass">
+ <property name="name" value="junit.jar"/>
+ <property name="class" value="junit.framework.Test"/>
+ <property name="classpath" value="${cp}"/>
+ </ant>
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredFile">
+ <property name="name" value="avalon-framework.jar"/>
+ <property name="path" value="${avalon-framework.jar}"/>
+ <property name="proj.home" value="${basedir}/../../jakarta-avalon"/>
+ </ant>
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredFile">
+ <property name="name" value="avalon-logkit.jar"/>
+ <property name="path" value="${avalon-logkit.jar}"/>
+ </ant>
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredFile">
+ <property name="name" value="excalibur-collections.jar"/>
+ <property name="path" value="${excalibur-collections.jar}"/>
+ <property name="proj.home" value="${basedir}/../collections"/>
+ </ant>
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredFile">
+ <property name="name" value="excalibur-concurrent.jar"/>
+ <property name="path" value="${excalibur-concurrent.jar}"/>
+ <property name="proj.home" value="${basedir}/../concurrent"/>
+ </ant>
+ </target>
+
<!-- Compiles the source code -->
- <target name="compile" description="Compiles the source code">
+ <target name="compile" depends="dependencies" description="Compiles the source code">
<mkdir dir="${build.classes}"/>
No revision
No revision
1.1.2.1 +74 -0 jakarta-avalon-excalibur/pool/Attic/default.properties
No revision
No revision
1.1.2.1 +34 -41 jakarta-avalon-excalibur/testcase/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/testcase/build.xml,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
--- build.xml 4 Apr 2002 05:09:05 -0000 1.1
+++ build.xml 4 Apr 2002 13:07:29 -0000 1.1.2.1
@@ -2,68 +2,61 @@
<project name="Excalibur Pool" default="main" basedir=".">
- <!-- load per-project properties -->
- <property file="project.properties"/>
-
<!--
Give user a chance to override without editing this file
(and without typing -D each time he compiles it)
-->
- <property file="ant.properties"/>
- <property file="../ant.properties"/>
<property file="${user.home}/.ant.properties"/>
+ <property file="../ant.properties"/>
+ <property file="ant.properties"/>
+ <property file="../default.properties"/>
+ <property file="default.properties"/>
- <!-- Settings used to configure compile environment -->
- <property name="build.debug" value="on"/>
- <property name="build.optimize" value="off"/>
- <property name="build.deprecation" value="off"/>
- <property name="build.compress" value="false"/>
- <property name="junit.failonerror" value="false"/>
-
- <!-- location of intermediate products -->
- <property name="build.dir" value="build"/>
- <property name="build.lib" value="${build.dir}/lib"/>
- <property name="build.conf" value="${build.dir}/conf"/>
- <property name="build.classes" value="${build.dir}/classes"/>
- <property name="build.tests" value="${build.dir}/tests"/>
- <property name="build.reports" value="${build.dir}/reports"/>
-
- <!-- Set the properties for source directories -->
- <property name="src.dir" value="src"/>
- <property name="java.dir" value="${src.dir}/java"/>
- <property name="conf.dir" value="${src.dir}/conf"/>
- <property name="test.dir" value="${src.dir}/test"/>
-
- <!-- Set the properties for distribution directories -->
- <property name="dist.dir" value="dist"/>
- <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
-
- <!-- name of .zip/.tar.gz/.bz2 files and their top-level directory -->
- <property name="dist.name" value="${name}-${version}"/>
-
- <!-- name of jar file -->
- <property name="jar.name" value="${name}-${version}.jar"/>
-
- <!-- property indicating directory where all distribution archives are placed -->
- <property name="dist.base" value="distributions"/>
-
<!-- Classpath for product -->
<path id="project.class.path">
<pathelement path="${java.class.path}"/>
<pathelement location="${build.classes}"/>
- <pathelement location="${logkit.jar}"/>
+ <pathelement location="${avalon-logkit.jar}"/>
<pathelement location="${avalon-framework.jar}"/>
<pathelement location="${excalibur-logger.jar}"/>
<pathelement location="${excalibur-component.jar}"/>
<pathelement location="${junit.jar}"/>
<pathelement location="${checkstyle.jar}"/>
</path>
+ <property name="cp" refid="project.class.path"/>
<target name="main" depends="jar" description="Build the project"/>
<target name="rebuild" depends="clean,main" description="Rebuild the project"/>
+ <target name="dependencies" description="Check dependencies">
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredClass">
+ <property name="name" value="junit.jar"/>
+ <property name="class" value="junit.framework.Test"/>
+ <property name="classpath" value="${cp}"/>
+ </ant>
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredFile">
+ <property name="name" value="avalon-logkit.jar"/>
+ <property name="path" value="${avalon-logkit.jar}"/>
+ </ant>
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredFile">
+ <property name="name" value="avalon-framework.jar"/>
+ <property name="path" value="${avalon-framework.jar}"/>
+ <property name="proj.home" value="${basedir}/../../jakarta-avalon"/>
+ </ant>
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredFile">
+ <property name="name" value="excalibur-logger.jar"/>
+ <property name="path" value="${excalibur-logger.jar}"/>
+ <property name="proj.home" value="${basedir}/../logger"/>
+ </ant>
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredFile">
+ <property name="name" value="excalibur-component.jar"/>
+ <property name="path" value="${excalibur-component.jar}"/>
+ <property name="proj.home" value="${basedir}/../component"/>
+ </ant>
+ </target>
+
<!-- Compiles the source code -->
- <target name="compile" description="Compiles the source code">
+ <target name="compile" depends="dependencies" description="Compiles the source code">
<mkdir dir="${build.classes}"/>
No revision
No revision
1.1.2.1 +76 -0 jakarta-avalon-excalibur/testcase/Attic/default.properties
No revision
No revision
1.1.2.1 +34 -41 jakarta-avalon-excalibur/thread/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/thread/build.xml,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
--- build.xml 4 Apr 2002 05:09:05 -0000 1.1
+++ build.xml 4 Apr 2002 13:07:30 -0000 1.1.2.1
@@ -2,68 +2,61 @@
<project name="Excalibur Thread" default="main" basedir=".">
- <!-- load per-project properties -->
- <property file="project.properties"/>
-
<!--
Give user a chance to override without editing this file
(and without typing -D each time he compiles it)
-->
- <property file="ant.properties"/>
- <property file="../ant.properties"/>
<property file="${user.home}/.ant.properties"/>
-
- <!-- Settings used to configure compile environment -->
- <property name="build.debug" value="on"/>
- <property name="build.optimize" value="off"/>
- <property name="build.deprecation" value="off"/>
- <property name="build.compress" value="false"/>
- <property name="junit.failonerror" value="false"/>
-
- <!-- location of intermediate products -->
- <property name="build.dir" value="build"/>
- <property name="build.lib" value="${build.dir}/lib"/>
- <property name="build.conf" value="${build.dir}/conf"/>
- <property name="build.classes" value="${build.dir}/classes"/>
- <property name="build.tests" value="${build.dir}/tests"/>
- <property name="build.reports" value="${build.dir}/reports"/>
-
- <!-- Set the properties for source directories -->
- <property name="src.dir" value="src"/>
- <property name="java.dir" value="${src.dir}/java"/>
- <property name="conf.dir" value="${src.dir}/conf"/>
- <property name="test.dir" value="${src.dir}/test"/>
-
- <!-- Set the properties for distribution directories -->
- <property name="dist.dir" value="dist"/>
- <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
-
- <!-- name of .zip/.tar.gz/.bz2 files and their top-level directory -->
- <property name="dist.name" value="${name}-${version}"/>
-
- <!-- name of jar file -->
- <property name="jar.name" value="${name}-${version}.jar"/>
-
- <!-- property indicating directory where all distribution archives are placed -->
- <property name="dist.base" value="distributions"/>
+ <property file="../ant.properties"/>
+ <property file="ant.properties"/>
+ <property file="../default.properties"/>
+ <property file="default.properties"/>
<!-- Classpath for product -->
<path id="project.class.path">
<pathelement path="${java.class.path}"/>
<pathelement location="${build.classes}"/>
- <pathelement location="${logkit.jar}"/>
+ <pathelement location="${avalon-logkit.jar}"/>
<pathelement location="${avalon-framework.jar}"/>
<pathelement location="${excalibur-lang.jar}"/>
<pathelement location="${excalibur-pool.jar}"/>
<pathelement location="${junit.jar}"/>
<pathelement location="${checkstyle.jar}"/>
</path>
+ <property name="cp" refid="project.class.path"/>
<target name="main" depends="jar" description="Build the project"/>
<target name="rebuild" depends="clean,main" description="Rebuild the project"/>
+ <target name="dependencies" description="Check dependencies">
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredClass">
+ <property name="name" value="junit.jar"/>
+ <property name="class" value="junit.framework.Test"/>
+ <property name="classpath" value="${cp}"/>
+ </ant>
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredFile">
+ <property name="name" value="avalon-logkit.jar"/>
+ <property name="path" value="${avalon-logkit.jar}"/>
+ </ant>
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredFile">
+ <property name="name" value="excalibur-lang.jar"/>
+ <property name="path" value="${excalibur-lang.jar}"/>
+ <property name="proj.home" value="${basedir}/../lang"/>
+ </ant>
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredFile">
+ <property name="name" value="excalibur-pool.jar"/>
+ <property name="path" value="${excalibur-pool.jar}"/>
+ <property name="proj.home" value="${basedir}/../pool"/>
+ </ant>
+ <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkRequiredFile">
+ <property name="name" value="avalon-framework.jar"/>
+ <property name="path" value="${avalon-framework.jar}"/>
+ <property name="proj.home" value="${basedir}/../../jakarta-avalon"/>
+ </ant>
+ </target>
+
<!-- Compiles the source code -->
- <target name="compile" description="Compiles the source code">
+ <target name="compile" depends="dependencies" description="Compiles the source code">
<mkdir dir="${build.classes}"/>
No revision
No revision
1.1.2.1 +75 -0 jakarta-avalon-excalibur/thread/Attic/default.properties
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>