hlship      2004/05/20 16:57:44

  Modified:    .        .classpath .cvsignore
  Added:       common   javacc.xml version.properties dependency.xml
                        jar-module.xml common.properties common.xml
               support  properties-copyright.txt
               library  build.xml
               framework build.xml
  Log:
  Check in initial work on HiveMind Build System.
  
  Revision  Changes    Path
  1.1                  jakarta-hivemind/common/javacc.xml
  
  Index: javacc.xml
  ===================================================================
  <?xml version="1.0"?>
  <!-- $Id: javacc.xml,v 1.1 2004/05/20 23:57:44 hlship Exp $ -->
  <!-- 
     Copyright 2004 The Apache Software Foundation
  
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
         http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
  -->
  <project name="javacc">
                <fail unless="ant.file.common" message="Must import common.xml 
first."/>
                <fail unless="ant.file.dependency" message="Must import 
dependency.xml first."/>
                
                <property name="javacc.home.dir" 
value="${external.package.dir}/javacchome"/>
                <property name="javacc.dist.zip" 
value="${external.package.dir}/JavaCC.zip"/>
                
                <target name="-expand-javacc-home" unless="exists-javacc-home">
                        <grabber
                                        
src="${maven.ibiblio.url}/javacc/jars/JavaCC.zip"
                                        dest="${javacc.dist.zip}"/>
                                        
                        <!-- mkdir dir="${javacc.home.dir}"/>
                        
                        <unzip src="${javacc.dist.zip}" 
dest="${javacc.home.dir}"/ -->                  
                </target>
                
                <macrodef name="setup-javacc">
                        <sequential>
                                <available file="${javacc.home.dir}" type="dir" 
property="exists-javacc-home"/>
                                <antcall target="-expand-javacc-home"/>
                                <download-from-ibiblio jar="javacc-3.2.jar" 
group-id="javacc"/>                 
                                <mkdir dir="${generated-java.src.dir}"/>
                        </sequential>           
                </macrodef>
                
                <macrodef name="run-javacc">
                        <attribute name="input" description="The path to the 
input (.jj) file to compile."/>
                        <attribute name="package-path" description="The package 
path to which files should be created."/>
                        
                        <sequential>
                                <grabber
                                        
src="${maven.ibiblio.url}/javacc/jars/JavaCC.zip"
                                        dest="${javacc.dist.zip}"/>
                                        
                                <mkdir 
dir="${generated-java.src.dir}/@{package-path}"/>
                                
                                <echo>
                                        
  *** Building JavaCC parser from @{input} ...
  
  </echo>
                        
                                <!-- JavaCC is stupid; we have to tell it about 
package directories, which is stupid. -->
                        
                                <javacc
                                        javacchome="${external.package.dir}"
                                        target="@{input}"
                                        
outputdirectory="${generated-java.src.dir}/@{package-path}"/>
                                                                        
                        </sequential>                                           
                </macrodef>
                
  </project>
  
  
  
  1.1                  jakarta-hivemind/common/version.properties
  
  Index: version.properties
  ===================================================================
  #  Copyright 2004 The Apache Software Foundation
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #     http:#www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  # $Id: version.properties,v 1.1 2004/05/20 23:57:44 hlship Exp $
  
  # Version of project; incorporated into the names of
  # archives and distributions.
  
  project.version=1.0.beta-1
  
  
  
  1.1                  jakarta-hivemind/common/dependency.xml
  
  Index: dependency.xml
  ===================================================================
  <?xml version="1.0"?>
  <!-- $Id: dependency.xml,v 1.1 2004/05/20 23:57:44 hlship Exp $ -->
  <!-- 
     Copyright 2004 The Apache Software Foundation
  
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
         http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
  -->
  <project name="dependency">
        <fail unless="ant.file.common" message="Must import common.xml first."/>
        
        <available classname="org.apache.ant.grabber.Grabber" 
property="grabber-task-available"/>
        <fail unless="grabber-task-available" message="Grab task (from 
