From 75322060978ed360ebf3ad355abd915e868c92a4 Mon Sep 17 00:00:00 2001 From: Mark Raynsford Date: Tue, 11 Mar 2014 20:54:50 +0000 Subject: Massively rewrite project handling. Projects are now defined by directories of (mostly) single-line config files (essentially a glorified directory-based key/value db). The scripts have been adjusted to work better in isolation (in particular the old copy-jars script has been split into a copy-jars-one and copy-jars script, with the latter executing the former on all projects). Bug 999: Is now fixed. Essentially a variable name was accidentally re-used, meaning the source zip file was copied over the project's main jar file. The -n option was passed to cp, but not the subsequent mv, so the overwrite occurred silently! --- maven/projects/jocl-main/atomics | 1 + maven/projects/jocl-main/dummy-jar | 1 + maven/projects/jocl-main/natives | 1 + maven/projects/jocl-main/pom.sh | 67 +++++++++++++++++++++++++++++++++++++ maven/projects/jocl-main/source-zip | 1 + 5 files changed, 71 insertions(+) create mode 100644 maven/projects/jocl-main/atomics create mode 100644 maven/projects/jocl-main/dummy-jar create mode 100644 maven/projects/jocl-main/natives create mode 100755 maven/projects/jocl-main/pom.sh create mode 100644 maven/projects/jocl-main/source-zip (limited to 'maven/projects/jocl-main') diff --git a/maven/projects/jocl-main/atomics b/maven/projects/jocl-main/atomics new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/maven/projects/jocl-main/atomics @@ -0,0 +1 @@ + diff --git a/maven/projects/jocl-main/dummy-jar b/maven/projects/jocl-main/dummy-jar new file mode 100644 index 0000000..94e337a --- /dev/null +++ b/maven/projects/jocl-main/dummy-jar @@ -0,0 +1 @@ +dummy-jar diff --git a/maven/projects/jocl-main/natives b/maven/projects/jocl-main/natives new file mode 100644 index 0000000..ae3b2b0 --- /dev/null +++ b/maven/projects/jocl-main/natives @@ -0,0 +1 @@ +no-natives diff --git a/maven/projects/jocl-main/pom.sh b/maven/projects/jocl-main/pom.sh new file mode 100755 index 0000000..1a86428 --- /dev/null +++ b/maven/projects/jocl-main/pom.sh @@ -0,0 +1,67 @@ +#!/bin/sh + +if [ $# -lt 2 ] +then + echo "usage: version projects+" 1>&2 + exit 1 +fi + +VERSION="$1" +shift + +PLATFORMS=$@ + +cat < + + + + + + + 4.0.0 + org.jogamp.jocl + jocl-main + ${VERSION} + jar + JOCL + Java™ Binding for the OpenCL® API + http://jogamp.org/jocl/www/ + + + + + + + + \${project.groupId} + jocl + \${project.version} + + +EOF + +for PLATFORM in ${PLATFORMS} +do + cat < + \${project.groupId} + jocl + \${project.version} + natives-${PLATFORM} + +EOF +done + +cat < + +EOF + +cat ../jocl/pom.in || exit 1 +cat < +EOF diff --git a/maven/projects/jocl-main/source-zip b/maven/projects/jocl-main/source-zip new file mode 100644 index 0000000..d405da9 --- /dev/null +++ b/maven/projects/jocl-main/source-zip @@ -0,0 +1 @@ +dummy-src -- cgit v1.2.3