build tools, like ant
since picking CVS back up again (see the last few posts), i have moved several projects into CVS repositories on a few different servers. today i had a feature request for one of those applications so i set about adding the feature to the application in the CVS way. it required modifying two files located in two different locations on the server.
without going into those details, i will say that, while having the changes saved in the CVS repository gives me considerable peace of mind, it does introduce a lot of extra file system maneuvering which could get confusing if someone had not been thinking about CVS for the last few weeks (as i have, so it wasn't) and it definitely gets time-consuming.
to add the feature, i checked out a working copy from the repository, made the changes, and committed them back to the repository. at that point i wanted to export the web page files to one place and the configuration files to another. and the original files had to be removed before the modified files could be exported to that location.
wouldn't it be nice to have a script that would do all this stuff for me? well, i could write a shell script to do all these things, and in the right order. a second option is "make" which is an old unix tool to do something similar. a third option is "ant" which is new (it is written in java) and hip (uses XML) and which i would like to get a little experience with.
chances are i will try out all three to figure out which is best for my purposes.
without going into those details, i will say that, while having the changes saved in the CVS repository gives me considerable peace of mind, it does introduce a lot of extra file system maneuvering which could get confusing if someone had not been thinking about CVS for the last few weeks (as i have, so it wasn't) and it definitely gets time-consuming.
to add the feature, i checked out a working copy from the repository, made the changes, and committed them back to the repository. at that point i wanted to export the web page files to one place and the configuration files to another. and the original files had to be removed before the modified files could be exported to that location.
wouldn't it be nice to have a script that would do all this stuff for me? well, i could write a shell script to do all these things, and in the right order. a second option is "make" which is an old unix tool to do something similar. a third option is "ant" which is new (it is written in java) and hip (uses XML) and which i would like to get a little experience with.
chances are i will try out all three to figure out which is best for my purposes.
2 Comments:
At 7:34 PM ,
POPPA said...
You amaze me! While this is way beyond anything I do, it reminds me of working today in ArcGIS where I wanted to keep a version of a certain map project, export it to another computer, edit it considerably, then save it also back to my local machine. It's required to save all the shp. (& other) files in separate directories for both projects, lest you end up corrupting the first.
At 2:48 PM ,
huitzilopochtli said...
i would think it is very likely that ArcGIS has tools like these, or that it could use these tools, to handle revisions of files and "deployment" of a set of files.
Post a Comment
Subscribe to Post Comments [Atom]
<< Home