dist-jar.sh

Tonight I created a shell-script to allow our developers to add jar files to our Ivy repo. As java on Linux developers, we use rpm packaged jars (see jpackage.org).

The shell-script will take in a host and a list of rpms and/or jars. For the rpms, it will extract the jar files to a cpio archive, then copy the jars to the repo.

So for example, if you download antlr-2.7.6.noarch.rpm from jpackage and want to add the jars to your ivy repo, it’s as simple as this:


./dist-jar.sh --host ivyrepo.foobar.com antlr-2.7.6.noarch.rpm

DONE! Next step is to make this a little less dependent on our internal buildsystem so that it is useful for other ivy users.

Happy Thanksgiving everyone.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s