Modify ↓
#69 closed defect (fixed)
javatools:ant can not write to logfiles on windows
Reported by: | sven.reimers@… | Owned by: | cmlenz |
---|---|---|---|
Priority: | major | Milestone: | 0.5.1 |
Component: | Recipe commands | Version: | dev |
Keywords: | Cc: | ||
Operating System: | Windows |
Description
Using the java:ant recipe command ends with empty log information after execution.
This is caused by opening files with python tempfile. These can not be opened in write mode on windows, as long as they are opened from python.
Solution: close tempfile after getting the name from python, let ant do its magic and afterwards reopen file for read to parse. This works for me.
I can provide a patch from our testsystem if useful.
Attachments (1)
Change History (6)
comment:1 Changed 19 years ago by cmlenz
comment:2 Changed 19 years ago by sreimers <sven.reimers@…>
Patch submitted as requested (reproduced from memory)
comment:3 Changed 19 years ago by cmlenz
- Milestone set to 0.6
- Resolution set to fixed
- Status changed from new to closed
Patch applied in [308].
comment:4 Changed 19 years ago by cmlenz
- Milestone changed from 0.6 to 0.5.1
Fix ported to 0.5.x in [309].
comment:5 Changed 19 years ago by cmlenz
- Operating System set to Windows
Note: See
TracTickets for help on using
tickets.
A patch would be great :-)