summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmaven/make-copy-jars.sh22
-rw-r--r--maven/make-projects.txt28
2 files changed, 29 insertions, 21 deletions
diff --git a/maven/make-copy-jars.sh b/maven/make-copy-jars.sh
index d4b0c27..baf7a89 100755
--- a/maven/make-copy-jars.sh
+++ b/maven/make-copy-jars.sh
@@ -54,6 +54,10 @@ do
DUMMY=`echo "${PROJECT_LINE}" | awk -F: '{print $3}'` || exit 1
DUMMY=`echo "${DUMMY}" | tr -d ' '` || exit 1
+ # Determine the source zip file, may be dummy-src
+ SRC_ZIP=`echo "${PROJECT_LINE}" | awk -F: '{print $4}'` || exit 1
+ SRC_ZIP=`echo "${SRC_ZIP}" | tr -d ' '` || exit 1
+
# Copy all native jars, if necessary
if [ "${NATIVES}" = "natives" ]
then
@@ -69,21 +73,25 @@ do
if [ "${DUMMY}" = "dummy-jar" ]
then
SOURCE="empty.jar"
- TARGET="output/${NAME}/${VERSION}/${NAME}.jar"
- copy "${SOURCE}" "${TARGET}"
else
# Copy main jar
SOURCE="${INPUT}/jar/${NAME}.jar"
- TARGET="output/${NAME}/${VERSION}/${NAME}.jar"
- copy "${SOURCE}" "${TARGET}"
fi
+ TARGET="output/${NAME}/${VERSION}/${NAME}.jar"
+ copy "${SOURCE}" "${TARGET}"
- # Copy dummy jars to 'sources' and 'javadoc' jars, as we
- # don't publish real versions of these yet.
- SOURCE="empty.jar"
+ # Copy dummy jars, if necessary
+ if [ "${SRC_ZIP}" = "dummy-src" ]
+ then
+ SOURCE="empty.jar"
+ else
+ SOURCE="${INPUT}/${SRC_ZIP}"
+ fi
TARGET="output/${NAME}/${VERSION}/${NAME}-${VERSION}-sources.jar"
copy "${SOURCE}" "${TARGET}"
+ # Copy dummy jars to 'javadoc' jars, as we
+ # don't publish real versions of these yet.
SOURCE="empty.jar"
TARGET="output/${NAME}/${VERSION}/${NAME}-${VERSION}-javadoc.jar"
copy "${SOURCE}" "${TARGET}"
diff --git a/maven/make-projects.txt b/maven/make-projects.txt
index d4ea954..141d707 100644
--- a/maven/make-projects.txt
+++ b/maven/make-projects.txt
@@ -1,14 +1,14 @@
-gluegen-rt : natives : no-dummy-jar
-gluegen-rt-main : no-natives : dummy-jar
-gluegen-rt-android : no-natives : no-dummy-jar
-joal : natives : no-dummy-jar
-joal-main : no-natives : dummy-jar
-jocl : natives : no-dummy-jar
-jocl-main : no-natives : dummy-jar
-jogl-all : natives : no-dummy-jar
-jogl-all-main : no-natives : dummy-jar
-jogl-all-mobile : no-natives : no-dummy-jar
-jogl-all-mobile-main : no-natives : dummy-jar
-jogl-all-noawt : no-natives : no-dummy-jar
-jogl-all-noawt-main : no-natives : dummy-jar
-jogl-all-android : no-natives : no-dummy-jar
+gluegen-rt : natives : no-dummy-jar : gluegen-java-src.zip
+gluegen-rt-main : no-natives : dummy-jar : dummy-src
+gluegen-rt-android : no-natives : no-dummy-jar : gluegen-java-src.zip
+joal : natives : no-dummy-jar : joal-java-src.zip
+joal-main : no-natives : dummy-jar : dummy-src
+jocl : natives : no-dummy-jar : jocl-java-src.zip
+jocl-main : no-natives : dummy-jar : dummy-src
+jogl-all : natives : no-dummy-jar : jogl-java-src.zip
+jogl-all-main : no-natives : dummy-jar : dummy-src
+jogl-all-mobile : no-natives : no-dummy-jar : jogl-java-src.zip
+jogl-all-mobile-main : no-natives : dummy-jar : dummy-src
+jogl-all-noawt : no-natives : no-dummy-jar : jogl-java-src.zip
+jogl-all-noawt-main : no-natives : dummy-jar : dummy-src
+jogl-all-android : no-natives : no-dummy-jar : jogl-java-src.zip