• 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
Re: stupid script of the day: maven to "DIST" directory for WO jars
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stupid script of the day: maven to "DIST" directory for WO jars


  • Subject: Re: stupid script of the day: maven to "DIST" directory for WO jars
  • From: "Joe Little" <email@hidden>
  • Date: Wed, 11 Jun 2008 21:31:51 -0700

Ah. I just called the script (made executable) "wodist" -- but whatever.


On Wed, Jun 11, 2008 at 9:29 PM, Joe Little <email@hidden> wrote:
> For those utilizing the maven repo for WO snapshots, this will at
> least get the important 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

References: 
 >stupid script of the day: maven to "DIST" directory for WO jars (From: "Joe Little" <email@hidden>)

  • Prev by Date: stupid script of the day: maven to "DIST" directory for WO jars
  • Next by Date: Re: The "Mobile me" web apps
  • Previous by thread: stupid script of the day: maven to "DIST" directory for WO jars
  • Next by thread: Apple and ... enterprise support?
  • Index(es):
    • Date
    • Thread