Ver código fonte

Support for plugins building using ivy.

Change-Id: I34d7849a75cd4c7a91e04a9dad6f8073aa5a8f61
Depends-On: I65d96f91e1eb5ed7afb43dd41cd00531d809878d
Reviewed-on: http://gerrit.dmdirc.com/2735
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
tags/0.8rc1
Chris Smith 10 anos atrás
pai
commit
60b4da4c16
3 arquivos alterados com 7 adições e 2 exclusões
  1. 1
    0
      build-properties.xml
  2. 5
    1
      build.xml
  3. 1
    1
      nbproject/build-impl.xml

+ 1
- 0
build-properties.xml Ver arquivo

@@ -41,6 +41,7 @@
41 41
     <target name="-init-private-properties" depends="-init-properties,-create-private-properties,-check-private-classpath,-create-private-classpath,-create-private-test-classpath">
42 42
         <path id="main-libs">
43 43
             <fileset dir="modules" includes="*/lib/*.jar"/>
44
+            <fileset dir="modules" includes="*/lib/main/*.jar"/>
44 45
             <fileset dir="lib/main" includes="*.jar"/>
45 46
         </path>
46 47
 

+ 5
- 1
build.xml Ver arquivo

@@ -61,7 +61,11 @@
61 61
         </jar>
62 62
     </target>
63 63
 
64
-    <target name="-pre-init" depends="-init-dependencies,-init-private-properties"/>
64
+    <target name="-init-submodule-dependencies">
65
+        <subant buildpath="modules/plugins" target="init-dependencies"/>
66
+    </target>
67
+
68
+    <target name="-pre-init" depends="-init-dependencies,-init-submodule-dependencies,-init-private-properties"/>
65 69
     <target name="-post-compile" depends="-write-version, build-plugins"/>
66 70
     <target name="-post-test-run" depends="-do-test-reports"/>
67 71
     <target name="-post-jar" depends="-update-bundled-plugins,-bundle-slf4j,-bundle-dagger"/>

+ 1
- 1
nbproject/build-impl.xml Ver arquivo

@@ -27,7 +27,7 @@ is divided into following sections:
27 27
                 ======================
28 28
             -->
29 29
     <path id="all.libs">
30
-        <fileset dir="modules/plugins/lib" includes="*.jar"/>
30
+        <fileset dir="modules/plugins/lib/main" includes="*.jar"/>
31 31
         <fileset dir="lib" includes="*.jar"/>
32 32
     </path>
33 33
 

Carregando…
Cancelar
Salvar