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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to