source: trunk/bin/migrate_from_1.2.sh @ 3680

Last change on this file since 3680 was 3680, checked in by Nicklas Nordborg, 15 years ago

Removed explicit call to System.gc().
Better command line parameters for migration.
Removed debug output that gives no info.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1#!/bin/sh
2# $Id: migrate_from_1.2.sh 3680 2007-08-17 09:26:23Z nicklas $
3#
4# Copyright (C) 2005 Gregory Vincic
5# Copyright (C) 2006 Jari Hakkinen, Nicklas Nordborg, Gregory Vincic
6#
7# This file is part of BASE - BioArray Software Environment.
8# Available at http://base.thep.lu.se/
9#
10# BASE is free software; you can redistribute it and/or
11# modify it under the terms of the GNU General Public License
12# as published by the Free Software Foundation; either version 2
13# of the License, or (at your option) any later version.
14#
15# BASE is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU General Public License for more details.
19#
20# You should have received a copy of the GNU General Public License
21# along with this program; if not, write to the Free Software
22# Foundation, Inc., 59 Temple Place - Suite 330,
23# Boston, MA  02111-1307, USA.
24#
25
26# Import CLASSPATH($CP)
27. ./set_classpath.sh
28
29# Add migration specific classes to the CP
30CP=$CP:jar/Migrate.jar
31
32# Execute Migration
33java -server -Xmx1024M -Xms400M -XX:+UseParallelGC -XX:+UseParallelOldGC -cp $CP net.sf.basedb.clients.migrate.Migrater $*
Note: See TracBrowser for help on using the repository browser.