/antlets/forrest/src xbuild.xml,1.10,1.11

[email protected] Sun, 14 Mar 2004 21:56:15 -0800
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis//antlets/forrest/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20886/forrest/src

Modified Files:
	xbuild.xml 
Log Message:
Test for remote dir before creating.

Index: xbuild.xml
===================================================================
RCS file: /cvsroot/metamorphosis//antlets/forrest/src/xbuild.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** xbuild.xml	15 Mar 2004 03:51:56 -0000	1.10
--- xbuild.xml	15 Mar 2004 05:56:11 -0000	1.11
***************
*** 303,312 ****
          <delete file="${forrest.antlet.site.tar.path.and.name}.tar"/>
          <echo message="Deploying site to ${deployer.username}@${xgump.module.site.hostname}:${xgump.module.site.remotedir}"/>
!         <!--sshexec host="${xgump.module.site.hostname}"
  	username="${deployer.username}"
  	password="${deployer.password}"
! 	command="mkdir ${xgump.module.site.remotedir}"
  	 trust="true"
! 	/-->
  
          <scp file="${forrest.antlet.site.work.dir}/${project.name}-site.tar.gz" 
--- 303,312 ----
          <delete file="${forrest.antlet.site.tar.path.and.name}.tar"/>
          <echo message="Deploying site to ${deployer.username}@${xgump.module.site.hostname}:${xgump.module.site.remotedir}"/>
!         <sshexec host="${xgump.module.site.hostname}"
  	username="${deployer.username}"
  	password="${deployer.password}"
! 	command="bash -c &quot; if [ ! -d ${xgump.module.site.remotedir} ]; then  mkdir ${xgump.module.site.remotedir} ; fi&quot;"
  	 trust="true"
! 	/>
  
          <scp file="${forrest.antlet.site.work.dir}/${project.name}-site.tar.gz" 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click