This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 7934 - 2 syntax errors in Update.bat on Win98
Summary: 2 syntax errors in Update.bat on Win98
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows 95/98
: P4 normal (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-10-18 10:02 UTC by Vincent Deconinck
Modified: 2008-12-22 18:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Deconinck 2000-10-18 10:02:40 UTC
The MS-DOS specs on W98 don't seem to match the ones used in update.bat (the
script to upgrade from a previous version of Forte) on 2 points :

1) The W98 syntax of 'if [not] exists <file> goto <label>' checks for an actual
file, and doesn't match directory names, so the lines :

---
if not exist "%1\SYSTEM" goto NO_OLD_FORTE4J
if not exist "%FORTE4J%\SYSTEM" goto NO_NEW_FORTE4J
...
if exist "%FORTE4J%\SYSTEM.OLD" goto SYS_EXISTS
---

don't work (no update is thus possible), and should be replaced by :

---
if not exist "%1\SYSTEM\*.*" goto NO_OLD_FORTE4J
if not exist "%FORTE4J%\SYSTEM\*.*" goto NO_NEW_FORTE4J
...
if exist "%FORTE4J%\SYSTEM.OLD\*.*" goto SYS_EXISTS
---

2) The options used for xcopy are not recognized. The line :

---
xcopy "%1\SYSTEM" "%FORTE4J%\SYSTEM" /EIQ
---

isn't valid and should be replaced by :

---
xcopy "%1\SYSTEM" "%FORTE4J%\SYSTEM" /E /I /Q
---


... just my 0.50 BEF :-)
Comment 1 Jan Zajicek 2001-01-23 09:25:59 UTC
Automated change of version from Other to Dev.
Comment 2 Jaroslav Tulach 2001-02-05 16:03:59 UTC
I have no idea who could work on update.bat
It is up-to you to assign the bug.
Comment 3 Jan Chalupa 2001-03-12 09:26:36 UTC
Version: 'Dev' -> 3.2
Comment 4 Jan Chalupa 2001-05-05 20:26:27 UTC
Target milestone -> 3.3
Comment 5 Pavel Buzek 2001-07-09 15:25:20 UTC
oops, this has been pending so long that it's now obsolete!
Comment 6 Quality Engineering 2003-07-01 15:45:45 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 7 Quality Engineering 2003-07-01 16:43:47 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.