hlship      2004/06/25 14:19:21

  Modified:    .        status.xml
               common   jar-module.xml
  Added:       common   jar-module.properties
  Log:
  [HIVEMIND-12] Modify the build files to enable debugging by default.
  
  Revision  Changes    Path
  1.16      +3 -0      jakarta-hivemind/status.xml
  
  Index: status.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/status.xml,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- status.xml        25 Jun 2004 20:55:28 -0000      1.15
  +++ status.xml        25 Jun 2004 21:19:21 -0000      1.16
  @@ -87,6 +87,9 @@
         <action type="fix" dev="HLS" fixes-bug="HIVEMIND-7" due-to="Achim 
Hügen">
           Fix how certain translator messages are generated to avoid unit test 
failures.
         </action>
  +      <action type="update" dev="HLS" fixes-bug="HIVEMIND-12">
  +        Modified the build files to enable debugging by default.
  +      </action>
       </release>
     </changes>
   </status>
  
  
  
  1.7       +29 -13    jakarta-hivemind/common/jar-module.xml
  
  Index: jar-module.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/common/jar-module.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- jar-module.xml    28 May 2004 21:41:11 -0000      1.6
  +++ jar-module.xml    25 Jun 2004 21:19:21 -0000      1.7
  @@ -24,6 +24,7 @@
        <import file="common.xml"/>
        <import file="dependency.xml"/>
        <import file="forrest.xml"/>
  +  <property file="${common.dir}/jar-module.properties"/>
                
        <property name="forrest.report-menu.file" 
value="${root.forrest.xdocs.dir}/${module.name}-report-menu.ent"/>
                
  @@ -108,7 +109,16 @@
                        
                        <javac
                                destdir="@{classes-dir}"
  -                             classpathref="@{compile-classpath-id}">
  +                             classpathref="@{compile-classpath-id}"
  +        debug="${module.javac.debug}"
  +        debuglevel="${module.javac.debuglevel}"
  +        optimize="${module.javac.optimize}"
  +        deprecation="${module.javac.deprecation}"
  +        target="${module.javac.target}"
  +        verbose="${module.javac.verbose}"
  +        source="${module.javac.source}"
  +        listfiles="${module.javac.listfiles}"
  +        >
                                <src>
                                        <path refid="@{sourcepath-id}"/>
                                </src>  
  @@ -122,17 +132,23 @@
                <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}"/>
  -                     
  -                     <announce message="Compiling tests to 
${test.classes.dir} ..."/>
  -                     
  -                     <javac
  -                                     destdir="${test.classes.dir}"
  -                                     classpathref="@{compile-classpath-id}"
  -                                     srcdir="${test.src.dir}"/>
  -                                     
  -             </sequential>
  +    <sequential>
  +      <mkdir dir="${test.classes.dir}"/>
  +      
  +      <announce message="Compiling tests to ${test.classes.dir} ..."/>
  +      
  +      <javac destdir="${test.classes.dir}" 
  +        classpathref="@{compile-classpath-id}"
  +        srcdir="${test.src.dir}" 
  +        debug="${module.javac-test.debug}" 
  +        debuglevel="${module.javac-test.debuglevel}" 
  +        optimize="${module.javac-test.optimize}" 
  +        deprecation="${module.javac-test.deprecation}" 
  +        target="${module.javac-test.target}" 
  +        verbose="${module.javac-test.verbose}" 
  +        source="${module.javac-test.source}" 
  +        listfiles="${module.javac-test.listfiles}" />
  +    </sequential>
        </macrodef>
        
        <macrodef name="default-run-tests">
  
  
  
  1.1                  jakarta-hivemind/common/jar-module.properties
  
  Index: jar-module.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.
  
  # Contains properties specific to jar-modules.  Many properties in 
common.properties
  # should move here.
  
  # The following several properties define arguments passed to the javac task 
when compiling
  # target code.
  
  module.javac.debug=on
  module.javac.debuglevel=
  module.javac.optimize=on
  module.javac.deprecation=on
  module.javac.target=1.1
  module.javac.verbose=off
  module.javac.source=1.3
  module.javac.listfiles=off
  
  # Each of the above has a corresponding javac-test that defaults to the same 
value.
  
  module.javac-test.debug=${module.javac.test}
  module.javac-test.debug=${module.javac.debug}
  module.javac-test.debuglevel=${module.javac.debuglevel}
  module.javac-test.optimize=${module.javac.optimize}
  module.javac-test.deprecation=${module.javac.deprecation}
  module.javac-test.target=${module.javac.target}
  module.javac-test.verbose=${module.javac.verbose}
  module.javac-test.source=${module.javac.source}
  module.javac-test.listfiles=${module.javac.listfiles}
  
  
  
  
  

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

Reply via email to