Sha256: 44f2d143664650118f261863329e0dc7eeb66f2f7ebf30865953452704fe5ddc

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 KB

Contents

#!/bin/bash

# A crude integration test that builds commons-collections

set -e

rm -Rf galaxy
mkdir galaxy
cd galaxy
gjp init

cd src
mkdir commons-collections
cd commons-collections
wget http://archive.apache.org/dist/commons/collections/source/commons-collections-3.2.1-src.zip
unzip commons-collections-3.2.1-src.zip
rm commons-collections-3.2.1-src.zip

cd ../../kit
wget http://apache.fastbull.org/maven/maven-3/3.1.1/binaries/apache-maven-3.1.1-bin.zip
unzip apache-maven-*.zip
rm apache-maven-*.zip
cd ..

gjp dry-run --very-very-verbose
cd src/commons-collections/commons-collections-3.2.1-src/
gjp mvn package -DskipTests
gjp finish

gjp generate-all
cd ../../..

cd src
mkdir commons-fileupload
cd commons-fileupload
wget http://archive.apache.org/dist/commons/fileupload/source/commons-fileupload-1.3-src.zip
unzip commons-fileupload-1.3-src.zip
rm commons-fileupload-1.3-src.zip

gjp dry-run
cd commons-fileupload-1.3-src/
gjp mvn package -DskipTests
gjp finish

gjp generate-kit-archive
gjp generate-kit-spec
gjp generate-package-script
gjp generate-package-archive
gjp generate-package-spec
cd ../../..


echo "**************** All Done ****************"

ls -lah output/*

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gjp-0.39.0 integration-tests/commons.sh
gjp-0.38.0 integration-tests/commons.sh