[jira] [Commented] (OFBIZ-7605) Extend use of Apache IVY re external library management for r13x

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

[jira] [Commented] (OFBIZ-7605) Extend use of Apache IVY re external library management for r13x

Nicolas Malin (Jira)

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

Jacopo Cappellato commented on OFBIZ-7605:
------------------------------------------

Thank you [~pfm.smits].
In rev. 1750316 I have committed a simple change that will make our life a bit easier.
Now the system will take care of all the dependencies of each component with an ivy.xml file.

With this change:
1) there is no need to modify the build.xml file for the components without an external dependency; no need to add an ivy.xml file as well; for example, in your patch you can remove the changes to the accounting component
2) for component with external libraries, no need to change the build.xml file; simply add the ivy.xml file with the list of dependencies; for example the ivy.xml file for the product component will be:
{code}
<ivy-module version="2.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
    <info organisation="org.apache.ofbiz" module="product"/>
    <dependencies>
        <dependency org="net.sf.dozer" name="dozer" rev="4.2.1" transitive="false"/>
        <!-- TODO: watermarker-0.0.4.jar -->
    </dependencies>

</ivy-module>
{code}
no need to define the "configurations" element and the conf attribute.

I hope it helps!

> Extend use of Apache IVY re external library management for r13x
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-7605
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7605
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL COMPONENTS, framework
>    Affects Versions: Release Branch 13.07
>            Reporter: Pierre Smits
>         Attachments: OFBIZ-7605-svn-status.txt, ofbiz-7605-r13-ivy.patch
>
>
> This subtask addresses the issues regarding the r13.07 branch.



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