ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10855] New: - condition os family is not working anymore
Date Tue, 16 Jul 2002 06:25:48 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10855>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10855

condition os family is not working anymore

           Summary: condition os family is not working anymore
           Product: Ant
           Version: 1.5
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: heiko.federhenn@switzerland.org


The condition tag and espacially the os family test doesn't work in Version 1.5
but was working in 1.4.1.
Here is a test:
<target name="ostest">
        <condition value="startup.sh" property="tomcat.start">
            <os family="unix" />
        </condition>
        <echo message="${tomcat.start}">
</target>
This will result in the default value for tomcat.start in this case and not in
the os dependent one.
Here is the output from SunOs
Condition true; setting tomcat.start to /usr/local/home/pid3kl/tomcat/bin/startup.sh
Override ignored for property tomcat.start

Why does it ignore the override?

May it have to do with the underlaying jdk? On both systems I run the ant build
(SunOs and Windows) I use the IBM JDK Version
Windows:
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cn130-20010207 (JIT enabled: jitc)

SunOs:
java version "JPSE_1.3.1_20020313"
Java(TM) 2 Runtime Environment, Standard Edition (build JPSE_1.3.1_20020313)
Java HotSpot(TM) Client VM (build JPSE_1.3.1_20020313, mixed mode)

Thanks for help.

Heiko

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


Mime
View raw message