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/04/26 23:28:41 UTC

[issues] Updated: (FOR-113) [PATCH] Use on Windows 98

The following issue has been updated:

    Updater: Juan Jose Pablos (mailto:cheche@che-che.com)
       Date: Mon, 26 Apr 2004 11:28 PM
    Changes:
[Fix For] set to [0.6]
[Summary] changed from [Use on Windows 98] to [[PATCH] Use on Windows 98]

---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-113&page=history

---------------------------------------------------------------------
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: Assigned
   Priority: Major

    Project: Forrest
  Component: shbat distribution - Forrest CLI
    Fix For: 0.6
   Versions:
             0.6

   Assignee: Dave Brondsema
   Reporter: Pierrick Brihaye

    Created: Mon, 9 Feb 2004 11:25 PM
    Updated: Mon, 26 Apr 2004 11:28 PM
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