[jira] [Commented] (OFBIZ-5394) Use Groovy AntBuilder to launch ant tasks through a web browser.

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

[jira] [Commented] (OFBIZ-5394) Use Groovy AntBuilder to launch ant tasks through a web browser.

Nicolas Malin (Jira)

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

Jacques Le Roux commented on OFBIZ-5394:
----------------------------------------

Adrian, to which vulnerabilty are you thinking about, the log issue?

Gavin, I like the idea, but as said Adrian we need to be sure it's totally safe. It seems to me that being under the admin security should be enough, but I did not think nor reviewed much... When creating your patch with Eclipse use the project option not the workspace. Else the 2 1st lines are really annoying when you want to apply using Eclipse on a project with another name (still trunk). Also why did you remove ViewComponents from  ArtifactInfoScreens?

> Use Groovy AntBuilder to launch ant tasks through a web browser.
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-5394
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5394
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk, Release Branch 12.04, Release Branch 13.07
>            Reporter: Gavin Mabie
>              Labels: features, patch
>             Fix For: SVN trunk
>
>         Attachments: ofbiz-webtools-component.patch
>
>
> Some of the ant tasks in build.xml can be encapsulated in a groovy script using Groovy AntBuilder.  This provides the ability to use form widgets to pass parameters to ant.  For less technical users this can be a major help as they do not have to go through a console but can instead launch ant tasks through a user-friendly webinterface.  To start with I have enscapsulated the "create-component" task in a groovy script - CreateComponent.groovy. The best place for this enhancement seems to be the Webtools app.  To this end I have created a new menu item from the webtools app and named it Component Management.  I also added "ComponentScreens.xml and ComponentForms.xml".



--
This message was sent by Atlassian JIRA
(v6.1#6144)