diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-05-12 13:17:01 +0300 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-05-12 14:59:08 +0300 |
| commit | 30d2806d744d5e4d84c7bb095a6b79495ed8fdd5 (patch) | |
| tree | 1cb75fbf7a1406367d3fd605562dde6be524531a /build.ant | |
| parent | daa94628f34c82a8699a2b81722f27a80d2b4a78 (diff) | |
build.ant: deploy-local: remove redundant local params
Diffstat (limited to 'build.ant')
| -rw-r--r-- | build.ant | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -106,11 +106,7 @@ <!-- [!] trailing '/' on rsync src targets critical --> - <local name="src_client" /> - <local name="src_server" /> <local name="fragment_d_path" /> - <property name="src_client" value="src/client" /> - <property name="src_server" value="src/server" /> <property name="fragment_d_path" value="${deploy_target_dir}/fragment.d" /> @@ -121,15 +117,19 @@ <parallel> <!-- client code --> - <rsync src="${src_client}/" dst="${deploy_target_dir}/static/js" /> + <rsync src="src/client/" dst="${deploy_target_dir}/static/js" /> + <!-- [!] use absolute paths on all symlink targets --> <symlink if:true="${localServerUseSymlink}" action="single" - overwrite="true" link="${deploy_target_dir}/bin" - resource="${basedir}/${src_server}" /> + resource="${basedir}/src/server" /> + <symlink if:true="${localServerUseSymlink}" + action="single" + link="${deploy_target_dir}/static/fragment.d" + resource="${basedir}/${fragment_d_path}" /> <rsync unless:true="${localServerUseSymlink}" - src="${basedir}/${src_server}/" + src="src/server/" dst="${deploy_target_dir}/bin" /> <!-- conf --> |
