forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iss...@cocoondev.org
Subject [issues] Updated: (FOR-113) Use on Windows 98
Date Thu, 01 Jan 1970 00:00:00 GMT
The following issue has been updated:

    Updater: Pierrick Brihaye (mailto:pierrick.brihaye@wanadoo.fr)
       Date: Wed, 11 Feb 2004 11:58 AM
    Comment:
src/core/bin/setpwdvar98.bat contains the code described above.

I hope that I didn't break the XP compatibility :-)

p.b.
    Changes:
[Attachment] [forrest-patch-win98.txt] was added

---------------------------------------------------------------------
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: Use on Windows 98
       Type: Bug

     Status: Unassigned
   Priority: Major

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

   Assignee: 
   Reporter: Pierrick Brihaye

    Created: Mon, 9 Feb 2004 11:25 PM
    Updated: Wed, 11 Feb 2004 11:58 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


Mime
View raw message