ant-grabber.jar) not on Ant classpath."/>
        
        <taskdef classname="org.apache.ant.grabber.Grabber" name="grabber"/>
  
        <property name="download-warning-marker.file" 
value="${external.package.dir}/download-warning-marker"/>
        
        <available property="download-warning-marker-displayed"
                        type="file"
                        file="${download-warning-marker.file}"/>
                        
        <target name="-display-download-warning" 
unless="download-warning-marker-displayed">
                <echo>
  
  ***                   
  *** Dependent libraries will be downloaded.  These are NOT necessarily 
downloaded from apache.com, and may
  *** use other licences besides the Apache Software License. Dependencies will 
use an open-source
  *** license compatible with the ASL, such as Berkeley Software Distribution 
(BSD) or
  *** Mozilla Public License (MPL).
  ***
                
  </echo>
        
                <input 
                        validargs="continue" 
                        message="Enter 'continue' to continue with the build:"/>
        
                <echo file="${download-warning-marker.file}">Download warning 
accepted.</echo>
                
        </target>
  
        <macrodef name="safe-copy">
                <attribute name="file" description="File to copy."/>
                <attribute name="dir" description="Directory to copy to."/>
                
                <sequential>
                        <mkdir dir="@{dir}"/>
                        <copy file="@{file}" todir="@{dir}"/>   
                </sequential>   
        </macrodef>
  
        <!-- macro for downloading a JAR from maven's repository on ibiblio. -->
        
        <macrodef name="ibiblio-dependency">
                <attribute name="jar" description="The name of the JAR to 
download."/>
                <attribute name="group-id" description="The Maven group-id 
containing the JAR."/>
                <attribute name="use" default="compile" description="Useage of 
the dependency: compile, test or run."/>
                
                <sequential>
                        <mkdir dir="${external.lib.dir}"/>
                        
                        <antcall target="-display-download-warning"/>
  
                        <grabber
                                dest="${external.lib.dir}/@{jar}"
                                
src="${maven.ibiblio.url}/@{group-id}/jars/@{jar}" 
                                
md5="${maven.ibiblio.url}/@{group-id}/jars/@{jar}.md5"
                                />
  
                        <safe-copy
                                        file="${external.lib.dir}/@{jar}"
                                        dir="${module.lib.dir}/@{use}"/>
                        
                </sequential>
        </macrodef>
        
        <!-- An internal dependency to another library previously created
                   by a sibiling module.  Assumes that the module is infixed
                   with the project's version. -->
                   
        <macrodef name="project-dependency">
                <attribute name="name" description="The name of the dependency 
(the part before the version number)."/>
                <attribute name="version" default="${project.version}" 
description="The version number."/>
                <attribute name="extension" default="jar" description="The 
extension to use; default is 'jar'."/>
                <attribute name="use" default="compile" description="Useage of 
the dependency: compile, test or run."/>
                
                <sequential>
                        <safe-copy
                                        file="${jar.target.dir}/@[EMAIL 
PROTECTED]@{extension}"
                                        dir="${module.lib.dir}/@{use}"/>        
                                
                </sequential>   
        </macrodef>
  
  </project>
  
  
  1.1                  jakarta-hivemind/common/jar-module.xml
  
  Index: jar-module.xml
  ===================================================================
  <?xml version="1.0"?>
  <!-- $Id: jar-module.xml,v 1.1 2004/05/20 23:57:44 hlship Exp $ -->
  <!-- 
     Copyright 2004 The Apache Software Foundation
  
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
         http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
  -->
  <project name="jar-module">
  
        <!-- 
                Imports are computed relative the this file (to the build.xml
                that imported this file). -->
        
        <import file="common.xml"/>
        <import file="dependency.xml"/>
                
        <!-- The default classpath for compilation is all external package 
