• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
stupid script of the day: maven to "DIST" directory for WO jars
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: stupid script of the day: maven to "DIST" directory for WO jars
      • From: "Joe Little" <email@hidden>
  • Prev by Date: Re: The "Mobile me" web apps
  • Next by Date: Re: stupid script of the day: maven to "DIST" directory for WO jars
  • Previous by thread: Re: [OT] WWDC dinner tonight?
  • Next by thread: Re: stupid script of the day: maven to "DIST" directory for WO jars
  • Index(es):
    • Date
    • Thread