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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to