After much searching online, and a bit of trial and error, I have come up with the following commands, which when run should result in a working Ruby on Rails environment on Ubuntu 12.10. I haven’t tested these steps on any other version of Ubuntu, but I imagine it would be at least similar for other recent versions of Ubuntu. First you need to make sure your system is up to date:
For a long time I’ve been searching how to synchronize code from a Subversion code repository to a CA AllFusion Harvest code repository. Finally, I decided to just write a script to do it myself. The script takes one argument, which is the Harvest package name. There are other constants you’ll need to set within the script, such as the Subversion repository and Harvest username and password. You can easily change those to be a script parameter, too.
I’ve had a few requests to get an example of the build script I referenced in my post, Ant Foreach Properties, so here it is. In our ant build.xml file we have a task called buildAllWsdls which gets all of the WSDL files from the web service URL, then feeds each of them into Axis2 to convert them to Java classes. Here are the basic steps of what this build does:
Well, it’s been quite a while since I’ve posted. In fact the last time I posted, the date was a significant math date, as was today. This time only happens once a century (though 12:34:56 7/8/90 is probably a more significant math date…). Anyway, we’ve been moving and getting our new house together the past couple months, which is partially the reason for my lack of posting. Now that we’re mostly done (if you’re a home owner, you know a house is never truly finished fixing…), I will be posting a bit more again.
Update 10/23/2009: An example of this build has been posted. I’ve been working with Apache Ant a bit at work the past couple weeks. We’ve been setting up a Hudson continuous integration server to automate some of our builds and deployments. We’re also hoping to setup more automated tests using tools like Selenium, HTTPUnit, JUnit, etc., but those are going to be gradually added with the coming releases. I’ve worked with Ant a lot before, but hadn’t really used the Ant-Contrib Tasks until modifying this build script.