JARs. -->
        
        <path id="default.compile.classpath">
                        <fileset dir="${module.lib.dir}/compile">
                                <include name="*.jar"/> 
                        </fileset>
        </path>
        
        <path id="default.test-compile.classpath">
                <path refid="default.compile.classpath"/>
                <path location="${java.classes.dir}"/>
                <fileset dir="${module.lib.dir}/test">
                        <include name="*.jar"/> 
                </fileset>
        </path>
        
        <path id="default.test.classpath">
                <path refid="default.test-compile.classpath"/>
                <pathelement location="${test.classes.dir}"/>
                
                <!-- To pick up any classpath resources. -->
                
                <path location="${test.src.dir}"/>
                
                <!-- To pick up log4j.properties or other runtime resources. -->
                <pathelement location="${conf.src.dir}"/>       
                
                <!-- This is pretty specific to HiveMind, but eventually
                                 everything will be a HiveMind module. Pick up
                                 the module deployment descriptor. -->
                                 
                <pathelement location="${descriptor.src.dir}"/> 
        </path>
        
        <path id="default.source.path">
                <pathelement location="${java.src.dir}"/>
                <pathelement location="${generated-java.src.dir}"/>     
        </path>
        
        <macrodef name="copy-source-resources">
        
                <sequential>
                
                        <echo>
                                
  *** Copying resources to ${java.classes.dir} ...
  
  </echo>
                        <copy todir="${java.classes.dir}" 
includeEmptyDirs="false">
                                <fileset dir="${java.src.dir}">
                                        <exclude name="**/*.java"/>     
                                        <exclude name="**/package.html"/>
                                </fileset>
                        </copy>
                        
                </sequential>
                
        </macrodef>
        
        <macrodef name="default-compile">
                <attribute name="compile-classpath-id" 
                                default="default.compile.classpath"
                                description="Reference to a path defining 
compile-time libraries."/>
                <attribute name="sourcepath-id"
                        default="default.source.path"
                        description="Referencce to a path of source directories 
to compile."/>
                
                <sequential>
                        
                        <antcall target="-compile-init"/>
                        
                        <!-- Make the directory, before it is referenced via 
default.compile.classpath.
                                   The javacc.xml module actually puts files 
into generated Java.  Perhaps
                                   in the future, an XDoclet extension will 
make use of this as well. -->
                        
                        <echo>
  
  *** Compiling Java source to ${java.classes.dir}...
  
  </echo>
                        <javac
                                destdir="${java.classes.dir}"
                                classpathref="@{compile-classpath-id}">
                                <src>
                                        <path refid="@{sourcepath-id}"/>
                                </src>  
                        </javac>
                                
                        <copy-source-resources/>                                
                </sequential>   
        </macrodef>
        
        <macrodef name="default-compile-tests">
                <attribute name="compile-classpath-id"
                        default="default.test-compile.classpath"
                        description="Reference to a path used to compile unit 
tests."/>
                <sequential>
                        <mkdir dir="${test.classes.dir}"/>
                        <echo>
                                
  *** Compiling tests to ${test.classes.dir} ...
  
  </echo>
                        
                        <javac
                                        destdir="${test.classes.dir}"
                                        classpathref="@{compile-classpath-id}"
                                        srcdir="${test.src.dir}"/>
                                        
                </sequential>
        </macrodef>
        
        <macrodef name="default-run-tests">
                <attribute name="classpath-id" default="default.test.classpath"
                        description="Reference to path used for tests."/>
                <attribute name="fork" default="off" description="Run the tests 
in a seperate JVM if on."/>
                <element name="junit-elements"/>
                
                <sequential>
                        <mkdir dir="${junit.temp.dir}"/>
                        <mkdir dir="${junit.report.dir}"/>
                        <echo>
                                
  *** Running unit tests ...
  
  </echo>
  
                        <junit 
                                fork="@{fork}"
                                haltonfailure="off"
                                failureproperty="junit-failure"
                                tempdir="${junit.temp.dir}">
                                        
                                        <classpath refid="@{classpath-id}"/>
                                        
                                        <formatter type="xml"/>
            <formatter type="brief" usefile="false"/>
            <formatter type="plain"/>
                                                
                                        <batchtest todir="${junit.report.dir}">
                                                <fileset 
dir="${test.classes.dir}">
                                                        <!-- Inner classes 
