From: Vincent M. <vm...@oc...> - 2001-08-07 07:08:18
|
1/ make the changes to the xml files in xdocs/ directory 2/ build the site by 'ant site'. It generates a f ile mockobjects-website.tar.gz 3/ use scp to copy it : 'scp mockobjects-website.tar.gz <username>@mockobjects.sourceforge.net:/home/groups/m/mo/mockobjects/htdocs' where username is your SF username 4/ login to there : 'ssh -l <username> mockobjects.sourceforge.net:/home/groups/m/mo/mockobjects/htdocs' 5/ ungzip and untar it : 'gunzip mockobjects-website.tar.gz' and 'tar xvf mockobjects-website.tar' 6/ remove the tar 'rm mockobjects-website.tar' that's all I'll write a target in the Ant build script to do it automatically (I have already done it for cactus). It will be named 'deploy-site' and you will have to pass it your username as parameter as in 'ant -Dusername=vmassol deploy-site'. You'll need to have 'ssh' and 'scp' available on the command line. -Vincent |