package_trunk revision 747d06d91101c433c8432437147db244267d2d8f
#
# Auto building script
# for the Hets repository
#
# c.prodescu@jacobs-university.de
#
# Dependencies: hets-core dependencies, devscripts, subversion, ant,
# openjdk-6-jdk
#
# VARIABLES
HETS_VERSION=0.98
{
REPO="$1"
REPO_FOLDER="$2"
FOLDER="$3"
if [ -d $REPO_FOLDER ]; then
svn update -q $REPO_FOLDER || { rm -rf $REPO_FOLDER && svn checkout -q --force $REPO $REPO_FOLDER; }
else
fi
svn -q --force export $REPO_FOLDER $FOLDER
echo ::Done
}
Bye." && exit; }
}
else
echo Bye.
exit
fi
Bye." && exit; }
#Macro handling
#getting revision number
#setting full version
#setting folder name
export_repo "$HETS_LIB_REPO" "$HETS_LIB_REPO_FOLDER" "$HETS_FOLDER/hets-lib"
#checking out Hets-owl-tools and compiling jar files
cd $HETS_FOLDER
cd ..
cd $HETS_FOLDER/OWL2
cd ../..
echo ::Done
#copying OntoDMU and AProVE to hets-owl-tools
cd $HETS_FOLDER
cd ..
echo ::Done
#creating orig.tar.gz
echo ::Done
#detecting distributions for which to build
echo "::Detecting distroseries"
echo " $COUNT distributions found"
count=0
do
# incrementing count
# Packaging for each distroseries
# Unpacking orig.tar.gz archive
# Copying debian folder
# Creating the changelog
echo >> .changelog
echo " * Initial release, automatically generated." >> .changelog
echo >> .changelog
#merging changelogs
echo ::Done
cd $HETS_FOLDER;
echo ::Done
cd ..
echo ::Done
done
#done
echo "::All $COUNT package(s) uploaded successfully"