| 143 | | <copy todir="${jboss.lib}"> |
|---|
| 144 | | <fileset dir="org.nuxeo.runtime/nuxeo-runtime-jboss-extensions/target"> |
|---|
| 145 | | <include name="nuxeo-runtime-jboss-extensions-*.jar" /> |
|---|
| 146 | | <exclude name="nuxeo-runtime-jboss-extensions-*-sources.jar" /> |
|---|
| 147 | | </fileset> |
|---|
| 148 | | <fileset dir="nuxeo-common/target"> |
|---|
| 149 | | <include name="nuxeo-common-*.jar" /> |
|---|
| 150 | | <exclude name="nuxeo-common-*-sources.jar" /> |
|---|
| 151 | | </fileset> |
|---|
| 152 | | </copy> |
|---|
| | 144 | </target> |
|---|
| | 145 | <target name="copy-lib-unix" if="osfamily-unix"> |
|---|
| | 146 | <echo message="Copying Nuxeo libs to ${jboss.lib}" /> |
|---|
| | 147 | <exec executable="mvn" failonerror="true"> |
|---|
| | 148 | <arg value="-f" /> |
|---|
| | 149 | <arg value="org.nuxeo.runtime/nuxeo-runtime-jboss-extensions/pom.xml" /> |
|---|
| | 150 | <arg value="-Djboss.lib=${jboss.lib}" /> |
|---|
| | 151 | <arg value="dependency:copy" /> |
|---|
| | 152 | <arg value="${mvn.opts}" /> |
|---|
| | 153 | </exec> |
|---|
| | 154 | </target> |
|---|
| | 155 | <target name="copy-lib-windows" if="osfamily-windows"> |
|---|
| | 156 | <echo message="Copying Nuxeo libs to ${jboss.lib}" /> |
|---|
| | 157 | <exec executable="cmd" failonerror="true"> |
|---|
| | 158 | <arg value="/c" /> |
|---|
| | 159 | <arg value="mvn.bat" /> |
|---|
| | 160 | <arg value="-f" /> |
|---|
| | 161 | <arg value="org.nuxeo.runtime/nuxeo-runtime-jboss-extensions/pom.xml" /> |
|---|
| | 162 | <arg value="-Djboss.lib=${jboss.lib}" /> |
|---|
| | 163 | <arg value="dependency:copy" /> |
|---|
| | 164 | <arg value="${mvn.opts}" /> |
|---|
| | 165 | </exec> |
|---|