Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#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)

javatools.patch (705 bytes) - added by sreimers <sven.reimers@…> 19 years ago.
Patch for logfile locking problem

Download all attachments as: .zip

Change History (6)

comment:1 Changed 19 years ago by cmlenz

A patch would be great :-)

Changed 19 years ago by sreimers <sven.reimers@…>

Patch for logfile locking problem

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

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain cmlenz.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.