Update and install mechanism for javascrips for 1.4 (refactoring of old 
components)
-----------------------------------------------------------------------------------

                 Key: MGNLSTK-709
                 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-709
             Project: Magnolia Standard Templating Kit
          Issue Type: Improvement
    Affects Versions: 1.4
            Reporter: Christian Ringele
            Assignee: Christian Ringele
             Fix For: 1.4


In the past the class InstallJavascriptsTask was used for installing all JS.
In 1.2 it was 'miss'used to update them too.
The drawback of this was, that possible changes within the JSs would just be 
overwritten.
On the other hand subclassing this class for all new STK version lead to 
impossibility to see the deltas in between versions.

New mechanism:
JavascriptsVersionsMap -> hold now all the scripts-versions (not 
InstallJavascriptsTask anymore) for all version ever.
InstallJavascriptsTask -> only used for installs and not delta updates.
UpdateJavascriptsTask -> used for updating all JSs in between two versions. 
(backups and removes old scripts)
UpdateSingleJavascriptTask -> used for updating a single JS or installing a new 
one for delta update tasks. (backups and removes old script)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to