[jira] [Commented] (OFBIZ-7962) Migrate the patch management Ant targets

2016-08-19 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-7962:


Also I noticed something important in one of Nicolas message on dev ML: 
http://markmail.org/message/s6g4cfnvp6lwyimp

Nicolas:
bq. We can create the plugins directory, and keep specialpurpose on a first 
step and move step by step each component present.
I:
bq. This is a very important point and we have to be very careful about the 
transition!





> Migrate the patch management Ant targets
> 
>
> Key: OFBIZ-7962
> URL: https://issues.apache.org/jira/browse/OFBIZ-7962
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
> Fix For: Upcoming Branch
>
>
> We need to migrate the patch management Ant targets which are documented at 
> https://cwiki.apache.org/confluence/display/OFBIZ/Addressing+Custom+Requirements+In+OFBiz#AddressingCustomRequirementsInOFBiz-PatchManagementUsingGradleTargets



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


[jira] [Commented] (OFBIZ-7962) Migrate the patch management Ant targets

2016-08-19 Thread Taher Alkhateeb (JIRA)

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

Taher Alkhateeb commented on OFBIZ-7962:


Hi Jacques,

FYI I am working on a PoC for the plugin system. The idea that I have in mind 
is for each plugin to contain a task called "install". This task executes 
custom logic such as applying patches or whatever is needed for the plugin to 
be operational in the system.

Looking at these older tasks, I would suggest that we do not implement them, 
but instead unify the process in the plugin "install" and possibly "uninstall" 
tasks. Here are the reasons for my suggestions:

- First of all, these older tasks only apply patches, preparing a 
test/dev/production environment involves much more than just patching. There is 
database setup and other environment factors to consider. Hence the solution is 
not really complete nor is it preparing the system for test/dev/production (or 
doing it only partially).
- They are fragile because there is no dependency management. Thus one 
component could override / conflict with other components.
- They are dependent on the version control system and external tools (patch) 
which is perhaps not the best idea. We can instead deploy java-based diff 
libraries or other solutions that are independent of surrounding environment.

Code so far is still a WIP but I thought I'd note it here to avoid conflicting 
targets.

> Migrate the patch management Ant targets
> 
>
> Key: OFBIZ-7962
> URL: https://issues.apache.org/jira/browse/OFBIZ-7962
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
> Fix For: Upcoming Branch
>
>
> We need to migrate the patch management Ant targets which are documented at 
> https://cwiki.apache.org/confluence/display/OFBIZ/Addressing+Custom+Requirements+In+OFBiz#AddressingCustomRequirementsInOFBiz-PatchManagementUsingGradleTargets



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