Skip to content

Commit

Permalink
Script update
Browse files Browse the repository at this point in the history
  • Loading branch information
tarelli committed Jun 9, 2016
1 parent 0cf48a9 commit 9ba9e84
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions utilities/release/build_server_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from __future__ import with_statement
import os
#########################################
# Downloads a Virgo server and the OpenWorm
# Downloads a Virgo server and the Geppetto
# bundles and creates a zip file that contains
# a configured Virgo server
# by: Stephen Larson ([email protected])
Expand All @@ -57,18 +57,18 @@
except IOError as e:
sys.exit("Can't find mvn under " + os.environ['MAVEN_HOME'] + "-- is MAVEN_HOME set appropriately?")

virgo_version = "3.6.3.RELEASE"
urls = ["https://dl.dropboxusercontent.com/u/7538688/virgo-tomcat-server-3.6.3.RELEASE.zip?dl=1"]
virgo_version = "3.6.4.RELEASE"
urls = ["http://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/virgo/release/VP/3.6.4.RELEASE/virgo-tomcat-server-3.6.4.RELEASE.zip"]

openwormpackages = ['org.geppetto.model',
geppettomodules = ['org.geppetto.model',
'org.geppetto.core',
'org.geppetto.model.neuroml',
'org.geppetto.model.swc',
'org.geppetto.simulation',
'org.geppetto.frontend',
'org.geppetto']

for p in openwormpackages:
for p in geppettomodules:
urls = urls + ['https://github.com/openworm/' + p + '/archive/master.zip']

print urls
Expand Down Expand Up @@ -96,7 +96,7 @@

#use Maven to build all the OpenWorm code bundles
#and place the contents in the Virgo installation
for p in openwormpackages:
for p in geppettomodules:
with lcd(tempdir):
print local('mv %s-master %s'%(p, p), capture=True)
dirp = op.join(tempdir, p)
Expand Down Expand Up @@ -130,4 +130,4 @@

#delete the temp directory

print 'Your snapshot is ready: ' + snapshot
print 'Your Geppetto snapshot is ready: ' + snapshot

0 comments on commit 9ba9e84

Please sign in to comment.