#!/bin/sh if [ $# -lt 2 ] then echo "usage: version platforms+" 1>&2 exit 1 fi VERSION="$1" shift PLATFORMS="$@" cat < 4.0.0 org.jogamp.jogl jogl-all-noawt-main ${VERSION} jar JOGL Java™ Binding for the OpenGL® API (Without AWT) http://jogamp.org/jogl/www/ \${project.groupId} jogl-all-noawt \${project.version} EOF for PLATFORM in ${PLATFORMS} do cat < \${project.groupId} jogl-all \${project.version} natives-${PLATFORM} EOF done cat < EOF cat ../jogl/pom.in || exit 1 cat < EOF