commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosu...@apache.org
Subject cvs commit: jakarta-commons/attributes/site/xdocs navigation.xml
Date Mon, 26 Jul 2004 20:48:58 GMT
leosutic    2004/07/26 13:48:58

  Modified:    attributes project.xml maven.xml build.xml
               attributes/compiler project.xml
               attributes/plugin project.xml
               attributes/site/xdocs navigation.xml
  Added:       attributes RELEASE.txt
  Log:
  Preparing for a 2.1 release.
  
  Revision  Changes    Path
  1.6       +1 -1      jakarta-commons/attributes/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/attributes/project.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- project.xml	26 Jul 2004 19:29:44 -0000	1.5
  +++ project.xml	26 Jul 2004 20:48:58 -0000	1.6
  @@ -29,7 +29,7 @@
           <logo>http://jakarta.apache.org/images/jakarta-logo.gif</logo>
       </organization>
       
  -    <currentVersion>2.1rc1</currentVersion>
  +    <currentVersion>2.1</currentVersion>
       <inceptionYear>2003</inceptionYear>
       <shortDescription>Commons Attributes</shortDescription>
       <description>A package for handling runtime information about types (including
Java classes)</description>
  
  
  
  1.3       +9 -0      jakarta-commons/attributes/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/attributes/maven.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- maven.xml	24 Jul 2004 14:32:27 -0000	1.2
  +++ maven.xml	26 Jul 2004 20:48:58 -0000	1.3
  @@ -153,6 +153,15 @@
               ignoreFailures="false" />
       </goal>
       
  +    <goal name="dist">
  +        <maven:reactor
  +            basedir="${basedir}"
  +            includes="api/project.xml,compiler/project.xml"
  +            goals="dist:build"
  +            banner="Creating distribution:"
  +            ignoreFailures="false" />
  +    </goal>
  +    
       <goal name="install-plugin">
           <maven:reactor
               basedir="${basedir}"
  
  
  
  1.5       +183 -162  jakarta-commons/attributes/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/attributes/build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml	24 Jul 2004 14:49:34 -0000	1.4
  +++ build.xml	26 Jul 2004 20:48:58 -0000	1.5
  @@ -1,168 +1,189 @@
   <?xml version="1.0" encoding="UTF-8"?>
   
   <!--
  -=
  -= Copyright 2003-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.
  -=
  --->
  -<!--
  -build.xml generated by maven from project.xml version 2.1
  -on date August 24 2003, time 1939
  +  build.xml generated by maven from project.xml version 2.1
  +  on date July 26 2004, time 2241
   -->
  +
   <project default="jar" name="commons-attributes-api" basedir=".">
  -    <property name="defaulttargetdir" value="target">
  -    </property>
  -    <property name="libdir" value="target/lib">
  -    </property>
  -    <property name="classesdir" value="target/classes">
  -    </property>
  -    <property name="testclassesdir" value="target/test-classes">
  -    </property>
  -    <property name="testreportdir" value="target/test-reports">
  -    </property>
  -    <property name="distdir" value="dist">
  -    </property>
  -    <property name="javadocdir" value="dist/docs/api">
  -    </property>
  -    <property name="final.name.api" value="commons-attributes-api-2.1rc1">
  -    </property>
  -    <property name="final.name.compiler" value="commons-attributes-compiler-2.1rc1">
  -    </property>
  -    <target name="init" description="o Initializes some properties">
  -        <mkdir dir="${libdir}">
  -        </mkdir>
  -        <condition property="noget">
  -            <equals arg2="only" arg1="${build.sysclasspath}">
  -            </equals>
  -        </condition>
  -    </target>
  -    <target name="compile" description="o Compile the code" depends="get-deps">
  -        <mkdir dir="${classesdir}">
  -        </mkdir>
  -        <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false"
excludes="**/package.html">
  -            <src>
  -                <pathelement location="api/src/java">
  -                </pathelement>
  -                <pathelement location="compiler/src/java">
  -                </pathelement>
  -            </src>
  -            <classpath>
  -                <fileset dir="${libdir}">
  -                    <include name="*.jar">
  -                    </include>
  -                </fileset>
  -            </classpath>
  -        </javac>
  -        <copy todir="${classesdir}">
  -            <fileset dir="api/src/java">
  -                <include name="**/*.dtd">
  -                </include>
  -                <include name="**/*.properties">
  -                </include>
  -                <include name="**/*.xinfo">
  -                </include>
  -                <include name="**/*.xtype">
  -                </include>
  -                <include name="**/*.xprofile">
  -                </include>
  -                <include name="**/*.xconfig">
  -                </include>
  -                <include name="**/*.xml">
  -                </include>
  -                <include name="**/*.xservice">
  -                </include>
  -            </fileset>
  -        </copy>
  -        <copy todir="${classesdir}">
  -            <fileset dir="../">
  -                <include name="LICENSE.txt">
  -                </include>
  -            </fileset>
  -        </copy>
  -        <copy todir="${classesdir}">
  -            <fileset dir=".">
  -                <include name="block.xml">
  -                </include>
  -            </fileset>
  -        </copy>
  -    </target>
  -    <target name="jar" description="o Create the jar" depends="compile">
  -        <jar jarfile="target/${final.name.api}.jar" excludes="**/package.html,**/compiler/**"
basedir="${classesdir}">
  -        </jar>
  -        <jar jarfile="target/${final.name.compiler}.jar" excludes="**/package.html"
includes="**/compiler/**" basedir="${classesdir}">
  -        </jar>
  -    </target>
  -    <target name="clean" description="o Clean up the generated directories">
  -        <delete dir="${defaulttargetdir}">
  -        </delete>
  -        <delete dir="${distdir}">
  -        </delete>
  -    </target>
  -    <target name="dist" description="o Create a distribution" depends="jar, javadoc">
  -        <mkdir dir="dist">
  -        </mkdir>
  -        <copy todir="dist">
  -            <fileset dir="${defaulttargetdir}" includes="*.jar">
  -            </fileset>
  -            <fileset dir="${basedir}" includes="LICENSE*, README*">
  -            </fileset>
  -        </copy>
  -    </target>
  -    <target name="javadoc" description="o Generate javadoc" depends="jar">
  -        <mkdir dir="${javadocdir}">
  -        </mkdir>
  -        <tstamp>
  -            <format pattern="2003-yyyy" property="year">
  -            </format>
  -        </tstamp>
  -        <property name="copyright" value="Copyright &amp;copy;  Apache Software
Foundation. All Rights Reserved.">
  -        </property>
  -        <property name="title" value="Jakarta Commons Attribute Compiler API 2.1rc1
API">
  -        </property>
  -        <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true"
sourcepath="api/src/java" packagenames="org.apache.commons.attributes.*">
  -            <classpath>
  -                <fileset dir="${libdir}">
  -                    <include name="*.jar">
  -                    </include>
  -                </fileset>
  -                <pathelement location="target/${final.name}.jar">
  -                </pathelement>
  -            </classpath>
  -        </javadoc>
  -    </target>
  -    <target name="get-deps" unless="noget" depends="init">
  -        <get dest="${libdir}/ant-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar">
  -        </get>
  -        <get dest="${libdir}/xdoclet-xjavadoc-1.0.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/xdoclet/jars/xdoclet-xjavadoc-1.0.jar">
  -        </get>
  -        <get dest="${libdir}/commons-collections-2.1.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/commons-collections/jars/commons-collections-2.1.jar">
  -        </get>
  -        <get dest="${libdir}/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar">
  -        </get>
  -        <get dest="${libdir}/ant-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar">
  -        </get>
  -        <get dest="${libdir}/ant-optional-1.5.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/ant/jars/ant-optional-1.5.jar">
  -        </get>
  -        <jar destfile="${libdir}/javadoc-1.4.jar">
  -            <zipfileset src="${java.home}/../lib/tools.jar" includes="com/sun/javadoc/**,com/sun/tools/doclets/Taglet.class"/>
  -        </jar>
  -    </target>
  -    <target name="install-maven">
  -        <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar">
  -        </get>
  -        <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
  -        </unjar>
  -    </target>
  +  <property name="defaulttargetdir" value="target">
  +  </property>
  +  <property name="libdir" value="target/lib">
  +  </property>
  +  <property name="classesdir" value="target/classes">
  +  </property>
  +  <property name="testclassesdir" value="target/test-classes">
  +  </property>
  +  <property name="testreportdir" value="target/test-reports">
  +  </property>
  +  <property name="distdir" value="dist">
  +  </property>
  +  <property name="javadocdir" value="dist/docs/api">
  +  </property>
  +  <property name="final.name" value="commons-attributes-api-2.1">
  +  </property>
  +  <target name="init" description="o Initializes some properties">
  +    <mkdir dir="${libdir}">
  +    </mkdir>
  +    <condition property="noget">
  +      <equals arg2="only" arg1="${build.sysclasspath}">
  +      </equals>
  +    </condition>
  +  </target>
  +  <target name="compile" description="o Compile the code" depends="get-deps">
  +    <mkdir dir="${classesdir}">
  +    </mkdir>
  +    <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false"
