|
Scala example source code file (mkAnnotationsJar.sh)
The Scala mkAnnotationsJar.sh source code
#!/bin/sh
##############################################################################
# Author : Nikolay Mihaylov
##############################################################################
##############################################################################
# variables
OBJDIR=./classes
if [ -z "${JAVA_HOME}" ]; then
echo "environment variable JAVA_HOME is undefined."
exit
fi
JAVAC=${JAVA_HOME}/bin/javac
JAVAC_OPTIONS="-source 1.5 -target 1.5"
JAR=${JAVA_HOME}/bin/jar
##############################################################################
# commands
mkdir -p ${OBJDIR}
${JAVAC} ${JAVAC_OPTIONS} -d ${OBJDIR} SourceAnnotation.java NestedAnnotations.java
${JAR} cf ../lib/annotations.jar -C ${OBJDIR} .
rm -rf ${OBJDIR}
Other Scala examples (source code examples)Here is a short list of links related to this Scala mkAnnotationsJar.sh source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.