cause problems! -->
                                                        <exclude 
name="**/*$*.class"/>
                                                        <include 
name="**/Test*.class"/>        
                                                </fileset>      
                                        </batchtest>                            
                        
                        </junit>
                        
                        <fail if="junit-failure" message="Some tests failed."/>
                        
                </sequential>   
        </macrodef>
        
        <target name="compile-dependencies" description="Overriden to download 
dependencies as external package.">
                <!-- Does nothing. This is often overriden, and becomes a 
series of
                           calls to macros defines in download.xml. -->
        </target>
         
        <target name="-compile-init">
                <mkdir dir="${module.lib.dir}/compile"/>
                <mkdir dir="${module.lib.dir}/test"/>
                <mkdir dir="${module.lib.dir}/run"/>    
                
                <mkdir dir="${generated-java.src.dir}"/>                        
                <mkdir dir="${java.classes.dir}"/>              
        </target>
        
        <!-- Usually overriden so that the options used when compiling, 
especially compile-classpath-id, can be overriden. -->
        
        <target name="compile" description="Compile Java source code." 
depends="compile-dependencies">
                <default-compile/>
        </target>
        
        <target name="compile-tests" description="Compiles JUnit tests." 
depends="compile">
                <default-compile-tests/>
        </target>
        
        <target name="run-tests" description="Runs JUnit tests." 
depends="compile-tests">
                <default-run-tests/>    
        </target>
        
        <target name="jar" depends="run-tests" description="Compile classes and 
package into a JAR.">
                
                <fail unless="jar.name" message="Property jar.name must be 
set."/>
                
                <property name="complete-jar-path" 
value="${jar.target.dir}/${jar.name}-${project.version}.jar"/>
                
                <mkdir dir="${jar.target.dir}"/>
                
                <echo>
  
  *** Packaging as ${complete-jar-path} ...                     
                        
  </echo>
  
                <jar
                                destfile="${complete-jar-path}"
                                index="yes">
                                <fileset dir="${descriptor.src.dir}"/>
                                <fileset dir="${java.classes.dir}"/>
                </jar>
                
        </target>
        
        <macrodef name="default-javadoc">
                <attribute name="sourcepath-id" default="default.source.path" 
description="Reference to source path."/>
                <attribute name="classpath-id" 
default="default.compile.classpath"/>
                
                <sequential>
                        <fail unless="javadoc.package" message="You must 
specify property javadoc.packages."/>
                        
                        <mkdir dir="${javadoc.target.dir}"/>
                        <echo>
  
  *** Generating Javadoc                                
                                
  </echo>
        
                        <javadoc
                                destdir="${javadoc.target.dir}"
                                classpathref="@{classpath-id}"
                                version="yes"
                                use="yes"
                                splitindex="yes"
                                windowtitle="${jar.name} - ${project.version} 
API">
                                <package name="${javadoc.package}"/>
                                <sourcepath>
                                        <pathelement 
location="${java.src.dir}"/>
                                        <pathelement 
location="${generated-java.src.dir}"/>     
                                </sourcepath>
                        </javadoc>
                </sequential>   
        </macrodef>
        
        <target name="javadoc" depends="-compile-init" description="Create 
JavaDoc from Java source files.">
                <default-javadoc/>      
        </target>
        
  </project>
  
  
  1.1                  jakarta-hivemind/common/common.properties
  
  Index: common.properties
  ===================================================================
  #  Copyright 2004 The Apache Software Foundation
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #     http:#www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  # $Id: common.properties,v 1.1 2004/05/20 23:57:44 hlship Exp $
  
  # Common properties related to the build.
  
  # Default root (project) directory; override inside modules
  root.dir=.
  
  # Directory containing build files and such. This is normally computed
  # on the fly, inside common.xml.
  common.dir=${root.dir}/common
  
  # target directory ... where all derived files are placed (usually in 
subdirs).
  target.dir=target
  
  # Top-level target directory, used when generating a distribution
  root.target.dir=${root.dir}/${target.dir}
  
  # Directory containing various forms of source code, used when packaging
  # a source distribution.
  src.dir=src
  
  # Directory for main Java classes and resources (those that will be packaged 
