Improvements to the InstallGroovyFile task
------------------------------------------

                 Key: MGNLGROOVY-65
                 URL: http://jira.magnolia-cms.com/browse/MGNLGROOVY-65
             Project: Magnolia Groovy Module
          Issue Type: Bug
      Security Level: Public
    Affects Versions: 1.2.4
            Reporter: Grégory Joseph
            Assignee: Federico Grilli


{{InstallGroovyFile}} could be improved:
* There are "many" tasks that do something very similar (i.e load a file into 
the repo) - this should be extracted in an abstract core task rather than copy 
pasted all over the place
* The 2-args constructor is completely unnecessary, and will not work - 
{{pattern}} will be null, and everything will fail miserably.
* I should be able to specify whether I want the matching resources to have 
their {{is-a-script}} and {{enabled}} flags to true or false.
* Lastly, the name of the class - suffix it with {{Class}} ?

As a side note, I've been wondering why {{ExecuteGroovyFileTask}} is in a 
different package ?

-- 
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/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to