source: trunk/projects/wiscscan-java/build_cpp_wrap.bat @ 7662

Revision 7662, 1.5 KB checked in by abhinav, 9 years ago (diff)
  1. Added a method to use the style-sheet to convert OME-XML to METS(MODS).
  2. Batch file calls "mvn clean" before it builds.
Line 
1@echo off
2
3rem The batch file takes in the root path of the WiscScan directory, as the location to copy all of the headers & lib files
4set wiscScanPath=%~f1
5set cppwrapRootPath=%CD%\target\cppwrap
6
7call mvn clean
8call mvn package cppwrap:wrap
9cd .\target\cppwrap
10rmdir /S /Q .\build
11mkdir .\build
12cmake.exe -G"Visual Studio 8 2005" -H"." -B".\build"
13cd .\build
14devenv.exe /build debug /project ALL_BUILD .\wiscscan-java.sln
15
16rem Copy the headers and jar files
17xcopy /s /y "%cppwrapRootPath%\jace-runtime.jar" %wiscScanPath%\jar
18xcopy /s /y "%cppwrapRootPath%\..\wiscscan-java-1.0-SNAPSHOT.jar" %wiscScanPath%\jar\
19xcopy /s /y "%cppwrapRootPath%\jace\include\jace\"* %wiscScanPath%\jace\
20xcopy /s /y "%cppwrapRootPath%\proxies\include\jace\"* %wiscScanPath%\jace\
21xcopy /s /y "%cppwrapRootPath%\include\"* %wiscScanPath%\bfcpp
22
23rem copy the jace lib files
24xcopy /s /y "%cppwrapRootPath%\build\jace\debug\jace.dll" %wiscScanPath%\dlls\
25xcopy /s /y "%cppwrapRootPath%\build\jace\debug\jace.dll" %wiscScanPath%\Debug\
26xcopy /s /y "%cppwrapRootPath%\build\jace\debug\jace.lib" %wiscScanPath%\Lib\
27xcopy /s /y "%cppwrapRootPath%\build\jace\debug\jace.lib" %wiscScanPath%\Debug\
28
29rem copy the wiscscan-java lib files
30xcopy /s /y "%cppwrapRootPath%\build\debug\wiscscan-java.dll" %wiscScanPath%\dlls\
31xcopy /s /y "%cppwrapRootPath%\build\debug\wiscscan-java.dll" %wiscScanPath%\Debug\
32xcopy /s /y "%cppwrapRootPath%\build\debug\wiscscan-java.lib" %wiscScanPath%\Lib\
33xcopy /s /y "%cppwrapRootPath%\build\debug\wiscscan-java.lib" %wiscScanPath%\Debug\
Note: See TracBrowser for help on using the repository browser.