allowing to use letters in windows versions
git-svn-id: http://google-refine.googlecode.com/svn/trunk@138 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
e2ccd491c5
commit
2e5267c088
@ -102,12 +102,12 @@
|
|||||||
<opt>${java.version}</opt>
|
<opt>${java.version}</opt>
|
||||||
</jre>
|
</jre>
|
||||||
<versionInfo
|
<versionInfo
|
||||||
fileVersion="${version}.0.0"
|
fileVersion="${num_version}.0.0"
|
||||||
txtFileVersion="${version}"
|
txtFileVersion="${version}"
|
||||||
fileDescription="gridworks"
|
fileDescription="gridworks"
|
||||||
copyright="Copyright (c) 2010, Metaweb Technologies, Inc."
|
copyright="Copyright (c) 2010, Metaweb Technologies, Inc."
|
||||||
productVersion="${version}.0.0"
|
productVersion="${num_version}.0.0"
|
||||||
txtProductVersion="${version}.0.0"
|
txtProductVersion="${num_version}.0.0"
|
||||||
productName="Gridworks"
|
productName="Gridworks"
|
||||||
companyName="Metaweb Technologies, Inc."
|
companyName="Metaweb Technologies, Inc."
|
||||||
internalName="gridworks"
|
internalName="gridworks"
|
||||||
|
24
gridworks
24
gridworks
@ -86,7 +86,7 @@ ant_prepare() {
|
|||||||
|
|
||||||
ant() {
|
ant() {
|
||||||
ant_prepare
|
ant_prepare
|
||||||
$ANT -f build.xml -Dbuild.dir="$GRIDWORKS_BUILD_DIR" -Ddist.dir="$GRIDWORKS_DIST_DIR" -Dversion="$VERSION" -Djava.options="$JAVA_OPTIONS" $1 || exit 1
|
$ANT -f build.xml -Dbuild.dir="$GRIDWORKS_BUILD_DIR" -Ddist.dir="$GRIDWORKS_DIST_DIR" -Dversion="$VERSION" -Dnum_version="$NUM_VERSION" -Djava.options="$JAVA_OPTIONS" $1 || exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
dist_prepare() {
|
dist_prepare() {
|
||||||
@ -103,29 +103,29 @@ launch4j_prepare() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
make_exe() {
|
get_version() {
|
||||||
check_macosx
|
|
||||||
dist_prepare
|
|
||||||
launch4j_prepare
|
|
||||||
|
|
||||||
VERSION=$1
|
VERSION=$1
|
||||||
|
|
||||||
if [ "$VERSION" == "" ] ; then
|
if [ "$VERSION" == "" ] ; then
|
||||||
fail "Must specify a version number"
|
fail "Must specify a version number"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
NUM_VERSION=`echo $VERSION | sed 's/\a//g'`
|
||||||
|
}
|
||||||
|
|
||||||
|
make_exe() {
|
||||||
|
check_macosx
|
||||||
|
dist_prepare
|
||||||
|
launch4j_prepare
|
||||||
|
get_version $1
|
||||||
|
|
||||||
ant exe
|
ant exe
|
||||||
}
|
}
|
||||||
|
|
||||||
make_dmg() {
|
make_dmg() {
|
||||||
check_macosx
|
check_macosx
|
||||||
dist_prepare
|
dist_prepare
|
||||||
|
get_version $1
|
||||||
VERSION=$1
|
|
||||||
|
|
||||||
if [ "$VERSION" == "" ] ; then
|
|
||||||
fail "Must specify a version number"
|
|
||||||
fi
|
|
||||||
|
|
||||||
ant bundle
|
ant bundle
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user