stupid script of the day: maven to "DIST" directory for WO jars
stupid script of the day: maven to "DIST" directory for WO jars
- Subject: stupid script of the day: maven to "DIST" directory for WO jars
- From: "Joe Little" <email@hidden>
- Date: Wed, 11 Jun 2008 21:29:11 -0700
For those utilizing the maven repo for WO snapshots, this will at
least get the import jars into a tree. Not frameworks yet, but its
just something I cooked up in a minute. It references the "personal"
maven repo as suggested online, but it could be any SRCDIR or revision
you want.
#!/bin/bash
VER=5.4.2
SRCDIR=~/.m2/repository/com/webobjects
DSTDIR=~/WODIST-$VER
cd $SRCDIR
FILES=`find . -name "*.jar" | grep $VER | grep -v '\-tests'`
rm -rf $DSTDIR
mkdir $DSTDIR
for i in $FILES;
do
TGTNAME=`echo $i | awk -F'/' '{print $4}' | awk -F'-' '{print $1}'`
cp $i $DSTDIR/$TGTNAME.jar
done
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden