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:
Stefano Mazzocchi 2010-02-24 23:52:20 +00:00
parent e2ccd491c5
commit 2e5267c088
2 changed files with 15 additions and 15 deletions

View File

@ -102,12 +102,12 @@
<opt>${java.version}</opt>
</jre>
<versionInfo
fileVersion="${version}.0.0"
fileVersion="${num_version}.0.0"
txtFileVersion="${version}"
fileDescription="gridworks"
copyright="Copyright (c) 2010, Metaweb Technologies, Inc."
productVersion="${version}.0.0"
txtProductVersion="${version}.0.0"
productVersion="${num_version}.0.0"
txtProductVersion="${num_version}.0.0"
productName="Gridworks"
companyName="Metaweb Technologies, Inc."
internalName="gridworks"

View File

@ -86,7 +86,7 @@ ant_prepare() {
ant() {
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() {
@ -103,29 +103,29 @@ launch4j_prepare() {
fi
}
make_exe() {
check_macosx
dist_prepare
launch4j_prepare
get_version() {
VERSION=$1
if [ "$VERSION" == "" ] ; then
fail "Must specify a version number"
fi
NUM_VERSION=`echo $VERSION | sed 's/\a//g'`
}
make_exe() {
check_macosx
dist_prepare
launch4j_prepare
get_version $1
ant exe
}
make_dmg() {
check_macosx
dist_prepare
VERSION=$1
if [ "$VERSION" == "" ] ; then
fail "Must specify a version number"
fi
get_version $1
ant bundle