• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to create automatic release with ant and subversion

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I have jsp/servlet project and would like create a ant task for automatic release.

it will work (steps):

1. create zip file that contains all changed files until last release.
2. create a file changelog.
3. write the data of release.

I use Subversion and SvnTasks...

it is possible execute these steps by ant ?
 
author & internet detective
Posts: 41919
910
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Alex,
Yes it is possible. What do you have so far?
 
Alex Florentino
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jeanne Boyarsky:
Alex,
Yes it is possible. What do you have so far?



ok, thanks.

I will try be more specifics:

the problem is I need automate my release process, today I make the process by hand all weeek.

basically I have do at normal release:

1. update an central repository.
2. make svn export (exclude .svn files).
3. exclude some files(folder images), but I send all files...
4. zip the folder
5. send by ftp to server
6. in the server I unzip the file and replace the folder

now I would like automate this process.

I already create some tasks but I have some questions...

this some targets...



<!-- RELEASE TARGET -->


My problem is that I not understand how I can create zip file with the diff from last release.

someone have any idea ?

thanks a lot.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic