[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#3516) bug report javac.xml
Full_Name: Felipe Oliveira
Version: I don't know
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (198.70.16.205)
the ant task is not defined correctly, it doesn't include the javax.security
package on ldap.jar. i am attaching the fixed file.
thanks,
felipe
"""
<!-- $OpenLDAP: pkg/jldap/javac.xml,v 1.14 2003/09/23 05:39:41 sunilk Exp $ -->
<!-- =======================================================================
-->
<!-- JAVAC build file
-->
<!-- =======================================================================
-->
<project name="jldap" default="debug" basedir=".">
<!-- Targets
-->
<!-- debug - Builds debug classes and jar files
-->
<!-- At the lowest level directory it only compiles java
files.-->
<!-- release - Builds release classes and jar files
-->
<!-- At the lowest level directory it only compiles java
files.-->
<!--
******************************************************************************
* Copyright (C) 1999, 2000, 2001 Novell, Inc. All Rights Reserved.
*
* THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND
* TREATIES. USE, MODIFICATION, AND REDISTRIBUTION OF THIS WORK IS SUBJECT
* TO VERSION 2.0.1 OF THE OPENLDAP PUBLIC LICENSE, A COPY OF WHICH IS
* AVAILABLE AT HTTP://WWW.OPENLDAP.ORG/LICENSE.HTML OR IN THE FILE "LICENSE"
* IN THE TOP-LEVEL DIRECTORY OF THE DISTRIBUTION. ANY USE OR EXPLOITATION
* OF THIS WORK OTHER THAN AS AUTHORIZED IN VERSION 2.0.1 OF THE OPENLDAP
* PUBLIC LICENSE, OR OTHER PRIOR WRITTEN CONSENT FROM NOVELL, COULD SUBJECT
* THE PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY.
******************************************************************************
-->
<!-- ===================================================================
-->
<!-- Initialization
-->
<!-- ===================================================================
-->
<target name="init">
<tstamp/>
<filter token="COMPILE_DEBUG" value="${DEBUG_VALUE}"/>
</target>
<target name="setupDebug" depends="init">
<delete file="com/novell/ldap/client/Debug.java"/>
<copy
file="com/novell/ldap/client/Debug.template"
tofile="com/novell/ldap/client/Debug.java"
overwrite="YES"
filtering="YES"
/>
</target>
<!-- ===================================================================
-->
<!-- build debug classes
-->
<!-- ===================================================================
-->
<target name="debug" depends="setupDebug">
<echo message="DEBUG compile in com/novell"/>
<mkdir dir="${build.debug}"/>
<javac
srcdir="."
includes="com/novell/**/*.java,javax/security/sasl/*.java,org/ietf/**/*.java"
excludes="com/novell/services/**/*.java"
destdir="${build.debug}"
target="1.2"
deprecation="off"
debug="on"
optimize="off">
<classpath>
<pathelement
location="external/ssl/domestic/nssl1.2_dom.jar"/>
<pathelement location="external/jsse/lib/jcert.jar"/>
<pathelement location="external/jsse/lib/jnet.jar"/>
<pathelement location="external/jsse/lib/jsse.jar"/>
</classpath>
</javac>
<echo message="Creating DEBUG ${lib.debug}/${ldap}.jar file"/>
<mkdir dir="${lib.debug}"/>
<jar
jarfile="${lib.debug}/${ldap}.jar"
basedir="${build.debug}"
/>
</target>
<!-- ===================================================================
-->
<!-- build release classes
-->
<!-- ===================================================================
-->
<target name="release" depends="setupDebug">
<echo message="RELEASE compile in com/novell"/>
<mkdir dir="${build}"/>
<javac
srcdir="."
includes="com/novell/**/*.java,javax/security/sasl/*.java,org/ietf/**/*.java"
excludes="com/novell/services/**/*.java"
destdir="${build}"
target="1.2"
deprecation="off"
debug="off"
optimize="on">
<classpath>
<pathelement
location="external/ssl/domestic/nssl1.2_dom.jar"/>
<pathelement location="external/jsse/lib/jcert.jar"/>
<pathelement location="external/jsse/lib/jnet.jar"/>
<pathelement location="external/jsse/lib/jsse.jar"/>
</classpath>
</javac>
<echo message="Creating RELEASE ${lib}/${ldap}.jar file"/>
<mkdir dir="${lib}"/>
<jar jarfile="${lib}/${ldap}.jar"
basedir="${build}"
/>
</target>
</project>
"""