|
@@ -1,18 +1,17 @@
|
|
|
<project name="promote.xml" default="promote" basedir=".">
|
|
|
|
|
|
<property environment="env" />
|
|
|
- <property file="run.properties" />
|
|
|
<property file="promote.properties" />
|
|
|
|
|
|
<target name="fetch_old_repo">
|
|
|
+ <rmdir dir="${local.update.site}" />
|
|
|
<mkdir dir="${local.update.site}" />
|
|
|
- <scp todir="${local.update.site}" keyfile="${yakindu.keyFile}" failonerror="${scp.fail_on_error}" passphrase="${yakindu.passphrase}" trust="true" file="${update.site.scp}" sftp="true">
|
|
|
- </scp>
|
|
|
+ <scp todir="${local.update.site}" keyfile="${yakindu.keyFile}" failonerror="${scp.fail_on_error}" passphrase="${yakindu.passphrase}" trust="true" file="${update.site.scp}" sftp="true" />
|
|
|
</target>
|
|
|
|
|
|
<target name="merge_repos">
|
|
|
<p2.mirror>
|
|
|
- <repository location="file:/${local.update.site}" name="Yakindu SCT 2 upate-site" />
|
|
|
+ <repository location="file:${local.update.site}" name="Yakindu SCT 2 upate-site" />
|
|
|
<source>
|
|
|
<repository location="${env.promotionSource}/artifact/buildDirectory/build_local_repository/" />
|
|
|
</source>
|