Friday Dec 19, 2008

A Christmas present for Jersey ant users?

!/bin/bash

version=1.0.1

function getJerseyModule {
    curl http://download.java.net/maven/2/com/sun/jersey/$1/${version}/{$1-${version}.jar} -o "#1"
}

for module in jersey-core jersey-server jersey-client; do
    getJerseyModule $module
done

curl http://download.java.net/maven/2/javax/ws/rs/jsr311-api/1.0/{jsr311-api-1.0.jar} -o "#1"
curl http://repo1.maven.org/maven2/asm/asm/3.1/{asm-3.1.jar} -o "#1"

I jest of course :-) but there is a serious point.

Since we moved to maven we longer provide a zip of Jersey. This has advantages because we no longer have to get approval to bundle and then bundle third party jars, especially for samples that could depend on many things, making for a rather large download.

But perhaps for ant users we can make it a little easier to obtain the core Jersey jars and dependencies. What do Jersey ant users prefer?

  1. download a script that when run downloads the core Jersey jars and dependencies; or
  2. download a zip containing the same jars as would be downloaded in 1).
About

sandoz

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today