[jira] [Commented] (OFBIZ-6810) Refactor components regarding groovy and freemarker file locations

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-6810) Refactor components regarding groovy and freemarker file locations

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-6810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15201384#comment-15201384 ]

Nicolas Malin commented on OFBIZ-6810:
--------------------------------------

http://markmail.org/thread/kyhgfykfiwhzllll#query:+page:1+mid:hemokyhcnpe4w5rn+state:results

At the question :
{quote}
Regard to the issue, we have no problem for the java and minilang files but the groovy need a community decision.
 A) All groovy script under the same path src/main/groovy/...
 B) Separate Groovy compiled and scripted like this src/main/groovy/... (pre-compiled Groovy) src/main/scripts/... (parsed Groovy scripts)
 C) Separate Groovy compiled and scripted like this groovy/... (pre-compiled Groovy) groovyScripts/... (parsed Groovy scripts, groovyScripts rather that script because other script languages could be used in the future)
 D) other if you have an ingenious idea
{quote}

the result is :
{quote}
Total are :
 A) -5
 B) 0
 C) +7
 D) No other proposal
{quote}

Now we can move all groovy script present on component://componentname/webapp/componentname/WEB-INF/actions/script.groovy to  component://componentname/groovyscript/script.groovy



> Refactor components regarding groovy and freemarker file locations
> ------------------------------------------------------------------
>
>                 Key: OFBIZ-6810
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6810
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk, Release Branch 15.12
>            Reporter: Pierre Smits
>            Assignee: Nicolas Malin
>
> This is a placeholder issue to capture all tasks and related issues regarding the refactoring of the directory structure with respect to the location of .groovy and .ftl (freemarker templates) files.
> See related discussion: http://ofbiz.markmail.org/message/25dse4jke2fp64mx



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)