You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by bl...@apache.org on 2003/11/12 23:52:08 UTC

cvs commit: xml-security build.xml

blautenb    2003/11/12 14:52:08

  Modified:    .        build.xml
  Log:
  Added patch from dims - see e-mail from dims@yahoo.com dated 13 November 2003 + added debug option to javac as per bugzilla #24625 from kdowney@amberarcher.com
  
  Revision  Changes    Path
  1.62      +10 -3     xml-security/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-security/build.xml,v
  retrieving revision 1.61
  retrieving revision 1.62
  diff -u -r1.61 -r1.62
  --- build.xml	17 Sep 2003 22:34:39 -0000	1.61
  +++ build.xml	12 Nov 2003 22:52:08 -0000	1.62
  @@ -23,6 +23,11 @@
       <property name="year"              value="2000-2002" />
       <property name="copyright"         value="Copyright &#169; ${year} Apache XML Project. All Rights Reserved." />
   
  +    <!-- Give user a chance to override without editing this file
  +         (and without typing -D each time it compiles it) -->
  +    <property file="./build.properties"/>
  +    <property file="${user.home}/build.properties"/>
  +
   <!--<property name="build.compiler"        value="classic" />
       <property name="build.compiler"        value="jikes" />-->
   
  @@ -55,6 +60,8 @@
       <property name="build.junit.xml"       value="${build.doc.xml}/junit" />
       <property name="build.junit.html"      value="${build.doc.html}/junit" />
   
  +	<property name = "build.compile.debug" value="on" />
  +
       <property name="cvs.cvsRoot.anonymous" value=":pserver:${cvs.user.anonymous}@${cvs.server}:${cvs.path}public" />
       <property name="cvs.cvsRoot.developer" value=":ext:${cvs.user.developer}@${cvs.server}:${cvs.path}" />
       <property name="cvs.package"           value="xml-security" />
  @@ -447,7 +454,7 @@
   
     <target name="compile.library" depends="prepare-src, check-bc">
       <!-- Compile the branded java code from ${build.src} into ${build.classes} -->
  -    <javac srcdir="${build.src}" destdir="${build.classes}">
  +    <javac srcdir="${build.src}" destdir="${build.classes}" debug="${build.compile.debug}">
         <classpath refid="classpath.library" />
       </javac>
       <!-- Copy Property files -->
  @@ -462,7 +469,7 @@
             depends="compile.library"
             if="junit.present">
       <!-- Compile the java code from ${dir.src} into ${build.classes} -->
  -    <javac srcdir="${dir.src.unitTests}" destdir="${build.classes}">
  +    <javac srcdir="${dir.src.unitTests}" destdir="${build.classes}" debug="${build.compile.debug}">
         <classpath refid="classpath.test" />
       </javac>
       <!-- Copy Property files -->
  @@ -477,7 +484,7 @@
             depends="compile.library">
       <!-- Compile the java code from ${dir.src} into ${build.classes} -->
       <javac srcdir="${dir.src.samples}"
  -           destdir="${build.classes}">
  +           destdir="${build.classes}" debug="${build.compile.debug}">
         <classpath refid="classpath.library" />
       </javac>
     </target>