Blob Blame History Raw
#!/bin/sh
#actual tag to checkout
TAG=14eb839f5e2829d072db6e0e023d28e67e585b7e
XSD_TAG=9533f3f75c2b3e33b767fb653f47c00f8b3b896c 
#name of the version to put in the source
VERSION=2.8.1

rm -rf org.eclipse.emf
rm -rf org.eclipse.xsd
rm -rf emf-$VERSION

git clone git://git.eclipse.org/gitroot/emf/org.eclipse.emf.git
pushd org.eclipse.emf
  git checkout $TAG
popd

git clone git://git.eclipse.org/gitroot/xsd/org.eclipse.xsd.git
pushd org.eclipse.xsd
  git checkout $XSD_TAG
popd


#mv org.eclipse.test emf-$VERSION/
#mv org.eclipse.ant.optional.junit emf-$VERSION/
mkdir emf-$VERSION/
mv org.eclipse.emf/{doc,examples,features,plugins,tests}/* emf-$VERSION/
cp -fr org.eclipse.xsd/{doc,examples,features,plugins}/* emf-$VERSION/
tar czf emf-$VERSION.tar.gz emf-$VERSION

rm -rf org.eclipse.emf
rm -rf org.eclipse.xsd
rm -rf emf-$VERSION/