[OpenLayers-Trac] [OpenLayers] #3504: Build: Allow compressed code out of "lib" in conjunction with OpenLayers

OpenLayers trac-20090302 at openlayers.org
Wed Sep 14 12:09:35 EDT 2011


#3504: Build: Allow compressed code out of "lib" in conjunction with OpenLayers
---------------------+------------------------------------------------------
 Reporter:  jorix    |       Owner:              
     Type:  feature  |      Status:  new         
 Priority:  minor    |   Milestone:  2.12 Release
Component:  general  |     Version:  2.11 RC3    
 Keywords:           |       State:              
---------------------+------------------------------------------------------
 Sometimes to customize !OpenLayers is required to make some changes in the
 sources or additional coding.

 I think (this is my case) it's more safe put these changes out of the
 location of !OpenLayers, but this forces to create two compressed files
 and also directive {{{@requires}}} not working on altered code.

 The proposed patch allows specify file names in {{{*.cfg}}} from other
 locations (and warning if the file does not exist)

 Implementation: I used actual code in {{{## Import file source code}}} in
 {{{importFiles}}} method. First for each clause {{{[first] [last]
 [include]}}} and lastly for {{{os.walk}}} files (remaining files).

 NOTE: {{{Import remaining files}}} can be skipped if exists
 {{{[include]}}}, but I have not changed for no further changes.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3504>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list