This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • 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
Sheriff
Posts: 35762
412
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.
 
We noticed he had no friends. So we gave him this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!