excludes="**/package.html">
  +      <src>
  +        <pathelement location="C:\Home\leo\Private\Apache\jakarta-commons\attributes\api/src/java">
  +        </pathelement>
  +      </src>
  +      <classpath>
  +        <fileset dir="${libdir}">
  +          <include name="*.jar">
  +          </include>
  +        </fileset>
  +      </classpath>
  +    </javac>
  +    <copy todir="${classesdir}">
  +      <fileset dir="C:\Home\leo\Private\Apache\jakarta-commons\attributes\api/src/java">
  +        <include name="**/*.dtd">
  +        </include>
  +        <include name="**/*.properties">
  +        </include>
  +        <include name="**/*.xinfo">
  +        </include>
  +        <include name="**/*.xtype">
  +        </include>
  +        <include name="**/*.xprofile">
  +        </include>
  +        <include name="**/*.xconfig">
  +        </include>
  +        <include name="**/*.xml">
  +        </include>
  +        <include name="**/*.xservice">
  +        </include>
  +      </fileset>
  +    </copy>
  +    <copy todir="${classesdir}">
  +      <fileset dir="C:\Home\leo\Private\Apache\jakarta-commons\attributes\api/../">
  +        <include name="LICENSE.txt">
  +        </include>
  +        <include name="NOTICE.txt">
  +        </include>
  +      </fileset>
  +    </copy>
  +    <copy todir="${classesdir}">
  +      <fileset dir=".">
  +        <include name="block.xml">
  +        </include>
  +      </fileset>
  +    </copy>
  +    <copy todir="${testclassesdir}">
  +      <fileset dir="C:\Home\leo\Private\Apache\jakarta-commons\attributes\api/src/test">
  +        <include name="**/*.dtd">
  +        </include>
  +        <include name="**/*.properties">
  +        </include>
  +        <include name="**/*.xinfo">
  +        </include>
  +        <include name="**/*.xtype">
  +        </include>
  +        <include name="**/*.xprofile">
  +        </include>
  +        <include name="**/*.xconfig">
  +        </include>
  +        <include name="**/*.xml">
  +        </include>
  +        <include name="**/*.xservice">
  +        </include>
  +        <include name="**/*.mf">
  +        </include>
  +        <include name="**/*.jar">
  +        </include>
  +      </fileset>
  +    </copy>
  +    <copy todir="${testclassesdir}">
  +      <fileset dir=".">
  +        <include name="**/*.properties">
  +        </include>
  +      </fileset>
  +    </copy>
  +    <copy todir="${testclassesdir}">
  +      <fileset dir="C:\Home\leo\Private\Apache\jakarta-commons\attributes\api/src/test/conf">
  +        <include name="**/*">
  +        </include>
  +      </fileset>
  +    </copy>
  +  </target>
  +  <target name="jar" description="o Create the jar" depends="compile,test">
  +    <jar jarfile="target/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
  +    </jar>
  +  </target>
  +  <target name="clean" description="o Clean up the generated directories">
  +    <delete dir="${defaulttargetdir}">
  +    </delete>
  +    <delete dir="${distdir}">
  +    </delete>
  +  </target>
  +  <target name="dist" description="o Create a distribution" depends="jar, javadoc">
  +    <mkdir dir="dist">
  +    </mkdir>
  +    <copy todir="dist">
  +      <fileset dir="${defaulttargetdir}" includes="*.jar">
  +      </fileset>
  +      <fileset dir="${basedir}" includes="LICENSE*, README*">
  +      </fileset>
  +    </copy>
  +  </target>
  +  <target name="test" description="o Run the test cases" if="test.failure" depends="internal-test">
  +    <fail message="There were test failures.">
  +    </fail>
  +  </target>
  +  <target name="internal-test" depends="compile-tests">
  +  </target>
  +  <target name="compile-tests" depends="compile">
  +  </target>
  +  <target name="javadoc" description="o Generate javadoc" depends="jar">
  +    <mkdir dir="${javadocdir}">
  +    </mkdir>
  +    <tstamp>
  +      <format pattern="2003-yyyy" property="year">
  +      </format>
  +    </tstamp>
  +    <property name="copyright" value="Copyright &amp;copy; 2003-2004 The Apache
Software Foundation. All Rights Reserved.">
  +    </property>
  +    <property name="title" value="Jakarta Commons Attributes API 2.1 API">
  +    </property>
  +    <javadoc bottom="Copyright &amp;copy; 2003-2004 The Apache Software Foundation.
All Rights Reserved." windowtitle="Jakarta Commons Attributes API 2.1 API" use="true" private="true"
destdir="${javadocdir}" author="true" doctitle="Jakarta Commons Attributes API 2.1 API" version="true"
sourcepath="C:\Home\leo\Private\Apache\jakarta-commons\attributes\api/src/java" packagenames="org.apache.commons.attributes.*">
  +      <classpath>
  +        <fileset dir="${libdir}">
  +          <include name="*.jar">
  +          </include>
  +        </fileset>
  +        <pathelement location="target/${final.name}.jar">
  +        </pathelement>
  +      </classpath>
  +    </javadoc>
  +  </target>
  +  <target name="get-deps" unless="noget" depends="init">
  +    <get dest="${libdir}/ant-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar">
  +    </get>
  +    <get dest="${libdir}/xdoclet-xjavadoc-1.0.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/xdoclet/jars/xdoclet-xjavadoc-1.0.jar">
  +    </get>
  +    <get dest="${libdir}/commons-collections-2.1.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/commons-collections/jars/commons-collections-2.1.jar">
  +    </get>
  +    <get dest="${libdir}/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar">
  +    </get>
  +    <get dest="${libdir}/ant-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar">
  +    </get>
  +    <get dest="${libdir}/ant-optional-1.5.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/ant/jars/ant-optional-1.5.jar">
  +    </get>
  +  </target>
  +  <target name="install-maven">
  +    <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar">
  +    </get>
  +    <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
  +    </unjar>
  +  </target>
   </project>
  
  
  
  1.1                  jakarta-commons/attributes/RELEASE.txt
  
  Index: RELEASE.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.
  
  
  = Release Notes for Commons-Attributes =
  
  == 2.1 ==
  
   + Made the Maven plugin only run the attribute compiler if
     a project property named org.apache.commons.attributes.enabled
     was set to 'true'. Likewise, the attribute indexer will only run if
     a project property named org.apache.commons.attributes.index.enabled
     is set to 'true'. This to keep these two tasks to be run on
     every single project being built.
  
     If your project uses C-A, you should add the following lines
     to your project.properties:
  
        ################################################################
        # Commons-Attributes
        ################################################################
        org.apache.commons.attributes.enable=true
        org.apache.commons.attributes.index.enable=true
  
   + Fixed bug where a method whose parameters included an inner class
     could not have attributes added to it:
  
        public class Outer {
            public static class Inner {}
  
            /**
             * @@SomeAttribute()
             */
            public void method (Inner inner) {}
        }
  
        ...
  
        Method method = 
            Outer.class.getMethod(
                "method", 
                new Class[]{ Outer.Inner.class });
  
        Collection methodAttributes = 
            Attributes.getAttributes (method);
  
        // Prints 0, not 1
        System.out.println (methodAttributes.size ()); 
  
  == 2.0alpha ==
  
  Unofficial "release" that (perhaps unfortunately) saw widespread
  use.
  
  
  1.4       +1 -1      jakarta-commons/attributes/compiler/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/attributes/compiler/project.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- project.xml	24 Jul 2004 14:49:34 -0000	1.3
  +++ project.xml	26 Jul 2004 20:48:58 -0000	1.4
  @@ -50,7 +50,7 @@
           <dependency>
               <groupId>commons-attributes</groupId>
               <artifactId>commons-attributes-api</artifactId>
  -            <version>2.1rc1</version>
  +            <version>2.1</version>
           </dependency>
           
           <dependency>
  
  
  
  1.4       +2 -2      jakarta-commons/attributes/plugin/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/attributes/plugin/project.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- project.xml	24 Jul 2004 14:49:34 -0000	1.3
  +++ project.xml	26 Jul 2004 20:48:58 -0000	1.4
  @@ -31,13 +31,13 @@
           <dependency>
               <groupId>commons-attributes</groupId>
               <artifactId>commons-attributes-api</artifactId>
  -            <version>2.1rc1</version>
  +            <version>2.1</version>
           </dependency>
           
           <dependency>
               <groupId>commons-attributes</groupId>
               <artifactId>commons-attributes-compiler</artifactId>
  -            <version>2.1rc1</version>
  +            <version>2.1</version>
           </dependency>
           
           <dependency>
  
  
  
  1.2       +4 -1      jakarta-commons/attributes/site/xdocs/navigation.xml
  
  Index: navigation.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/attributes/site/xdocs/navigation.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- navigation.xml	6 Jul 2004 20:43:00 -0000	1.1
  +++ navigation.xml	26 Jul 2004 20:48:58 -0000	1.2
  @@ -20,7 +20,10 @@
       <body>
           <menu name="Commons&#xA0;Attributes">
               <item name="Overview" href="/index.html"/>
  -            <item name="API" href="/api/index.html"/>
  +            <item name="API" href="/api-2.1/index.html">
  +                <item name="CVS" href="/api/index.html"/>
  +                <item name="2.1" href="/api-2.1/index.html"/>
  +            </item>
               <item name="Tutorial" href="/tutorial.html">
                   <item name="Ant Demo" href="/ant_demo.html"/>
                   <item name="Maven Demo" href="/maven_demo.html"/>
  
  
  

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


Mime
View raw message