• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create automatic release with ant and subversion

 
Alex Florentino
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • 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 ?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
378
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic