tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony W. Marino" <anth...@AWMObjects.com>
Subject "j-t-c/jk/native/ build.xml": OS Specific Includes Fail
Date Mon, 27 May 2002 21:27:51 GMT
You need to set the os specific property (ie; "linux") using the "<condition>" 
task as is done in "j-t-c/jk/native2/ build.xml" as follows:

Example snippet from  "j-t-c/jk/native2/ build.xml":

    <!-- What OS ( it'll determine the includes ) -->
    <condition property="linux">
       <equals arg1="${os.name}" arg2="Linux"/>
    </condition>
    <condition property="solaris">
       <equals arg1="${os.name}" arg2="SunOS"/>
    </condition>
    <condition property="win32">
      <os family="windows"/>
    </condition>
    <condition property="hpux">
      <equals arg1="${os.name}" arg2="HP-UX"/>
    </condition>
    <!-- I believe they are using cross-compilation, so checking the os.name
         doesn't help. We'll check if the NDK is installed instead -->
    <condition property="netware">
      <available file="novellndk.home" />
    </condition>



Thank You,
Anthony



--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message