@echo off

REM  Copyright 2002 Phillip Lord, Victoria University of Manchester
REM
REM  This file is part of myGrid.  Further information, and the
REM  latest version, can be found at http://www.mygrid.info
REM
REM  myGrid is free software; you can redistribute it and/or modify
REM  it under the terms of the GNU Lesser General Public License as
REM  published by the Free Software Foundation; either version 2.1
REM  of the License, or (at your option) any later version.
REM
REM  myGrid is distributed in the hope that it will be useful, but
REM  WITHOUT ANY WARRANTY; without even the implied warranty of
REM  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
REM  GNU Lesser General Public License for more details.
REM
REM  You should have received a copy of the GNU Lesser General Public
REM  License along with myGrid; if not, write to the Free Software
REM  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
REM
REM Author Phillip Lord
REM $Id: antmerge.bat,v 1.8 2003/05/21 10:48:18 sharmann Exp $

setlocal

set PROGRAM_NAME=antmerge
set INSTALLATION_DIR=%~dp0%..\
set USER_DIR=.
set CPAPPEND=%~dp0%cpappend.bat

rem Set up the classpath by adding all the jars.
set CLASSP=%INSTALLATION_DIR%lib\antmerge.jar
for %%i in ("%INSTALLATION_DIR%ext\*.jar") do call %CPAPPEND% %%i

java -Dprogram.name=%PROGRAM_NAME% -Dinstallation.directory=%INSTALLATION_DIR% -Duser.extra.directory=%USER_DIR% -cp "%CLASSP%" uk.ac.man.cs.img.xml.merge.AntMerge %1 %2 %3 %4 %5 %6 %7 %8 %9

endlocal
