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=27016>.
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=27016

Test harness doesn't run on Windows 2003

           Summary: Test harness doesn't run on Windows 2003
           Product: XalanJ2
           Version: CurrentCVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I tried to run the Test Harness on a Windows 2003 machine and I believe
we've run across an Ant 1.5 limitation with the <property environment="ENV"> 
statement in xml-xalan\test\build.xml.

When I comment out the statement, the harness runs successfully.

According to Ant's documentation, this feature is only available on 'select' 
platforms, however, I couldn't find any reference to a specific list.  In the 
Ant FAQ, they suggest that you set the -Dos.name=Windows_NT as a workaround for 
this problem.

I tried this and it works, so I propose that instead of changing our 
xml-xalan\test\build.xml file, we instead change our xml-xalan\test\build.bat 
file to use the workaround.  The build.bat file is a Windows batch file, so by 
setting this os name we're not affecting the execution of the test harness on 
other platforms.  Secondly, I don't believe the test harness nor the test 
targets particularly care which Windows OS level they're running on.

Reply via email to