MantisBT - Ecere SDK
View Issue Details
0000578Ecere SDKide:buildsystempublic2010-12-02 23:222013-05-19 22:15
redj 
redj 
immediatemajoralways
closedfixed 
WindowsNT/2K/XP/Vista/7
 
0.44 Ryoan-ji0.44 Ryoan-ji 
0000578: makefiles must deal with windows command line lenght limitation when calling del/copy/etc
"On computers running Microsoft Windows XP or later, the maximum length of the string that you can use at the command prompt is 8191 characters. On computers running Microsoft Windows 2000 or Windows NT 4.0, the maximum length of the string that you can use at the command prompt is 2047 characters." -- http://support.microsoft.com/kb/830473 [^]
No tags attached.
Issue History
2010-12-02 23:22redjNew Issue
2010-12-02 23:22redjStatusnew => assigned
2010-12-02 23:22redjAssigned To => redj
2010-12-02 23:24redjStatusassigned => resolved
2010-12-02 23:24redjFixed in Version => 0.44 pre-release 2
2010-12-02 23:24redjResolutionopen => fixed
2010-12-02 23:24redjNote Added: 0000402
2010-12-02 23:26redjNote Added: 0000403
2012-03-08 15:33redjTarget Versionold 0.44.pre2 => 0.44 Ryoan-ji
2012-03-08 18:07redjFixed in Version => 0.44 Ryoan-ji
2012-03-29 07:52redjCategory => ide
2012-03-29 07:52redjProject@3@ => Ecere SDK
2012-03-29 08:48redjCategoryide => ide:buildsystem
2012-03-29 08:48redjSummaryide / build system: makefiles must deal with windows command line lenght limitation when calling del/copy/etc => makefiles must deal with windows command line lenght limitation when calling del/copy/etc
2012-03-29 08:48redjDescription Updated
2013-05-19 22:15jeromeStatusresolved => closed

Notes
(0000402)
redj   
2010-12-02 23:24   
implemented fix to problems with clean (and maybe others?) when issuing long commands for windows
OBJECTS = $(OBJECTS1) $(OBJECTS2) // do all the list vars like this
OBJECTS1 = ... // use $(OBJECTS) or $(OBJECTS1) as needed
OBJECTS2 = ...
$(call rmq,$(OBJECTS1))
$(call rmq,$(OBJECTS2)) // COBJECTS, IMPORTS, SYMBOLS, etc
and if the number of chars does not go over the limit, none of that nonsense

   Added revision 167 to sdk/ide/src/project/Project.ec
   Added revision 71 to sdk/ide/src/project/ProjectNode.ec
   Added revision 18 to sdk/include.mk
(0000403)
redj   
2010-12-02 23:26   
adjusted the limit for number of characters for lists to 1536 leaving a maximum of 512 chars for the command (i.e.: del, copy)

Added revision 169 to sdk/ide/src/project/Project.ec