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/02/23 05:00:39 UTC

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

Message:

   The following issue has been re-assigned.

   Assignee: Dave Brondsema (mailto:brondsem@apache.org)
---------------------------------------------------------------------
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: Use on Windows 98
       Type: Bug

     Status: Assigned
   Priority: Major

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

   Assignee: Dave Brondsema
   Reporter: Pierrick Brihaye

    Created: Mon, 9 Feb 2004 11:25 PM
    Updated: Mon, 23 Feb 2004 5:20 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