Vincent,
Could you update the documentation to reflect these changes?
Specifically, the xdocs/ref/properties.xml file? And then in
xdocs/ref/build.xml a brief mention of the potential to override with
link to the properties file should be made in the 'deploy' target
descriptions.
Thanks!
Pete
On Mon, May 27, 2002 at 08:02:41AM -0000, [EMAIL PROTECTED] wrote:
> vmassol 02/05/27 01:02:41
>
> Modified: src/templates/build/plugins/core default.properties
> src/templates/build/plugins/docs build.xml
> Log:
> ability to change executables name and path for SSH and SCP commands (used to
>deploy the web site). I needed this to support my plink and pscp executables on
>windows for example.
>
> Revision Changes Path
> 1.4 +6 -0
>jakarta-turbine-maven/src/templates/build/plugins/core/default.properties
>
> Index: default.properties
> ===================================================================
> RCS file:
>/home/cvs/jakarta-turbine-maven/src/templates/build/plugins/core/default.properties,v
> retrieving revision 1.3
> retrieving revision 1.4
> diff -u -r1.3 -r1.4
> --- default.properties 19 May 2002 05:40:39 -0000 1.3
> +++ default.properties 27 May 2002 08:02:41 -0000 1.4
> @@ -178,3 +178,9 @@
> maven.distBuildDirectory = ${basedir}/target
> maven.distBuildIndicator = DIST_BUILD_DIRECTORY
> maven.distDirectory = ${basedir}/dist
> +
> +# -------------------------------------------------------------------
> +# E N V I R O N M E N T D E P E N D E N T T O O L S
> +# -------------------------------------------------------------------
> +maven.scp.executable = scp
> +maven.ssh.executable = ssh
>
>
>
> 1.4 +2 -2
>jakarta-turbine-maven/src/templates/build/plugins/docs/build.xml
>
> Index: build.xml
> ===================================================================
> RCS file:
>/home/cvs/jakarta-turbine-maven/src/templates/build/plugins/docs/build.xml,v
> retrieving revision 1.3
> retrieving revision 1.4
> diff -u -r1.3 -r1.4
> --- build.xml 26 May 2002 10:01:07 -0000 1.3
> +++ build.xml 27 May 2002 08:02:41 -0000 1.4
> @@ -462,12 +462,12 @@
> <gzip zipfile="${maven.final.name}-site.tar.gz"
>src="${maven.final.name}-site.tar"/>
> <delete file="${maven.final.name}-site.tar"/>
>
> - <exec dir="." executable="scp">
> + <exec dir="." executable="${maven.scp.executable}">
> <arg value="${maven.final.name}-site.tar.gz"/>
> <arg value="${maven.username}@${maven.siteAddress}:${maven.homepage}"/>
> </exec>
>
> - <exec dir="." executable="ssh">
> + <exec dir="." executable="${maven.ssh.executable}">
> <arg line="${maven.siteAddress} -l ${maven.username} 'cd
>${maven.homepage};gunzip ${maven.final.name}-site.tar.gz;tar xUvf
>${maven.final.name}-site.tar;chmod -R g+u *;rm ${maven.final.name}-site.tar'"/>
> </exec>
>
>
>
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
--
Peter Kazmier http://www.kazmier.com
PGP Fingerprint 4FE7 8DA3 D0B5 9CAA 69DC 7243 1855 BC2E 4B43 5654
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>