File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes How to create automatic release with ant and subversion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "How to create automatic release with ant and subversion" Watch "How to create automatic release with ant and subversion" New topic
Author

How to create automatic release with ant and subversion

Alex Florentino
Ranch Hand

Joined: Dec 12, 2006
Posts: 48
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30369
    
150

Alex,
Yes it is possible. What do you have so far?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Alex Florentino
Ranch Hand

Joined: Dec 12, 2006
Posts: 48
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create automatic release with ant and subversion