up in the
  # derived JAR or WAR).
  java.src.dir=${src.dir}/java
  
  # Output directory for compilation of java.src.dir
  java.classes.dir=${target.dir}/classes
  
  # Directory for test code, i.e., where unit tests live
  test.src.dir=${src.dir}/test
  
  # Output directory for test code
  test.classes.dir=${target.dir}/test-classes
  
  # Output directory for XML test reports
  test.reports.dir=${target.dir}/test-reports
  
  # Directory used to store external packages
  external.package.dir=${root.dir}/ext-package
  
  # Directory to which external package JARs are extracted
  external.lib.dir=${external.package.dir}/lib
  
  # Directory containing dependencies of the module.
  
  module.lib.dir=${target.dir}/module-lib
  
  # URL root for downloads from the Maven IBiblio repository
  maven.ibiblio.url=http://www.ibiblio.org/maven
  
  # Directory to which all generated Java source code is stored.
  generated-java.src.dir=${target.dir}/generated-java
  
  # Directory containing JavaCC input files.
  javacc.src.dir=${src.dir}/javacc
  
  # Directory used for temporary files by the JUnit tests
  junit.temp.dir=${target.dir}/junit-temp
  
  # Directory where JUnit test reports are written.
  junit.report.dir=${target.dir}/junit-reports
  
  # Directory containing run-time configuration information (often only
  # needed during testing, such as a log4.properties file).
  conf.src.dir=${src.dir}/conf
  
  # Directory containing descriptors (specifically, the HiveMind module 
deployment descriptor).
  descriptor.src.dir=${src.dir}/descriptor
  
  # Directory into which packaged JARs (or other archives) should be copied.
  # This may be overriden when creating a distribution.
  jar.target.dir=${root.target.dir}
  
  # Note: project.version is defined in version.properties
  
  # Directory to which documentation is generated. This is often
  # overriden when creating a distribution.
  doc.target.dir=${target.dir}/docs
  
  # Directory to which javadoc is generated
  javadoc.target.dir=${doc.target.dir}/api
  
  
  
  1.1                  jakarta-hivemind/common/common.xml
  
  Index: common.xml
  ===================================================================
  <?xml version="1.0"?>
  <!-- $Id: common.xml,v 1.1 2004/05/20 23:57:44 hlship Exp $ -->
  <!-- 
     Copyright 2004 The Apache Software Foundation
  
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
         http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
  -->
  <project name="common">
  
        <!-- Ant magically sets ant.file.common to the location of this exact 
file.
                   So we can compute common.dir from that. -->
        
        <dirname property="common.dir" file="${ant.file.common}"/>
        
        <property file="${common.dir}/common.properties"/>
        <property file="${common.dir}/version.properties"/>
  
        <target name="clean" description="Deletes all derived files.">
        
                <delete dir="${target.dir}" quiet="true"/>
                
        </target>
  
        <target name="clean-ext-packages" description="Delete all downloaded 
external packages.">
                <delete dir="${external.package.dir}" quiet="true"/>    
        </target>
  
  
  </project>
  
  
  1.28      +23 -20    jakarta-hivemind/.classpath
  
  Index: .classpath
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/.classpath,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- .classpath        17 May 2004 16:57:46 -0000      1.27
  +++ .classpath        20 May 2004 23:57:44 -0000      1.28
  @@ -1,25 +1,28 @@
   <?xml version="1.0" encoding="UTF-8"?>
   <classpath>
  -    <classpathentry kind="src" output="framework/target/test-classes" 
path="framework/src/conf"/>
  -    <classpathentry kind="src" output="framework/target/classes" 
path="framework/src/java"/>
  -    <classpathentry kind="src" output="framework/target/test-classes" 
path="framework/src/test"/>
  -    <classpathentry kind="src" output="library/target/classes" 
path="library/src/java"/>
  -    <classpathentry kind="src" output="library/target/test-classes" 
path="library/src/test"/>
  -    <classpathentry kind="src" output="library/target/classes" 
path="library/src/descriptor"/>
  -    <classpathentry kind="src" output="framework/target/classes" 
path="framework/src/descriptor"/>
  -    <classpathentry kind="src" output="framework/target/classes" 
path="framework/target/generated-java"/>
  +    <classpathentry kind="src"
  +        output="framework/target/eclipse-test-classes" 
path="framework/src/conf"/>
  +    <classpathentry kind="src" output="framework/target/eclipse-classes" 
path="framework/src/java"/>
  +    <classpathentry kind="src"
  +        output="framework/target/eclipse-test-classes" 
path="framework/src/test"/>
  +    <classpathentry kind="src" output="library/target/eclipse-classes" 
path="library/src/java"/>
  +    <classpathentry kind="src"
  +        output="library/target/eclipse-test-classes" 
path="library/src/test"/>
  +    <classpathentry kind="src" output="library/target/eclipse-classes" 
path="library/src/descriptor"/>
  +    <classpathentry kind="src" output="framework/target/eclipse-classes" 
path="framework/src/descriptor"/>
  +    <classpathentry kind="src" output="framework/target/eclipse-classes" 
path="framework/target/generated-java"/>
       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
  -    <classpathentry kind="var" path="MAVEN_REPO/junit/jars/junit-3.8.1.jar"/>
  -    <classpathentry kind="var" path="MAVEN_REPO/log4j/jars/log4j-1.2.7.jar"/>
  -    <classpathentry kind="var" 
path="MAVEN_REPO/commons-logging/jars/commons-logging-1.0.3.jar"/>
  -    <classpathentry kind="var" 
path="MAVEN_REPO/xerces/jars/xerces-2.2.1.jar"/>
  -    <classpathentry kind="var" 
path="MAVEN_REPO/servletapi/jars/servletapi-2.3.jar"/>
  -    <classpathentry kind="var" 
path="MAVEN_REPO/xml-apis/jars/xml-apis-1.0.b2.jar"/>
  -    <classpathentry kind="var" path="MAVEN_REPO/ant/jars/ant-1.5.1.jar"/>
  -    <classpathentry kind="var" 
path="MAVEN_REPO/jboss/jars/jboss-j2ee-3.2.1.jar"/>
  -    <classpathentry kind="var" path="MAVEN_REPO/oro/jars/oro-2.0.6.jar"/>
  -    <classpathentry kind="var" 
path="MAVEN_REPO/jboss/jars/javassist-2.6.jar"/>
  -    <classpathentry kind="var" 
path="MAVEN_REPO/werkz/jars/werkz-1.0-beta-10.jar"/>
  -    <classpathentry kind="var" 
path="MAVEN_REPO/easymock/jars/easymock-1.1.jar"/>
  +    <classpathentry kind="lib" 
path="ext-package/lib/commons-logging-1.0.3.jar"/>
  +    <classpathentry kind="lib" path="ext-package/lib/easymock-1.1.jar"/>
  +    <classpathentry kind="lib" path="ext-package/lib/javassist-2.6.jar"/>
  +    <classpathentry kind="lib" path="ext-package/lib/log4j-1.2.7.jar"/>
  +    <classpathentry kind="lib" path="ext-package/lib/oro-2.0.6.jar"/>
  +    <classpathentry kind="lib" path="ext-package/lib/servletapi-2.3.jar"/>
  +    <classpathentry kind="lib" path="ext-package/lib/werkz-1.0-beta-10.jar"/>
  +    <classpathentry kind="var" path="ANT_HOME/lib/ant.jar"/>
  +    <classpathentry kind="var" path="ANT_HOME/lib/xercesImpl.jar"/>
  +    <classpathentry kind="var" path="ANT_HOME/lib/xml-apis.jar"/>
  +    <classpathentry kind="var" path="ANT_HOME/lib/junit-3.8.1.jar"/>
  +    <classpathentry kind="lib" path="ext-package/lib/jboss-j2ee-3.2.1.jar"/>
       <classpathentry kind="output" path="bin"/>
   </classpath>
  
  
  
  1.4       +1 -0      jakarta-hivemind/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/.cvsignore,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- .cvsignore        7 Jul 2003 19:57:52 -0000       1.3
  +++ .cvsignore        20 May 2004 23:57:44 -0000      1.4
  @@ -2,3 +2,4 @@
   *.log
   velocity.log*
   bin
  +ext-package
  
  
  
  1.1                  jakarta-hivemind/support/properties-copyright.txt
  
  Index: properties-copyright.txt
  ===================================================================
  #  Copyright 2004 The Apache Software Foundation
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #     http:#www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  
  
  1.1                  jakarta-hivemind/library/build.xml
  
  Index: build.xml
  ===================================================================
  <?xml version="1.0"?>
  <!-- $Id: build.xml,v 1.1 2004/05/20 23:57:44 hlship Exp $ -->
  <!-- 
     Copyright 2004 The Apache Software Foundation
  
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
         http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
  -->
  <project name="HiveMind Standard Library" default="jar">
  
        <property name="jar.name" value="hivemind-lib"/>
        <property name="javadoc.package" value="org.apache.hivemind.lib.*"/>
        
        <property name="root.dir" value=".."/>
        <import file="${root.dir}/common/jar-module.xml"/>
                
        <target name="compile">
                <ibiblio-dependency jar="jboss-j2ee-3.2.1.jar" 
group-id="jboss"/>
                
                <ibiblio-dependency jar="commons-logging-1.0.3.jar" 
group-id="commons-logging" use="test"/>
                <ibiblio-dependency jar="javassist-2.6.jar" group-id="jboss" 
use="test"/>
                <ibiblio-dependency jar="werkz-1.0-beta-10.jar" 
group-id="werkz" use="test"/>
                <ibiblio-dependency jar="servletapi-2.3.jar" 
group-id="servletapi" use="test"/>                         
                <ibiblio-dependency jar="oro-2.0.6.jar" group-id="oro" 
use="test"/>
                <ibiblio-dependency jar="log4j-1.2.7.jar" group-id="log4j" 
use="test"/>                         
                <ibiblio-dependency jar="easymock-1.1.jar" group-id="easymock" 
use="test"/>
                
                <project-dependency name="hivemind"/>
                
                <default-compile/>
        </target>
  
  </project>
  
  
  1.1                  jakarta-hivemind/framework/build.xml
  
  Index: build.xml
  ===================================================================
  <?xml version="1.0"?>
  <!-- $Id: build.xml,v 1.1 2004/05/20 23:57:44 hlship Exp $ -->
  <!-- 
     Copyright 2004 The Apache Software Foundation
  
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
         http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
  -->
  <project name="HiveMind Framework" default="jar">
  
        <property name="jar.name" value="hivemind"/>
        <property name="javadoc.package" value="org.apache.hivemind.*"/>
  
        <property name="root.dir" value=".."/>
        <import file="${root.dir}/common/jar-module.xml"/>
        <import file="${common.dir}/javacc.xml"/>                               
                                
                                        
        <target name="compile">
                <ibiblio-dependency jar="commons-logging-1.0.3.jar" 
group-id="commons-logging"/>
                <ibiblio-dependency jar="javassist-2.6.jar" group-id="jboss"/>
                <ibiblio-dependency jar="werkz-1.0-beta-10.jar" 
group-id="werkz"/>
                <ibiblio-dependency jar="servletapi-2.3.jar" 
group-id="servletapi"/>                            
                <ibiblio-dependency jar="oro-2.0.6.jar" group-id="oro"/>
                <ibiblio-dependency jar="log4j-1.2.7.jar" group-id="log4j"/>
                                
                <ibiblio-dependency jar="easymock-1.1.jar" group-id="easymock" 
use="test"/>
                        
                <run-javacc input="${javacc.src.dir}/SimpleDataLanguage.jj" 
package-path="org/apache/hivemind/sdl/parser"/>
                
                <default-compile/>
        </target>
  
  </project>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to