You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Anthony W. Marino" <an...@AWMObjects.com> on 2002/05/27 23:27:51 UTC

"j-t-c/jk/native/ build.xml": OS Specific Includes Fail

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>