You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by is...@cocoondev.org on 2004/07/19 04:58:02 UTC
[issues] Resolved: (FOR-113) [PATCH] Use on Windows 98
Message:
The following issue has been resolved as FIXED.
Resolver: Dave Brondsema
Date: Mon, 19 Jul 2004 4:57 AM
Well I finally committed this. Please check to make sure it works. It works for me on WinXP, but I have no Win9x computers to test it on.
I did not apply the patch chunk that included "%ANT_HOME%\nul" because that broke it for me.
If possible, try testing where forrest is on a different drive than the project you are building. I added /d to the 'cd' commands so this would work in WinXP. I don't know how Win9x handles this.
---------------------------------------------------------------------
View the issue:
http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-113
Here is an overview of the issue:
---------------------------------------------------------------------
Key: FOR-113
Summary: [PATCH] Use on Windows 98
Type: Bug
Status: Resolved
Priority: Major
Resolution: FIXED
Project: Forrest
Component: Building Forrest
Fix For: 0.6
Versions:
0.6
Assignee: Dave Brondsema
Reporter: Pierrick Brihaye
Created: Mon, 9 Feb 2004 11:25 PM
Updated: Mon, 19 Jul 2004 4:57 AM
Environment: Windows 98 / JDK 1.4.1
Description:
There are a lot of NT specifics in Forrest batch files (@setlocal, %~dp0...) that prevent them to be run on Windows 98.
It would be nice to have this compatibility :-)
The most difficult part may be to emulate the setpwdvar.bat for NT. Here is a code snippet that does the trick :
@echo off
echo @prompt set PWD=$p$_ > _temp_A.bat
%comspec% /e:2048 /c _temp_A.bat > _temp_B.bat
call _temp_B.bat
del _temp_?.bat
Hope this helps.
Cheers,
p.b.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org/jira//Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira