Ben Biddington

Whatever it is, it's not about "coding"

Pea Green Boat, Automating FTP deployment

leave a comment »

We are using NAnt with an FTP build task

I will combine this with our subversion repository to enable one click deploy. Also may convert Selenium script so we can run that at the same time.

There does not seem to be an official FTP task, however there is the one mentioned above. It does not include delete for some reason which is unforunate. Perhaps we should switch to Ant which does have a fully working delete.

Additional tasks required:

  1. FTP task
  2. NantContrib (Enables Subversion interaction)
Download these and place them in a tasks folder underneath the nant installation directory, and then reference them using the loadtasks element.
We now have a bunch of targets we can run for automated deployment over FTP.
There is more on this on the project wiki page.
Advertisements

Written by benbiddington

18 September, 2008 at 15:26

Posted in development

Tagged with , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: