| 26 | | <antcall target="download-build.common"/> |
|---|
| 27 | | <antcall target="common.bootstrap"/> |
|---|
| | 26 | <antcall target="download-build.common" /> |
|---|
| | 27 | <antcall target="common.bootstrap" /> |
|---|
| | 28 | </target> |
|---|
| | 29 | |
|---|
| | 30 | <target name="project.package"> |
|---|
| | 31 | <mkdir dir="${dist.dir}" /> |
|---|
| | 32 | <jar destfile="${dist.dir}/${project.name}-${build.rev}.jar"> |
|---|
| | 33 | <fileset dir="${build.dir}/main/java"> |
|---|
| | 34 | <include name="**/*.class" /> |
|---|
| | 35 | <exclude name="org/sarugo/xtc/restlet/jpa/converter/JSONConverter.class" /> |
|---|
| | 36 | <exclude name="org/sarugo/xtc/restlet/jpa/converter/XTCConverter.class" /> |
|---|
| | 37 | </fileset> |
|---|
| | 38 | <fileset dir="${build.dir}/main/resources" /> |
|---|
| | 39 | </jar> |
|---|
| | 40 | <jar destfile="${dist.dir}/${project.name}-json-${build.rev}.jar"> |
|---|
| | 41 | <fileset dir="${build.dir}/main/java"> |
|---|
| | 42 | <include name="org/sarugo/xtc/restlet/jpa/converter/JSONConverter.class" /> |
|---|
| | 43 | </fileset> |
|---|
| | 44 | </jar> |
|---|
| | 45 | <jar destfile="${dist.dir}/${project.name}-xtc-${build.rev}.jar"> |
|---|
| | 46 | <fileset dir="${build.dir}/main/java"> |
|---|
| | 47 | <include name="org/sarugo/xtc/restlet/jpa/converter/XTCConverter.class" /> |
|---|
| | 48 | </fileset> |
|---|
| | 49 | </jar> |
|---|
| | 50 | <!-- Use ivy to copy the runtime dependencies to distribution directory --> |
|---|
| | 51 | <ivy:retrieve pattern="${dist.dir}/[artifact]-[revision].[ext]" conf="default" useOrigin="true" /> |
|---|
| | 52 | <property name="skip.common.package" value="true" /> |
|---|