forrest-dev mailing list archives

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

     Author: Nicola Ken Barozzi
    Created: Mon, 21 Jun 2004 5:59 PM
       Body:
It looks like setpwdvar98.bat is not in the patch.
---------------------------------------------------------------------
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: Building Forrest
    Fix For: 0.6
   Versions:
             0.6

   Assignee: Dave Brondsema
   Reporter: Pierrick Brihaye

    Created: Mon, 9 Feb 2004 11:25 PM
    Updated: Sun, 13 Jun 2004 4:31 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