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 AutoBackup Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "AutoBackup" Watch "AutoBackup" New topic
Author

AutoBackup

Arijit Ghosh
Ranch Hand

Joined: Feb 01, 2002
Posts: 174
Hi,

I am planning to integrate ANT with Eclipse. One of my projects in Eclipse require AutoBackup. Possible ? How ?

Regards,
Arijit
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
In my work,

Case Auto backup all source file.
In Linux OS, i'm used cron/crontab command for create process schedule to run back up process.

In backup process, i'm packed all target project into bzip/tar.gz file and sent to another server/computer.


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Arijit Ghosh
Ranch Hand

Joined: Feb 01, 2002
Posts: 174
I am using Windows and would like ANT to take care of it.

Thanks
Arijit
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
How can I automate Ant builds?

This will help you.
Arijit Ghosh
Ranch Hand

Joined: Feb 01, 2002
Posts: 174
Thanks

Arijit
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Schedule Builds
Daniel Mayer
Ranch Hand

Joined: Sep 09, 2004
Posts: 103
What exactly do you mean with "AutoBackup"? Are you using a VCS?
Arijit Ghosh
Ranch Hand

Joined: Feb 01, 2002
Posts: 174
No I meant backing up the source files in my working space itself. Quite often, we make changes to some source code in our workspace and then everything stops working.. In such situations, I would like to go back to the source files which were working say about 1 hour ago....

So if I can have an hourly backup on my local workspace, it will be great...

Thanks,
Arijit
Daniel Mayer
Ranch Hand

Joined: Sep 09, 2004
Posts: 103
Eclipse has a local history - a kind of limited auto backup: it remebers some part of the history of every file. It is used via the "compare with" and "replace width" commands. How much it will remember can be configured in the workbench preferences.
Arijit Ghosh
Ranch Hand

Joined: Feb 01, 2002
Posts: 174
Thanks Daniel.. A really nice feature...

But it keeps a local history whenever Save is pressed...

Pressing Save is generally very frequent and it will soon eat up all the Entries.

This means that if I have a project running for say 3 months.... I will have to set a very high range for Entries. Is that feasible ? How much space will it take up ?

I was hoping to back-up all the working source files at a particular DATE_TIME stamp. Local Histories are for individual files PLUS I will need to figure out manually the versions of each file.. combination of all the working files will give me a working project.

Hence the AutoBackup feature for ANT...

Thanks,
Arijit
Daniel Mayer
Ranch Hand

Joined: Sep 09, 2004
Posts: 103
Originally posted by Arijit Ghosh:
But it keeps a local history whenever Save is pressed...

Pressing Save is generally very frequent and it will soon eat up all the Entries.


It should typically suffice for the history of a day of development. For
anything beyond that time span, you really should use a VCS!
 
 
subject: AutoBackup
 
Threads others viewed
Is there a plug-in for making plug-in installation easier?
How to remove unsed code
To author
Autobackup of mysql database
does SWT used for Real word business application?
developer file tools