svn commit: r1750316 - /ofbiz/branches/release13.07/common.xml

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

svn commit: r1750316 - /ofbiz/branches/release13.07/common.xml

jacopoc
Author: jacopoc
Date: Mon Jun 27 09:47:15 2016
New Revision: 1750316

URL: http://svn.apache.org/viewvc?rev=1750316&view=rev
Log:
OFBIZ-7605 With this change, that is backward compatible, all the dependencies will be retrieved for all the componentes with an ivy.xml file.

Modified:
    ofbiz/branches/release13.07/common.xml

Modified: ofbiz/branches/release13.07/common.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/common.xml?rev=1750316&r1=1750315&r2=1750316&view=diff
==============================================================================
--- ofbiz/branches/release13.07/common.xml (original)
+++ ofbiz/branches/release13.07/common.xml Mon Jun 27 09:47:15 2016
@@ -17,7 +17,7 @@ KIND, either express or implied.  See th
 specific language governing permissions and limitations
 under the License.
 -->
-<project name="Ant - Common">
+<project name="Ant - Common" xmlns:ivy="antlib:org.apache.ivy.ant">
     <dirname property="Ant - Common.dir" file="${ant.file.Ant - Common}"/>
     <import file="${Ant - Common.dir}/macros.xml"/>
 
@@ -48,6 +48,13 @@ under the License.
     <target name="prepare" depends="init">
         <mkdir dir="${build.dir}/classes"/>
         <mkdir dir="${build.dir}/lib"/>
+        <if>
+            <available file="ivy.xml"/>
+            <then>
+                <mkdir dir="${lib.dir}/"/>
+                <ivy:retrieve type="jar,bundle"/>
+            </then>
+        </if>
     </target>
 
     <target name="prepare-docs" depends="init">