Revision 22697 branches/v2_0_0_prep/build/extension-pom/build.xml
build.xml | ||
---|---|---|
1 |
<project name="Complete build system" default="make-extension" basedir="."> |
|
1 |
<project name="Complete build system" default="make-extension-new" basedir=".">
|
|
2 | 2 |
<description> |
3 | 3 |
</description> |
4 | 4 |
<condition property="isJar"> |
... | ... | |
6 | 6 |
</condition> |
7 | 7 |
|
8 | 8 |
<target name="make-extension" if="isJar"> |
9 |
<echo message="======================== Copying to extensions dir..."/> |
|
9 |
<echo message="======================== Copying to extensions dir..." />
|
|
10 | 10 |
<mkdir dir="${temporaly-build}" /> |
11 | 11 |
<mkdir dir="${temporaly-build}/${library-dir}" /> |
12 | 12 |
<echo message="librari directory ${temporaly-build}/${library-dir}" /> |
13 |
|
|
13 |
|
|
14 | 14 |
<echo message="Copying file ${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging} to ${temporaly-build}/lib/" /> |
15 | 15 |
<copy file="${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}" tofile="${temporaly-build}/${library-dir}/${plugin-name}.${project.packaging}"> |
16 | 16 |
</copy> |
17 |
|
|
17 |
|
|
18 | 18 |
<copy todir="${temporaly-build}/images"> |
19 | 19 |
<fileset dir="${basedir}/images/" includes="**/**" excludes="**/*.db" /> |
20 | 20 |
</copy> |
... | ... | |
26 | 26 |
<fileset dir="${temporaly-build}" includes="**/**" /> |
27 | 27 |
</move> |
28 | 28 |
</target> |
29 |
|
|
30 |
<target name="make-extension-new" if="isJar"> |
|
31 |
<echo message="======================== New target " /> |
|
32 |
<echo message="======================== Making Extension " /> |
|
33 |
<echo message="======================== Copying to extensions dir..." /> |
|
34 |
<move todir="${extension-dir}/../../"> |
|
35 |
<fileset dir="target/${distribution-final-name}-distribution/${distribution-final-name}" includes="**/**" /> |
|
36 |
</move> |
|
37 |
</target> |
|
29 | 38 |
</project> |
Also available in: Unified diff