SET RDIR=Effekseer120
SET RDIR_R=EffekseerRuntime120
SET RDIR_U=EffekseerForUnity120

rmdir %RDIR%
mkdir %RDIR%

rmdir %RDIR_R%
mkdir %RDIR_R%

rmdir %RDIR_U%
mkdir %RDIR_U%

echo AvP[VRs[
mkdir %RDIR%\Tool
copy Dev\release\Effekseer.exe %RDIR%\Tool\.
copy Dev\release\Effekseer.exe.config %RDIR%\Tool\.
copy Dev\release\EffekseerCore.dll %RDIR%\Tool\.
copy Dev\release\EffekseerInterface.dll %RDIR%\Tool\.
copy Dev\release\EffekseerViewer.dll %RDIR%\Tool\.
copy Dev\release\IronPython.dll %RDIR%\Tool\.
copy Dev\release\IronPython.Modules.dll %RDIR%\Tool\.
copy Dev\release\Microsoft.Dynamic.dll %RDIR%\Tool\.
copy Dev\release\Microsoft.Scripting.dll %RDIR%\Tool\.
copy Dev\release\Viewer.dll %RDIR%\Tool\.
copy Dev\release\WeifenLuo.WinFormsUI.Docking.dll %RDIR%\Tool\.
copy Dev\release\System.Reactive.Core.dll %RDIR%\Tool\.
copy Dev\release\System.Reactive.Interfaces.dll %RDIR%\Tool\.
copy Dev\release\System.Reactive.Linq.dll %RDIR%\Tool\.

mkdir %RDIR%\Tool\scripts
mkdir %RDIR%\Tool\scripts\export
copy Dev\release\scripts\export\Default.cs %RDIR%\Tool\scripts\export\.

echo ^CRs[
mkdir %RDIR_R%\RuntimeSample\
mkdir %RDIR_R%\RuntimeSample\lib
mkdir %RDIR_R%\RuntimeSample\include

mkdir %RDIR_R%\src
mkdir %RDIR_R%\src\include
mkdir %RDIR_R%\src\lib

copy Dev\Cpp\Effekseer\Effekseer.h %RDIR_R%\src\include\.
copy Dev\Cpp\EffekseerRendererDX9\EffekseerRendererDX9.h %RDIR_R%\src\include\.
copy Dev\Cpp\EffekseerRendererDX9\EffekseerRendererDX11.h %RDIR_R%\src\include\.
copy Dev\Cpp\EffekseerRendererGL\EffekseerRendererGL.h %RDIR_R%\src\include\.
copy Dev\Cpp\EffekseerSoundXAudio2\EffekseerSoundXAudio2.h %RDIR_R%\src\include\.
copy Dev\Cpp\EffekseerSoundAL\EffekseerSoundAL.h %RDIR_R%\src\include\.

copy Dev\Cpp\EffekseerRendererDX9.sln %RDIR_R%\src\.
copy Dev\Cpp\EffekseerRendererDX11.sln %RDIR_R%\src\.
copy Dev\Cpp\EffekseerRendererGL.sln %RDIR_R%\src\.

mkdir %RDIR_R%\src\Effekseer
robocopy Dev\Cpp\Effekseer %RDIR_R%\src\Effekseer *.h *.cpp *.filters *.vcxproj *.fx /mir /S

mkdir %RDIR_R%\src\EffekseerRendererDX9
robocopy Dev\Cpp\EffekseerRendererDX9 %RDIR_R%\src\EffekseerRendererDX9 *.h *.cpp *.filters *.vcxproj *.fx /mir /S

mkdir %RDIR_R%\src\EffekseerRendererDX11
robocopy Dev\Cpp\EffekseerRendererDX11 %RDIR_R%\src\EffekseerRendererDX11 *.h *.cpp *.filters *.vcxproj *.fx /mir /S

mkdir %RDIR_R%\src\EffekseerRendererGL
robocopy Dev\Cpp\EffekseerRendererGL %RDIR_R%\src\EffekseerRendererGL *.h *.cpp *.filters *.vcxproj *.fx /mir /S

mkdir %RDIR_R%\src\EffekseerRendererCommon
robocopy Dev\Cpp\EffekseerRendererCommon %RDIR_R%\src\EffekseerRendererCommon *.h *.cpp *.filters *.vcxproj *.fx /mir /S

mkdir %RDIR_R%\src\EffekseerSoundXAudio2
robocopy Dev\Cpp\EffekseerSoundXAudio2 %RDIR_R%\src\EffekseerSoundXAudio2 *.h *.cpp *.filters *.vcxproj *.fx /mir /S

mkdir %RDIR_R%\src\EffekseerSoundAL
robocopy Dev\Cpp\EffekseerSoundAL %RDIR_R%\src\EffekseerSoundAL *.h *.cpp *.filters *.vcxproj *.fx /mir /S

echo ^Cgݍ݃Tv
robocopy Release\RuntimeSample %RDIR_R%\RuntimeSample\ *.h *.cpp *.filters *.vcxproj *.fx *.efk *.wav *.png *.sln /mir /S
rmdir %RDIR_R%\RuntimeSample\include /S /Q
rmdir %RDIR_R%\RuntimeSample\lib /S /Q

mkdir %RDIR_R%\RuntimeSample\include
mkdir %RDIR_R%\RuntimeSample\lib

copy Dev\Cpp\Effekseer\Effekseer.h %RDIR_R%\RuntimeSample\include\.
copy Dev\Cpp\EffekseerRendererDX9\EffekseerRendererDX9.h %RDIR_R%\RuntimeSample\include\.
copy Dev\Cpp\EffekseerRendererDX11\EffekseerRendererDX11.h %RDIR_R%\RuntimeSample\include\.
copy Dev\Cpp\EffekseerRendererGL\EffekseerRendererGL.h %RDIR_R%\RuntimeSample\include\.
copy Dev\Cpp\EffekseerSoundXAudio2\EffekseerSoundXAudio2.h %RDIR_R%\RuntimeSample\include\.
copy Dev\Cpp\EffekseerSoundAL\EffekseerSoundAL.h %RDIR_R%\RuntimeSample\include\.

copy Dev\Cpp\lib\Effekseer.Debug.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerRendererDX9.Debug.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerRendererDX11.Debug.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerRendererGL.Debug.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerSoundXAudio2.Debug.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerSoundAL.Debug.lib %RDIR_R%\RuntimeSample\lib\.

copy Dev\Cpp\lib\Effekseer.Release.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerRendererDX9.Release.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerRendererDX11.Release.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerRendererGL.Release.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerSoundXAudio2.Release.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerSoundAL.Release.lib %RDIR_R%\RuntimeSample\lib\.

copy Dev\Cpp\CMakeLists.txt %RDIR_R%\src\.

echo Tv

mkdir %RDIR%\Sample
robocopy Release\Sample %RDIR%\Sample *.efkproj *.efkmodel *.txt *.png /mir /S

echo CZX
cp Release/LICENSE.txt %RDIR_R%/LICENSE.txt
cp Release/LICENSE.txt %RDIR_U%/LICENSE.txt

echo Readme
copy readme_tool.txt %RDIR%\readme.txt
copy readme_runtime.txt %RDIR_R%\readme.txt
copy readme_unity.txt %RDIR_U%\readme.txt

echo wv
mkdir %RDIR%\Help_Jp
mkdir %RDIR%\QuickTutorial_En

robocopy Release\Help_Tool %RDIR%\Help_Jp *.html *.css *.efkproj *.png /mir /S
robocopy Release\QuickTutorial_Tool %RDIR%\QuickTutorial_En *.html *.css *.efkproj *.png /mir /S

mkdir %RDIR_R%\Help
robocopy Release\Help_Runtime %RDIR_R%\Help *.html *.css *.efkproj *.png /mir /S

mkdir %RDIR_U%\Help
robocopy Release\Help_Unity %RDIR_U%\Help *.html *.css *.efkproj *.png /mir /S

echo c[
mkdir %RDIR%\Tool
copy Release\Tool\mqoToEffekseerModelConverter.exe %RDIR%\Tool\.

echo Unity
mkdir %RDIR_U%\GameEngine
robocopy Release\GameEngine %RDIR_U%\GameEngine *.unitypackage *.zip /mir /S

echo doxygen
doxygen doxygen.template
mkdir %RDIR_R%\Help\html\doxygen
robocopy html %RDIR_R%\Help\html\doxygen /mir /S

doxygen Release\Help_Unity\Doxyfile
robocopy UnityAPIRef %RDIR_U%\Help\APIRef /mir /S

echo Readme2
copy readme_sample.txt %RDIR%\Sample\readme.txt

echo VS

mkdir %RDIR_R%\Compiled\

echo Compile VS11
rmdir /S /Q VS11
mkdir VS11

cd VS11
call cmake.bat -G "Visual Studio 11"  -D USE_MSVC_RUNTIME_LIBRARY_DLL:BOOL=OFF ../Dev/Cpp/
cmake.exe -G "Visual Studio 11"  -D USE_MSVC_RUNTIME_LIBRARY_DLL:BOOL=OFF ../Dev/Cpp/

"C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild" Effekseer.sln /p:configuration=Debug
"C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild" Effekseer.sln /p:configuration=Release
cd ..

echo Compile VS12
rmdir /S /Q VS12
mkdir VS12

cd VS12
call cmake.bat -G "Visual Studio 12"  -D USE_MSVC_RUNTIME_LIBRARY_DLL:BOOL=OFF ../Dev/Cpp/
cmake.exe -G "Visual Studio 12"  -D USE_MSVC_RUNTIME_LIBRARY_DLL:BOOL=OFF ../Dev/Cpp/

"C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild" Effekseer.sln /p:configuration=Debug
"C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild" Effekseer.sln /p:configuration=Release
cd ..

echo Compile VS14
rmdir /S /Q VS14
mkdir VS14

cd VS14
call cmake.bat -G "Visual Studio 14"  -D USE_MSVC_RUNTIME_LIBRARY_DLL:BOOL=OFF ../Dev/Cpp/
cmake.exe -G "Visual Studio 14"  -D USE_MSVC_RUNTIME_LIBRARY_DLL:BOOL=OFF ../Dev/Cpp/

"C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild" Effekseer.sln /p:configuration=Debug
"C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild" Effekseer.sln /p:configuration=Release
cd ..

mkdir %RDIR_R%\Compiled\\include\
mkdir %RDIR_R%\Compiled\\lib\

mkdir %RDIR_R%\Compiled\\lib\VS2012\
mkdir %RDIR_R%\Compiled\\lib\VS2013\
mkdir %RDIR_R%\Compiled\\lib\VS2015\

robocopy VS11\Debug %RDIR_R%\Compiled\\lib\VS2012\Debug *.lib /mir /S
robocopy VS11\Release %RDIR_R%\Compiled\\lib\VS2012\Release *.lib /mir /S

robocopy VS12\Debug %RDIR_R%\Compiled\\lib\VS2013\Debug *.lib /mir /S
robocopy VS12\Release %RDIR_R%\Compiled\\lib\VS2013\Release *.lib /mir /S

robocopy VS14\Debug %RDIR_R%\Compiled\\lib\VS2015\Debug *.lib /mir /S
robocopy VS14\Release %RDIR_R%\Compiled\\lib\VS2015\Release *.lib /mir /S

copy Dev\Cpp\Effekseer\Effekseer.h %RDIR_R%\Compiled\\include\.
copy Dev\Cpp\EffekseerRendererDX9\EffekseerRendererDX9.h %RDIR_R%\Compiled\\include\.
copy Dev\Cpp\EffekseerRendererDX11\EffekseerRendererDX11.h %RDIR_R%\Compiled\include\.
copy Dev\Cpp\EffekseerRendererGL\EffekseerRendererGL.h %RDIR_R%\Compiled\\include\.
copy Dev\Cpp\EffekseerSoundXAudio2\EffekseerSoundXAudio2.h %RDIR_R%\Compiled\\include\.
copy Dev\Cpp\EffekseerSoundAL\EffekseerSoundAL.h %RDIR_R%\Compiled\\include\.

pause

pause

SET RDIR=Effekseer120
SET RDIR_R=EffekseerRuntime120
SET RDIR_U=EffekseerForUnity120

rmdir %RDIR%
mkdir %RDIR%

rmdir %RDIR_R%
mkdir %RDIR_R%

rmdir %RDIR_U%
mkdir %RDIR_U%

echo AvP[VRs[
mkdir %RDIR%\Tool
copy Dev\release\Effekseer.exe %RDIR%\Tool\.
copy Dev\release\Effekseer.exe.config %RDIR%\Tool\.
copy Dev\release\EffekseerCore.dll %RDIR%\Tool\.
copy Dev\release\EffekseerInterface.dll %RDIR%\Tool\.
copy Dev\release\EffekseerViewer.dll %RDIR%\Tool\.
copy Dev\release\IronPython.dll %RDIR%\Tool\.
copy Dev\release\IronPython.Modules.dll %RDIR%\Tool\.
copy Dev\release\Microsoft.Dynamic.dll %RDIR%\Tool\.
copy Dev\release\Microsoft.Scripting.dll %RDIR%\Tool\.
copy Dev\release\Viewer.dll %RDIR%\Tool\.
copy Dev\release\WeifenLuo.WinFormsUI.Docking.dll %RDIR%\Tool\.
copy Dev\release\System.Reactive.Core.dll %RDIR%\Tool\.
copy Dev\release\System.Reactive.Interfaces.dll %RDIR%\Tool\.
copy Dev\release\System.Reactive.Linq.dll %RDIR%\Tool\.

mkdir %RDIR%\Tool\scripts
mkdir %RDIR%\Tool\scripts\export
copy Dev\release\scripts\export\Default.cs %RDIR%\Tool\scripts\export\.

echo ^CRs[
mkdir %RDIR_R%\RuntimeSample\
mkdir %RDIR_R%\RuntimeSample\lib
mkdir %RDIR_R%\RuntimeSample\include

mkdir %RDIR_R%\src
mkdir %RDIR_R%\src\include
mkdir %RDIR_R%\src\lib

copy Dev\Cpp\Effekseer\Effekseer.h %RDIR_R%\src\include\.
copy Dev\Cpp\EffekseerRendererDX9\EffekseerRendererDX9.h %RDIR_R%\src\include\.
copy Dev\Cpp\EffekseerRendererDX9\EffekseerRendererDX11.h %RDIR_R%\src\include\.
copy Dev\Cpp\EffekseerRendererGL\EffekseerRendererGL.h %RDIR_R%\src\include\.
copy Dev\Cpp\EffekseerSoundXAudio2\EffekseerSoundXAudio2.h %RDIR_R%\src\include\.
copy Dev\Cpp\EffekseerSoundAL\EffekseerSoundAL.h %RDIR_R%\src\include\.

copy Dev\Cpp\EffekseerRendererDX9.sln %RDIR_R%\src\.
copy Dev\Cpp\EffekseerRendererDX11.sln %RDIR_R%\src\.
copy Dev\Cpp\EffekseerRendererGL.sln %RDIR_R%\src\.

mkdir %RDIR_R%\src\Effekseer
robocopy Dev\Cpp\Effekseer %RDIR_R%\src\Effekseer *.h *.cpp *.filters *.vcxproj *.fx /mir /S

mkdir %RDIR_R%\src\EffekseerRendererDX9
robocopy Dev\Cpp\EffekseerRendererDX9 %RDIR_R%\src\EffekseerRendererDX9 *.h *.cpp *.filters *.vcxproj *.fx /mir /S

mkdir %RDIR_R%\src\EffekseerRendererDX11
robocopy Dev\Cpp\EffekseerRendererDX11 %RDIR_R%\src\EffekseerRendererDX11 *.h *.cpp *.filters *.vcxproj *.fx /mir /S

mkdir %RDIR_R%\src\EffekseerRendererGL
robocopy Dev\Cpp\EffekseerRendererGL %RDIR_R%\src\EffekseerRendererGL *.h *.cpp *.filters *.vcxproj *.fx /mir /S

mkdir %RDIR_R%\src\EffekseerRendererCommon
robocopy Dev\Cpp\EffekseerRendererCommon %RDIR_R%\src\EffekseerRendererCommon *.h *.cpp *.filters *.vcxproj *.fx /mir /S

mkdir %RDIR_R%\src\EffekseerSoundXAudio2
robocopy Dev\Cpp\EffekseerSoundXAudio2 %RDIR_R%\src\EffekseerSoundXAudio2 *.h *.cpp *.filters *.vcxproj *.fx /mir /S

mkdir %RDIR_R%\src\EffekseerSoundAL
robocopy Dev\Cpp\EffekseerSoundAL %RDIR_R%\src\EffekseerSoundAL *.h *.cpp *.filters *.vcxproj *.fx /mir /S

echo ^Cgݍ݃Tv
robocopy Release\RuntimeSample %RDIR_R%\RuntimeSample\ *.h *.cpp *.filters *.vcxproj *.fx *.efk *.wav *.png *.sln /mir /S
rmdir %RDIR_R%\RuntimeSample\include /S /Q
rmdir %RDIR_R%\RuntimeSample\lib /S /Q

mkdir %RDIR_R%\RuntimeSample\include
mkdir %RDIR_R%\RuntimeSample\lib

copy Dev\Cpp\Effekseer\Effekseer.h %RDIR_R%\RuntimeSample\include\.
copy Dev\Cpp\EffekseerRendererDX9\EffekseerRendererDX9.h %RDIR_R%\RuntimeSample\include\.
copy Dev\Cpp\EffekseerRendererDX11\EffekseerRendererDX11.h %RDIR_R%\RuntimeSample\include\.
copy Dev\Cpp\EffekseerRendererGL\EffekseerRendererGL.h %RDIR_R%\RuntimeSample\include\.
copy Dev\Cpp\EffekseerSoundXAudio2\EffekseerSoundXAudio2.h %RDIR_R%\RuntimeSample\include\.
copy Dev\Cpp\EffekseerSoundAL\EffekseerSoundAL.h %RDIR_R%\RuntimeSample\include\.

copy Dev\Cpp\lib\Effekseer.Debug.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerRendererDX9.Debug.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerRendererDX11.Debug.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerRendererGL.Debug.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerSoundXAudio2.Debug.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerSoundAL.Debug.lib %RDIR_R%\RuntimeSample\lib\.

copy Dev\Cpp\lib\Effekseer.Release.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerRendererDX9.Release.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerRendererDX11.Release.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerRendererGL.Release.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerSoundXAudio2.Release.lib %RDIR_R%\RuntimeSample\lib\.
copy Dev\Cpp\lib\EffekseerSoundAL.Release.lib %RDIR_R%\RuntimeSample\lib\.

copy Dev\Cpp\CMakeLists.txt %RDIR_R%\src\.

echo Tv

mkdir %RDIR%\Sample
robocopy Release\Sample %RDIR%\Sample *.efkproj *.efkmodel *.txt *.png /mir /S

echo CZX
cp Release/LICENSE.txt %RDIR_R%/LICENSE.txt
cp Release/LICENSE.txt %RDIR_U%/LICENSE.txt

echo Readme
copy readme_tool.txt %RDIR%\readme.txt
copy readme_runtime.txt %RDIR_R%\readme.txt
copy readme_unity.txt %RDIR_U%\readme.txt

echo wv
mkdir %RDIR%\Help_Jp
mkdir %RDIR%\QuickTutorial_En

robocopy Release\Help_Tool %RDIR%\Help_Jp *.html *.css *.efkproj *.png /mir /S
robocopy Document\QuickTutorial_Tool %RDIR%\QuickTutorial_En *.html *.css *.efkproj *.png /mir /S

mkdir %RDIR_R%\Help
robocopy Release\Help_Runtime %RDIR_R%\Help *.html *.css *.efkproj *.png /mir /S

mkdir %RDIR_U%\Help
robocopy Release\Help_Unity %RDIR_U%\Help *.html *.css *.efkproj *.png /mir /S

echo c[
mkdir %RDIR%\Tool
copy Release\Tool\mqoToEffekseerModelConverter.exe %RDIR%\Tool\.

echo Unity
mkdir %RDIR_U%\GameEngine
robocopy Release\GameEngine %RDIR_U%\GameEngine *.unitypackage *.zip /mir /S

echo doxygen
doxygen doxygen.template
mkdir %RDIR_R%\Help\html\doxygen
robocopy html %RDIR_R%\Help\html\doxygen /mir /S

doxygen Release\Help_Unity\Doxyfile
robocopy UnityAPIRef %RDIR_U%\Help\APIRef /mir /S

echo Readme2
copy Document\readme_sample.txt %RDIR%\Sample\readme.txt

echo VS

mkdir %RDIR_R%\Compiled\

echo Compile VS11
rmdir /S /Q VS11
mkdir VS11

cd VS11
call cmake.bat -G "Visual Studio 11"  -D USE_MSVC_RUNTIME_LIBRARY_DLL:BOOL=OFF ../Dev/Cpp/
cmake.exe -G "Visual Studio 11"  -D USE_MSVC_RUNTIME_LIBRARY_DLL:BOOL=OFF ../Dev/Cpp/

"C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild" Effekseer.sln /p:configuration=Debug
"C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild" Effekseer.sln /p:configuration=Release
cd ..

echo Compile VS12
rmdir /S /Q VS12
mkdir VS12

cd VS12
call cmake.bat -G "Visual Studio 12"  -D USE_MSVC_RUNTIME_LIBRARY_DLL:BOOL=OFF ../Dev/Cpp/
cmake.exe -G "Visual Studio 12"  -D USE_MSVC_RUNTIME_LIBRARY_DLL:BOOL=OFF ../Dev/Cpp/

"C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild" Effekseer.sln /p:configuration=Debug
"C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild" Effekseer.sln /p:configuration=Release
cd ..

echo Compile VS14
rmdir /S /Q VS14
mkdir VS14

cd VS14
call cmake.bat -G "Visual Studio 14"  -D USE_MSVC_RUNTIME_LIBRARY_DLL:BOOL=OFF ../Dev/Cpp/
cmake.exe -G "Visual Studio 14"  -D USE_MSVC_RUNTIME_LIBRARY_DLL:BOOL=OFF ../Dev/Cpp/

"C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild" Effekseer.sln /p:configuration=Debug
"C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild" Effekseer.sln /p:configuration=Release
cd ..

mkdir %RDIR_R%\Compiled\\include\
mkdir %RDIR_R%\Compiled\\lib\

mkdir %RDIR_R%\Compiled\\lib\VS2012\
mkdir %RDIR_R%\Compiled\\lib\VS2013\
mkdir %RDIR_R%\Compiled\\lib\VS2015\

robocopy VS11\Debug %RDIR_R%\Compiled\\lib\VS2012\Debug *.lib /mir /S
robocopy VS11\Release %RDIR_R%\Compiled\\lib\VS2012\Release *.lib /mir /S

robocopy VS12\Debug %RDIR_R%\Compiled\\lib\VS2013\Debug *.lib /mir /S
robocopy VS12\Release %RDIR_R%\Compiled\\lib\VS2013\Release *.lib /mir /S

robocopy VS14\Debug %RDIR_R%\Compiled\\lib\VS2015\Debug *.lib /mir /S
robocopy VS14\Release %RDIR_R%\Compiled\\lib\VS2015\Release *.lib /mir /S

copy Dev\Cpp\Effekseer\Effekseer.h %RDIR_R%\Compiled\\include\.
copy Dev\Cpp\EffekseerRendererDX9\EffekseerRendererDX9.h %RDIR_R%\Compiled\\include\.
copy Dev\Cpp\EffekseerRendererDX11\EffekseerRendererDX11.h %RDIR_R%\Compiled\include\.
copy Dev\Cpp\EffekseerRendererGL\EffekseerRendererGL.h %RDIR_R%\Compiled\\include\.
copy Dev\Cpp\EffekseerSoundXAudio2\EffekseerSoundXAudio2.h %RDIR_R%\Compiled\\include\.
copy Dev\Cpp\EffekseerSoundAL\EffekseerSoundAL.h %RDIR_R%\Compiled\\include\.

pause

pause

Change a batch file

Change a batch file


@ECHO OFF
IF "%1"=="" (
  CALL :cmd_help
) ELSE (
  CALL :cmd_%1 %*
  IF ERRORLEVEL 1 CALL:cmd_help
)
GOTO:EOF

:cmd_setup
SET "_KVM_PATH=%USERPROFILE%\.k\"
SET "_TEMP_PATH=%PATH%"

IF /I NOT "%~dp0"=="%_KVM_PATH%" (
  IF NOT EXIST "%_KVM_PATH%" MKDIR "%_KVM_PATH%"
  COPY "%~f0" "%_KVM_PATH%kvm.cmd"
)

:PARSE_START
@IF "%_TEMP_PATH%"=="" GOTO PARSE_END
@FOR /F "tokens=1* delims=;" %%a in ("%_TEMP_PATH%") Do @IF "%%a"=="%_KVM_PATH%" GOTO:end_setup
@FOR /F "tokens=1* delims=;" %%a in ("%_TEMP_PATH%") Do @SET _TEMP_PATH=%%b
@GOTO PARSE_START
:PARSE_END

SET "PATH=%PATH%;%_KVM_PATH%"
powershell -NoProfile -ExecutionPolicy unrestricted -Command "[Environment]::SetEnvironmentVariable('PATH',[Environment]::GetEnvironmentVariable('PATH','user')+';%_KVM_PATH%','user');"

:end_setup
CALL "%_KVM_PATH%kvm.cmd" upgrade
@ECHO Running crossgen, see crossgen.log for results
CALL "%_KVM_PATH%k.cmd" crossgen --in %_KVM_PATH%packages\ProjectK.%_KVM_VERSION%\tools\k10 >crossgen.log 2>crossgen.err.log
SET _KVM_PATH=
SET _TEMP_PATH=
GOTO:EOF

:cmd_upgrade
CALL:cmd_install install
CALL:cmd_alias alias default %_KVM_VERSION%
GOTO:EOF

:cmd_install
IF NOT EXIST "%~dp0.nuget\NuGet.exe" (
  IF NOT EXIST "%~dp0.nuget" MKDIR "%~dp0.nuget"
  ECHO Downloading latest version of NuGet.exe...
  @powershell -NoProfile -ExecutionPolicy unrestricted -Command "((new-object net.webclient).DownloadFile('https://nuget.org/nuget.exe', '%~dp0.nuget\NuGet.exe'))"
)

IF NOT EXIST "%~dp0.nuget\NuGet.config" (
echo ^<configuration^> >"%~dp0.nuget\NuGet.config"
echo   ^<packageSources^> >>"%~dp0.nuget\NuGet.config"
echo     ^<add key="AspNetVNext" value="https://www.myget.org/F/aspnetvnext/api/v2" /^> >>"%~dp0.nuget\NuGet.config"
echo   ^</packageSources^> >>"%~dp0.nuget\NuGet.config"
echo   ^<packageSourceCredentials^> >>"%~dp0.nuget\NuGet.config"
echo     ^<AspNetVNext^> >>"%~dp0.nuget\NuGet.config"
echo       ^<add key="Username" value="aspnetreadonly" /^> >>"%~dp0.nuget\NuGet.config"
echo       ^<add key="ClearTextPassword" value="4d8a2d9c-7b80-4162-9978-47e918c9658c" /^> >>"%~dp0.nuget\NuGet.config"
echo     ^</AspNetVNext^> >>"%~dp0.nuget\NuGet.config"
echo   ^</packageSourceCredentials^> >>"%~dp0.nuget\NuGet.config"
echo ^</configuration^> >>"%~dp0.nuget\NuGet.config"
)

IF "%2"=="" (
    echo Finding latest version
    FOR /f "tokens=1,2" %%G in ('"%~dp0.nuget\NuGet.exe" list ProjectK -Prerelease -ConfigFile %~dp0.nuget\NuGet.config') DO (
      IF "%%G"=="ProjectK" (
        SET _KVM_VERSION=%%H
      )
    )
) ELSE (
    SET "_KVM_VERSION=%2"
)

ECHO Downloading version %_KVM_VERSION%
"%~dp0.nuget\NuGet.exe" install ProjectK -Version %_KVM_VERSION% -OutputDirectory "%~dp0packages" -ConfigFile "%~dp0.nuget\NuGet.config"

CALL:cmd_use use %_KVM_VERSION%
GOTO:EOF

:cmd_use
IF NOT EXIST "%~dp0k.cmd" (
  ECHO @CALL %%~dp0kvm.cmd k %%* >%~dp0k.cmd
)
IF EXIST "%~dp0alias\%2.txt" (
  FOR /F %%G IN (%~dp0alias\%2.txt) DO (
    ECHO Setting _KVM_VERSION to '%%G'
    SET "_KVM_VERSION=%%G"
  )
) ELSE (
  IF NOT EXIST "%~dp0packages\ProjectK.%2\tools\k.cmd" (
    ECHO Version '%2' not found.
    ECHO You may need to run 'kvm install %2'
    GOTO:EOF
  )
  ECHO Setting _KVM_VERSION to '%2'
  SET "_KVM_VERSION=%2"
)
GOTO:EOF

:cmd_alias
IF NOT EXIST "%~dp0alias" (
  MKDIR "%~dp0alias"
)
IF "%3"=="" (
  IF "%2"=="" (
    DIR "%~dp0alias" /b
  ) ELSE (
    ECHO Alias '%2' is
    TYPE "%~dp0alias\%2.txt"
  )
) ELSE (
  IF NOT EXIST "%~dp0packages\ProjectK.%3\tools\k.cmd" (
    ECHO Version '%3' not found.
    ECHO You may need to run 'kvm install %3'
    GOTO:EOF
  )

  ECHO Setting alias '%2' to '%3'
  ECHO %3>%~dp0alias\%2.txt
)
GOTO:EOF

:cmd_list
dir /b "%~dp0packages\ProjectK*"
GOTO:EOF

:cmd_k
@REM find k.cmd in local paths

@REM read _KVM_VERSION.txt if _KVM_VERSION not set
IF "%_KVM_VERSION%" == "" (
  FOR /F %%G IN (%~dp0alias\default.txt) DO (
    SET "_KVM_VERSION=%%G"
  )
)
IF NOT EXIST "%~dp0packages\ProjectK.%_KVM_VERSION%\tools\k.cmd" (
  ECHO Version '%_KVM_VERSION%' not found.
  ECHO You may need to run 'kvm install %_KVM_VERSION%'
) ELSE (
  CALL "%~dp0packages\ProjectK.%_KVM_VERSION%\tools\k.cmd" %2 %3 %4 %5 %6 %7 %8 %9
)
GOTO:EOF

:cmd_help
ECHO kvm ^<command^> [args...]
ECHO   k version manager
ECHO .
ECHO kvm help
ECHO   displays this help
ECHO .
ECHO kvm upgrade
ECHO   install latest k version and make it the default
ECHO .
ECHO kvm install ^<version^>
ECHO   install and use specific k version
ECHO .
ECHO kvm list
ECHO   list installed k versions
ECHO .
ECHO kvm use ^<version^>^|^<alias^>
ECHO   use a version or alias within the current command prompt
ECHO .
ECHO kvm alias ^<alias^> ^<version^>
ECHO   create alias to a specific version
ECHO   alias names may be passed to 'kvm use ^<alias^>'
ECHO   the alias 'default' determines the default k version
ECHO   when kvm use is not called
ECHO .
ECHO kvm alias ^<alias^>
ECHO   show the version of an alias
ECHO .
ECHO kvm alias
ECHO   list aliases
ECHO .

GOTO:EOF

@ECHO OFF
IF "%1"=="" (
  CALL :cmd_help
) ELSE (
  CALL :cmd_%1 %*
  IF ERRORLEVEL 1 CALL:cmd_help
)
GOTO:EOF

:cmd_setup
SET "_KVM_PATH=%USERPROFILE%\.k\"
SET "_TEMP_PATH=%PATH%"

IF /I NOT "%~dp0"=="%_KVM_PATH%" (
  IF NOT EXIST "%_KVM_PATH%" MKDIR "%_KVM_PATH%"
  COPY "%~f0" "%_KVM_PATH%kvm.cmd"
)

:PARSE_START
@IF "%_TEMP_PATH%"=="" GOTO PARSE_END
@FOR /F "tokens=1* delims=;" %%a in ("%_TEMP_PATH%") Do @IF "%%a"=="%_KVM_PATH%" GOTO:end_setup
@FOR /F "tokens=1* delims=;" %%a in ("%_TEMP_PATH%") Do @SET _TEMP_PATH=%%b
@GOTO PARSE_START
:PARSE_END

SET "PATH=%PATH%;%_KVM_PATH%"
powershell -NoProfile -ExecutionPolicy unrestricted -Command "[Environment]::SetEnvironmentVariable('PATH',[Environment]::GetEnvironmentVariable('PATH','user')+';%_KVM_PATH%','user');"

:end_setup
CALL "%_KVM_PATH%kvm.cmd" upgrade
@ECHO Running crossgen, see crossgen.log for results
CALL "%_KVM_PATH%k.cmd" crossgen >crossgen.log 2>crossgen.err.log
SET _KVM_PATH=
SET _TEMP_PATH=
GOTO:EOF

:cmd_upgrade
CALL:cmd_install install
CALL:cmd_alias alias default %_KVM_VERSION%
GOTO:EOF

:cmd_install
IF NOT EXIST "%~dp0.nuget\NuGet.exe" (
  IF NOT EXIST "%~dp0.nuget" MKDIR "%~dp0.nuget"
  ECHO Downloading latest version of NuGet.exe...
  @powershell -NoProfile -ExecutionPolicy unrestricted -Command "((new-object net.webclient).DownloadFile('https://nuget.org/nuget.exe', '%~dp0.nuget\NuGet.exe'))"
)

IF NOT EXIST "%~dp0.nuget\NuGet.config" (
echo ^<configuration^> >"%~dp0.nuget\NuGet.config"
echo   ^<packageSources^> >>"%~dp0.nuget\NuGet.config"
echo     ^<add key="AspNetVNext" value="https://www.myget.org/F/aspnetvnext/api/v2" /^> >>"%~dp0.nuget\NuGet.config"
echo   ^</packageSources^> >>"%~dp0.nuget\NuGet.config"
echo   ^<packageSourceCredentials^> >>"%~dp0.nuget\NuGet.config"
echo     ^<AspNetVNext^> >>"%~dp0.nuget\NuGet.config"
echo       ^<add key="Username" value="aspnetreadonly" /^> >>"%~dp0.nuget\NuGet.config"
echo       ^<add key="ClearTextPassword" value="4d8a2d9c-7b80-4162-9978-47e918c9658c" /^> >>"%~dp0.nuget\NuGet.config"
echo     ^</AspNetVNext^> >>"%~dp0.nuget\NuGet.config"
echo   ^</packageSourceCredentials^> >>"%~dp0.nuget\NuGet.config"
echo ^</configuration^> >>"%~dp0.nuget\NuGet.config"
)

IF "%2"=="" (
    echo Finding latest version
    FOR /f "tokens=1,2" %%G in ('"%~dp0.nuget\NuGet.exe" list ProjectK -Prerelease -ConfigFile %~dp0.nuget\NuGet.config') DO (
      IF "%%G"=="ProjectK" (
        SET _KVM_VERSION=%%H
      )
    )
) ELSE (
    SET "_KVM_VERSION=%2"
)

ECHO Downloading version %_KVM_VERSION%
"%~dp0.nuget\NuGet.exe" install ProjectK -Version %_KVM_VERSION% -OutputDirectory "%~dp0packages" -ConfigFile "%~dp0.nuget\NuGet.config"

CALL:cmd_use use %_KVM_VERSION%
GOTO:EOF

:cmd_use
IF NOT EXIST "%~dp0k.cmd" (
  ECHO @CALL %%~dp0kvm.cmd k %%* >%~dp0k.cmd
)
IF EXIST "%~dp0alias\%2.txt" (
  FOR /F %%G IN (%~dp0alias\%2.txt) DO (
    ECHO Setting _KVM_VERSION to '%%G'
    SET "_KVM_VERSION=%%G"
  )
) ELSE (
  IF NOT EXIST "%~dp0packages\ProjectK.%2\tools\k.cmd" (
    ECHO Version '%2' not found.
    ECHO You may need to run 'kvm install %2'
    GOTO:EOF
  )
  ECHO Setting _KVM_VERSION to '%2'
  SET "_KVM_VERSION=%2"
)
GOTO:EOF

:cmd_alias
IF NOT EXIST "%~dp0alias" (
  MKDIR "%~dp0alias"
)
IF "%3"=="" (
  IF "%2"=="" (
    DIR "%~dp0alias" /b
  ) ELSE (
    ECHO Alias '%2' is
    TYPE "%~dp0alias\%2.txt"
  )
) ELSE (
  IF NOT EXIST "%~dp0packages\ProjectK.%3\tools\k.cmd" (
    ECHO Version '%3' not found.
    ECHO You may need to run 'kvm install %3'
    GOTO:EOF
  )

  ECHO Setting alias '%2' to '%3'
  ECHO %3>%~dp0alias\%2.txt
)
GOTO:EOF

:cmd_list
dir /b "%~dp0packages\ProjectK*"
GOTO:EOF

:cmd_k
@REM find k.cmd in local paths

@REM read _KVM_VERSION.txt if _KVM_VERSION not set
IF "%_KVM_VERSION%" == "" (
  FOR /F %%G IN (%~dp0alias\default.txt) DO (
    SET "_KVM_VERSION=%%G"
  )
)
IF NOT EXIST "%~dp0packages\ProjectK.%_KVM_VERSION%\tools\k.cmd" (
  ECHO Version '%_KVM_VERSION%' not found.
  ECHO You may need to run 'kvm install %_KVM_VERSION%'
) ELSE (
  CALL "%~dp0packages\ProjectK.%_KVM_VERSION%\tools\k.cmd" %2 %3 %4 %5 %6 %7 %8 %9
)
GOTO:EOF

:cmd_help
ECHO kvm ^<command^> [args...]
ECHO   k version manager
ECHO .
ECHO kvm help
ECHO   displays this help
ECHO .
ECHO kvm upgrade
ECHO   install latest k version and make it the default
ECHO .
ECHO kvm install ^<version^>
ECHO   install and use specific k version
ECHO .
ECHO kvm list
ECHO   list installed k versions
ECHO .
ECHO kvm use ^<version^>^|^<alias^>
ECHO   use a version or alias within the current command prompt
ECHO .
ECHO kvm alias ^<alias^> ^<version^>
ECHO   create alias to a specific version
ECHO   alias names may be passed to 'kvm use ^<alias^>'
ECHO   the alias 'default' determines the default k version
ECHO   when kvm use is not called
ECHO .
ECHO kvm alias ^<alias^>
ECHO   show the version of an alias
ECHO .
ECHO kvm alias
ECHO   list aliases
ECHO .

GOTO:EOF

Update kvm.cmd

Update kvm.cmd

Removed crossgen for KRuntime


@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
call "%~DP0\setenv.bat"
set PYTHONDLL=%PYTHONHOME%
set PYTHONHOME=
set PYTHONPATH=%PYTHONPATH%;C:\Software\PyScripter\Lib
REM start "PyScripter MetaGETA" /B "C:\Software\PyScripter\PyScripter.exe" --PYTHON27  --PYTHONDLLPATH "%PYTHONDLL%" --newinstance %1 %2 %3 %4 %5
CALL "C:\Software\PyScripter\PyScripter.exe" --PYTHON27  --PYTHONDLLPATH "%PYTHONDLL%" --newinstance %1 %2 %3 %4 %5
PAUSE
ENDLOCAL

Add pyscripter batch file

Add pyscripter batch file


@echo on

mkdir build
cd build

:: eigen3 is expected in this subdir; otherwise a bundled one is extracted
mkdir third-party || goto :error
mklink /D third-party\eigen3 %LIBRARY_INC%\eigen3 || goto :error

cmake %SRC_DIR% ^
    %CMAKE_ARGS% ^
    -G "NMake Makefiles JOM" ^
    -DCMAKE_BUILD_TYPE=Release ^
    -DCMAKE_INSTALL_LIBDIR=%LIBRARY_LIB% || goto :error

jom -j %NUMBER_OF_PROCESSORS% || goto :error
jom -j %NUMBER_OF_PROCESSORS% install || goto :error

goto :EOF

:error
echo Failed with error #%errorlevel%.
exit /b %errorlevel%

@echo on

mkdir build
cd build

:: eigen3 is expected in this subdir; otherwise a bundled one is extracted
mkdir third-party || goto :error
mklink /D third-party\eigen3 %LIBRARY_INC%\eigen3 || goto :error

cmake %SRC_DIR% ^
    -G "NMake Makefiles JOM" ^
    -DCMAKE_BUILD_TYPE=Release ^
    -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^
    -DCMAKE_PREFIX_PATH="%LIBRARY_PREFIX%" ^
    || goto :error

jom -j %NUMBER_OF_PROCESSORS% || goto :error
jom -j %NUMBER_OF_PROCESSORS% install || goto :error

goto :EOF

:error
echo Failed with error #%errorlevel%.
exit /b %errorlevel%

Update bld.bat

Update bld.bat


:: Set $HOME to the current dir so msys runs here
set HOME=%cd%

:: Configure, build, test, and install using `make`.
bash -lc "make FC=gfortran DYNAMIC_ARCH=1 BINARY=$ARCH NO_LAPACK=0 NO_AFFINITY=1 USE_THREAD=1 PREFIX=$LIBRARY_PREFIX"
if errorlevel 1 exit 1
bash -lc "make test"
if errorlevel 1 exit 1
bash -lc "make PREFIX=$LIBRARY_PREFIX install"
if errorlevel 1 exit 1

:: Set $HOME to the current dir so msys runs here
set HOME=%cd%

:: Configure, build, test, and install using `make`.
bash -lc "make FC=gfortran DYNAMIC_ARCH=1 BINARY=$ARCH NO_LAPACK=0 NO_AFFINITY=1 USE_THREAD=1 PREFIX=`echo $LIBRARY_PREFIX | tr '\\' '/'`"
if errorlevel 1 exit 1
bash -lc "make test"
if errorlevel 1 exit 1
bash -lc "make PREFIX=`echo $LIBRARY_PREFIX | tr '\\' '/'` install"
if errorlevel 1 exit 1

openblas: Fix Windows paths to play nice with MinGW.


@echo off
rem Purpose:  runs the OpenAS2 application

rem Uncomment any of the following for enhanced debug
rem set EXTRA_PARMS=%EXTRA_PARMS% -Dmaillogger.debug.enabled=true
rem set EXTRA_PARMS=%EXTRA_PARMS% -DlogRxdMsgMimeBodyParts=true
rem set EXTRA_PARMS=%EXTRA_PARMS% -DlogRxdMdnMimeBodyParts=true

rem Setup the Java Virtual Machine
if not "%JAVA%" == "" goto :Check_JAVA_END
    if not "%JAVA_HOME%" == "" goto :TryJDKEnd
        call :warn JAVA_HOME not set; results may vary
:TryWOWJRE
    FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKLM\Software\WOW6432NODE\JavaSoft\Java Runtime Environment" /s /v CurrentVersion ^| find "CurrentVersion"`) DO (
       set JAVA_VERSION=%%A
    )
    FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKLM\Software\WOW6432NODE\JavaSoft\Java Runtime Environment\%JAVA_VERSION%" /s /v JavaHome ^| find "JavaHome"`) DO (
       set JAVA_HOME=%%A %%B
    )
    if not exist "%JAVA_HOME%" goto :TryWOWJDK
    goto TryJDKEnd
:TryWOWJDK
    FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKLM\Software\WOW6432NODE\JavaSoft\Java Development Kit" /s /v CurrentVersion  ^| find "CurrentVersion"`) DO (
       set JAVA_VERSION=%%A
    )
    FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKLM\Software\WOW6432NODE\JavaSoft\Java Development Kit\%JAVA_VERSION%" /s /v JavaHome ^| find "JavaHome"`) DO (
       set JAVA_HOME=%%A %%B
    )
    if not exist "%JAVA_HOME%" goto :TryJRE
    goto TryJDKEnd
:TryJRE
    FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKLM\Software\JavaSoft\Java Runtime Environment" /s /v CurrentVersion  ^| find "CurrentVersion"`) DO (
       set JAVA_VERSION=%%A
    )
    FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKLM\Software\JavaSoft\Java Runtime Environment\%JAVA_VERSION%" /s /v JavaHome ^| find "JavaHome"`) DO (
       set JAVA_HOME=%%A %%B
    )
    if not exist "%JAVA_HOME%" goto :TryJDK
    goto TryJDKEnd
:TryJDK
    FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKLM\Software\JavaSoft\Java Development Kit" /s /v CurrentVersion  ^| find "CurrentVersion"`) DO (
       set JAVA_VERSION=%%A
    )
    FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKLM\Software\JavaSoft\Java Development Kit\%JAVA_VERSION%" /s /v JavaHome ^| find "JavaHome"`) DO (
       set JAVA_HOME=%%A %%B
    )
    if not exist "%JAVA_HOME%" (
       call :warn Unable to retrieve JAVA_HOME from Registry
    )
:TryJDKEnd
    if not exist "%JAVA_HOME%" (
        call :warn JAVA_HOME is not valid: "%JAVA_HOME%"
        goto END
    )
    set JAVA=%JAVA_HOME%\bin\java
:Check_JAVA_END

rem
rem remove -Dorg.apache.commons.logging.Log=org.openas2.logging.Log if using another logging package
rem
"%JAVA%" "%EXTRA_PARMS% -Xms32m -Xmx384m  -Dorg.apache.commons.logging.Log=org.openas2.logging.Log  -cp .;../lib/javax.mail.jar;../lib/bcpkix-jdk15on-154.jar;../lib/bcprov-jdk15on-154.jar;../lib/bcmail-jdk15on-154.jar;../lib/commons-logging-1.2.jar;../lib/openas2-server.jar org.openas2.app.OpenAS2Server ../config/config.xml

:warn
:END

@echo off
rem Purpose:  runs the OpenAS2 application

rem Set some of the base system properties for the Java environment and logging
rem remove -Dorg.apache.commons.logging.Log=org.openas2.logging.Log if using another logging package
rem
set EXTRA_PARMS=-Xms32m -Xmx384m  -Dorg.apache.commons.logging.Log=org.openas2.logging.Log
rem By default allow restricted HTTP headers
set EXTRA_PARMS=%EXTRA_PARMS% -Dsun.net.http.allowRestrictedHeaders=true

rem Uncomment any of the following for enhanced debug
rem set EXTRA_PARMS=%EXTRA_PARMS% -Dmaillogger.debug.enabled=true
rem set EXTRA_PARMS=%EXTRA_PARMS% -DlogRxdMsgMimeBodyParts=true
rem set EXTRA_PARMS=%EXTRA_PARMS% -DlogRxdMdnMimeBodyParts=true

rem Setup the Java Virtual Machine
if not "%JAVA%" == "" goto :Check_JAVA_END
    if not "%JAVA_HOME%" == "" goto :TryJDKEnd
        call :warn JAVA_HOME not set; results may vary
:TryWOWJRE
    FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKLM\Software\WOW6432NODE\JavaSoft\Java Runtime Environment" /s /v CurrentVersion ^| find "CurrentVersion"`) DO (
       set JAVA_VERSION=%%A
    )
    FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKLM\Software\WOW6432NODE\JavaSoft\Java Runtime Environment\%JAVA_VERSION%" /s /v JavaHome ^| find "JavaHome"`) DO (
       set JAVA_HOME=%%A %%B
    )
    if not exist "%JAVA_HOME%" goto :TryWOWJDK
    goto TryJDKEnd
:TryWOWJDK
    FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKLM\Software\WOW6432NODE\JavaSoft\Java Development Kit" /s /v CurrentVersion  ^| find "CurrentVersion"`) DO (
       set JAVA_VERSION=%%A
    )
    FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKLM\Software\WOW6432NODE\JavaSoft\Java Development Kit\%JAVA_VERSION%" /s /v JavaHome ^| find "JavaHome"`) DO (
       set JAVA_HOME=%%A %%B
    )
    if not exist "%JAVA_HOME%" goto :TryJRE
    goto TryJDKEnd
:TryJRE
    FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKLM\Software\JavaSoft\Java Runtime Environment" /s /v CurrentVersion  ^| find "CurrentVersion"`) DO (
       set JAVA_VERSION=%%A
    )
    FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKLM\Software\JavaSoft\Java Runtime Environment\%JAVA_VERSION%" /s /v JavaHome ^| find "JavaHome"`) DO (
       set JAVA_HOME=%%A %%B
    )
    if not exist "%JAVA_HOME%" goto :TryJDK
    goto TryJDKEnd
:TryJDK
    FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKLM\Software\JavaSoft\Java Development Kit" /s /v CurrentVersion  ^| find "CurrentVersion"`) DO (
       set JAVA_VERSION=%%A
    )
    FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKLM\Software\JavaSoft\Java Development Kit\%JAVA_VERSION%" /s /v JavaHome ^| find "JavaHome"`) DO (
       set JAVA_HOME=%%A %%B
    )
    if not exist "%JAVA_HOME%" (
       call :warn Unable to retrieve JAVA_HOME from Registry
    )
:TryJDKEnd
    if not exist "%JAVA_HOME%" (
        call :warn JAVA_HOME is not valid: "%JAVA_HOME%"
        goto END
    )
    set JAVA=%JAVA_HOME%\bin\java
:Check_JAVA_END
set LIB_JARS=../lib/h2-1.4.192.jar;../lib/javax.mail.jar;../lib/bcpkix-jdk15on-154.jar;../lib/bcprov-jdk15on-154.jar;../lib/bcmail-jdk15on-154.jar;../lib/commons-logging-1.2.jar;../lib/openas2-server.jar
rem
"%JAVA%" %EXTRA_PARMS%  -cp .;%LIB_JARS% org.openas2.app.OpenAS2Server ../config/config.xml

:warn
:END

Support restricted HTTP headers and add H2 DB lib into classpath


:: copied from ament_package/template/environment_hook/path.bat
@echo off

call:ament_prepend_unique_value PATH "%AMENT_CURRENT_PREFIX%\bin"

goto:eof

:: Prepend non-duplicate values to environment variables
:: using semicolons as separators and avoiding trailing separators.
:: first argument: the name of the result variable
:: second argument: the value
:ament_prepend_unique_value
  setlocal enabledelayedexpansion
  :: arguments
  set "listname=%~1"
  set "value=%~2"
  :: expand the list variable
  set "list=!%listname%!"
  :: check if the list contains the value
  set "is_duplicate="
  if "%list%" NEQ "" (
    for %%v in ("%list:;=";"%") do (
      if "%%~v" == "%value%" set "is_duplicate=1"
    )
  )
  :: if it is not a duplicate prepend it
  if "%is_duplicate%" == "" (
    :: if not empty, prepend a semi-colon
    if "!list!" NEQ "" set "list=;!list!"
    :: prepend the value
    set "list=%value%!list!"
  )
  endlocal & (
    :: set result variable in parent scope
    set "%~1=%list%"
  )
goto:eof

:: copied from ament_package/template/environment_hook/path.bat
@echo off

call:ament_prepend_unique_value PATH "%AMENT_CURRENT_PREFIX%\bin"
call:ament_prepend_unique_value PATH "%AMENT_CURRENT_PREFIX%\Scripts"

goto:eof

:: Prepend non-duplicate values to environment variables
:: using semicolons as separators and avoiding trailing separators.
:: first argument: the name of the result variable
:: second argument: the value
:ament_prepend_unique_value
  setlocal enabledelayedexpansion
  :: arguments
  set "listname=%~1"
  set "value=%~2"
  :: expand the list variable
  set "list=!%listname%!"
  :: check if the list contains the value
  set "is_duplicate="
  if "%list%" NEQ "" (
    for %%v in ("%list:;=";"%") do (
      if "%%~v" == "%value%" set "is_duplicate=1"
    )
  )
  :: if it is not a duplicate prepend it
  if "%is_duplicate%" == "" (
    :: if not empty, prepend a semi-colon
    if "!list!" NEQ "" set "list=;!list!"
    :: prepend the value
    set "list=%value%!list!"
  )
  endlocal & (
    :: set result variable in parent scope
    set "%~1=%list%"
  )
goto:eof

add Scripts to PATH on Windows

add Scripts to PATH on Windows


echo OFF

set UPLOAD_TARGETS=python-parse python-pkgtk

if "%ANACONDA_USERNAME%" == "" (
  set /p ANACONDA_USERNAME="Username: "
) else (
  echo Username: %ANACONDA_USERNAME%;
)

if "%ANACONDA_PASSWORD%" == "" (
  set /p ANACONDA_USERNAME=%ANACONDA_USERNAME%%"'s password: "
) else (
  echo %ANACONDA_USERNAME%'s password: [secure];
)

set ANACONDA_UPLOAD_FLAGS=-c conda-forge %ANACONDA_UPLOAD_FLAGS%
if "%ANACONDA_CHANNEL%" == "" (
    set ANACONDA_CHANNEL=statiskit
) else (
    echo Using anaconda channel: %ANACONDA_CHANNEL%
    set ANACONDA_UPLOAD_FLAGS=-c statiskit "%ANACONDA_UPLOAD_FLAGS%
)

echo ON

conda install -n root anaconda-client
if %errorlevel% neq 0 (
  exit /b %errorlevel%
)

echo OFF

echo y|anaconda login --username %ANACONDA_USERNAME% --password %ANACONDA_PASSWORD%
if %errorlevel% neq 0 (
  exit /b %errorlevel%
)

echo ON

git clone https://gist.github.com/c491cb08d570beeba2c417826a50a9c3.git toolchain
if %errorlevel% neq 0 (
  anaconda logout
  exit /b %errorlevel%
)
cd toolchain
call config.bat
if %errorlevel% neq 0 (
  cd ..
  anaconda logout
  rmdir toolchain /s /q
  exit /b %errorlevel%
)
cd ..
rmdir toolchain /s /q

for %%x in (%UPLOAD_TARGETS%) do (
  <nul set /p="for /f %%%i in ('conda build " >> _upload.bat
  <nul set /p=%%x >> _upload.bat
  <nul set /p=" -c " >> _upload.bat
  <nul set /p=%ANACONDA_CHANNEL% >> _upload.bat
  <nul set /p=" " >> _upload.bat
  <nul set /p=%ANACONDA_FLAGS% >> _upload.bat
  <nul set /p=" --output') ( set UPLOAD_FILE=%%%i )" >> _upload.bat
  echo. >> _upload.bat
  <nul set /p="anaconda upload --user " >> _upload.bat
  <nul set /p=%ANACONDA_CHANNEL% >> _upload.bat
  <nul set /p=" %UPLOAD_FILE%" >> _upload.bat
  echo. >> _upload.bat
  <nul set /p="if \%errorlevel\% neq 0 " >> _upload.bat
  echo upload failed >> _upload.bat
  call _upload.bat
  del _upload.bat
)

anaconda logout

echo OFF

set UPLOAD_TARGETS=python-parse python-pkgtk

if "%ANACONDA_USERNAME%" == "" (
  set /p ANACONDA_USERNAME="Username: "
) else (
  echo Username: %ANACONDA_USERNAME%;
)

if "%ANACONDA_PASSWORD%" == "" (
  set /p ANACONDA_USERNAME=%ANACONDA_USERNAME%%"'s password: "
) else (
  echo %ANACONDA_USERNAME%'s password: [secure];
)

set ANACONDA_UPLOAD_FLAGS=-c conda-forge %ANACONDA_UPLOAD_FLAGS%
if "%ANACONDA_CHANNEL%" == "" (
    set ANACONDA_CHANNEL=statiskit
) else (
    echo Using anaconda channel: %ANACONDA_CHANNEL%
    set ANACONDA_UPLOAD_FLAGS=-c statiskit "%ANACONDA_UPLOAD_FLAGS%
)

echo ON

conda install -n root anaconda-client
if %errorlevel% neq 0 (
  exit /b %errorlevel%
)

echo OFF

echo y|anaconda login --username %ANACONDA_USERNAME% --password %ANACONDA_PASSWORD%
if %errorlevel% neq 0 (
  exit /b %errorlevel%
)

echo ON

git clone https://gist.github.com/c491cb08d570beeba2c417826a50a9c3.git toolchain
if %errorlevel% neq 0 (
  anaconda logout
  exit /b %errorlevel%
)
cd toolchain
call config.bat
if %errorlevel% neq 0 (
  cd ..
  anaconda logout
  rmdir toolchain /s /q
  exit /b %errorlevel%
)
cd ..
rmdir toolchain /s /q

for %%x in (%UPLOAD_TARGETS%) do (
  <nul set /p="for /f %%%%i in ('conda build " >> _upload.bat
  <nul set /p=%%x >> _upload.bat
  <nul set /p=" -c " >> _upload.bat
  <nul set /p=%ANACONDA_CHANNEL% >> _upload.bat
  <nul set /p=" " >> _upload.bat
  <nul set /p=%ANACONDA_FLAGS% >> _upload.bat
  <nul set /p=" --output') ( set UPLOAD_FILE=%%%%i )" >> _upload.bat
  echo. >> _upload.bat
  <nul set /p="anaconda upload --user " >> _upload.bat
  <nul set /p=%ANACONDA_CHANNEL% >> _upload.bat
  <nul set /p=" %UPLOAD_FILE%" >> _upload.bat
  echo. >> _upload.bat
  <nul set /p="if \%errorlevel\% neq 0 " >> _upload.bat
  echo upload failed >> _upload.bat
  call _upload.bat
  del _upload.bat
)

anaconda logout

Update upload.bat

Update upload.bat


echo OFF

if "%ANACONDA_USERNAME%" == "" set /p ANACONDA_USERNAME="Username: "
if "%ANACONDA_PASSWORD%" == "" set /p ANACONDA_USERNAME=%ANACONDA_USERNAME%%"'s password: "

call conda install -n root anaconda-client
if %errorlevel% neq 0 exit /b %errorlevel%

call anaconda login --username "%ANACONDA_USERNAME%" --password "%ANACONDA_PASSWORD%" --hostname "AppVeyor%APPVEYOR_BUILD_NUMBER%"
if %errorlevel% neq 0 exit /b %errorlevel%

echo ON

for /f %%i in ('pkgtk toolchain') DO (set TOOLCHAIN=%%i)
if %errorlevel% neq 0 exit /b %errorlevel%

for /f %%i in ('conda build libboost --output') DO (set CONDA_FILE=%%i)
set errorlevel_backup=%errorlevel%
set errorlevel=0
call anaconda upload --user statiskit %CONDA_FILE% || echo "upload failed"
set errorlevel=%errorlevel_backup%

for /f %%i in ('conda build python-scons --output') DO (set CONDA_FILE=%%i)
set errorlevel=0
call anaconda upload --user statiskit %CONDA_FILE% || echo "upload failed"
set errorlevel=%errorlevel_backup%

call anaconda logout

echo OFF

if "%ANACONDA_USERNAME%" == "" set /p ANACONDA_USERNAME="Username: "
if "%ANACONDA_PASSWORD%" == "" set /p ANACONDA_USERNAME=%ANACONDA_USERNAME%%"'s password: "

call conda install -n root anaconda-client
if %errorlevel% neq 0 exit /b %errorlevel%

call anaconda login --username "%ANACONDA_USERNAME%" --password "%ANACONDA_PASSWORD%" --hostname "AppVeyor%APPVEYOR_BUILD_NUMBER%"
if %errorlevel% neq 0 exit /b %errorlevel%

echo ON

git clone https://gist.github.com/c491cb08d570beeba2c417826a50a9c3.git toolchain
cd toolchain
call config.bat
cd ..
rmdir toolchain /s /q

for /f %%i in ('conda build libboost --output') DO (set CONDA_FILE=%%i)
set errorlevel_backup=%errorlevel%
set errorlevel=0
call anaconda upload --user statiskit %CONDA_FILE% || echo "upload failed"
set errorlevel=%errorlevel_backup%

for /f %%i in ('conda build python-scons --output') DO (set CONDA_FILE=%%i)
set errorlevel=0
call anaconda upload --user statiskit %CONDA_FILE% || echo "upload failed"
set errorlevel=%errorlevel_backup%

call anaconda logout

Update upload.bat

Update upload.bat


SETLOCAL

rem # copy off the timestamp for fingerprinting before we blow it away later
move %BUILD_NUMBER%\build_timestamp %WORKSPACE%\

rem # run the tests
cd %BUILD_NUMBER%

rem # remove the chef package / clobber the files
rem # then install the new package
rmdir /S /Q C:\opscode
FOR %%i IN (pkg\chef*.msi) DO SET omnibus_package=%%i
SET omnibus_package=%WORKSPACE%\%BUILD_NUMBER%\%omnibus_package%

call copy /Y %omnibus_package% %TMP%\install.msi || GOTO :error

call msiexec INSTALLLOCATION=C:\opscode /qb /i %TMP%\install.msi || GOTO :error

rem # use rspec and gems from omnibus
set PATH=C:\opscode\chef\bin;C:\opscode\chef\embedded\bin;%PATH%

rem # run against the specs that are packaged in the chef gem
rem # sorry about the chef-20 bug on the line below, but this really needs to be rewritten in powershell before then...
cd c:\opscode\chef\embedded\lib\ruby\gems\1.9.1\gems\chef-1*

rem # run the tests -- exclude spec/stress on windows
rem # we do not bundle exec here in order to test against the gems in the omnibus package
call rspec -r rspec_junit_formatter -f RspecJunitFormatter -o %WORKSPACE%\test.xml -f documentation spec/functional spec/unit || GOTO :error

rem # uninstall chef
call msiexec /qb /x %TMP%\install.msi || GOTO :error

rem # clean up the workspace to save disk space
cd %WORKSPACE%
rmdir /S /Q %BUILD_NUMBER%

GOTO :EOF

:error

SET ERR_LEV=%errorlevel%

ECHO Failed with error level %ERR_LEV%

rem # uninstall chef
call msiexec /qb /x %TMP%\install.msi

EXIT /B %ERR_LEV%

ENDLOCAL

SETLOCAL

rem # copy off the timestamp for fingerprinting before we blow it away later
move %BUILD_NUMBER%\build_timestamp %WORKSPACE%\

rem # run the tests
cd %BUILD_NUMBER%

rem # remove the chef package / clobber the files
rem # then install the new package
rmdir /S /Q C:\opscode
FOR %%i IN (pkg\chef*.msi) DO SET omnibus_package=%%i
SET omnibus_package=%WORKSPACE%\%BUILD_NUMBER%\%omnibus_package%

call copy /Y %omnibus_package% %TMP%\install.msi || GOTO :error

call msiexec INSTALLLOCATION=C:\opscode /qb /i %TMP%\install.msi || GOTO :error

rem # use rspec and gems from omnibus
set PATH=C:\opscode\chef\bin;C:\opscode\chef\embedded\bin;%PATH%

rem # run against the specs that are packaged in the chef gem
rem # sorry about the chef-20 bug on the line below, but this really needs to be rewritten in powershell before then...
cd c:\opscode\chef\embedded\lib\ruby\gems\1.9.1\gems\chef-1*

rem # run the tests -- exclude spec/stress on windows
rem # we do not bundle exec here in order to test against the gems in the omnibus package
call rspec -r rspec_junit_formatter -f RspecJunitFormatter -o %WORKSPACE%\test.xml -f documentation spec/functional spec/unit || GOTO :error

rem # check presence of essential binaries in correct places

cd c:\opscode\chef\bin

IF NOT EXIST chef-client GOTO :error
IF NOT EXIST chef-solo GOTO :error
IF NOT EXIST knife GOTO :error
IF NOT EXIST ohai GOTO :error
IF NOT EXIST erubis GOTO :error

rem # uninstall chef
call msiexec /qb /x %TMP%\install.msi || GOTO :error

rem # clean up the workspace to save disk space
cd %WORKSPACE%
rmdir /S /Q %BUILD_NUMBER%

GOTO :EOF

:error

SET ERR_LEV=%errorlevel%

ECHO Failed with error level %ERR_LEV%

rem # uninstall chef
call msiexec /qb /x %TMP%\install.msi

EXIT /B %ERR_LEV%

ENDLOCAL

add checks for windows

add checks for windows


set PY_PYTHON=3
py -m pip install -U pip wheel pywin32 setuptools
py -m pip install -U -r https://raw.githubusercontent.com/IlfirinPL/robotframework-MarcinKoperski/master/requirements.txt
py -m pip install -U git+https://github.com/IlfirinPL/robotframework-MarcinKoperski.git
py -m pip install -U -r https://github.com/HelioGuilherme66/RIDE/raw/release/requirements.txt
py -m pip install -U git+https://github.com/HelioGuilherme66/RIDE.git

set PY_PYTHON=3
py -m pip install -U pip wheel pywin32 setuptools
py -m pip install -U -r https://raw.githubusercontent.com/IlfirinPL/robotframework-MarcinKoperski/master/requirements.txt
py -m pip install -U git+https://github.com/IlfirinPL/robotframework-MarcinKoperski.git
py -m pip install -U robotframework-ride

Update install-all.bat

Update install-all.bat


@echo off

rd /q /s _Out
rd /q /s BuildScript
rd /q /s Introduce
rd /q /s Dependencies
rd /q /s NFTools
rd /q /s Tool
rd /q /s Tutorial
rd /q /s Dependencies

echo. & pause

add Doxygen.bat

add Doxygen.bat


@ECHO off
SETLOCAL

:: Script to start jboss with properties defined
:: This currently needs to be executed out of the quickstart directory
:: (via a source)

SET BASE_DIR=%CD%
SET PRG=%0

:: Set defaults
SET heap=600M
SET newsize=200M
SET permsize=256M

SET activemquri=vm://localhost

SET portoffset=0

GOTO branch

:heap
  SHIFT
  SET heap=%1
  SHIFT
  GOTO branch

:newsize
  SHIFT
  SET newsize=%1
  SHIFT
  GOTO branch

:permsize
  SHIFT
  SET permsize=%1
  SHIFT
  GOTO branch

:portoffset
  SHIFT
  SET portoffset=%1
  SHIFT
  GOTO branch

:activemquri
  SHIFT
  SET activemquri=%1
  SHIFT
  GOTO branch

:doneWithArgs

SET JBOSS_VERSION=jboss-5.1.0.GA
SET JBOSS_CONFIG=default
SET JBOSS_SERVER_DIR=%BASE_DIR%\%JBOSS_VERSION%\server\%JBOSS_CONFIG%
SET JBOSS_DATA_DIR=%JBOSS_SERVER_DIR%\data

:: If this is empty only localhost will be available.
:: With this address anybody can access the consoles if they are not locked down.
SET JBOSS_BIND=-b 0.0.0.0

::
:: Port shifting
::

:: standard ports
SET JBOSS_PORTS=-Dorg.bedework.system.ports.offset=%portoffset%

:: standard ports + defined value
::JBOSS_PORTS=-Dorg.bedework.system.ports.offset=505 -Djboss.service.binding.set=ports-syspar

SET ACTIVEMQ_DIRPREFIX=-Dorg.apache.activemq.default.directory.prefix=%JBOSS_DATA_DIR%\
SET ACTIVEMQ_URI=-Dorg.bedework.activemq.uri=%activemquri%

SET LOG_THRESHOLD=-Djboss.server.log.threshold=DEBUG

SET BW_DATA_DIR=%JBOSS_DATA_DIR%\bedework
SET BW_DATA_DIR_DEF=-Dorg.bedework.data.dir=%BW_DATA_DIR%\

:: Define the system properties used to locate the module specific data

::         carddav data dir
SET BW_CARDDAV_DATAURI=%BW_DATA_DIR%\carddavConfig
SET BW_CARDDAV_DATAURI_DEF=-Dorg.bedework.carddav.datauri=%BW_CARDDAV_DATAURI%/
SET BW_DATA_DIR_DEF=%BW_DATA_DIR_DEF% %BW_CARDDAV_DATAURI_DEF%

::         synch data dir
SET BW_SYNCH_DATAURI=%BW_DATA_DIR%\synch
SET BW_SYNCH_DATAURI_DEF=-Dorg.bedework.synch.datauri=%BW_SYNCH_DATAURI%\
SET BW_DATA_DIR_DEF=%BW_DATA_DIR_DEF% %BW_SYNCH_DATAURI_DEF%

:: Configurations property file

SET BW_CONF_DIR=%JBOSS_SERVER_DIR%\conf\bedework
SET BW_CONF_DIR_DEF=-Dorg.bedework.config.pfile=%BW_CONF_DIR%\config.defs

;; Elastic search home

SET ES_HOME=%BW_DATA_DIR%\elasticsearch"
SET JAVA_OPTS=%JAVA_OPTS% -Des.path.home=%ES_HOME%

SET JAVA_OPTS=%JAVA_OPTS% -Xms%heap% -Xmx%heap%
:: Don't do this SET JAVA_OPTS=%JAVA_OPTS% -XX:NewSize=%newsize% -XX:MaxNewSize=%newsize%
SET JAVA_OPTS=%JAVA_OPTS% -XX:PermSize=%permsize% -XX:MaxPermSize=%permsize%

SET RUN_CMD=.\%JBOSS_VERSION%\bin\run.bat -c %JBOSS_CONFIG% %JBOSS_BIND% %JBOSS_PORTS% %LOG_THRESHOLD% %ACTIVEMQ_DIRPREFIX% %ACTIVEMQ_URI% %BW_DATA_DIR_DEF% %BW_CONF_DIR_DEF%

ECHO.
ECHO Starting Bedework JBoss:
ECHO %RUN_CMD%
ECHO.
ECHO.

%RUN_CMD%
GOTO:EOF

:: Iterate over the command line arguments;
:: DOS Batch labels can't contain hyphens, so convert them
:: (otherwise, we could just "GOTO %1")
:branch
IF "%1" == "-usage" GOTO usage
IF "%1" == "-heap" GOTO heap
IF "%1" == "-newsize" GOTO newsize
IF "%1" == "-permsize" GOTO permsize
IF "%1" == "-portoffset" GOTO portoffset
IF "%1" == "-activemquri" GOTO activemquri
GOTO doneWithArgs

:usage
ECHO.
ECHO.
ECHO.
ECHO startjboss.bat [-heap size] [-newsize size] [-permsize size]
ECHO                [-portoffset n] [-activemquri uri]
ECHO.
ECHO Where:
ECHO.
ECHO -heap sets the heap size and should be n for bytes
ECHO                                        nK for kilo-bytes (e.g. 2560000K)
ECHO                                        nM for mega-bytes (e.g. 256oM)
ECHO                                        nG for giga-bytes (e.g. 1G)
ECHO. Default: %heap%
ECHO.
ECHO -permsize sets the permgen size and has the same form as -heap
ECHO   The value should probably not be less than 256M
ECHO. Default: %permsize%
ECHO.
ECHO. -activemquri sets the uri used by the activemq broker for bedework
ECHO.  Some possibilities: vm://localhost tcp://localhost:61616
ECHO.  Default: %activemquriDefault%
ECHO.
ECHO. -portoffset sets the offset for the standard jboss ports allowing
ECHO.  multiple instances to be run on the same machine. The activemquri
ECHO.  value may need to be set explicitly if it uses a port.
ECHO.  Default: %portoffset%
ECHO.

@ECHO off
SETLOCAL

:: Script to start jboss with properties defined
:: This currently needs to be executed out of the quickstart directory
:: (via a source)

SET BASE_DIR=%CD%
SET PRG=%0

:: Set defaults
SET heap=600M
SET newsize=200M
SET permsize=256M

SET activemquri=vm://localhost

SET portoffset=0

GOTO branch

:heap
  SHIFT
  SET heap=%1
  SHIFT
  GOTO branch

:newsize
  SHIFT
  SET newsize=%1
  SHIFT
  GOTO branch

:permsize
  SHIFT
  SET permsize=%1
  SHIFT
  GOTO branch

:portoffset
  SHIFT
  SET portoffset=%1
  SHIFT
  GOTO branch

:activemquri
  SHIFT
  SET activemquri=%1
  SHIFT
  GOTO branch

:doneWithArgs

SET JBOSS_VERSION=jboss-5.1.0.GA
SET JBOSS_CONFIG=default
SET JBOSS_SERVER_DIR=%BASE_DIR%\%JBOSS_VERSION%\server\%JBOSS_CONFIG%
SET JBOSS_DATA_DIR=%JBOSS_SERVER_DIR%\data

:: If this is empty only localhost will be available.
:: With this address anybody can access the consoles if they are not locked down.
SET JBOSS_BIND=-b 0.0.0.0

::
:: Port shifting
::

:: standard ports
SET JBOSS_PORTS=-Dorg.bedework.system.ports.offset=%portoffset%

:: standard ports + defined value
::JBOSS_PORTS=-Dorg.bedework.system.ports.offset=505 -Djboss.service.binding.set=ports-syspar

SET ACTIVEMQ_DIRPREFIX=-Dorg.apache.activemq.default.directory.prefix=%JBOSS_DATA_DIR%\
SET ACTIVEMQ_URI=-Dorg.bedework.activemq.uri=%activemquri%

SET LOG_THRESHOLD=-Djboss.server.log.threshold=DEBUG

SET BW_DATA_DIR=%JBOSS_DATA_DIR%\bedework
SET BW_DATA_DIR_DEF=-Dorg.bedework.data.dir=%BW_DATA_DIR%\

:: Define the system properties used to locate the module specific data

::         carddav data dir
SET BW_CARDDAV_DATAURI=%BW_DATA_DIR%\carddavConfig
SET BW_CARDDAV_DATAURI_DEF=-Dorg.bedework.carddav.datauri=%BW_CARDDAV_DATAURI%/
SET BW_DATA_DIR_DEF=%BW_DATA_DIR_DEF% %BW_CARDDAV_DATAURI_DEF%

::         synch data dir
SET BW_SYNCH_DATAURI=%BW_DATA_DIR%\synch
SET BW_SYNCH_DATAURI_DEF=-Dorg.bedework.synch.datauri=%BW_SYNCH_DATAURI%\
SET BW_DATA_DIR_DEF=%BW_DATA_DIR_DEF% %BW_SYNCH_DATAURI_DEF%

:: Configurations property file

SET BW_CONF_DIR=%JBOSS_SERVER_DIR%\conf\bedework
SET BW_CONF_DIR_DEF=-Dorg.bedework.config.pfile=%BW_CONF_DIR%\config.defs

:: Elastic search home

SET ES_HOME=%BW_DATA_DIR%\elasticsearch"
SET JAVA_OPTS=%JAVA_OPTS% -Des.path.home=%ES_HOME%

SET JAVA_OPTS=%JAVA_OPTS% -Xms%heap% -Xmx%heap%
:: Don't do this SET JAVA_OPTS=%JAVA_OPTS% -XX:NewSize=%newsize% -XX:MaxNewSize=%newsize%
SET JAVA_OPTS=%JAVA_OPTS% -XX:PermSize=%permsize% -XX:MaxPermSize=%permsize%

SET RUN_CMD=.\%JBOSS_VERSION%\bin\run.bat -c %JBOSS_CONFIG% %JBOSS_BIND% %JBOSS_PORTS% %LOG_THRESHOLD% %ACTIVEMQ_DIRPREFIX% %ACTIVEMQ_URI% %BW_DATA_DIR_DEF% %BW_CONF_DIR_DEF%

ECHO.
ECHO Starting Bedework JBoss:
ECHO %RUN_CMD%
ECHO.
ECHO.

%RUN_CMD%
GOTO:EOF

:: Iterate over the command line arguments;
:: DOS Batch labels can't contain hyphens, so convert them
:: (otherwise, we could just "GOTO %1")
:branch
IF "%1" == "-usage" GOTO usage
IF "%1" == "-heap" GOTO heap
IF "%1" == "-newsize" GOTO newsize
IF "%1" == "-permsize" GOTO permsize
IF "%1" == "-portoffset" GOTO portoffset
IF "%1" == "-activemquri" GOTO activemquri
GOTO doneWithArgs

:usage
ECHO.
ECHO.
ECHO.
ECHO startjboss.bat [-heap size] [-newsize size] [-permsize size]
ECHO                [-portoffset n] [-activemquri uri]
ECHO.
ECHO Where:
ECHO.
ECHO -heap sets the heap size and should be n for bytes
ECHO                                        nK for kilo-bytes (e.g. 2560000K)
ECHO                                        nM for mega-bytes (e.g. 256oM)
ECHO                                        nG for giga-bytes (e.g. 1G)
ECHO. Default: %heap%
ECHO.
ECHO -permsize sets the permgen size and has the same form as -heap
ECHO   The value should probably not be less than 256M
ECHO. Default: %permsize%
ECHO.
ECHO. -activemquri sets the uri used by the activemq broker for bedework
ECHO.  Some possibilities: vm://localhost tcp://localhost:61616
ECHO.  Default: %activemquriDefault%
ECHO.
ECHO. -portoffset sets the offset for the standard jboss ports allowing
ECHO.  multiple instances to be run on the same machine. The activemquri
ECHO.  value may need to be set explicitly if it uses a port.
ECHO.  Default: %portoffset%
ECHO.

Fix typo in comment

Fix typo in comment


:: Runs the three bits of code in this project.
::  - writes key pairs in 'java' and '.net' formats using Java.
::  - writes a message and then writes its signature using private key in Java.
::  - reads the message, signature and public key and verifies it in .Net.

:: Runs in a 'working' directory that is the sibling of the directory from
:: which this batch file is run.

:: Assumes java is on the path.

@echo off
echo Hello
set binDir="%~dp0"
set workingDir=%binDir%..\working\

if not exist %workingDir% md %workingDir%
cd %workingDir%

echo About to run CreateKeysJ
pause
java -cp ..\bin\;%CLASSPATH% CreateKeysJ

echo About to run SignMessageJ
pause
java -cp ..\bin\;%CLASSPATH% SignMessageJ

echo About to run VerifyMessageN
pause
..\bin\VerifyMessageN.exe

add some comments to batch file

add some comments to batch file


@REM Licensed to the Apache Software Foundation (ASF) under one
@REM or more contributor license agreements.  See the NOTICE file
@REM distributed with this work for additional information
@REM regarding copyright ownership.  The ASF licenses this file
@REM to you under the Apache License, Version 2.0 (the
@REM "License"); you may not use this file except in compliance
@REM with the License.  You may obtain a copy of the License at
@REM
@REM    http://www.apache.org/licenses/LICENSE-2.0
@REM
@REM Unless required by applicable law or agreed to in writing,
@REM software distributed under the License is distributed on an
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@REM KIND, either express or implied.  See the License for the
@REM specific language governing permissions and limitations
@REM under the License.

@REM -----------------------------------------------------------------------------
@REM Apache Maven Startup Script
@REM
@REM Environment Variable Prerequisites
@REM
@REM   JAVA_HOME          Must point at your Java Development Kit installation.
@REM   MAVEN_BATCH_ECHO  (Optional) Set to 'on' to enable the echoing of the batch commands.
@REM   MAVEN_BATCH_PAUSE (Optional) set to 'on' to wait for a key stroke before ending.
@REM   MAVEN_OPTS        (Optional) Java runtime options used when Maven is executed.
@REM   MAVEN_SKIP_RC     (Optional) Flag to disable loading of mavenrc files.
@REM -----------------------------------------------------------------------------

@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
@echo off
@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
@if "%MAVEN_BATCH_ECHO%" == "on"  echo %MAVEN_BATCH_ECHO%

@REM set %HOME% to equivalent of $HOME
if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")

@REM Execute a user defined script before this one
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
@REM check for pre script, once with legacy .bat ending and once with .cmd ending
if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
:skipRcPre

@setlocal

set ERROR_CODE=0

@REM ==== START VALIDATION ====
if not "%JAVA_HOME%" == "" goto OkJHome

echo.
echo Error: JAVA_HOME not found in your environment. >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error

:OkJHome
if exist "%JAVA_HOME%\bin\java.exe" goto chkMHome

echo.
echo Error: JAVA_HOME is set to an invalid directory. >&2
echo JAVA_HOME = "%JAVA_HOME%" >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error

:chkMHome
set "MAVEN_HOME=%~dp0.."
if not "%MAVEN_HOME%"=="" goto valMHome
goto error

:valMHome

:stripMHome
if not "_%MAVEN_HOME:~-1%"=="_\" goto checkMCmd
set "MAVEN_HOME=%MAVEN_HOME:~0,-1%"
goto stripMHome

:checkMCmd
if exist "%MAVEN_HOME%\bin\mvn.cmd" goto init
goto error
@REM ==== END VALIDATION ====

:init

set MAVEN_CMD_LINE_ARGS=%*

@REM Find the project basedir, i.e., the directory that contains the folder ".mvn".
@REM Fallback to current working directory if not found.

set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
if not "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir

set "EXEC_DIR=%CD%"
set "WDIR=%EXEC_DIR%"

:findBaseDir
if exist "%WDIR%\.mvn" goto baseDirFound
cd ..
IF "%WDIR%"=="%CD%" goto baseDirNotFound
set "WDIR=%CD%"
goto findBaseDir

:baseDirFound
set "MAVEN_PROJECTBASEDIR=%WDIR%"
cd "%EXEC_DIR%"
goto endDetectBaseDir

:baseDirNotFound
if "_%EXEC_DIR:~-1%"=="_\" set EXEC_DIR=%EXEC_DIR:~0,-1%
set "MAVEN_PROJECTBASEDIR=%EXEC_DIR%"
cd "%EXEC_DIR%"

:endDetectBaseDir

set "jvmConfig=\.mvn\jvm.config"
if not exist "%MAVEN_PROJECTBASEDIR%%jvmConfig%"  goto endReadAdditionalConfig

@setlocal EnableExtensions EnableDelayedExpansion
for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%

:endReadAdditionalConfig

set MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"

for %%i in ("%MAVEN_HOME%"\boot\plexus-classworlds-*) do set CLASSWORLDS_JAR="%%i"

set CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher

%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %CLASSWORLDS_JAR% "-Dclassworlds.conf=%MAVEN_HOME%\bin\m2.conf" "-Dmaven.home=%MAVEN_HOME%" "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" "-Dlibrary.jansi.path=%MAVEN_HOME%\lib\ext" %CLASSWORLDS_LAUNCHER% %MAVEN_CMD_LINE_ARGS%
if ERRORLEVEL 1 goto error
goto end

:error
set ERROR_CODE=1

:end
@endlocal & set ERROR_CODE=%ERROR_CODE%

if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
@REM check for post script, once with legacy .bat ending and once with .cmd ending
if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
:skipRcPost

@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
if "%MAVEN_BATCH_PAUSE%" == "on" pause

if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%

cmd /C exit /B %ERROR_CODE%

@REM Licensed to the Apache Software Foundation (ASF) under one
@REM or more contributor license agreements.  See the NOTICE file
@REM distributed with this work for additional information
@REM regarding copyright ownership.  The ASF licenses this file
@REM to you under the Apache License, Version 2.0 (the
@REM "License"); you may not use this file except in compliance
@REM with the License.  You may obtain a copy of the License at
@REM
@REM    http://www.apache.org/licenses/LICENSE-2.0
@REM
@REM Unless required by applicable law or agreed to in writing,
@REM software distributed under the License is distributed on an
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@REM KIND, either express or implied.  See the License for the
@REM specific language governing permissions and limitations
@REM under the License.

@REM -----------------------------------------------------------------------------
@REM Apache Maven Startup Script
@REM
@REM Environment Variable Prerequisites
@REM
@REM   JAVA_HOME          Must point at your Java Development Kit installation.
@REM   MAVEN_BATCH_ECHO  (Optional) Set to 'on' to enable the echoing of the batch commands.
@REM   MAVEN_BATCH_PAUSE (Optional) set to 'on' to wait for a key stroke before ending.
@REM   MAVEN_OPTS        (Optional) Java runtime options used when Maven is executed.
@REM   MAVEN_SKIP_RC     (Optional) Flag to disable loading of mavenrc files.
@REM -----------------------------------------------------------------------------

@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
@echo off
@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
@if "%MAVEN_BATCH_ECHO%" == "on"  echo %MAVEN_BATCH_ECHO%

@REM Execute a user defined script before this one
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
@REM check for pre script, once with legacy .bat ending and once with .cmd ending
if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat"
if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd"
:skipRcPre

@setlocal

set ERROR_CODE=0

@REM ==== START VALIDATION ====
if not "%JAVA_HOME%" == "" goto OkJHome

echo.
echo Error: JAVA_HOME not found in your environment. >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error

:OkJHome
if exist "%JAVA_HOME%\bin\java.exe" goto chkMHome

echo.
echo Error: JAVA_HOME is set to an invalid directory. >&2
echo JAVA_HOME = "%JAVA_HOME%" >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error

:chkMHome
set "MAVEN_HOME=%~dp0.."
if not "%MAVEN_HOME%"=="" goto valMHome
goto error

:valMHome

:stripMHome
if not "_%MAVEN_HOME:~-1%"=="_\" goto checkMCmd
set "MAVEN_HOME=%MAVEN_HOME:~0,-1%"
goto stripMHome

:checkMCmd
if exist "%MAVEN_HOME%\bin\mvn.cmd" goto init
goto error
@REM ==== END VALIDATION ====

:init

set MAVEN_CMD_LINE_ARGS=%*

@REM Find the project basedir, i.e., the directory that contains the folder ".mvn".
@REM Fallback to current working directory if not found.

set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
if not "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir

set "EXEC_DIR=%CD%"
set "WDIR=%EXEC_DIR%"

:findBaseDir
if exist "%WDIR%\.mvn" goto baseDirFound
cd ..
IF "%WDIR%"=="%CD%" goto baseDirNotFound
set "WDIR=%CD%"
goto findBaseDir

:baseDirFound
set "MAVEN_PROJECTBASEDIR=%WDIR%"
cd "%EXEC_DIR%"
goto endDetectBaseDir

:baseDirNotFound
if "_%EXEC_DIR:~-1%"=="_\" set EXEC_DIR=%EXEC_DIR:~0,-1%
set "MAVEN_PROJECTBASEDIR=%EXEC_DIR%"
cd "%EXEC_DIR%"

:endDetectBaseDir

set "jvmConfig=\.mvn\jvm.config"
if not exist "%MAVEN_PROJECTBASEDIR%%jvmConfig%"  goto endReadAdditionalConfig

@setlocal EnableExtensions EnableDelayedExpansion
for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%

:endReadAdditionalConfig

set MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"

for %%i in ("%MAVEN_HOME%"\boot\plexus-classworlds-*) do set CLASSWORLDS_JAR="%%i"

set CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher

%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %CLASSWORLDS_JAR% "-Dclassworlds.conf=%MAVEN_HOME%\bin\m2.conf" "-Dmaven.home=%MAVEN_HOME%" "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" "-Dlibrary.jansi.path=%MAVEN_HOME%\lib\ext" %CLASSWORLDS_LAUNCHER% %MAVEN_CMD_LINE_ARGS%
if ERRORLEVEL 1 goto error
goto end

:error
set ERROR_CODE=1

:end
@endlocal & set ERROR_CODE=%ERROR_CODE%

if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
@REM check for post script, once with legacy .bat ending and once with .cmd ending
if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd"
:skipRcPost

@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
if "%MAVEN_BATCH_PAUSE%" == "on" pause

if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%

cmd /C exit /B %ERROR_CODE%

[MNG-6001] Replace %HOME% with %USERPROFILE% in mvn.cmd


add copy.bat

add copy.bat


@echo off

REM TODO: detect these automatically. Probably a job for PowerShell...

set PROJECTS=Benchmarks,CodeDiagnostics,CodeDiagnostics.Test,Demo
set PROJECTS=%PROJECTS%,Serialization.JsonNet,Serialization.Test,Test
set PROJECTS=%PROJECTS%,TzdbCompiler.Test,Web

for %%p in (%PROJECTS%) DO (
  echo Restoring NodaTime.%%p packages
  nuget restore -NonInteractive -PackagesDirectory src\packages src\NodaTime.%%p\packages.config
)

Add a script to restore nuget packages for all projects needing them.


cd %APPVEYOR_BUILD_FOLDER%
mkdir build

cd %APPVEYOR_BUILD_FOLDER%\build
cmake -DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%\install-dist\ -DwxWidgets_ROOT_DIR=%APPVEYOR_BUILD_FOLDER%\install-dist\wx\ -DRIDE_BUILD_COMMIT=%APPVEYOR_REPO_COMMIT% -DRIDE_BUILD_NUMBER=%APPVEYOR_BUILD_ID% -DRIDE_BUILD_BRANCH=%APPVEYOR_REPO_BRANCH% -DRIDE_BUILD_REPO=%APPVEYOR_REPO_NAME% $CMAKEOSXARG ..

cd %APPVEYOR_BUILD_FOLDER%
mkdir build

cd %APPVEYOR_BUILD_FOLDER%\build
cmake -DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%\install-dist\ -DwxWidgets_ROOT_DIR=%APPVEYOR_BUILD_FOLDER%\install-dist\wx\ -DRIDE_BUILD_COMMIT=%APPVEYOR_REPO_COMMIT% -DRIDE_BUILD_NUMBER=%APPVEYOR_BUILD_NUMBER% -DRIDE_BUILD_BRANCH=%APPVEYOR_REPO_BRANCH% -DRIDE_BUILD_REPO=%APPVEYOR_REPO_NAME% $CMAKEOSXARG ..

change to build number instead of id

change to build number instead of id


@echo Copyright (C) 2005-2006 SIPfoundry Inc.
@echo Licensed by SIPfoundry under the LGPL license.
@echo -
@echo Copyright (C) 2005-2006 SIPez LLC.
@echo Licensed to SIPfoundry under a Contributor Agreement.
@echo -
@echo Building sipX using MS Visual Studio 6.0

@set doClean=
if "%1" == "clean" set doClean="/CLEAN"
@set releaseType=Debug
@set libPrefix=d
@echo set releaseType=Release
@echo set libPrefix

@msdev /? > nul
@rem error level: %ERRORLEVEL%
@if %ERRORLEVEL% GTR 0 call vcvars32

cd sipXportLib
del %releaseType%\sipXportLib%libPrefix%.lib
msdev sipXportLib.dsp /MAKE "sipXportLib - Win32 %releaseType%" %doClean%
cd ..

cd sipXportLib
del %releaseType%\sipXportLibTest.exe
msdev sipXportLibTest.dsp /MAKE "sipXportLibTest - Win32 %releaseType%" %doClean%
cd ..

cd sipXtackLib
del %releaseType%\sipXtackLib%libPrefix%.lib
msdev sipXtackLib.dsp /MAKE "sipXtackLib - Win32 %releaseType%" %doClean%
cd ..

cd sipXtackLib
del %releaseType%\sipXtackLibTest.exe
msdev sipXtackLibTest.dsp /MAKE "sipXtackLibTest - Win32 %releaseType%" %doClean%
cd ..

cd sipXmediaLib
del %releaseType%\sipXmediaLib%libPrefix%.lib
msdev sipXmediaLib.dsp /MAKE "sipXmediaLib - Win32 %releaseType%" %doClean%
cd ..

cd sipXmediaLib
del %releaseType%\sipXmediaLibTest.exe
msdev sipXmediaLibTest.dsp /MAKE "sipXmediaLibTest - Win32 %releaseType%" %doClean%
cd ..

cd sipXmediaAdapterLib
del %releaseType%\sipXmediaAdapterLib%libPrefix%.lib
msdev sipXmediaAdapterLib.dsp /MAKE "sipXmediaAdapterLib - Win32 %releaseType%" %doClean%
cd ..

cd sipXmediaAdapterLib
del %releaseType%\sipXmediaAdapterLibTest.exe
msdev sipXmediaAdapterLibTest.dsp /MAKE "sipXmediaAdapterLibTest - Win32 %releaseType%" %doClean%
cd ..

cd sipXcallLib
del %releaseType%\sipXcallLib%libPrefix%.lib
msdev sipXcallLib.dsp /MAKE "sipXcallLib - Win32 %releaseType%" %doClean%
cd ..

cd sipXcallLib
del %releaseType%\sipXcallLibTest.exe
msdev sipXcallLibTest.dsp /MAKE "sipXcallLibTest - Win32 %releaseType%" %doClean%
cd ..

cd sipXcallLib
del sipXtapi\%releaseType%\sipXtapiTest.exe
msdev sipXtapiTest.dsp /MAKE "sipXtapiTest - Win32 %releaseType%" %doClean%
cd ..

goto end

cd sipXcallLib\examples\sipXezPhone
del Debug\sipXezPhone.exe
msdev sipXezPhone.dsp /MAKE "sipXezPhone - Win32 Debug" %doClean%
cd ..\..\..

cd sipXcommserverLib
del Debug\sipXcommserverLibd.lib
msdev sipXcommserverLib.dsp /MAKE "sipXcommserverLib - Win32 Debug" %doClean%
cd ..

cd sipXregistry
del Debug\sipXregistry.exe
msdev sipXregistry.dsp /MAKE "sipXregistry - Win32 Debug" %doClean%
cd ..

cd sipXproxy
del Debug\sipXforkingProxy.exe
msdev sipXforkingProxy.dsp /MAKE "sipXforkingProxy - Win32 Debug" %doClean%
cd ..

cd sipXproxy
del Debug\sipXauthproxy.exe
msdev sipXauthproxy.dsp /MAKE "sipXauthproxy - Win32 Debug" %doClean%
cd ..

:end
pwd

@echo Copyright (C) 2005-2006 SIPfoundry Inc.
@echo Licensed by SIPfoundry under the LGPL license.
@echo -
@echo Copyright (C) 2005-2006 SIPez LLC.
@echo Licensed to SIPfoundry under a Contributor Agreement.
@echo -
@echo Building sipX using MS Visual Studio 6.0

@set doClean=
if "%1" == "clean" set doClean="/CLEAN"
@set releaseType=Debug
@set libPrefix=d
@echo set releaseType=Release
@echo set libPrefix

@msdev /? > nul
@rem error level: %ERRORLEVEL%
@if %ERRORLEVEL% GTR 0 call "C:\Program Files\Microsoft Visual Studio\VC98\Bin\vcvars32"

cd sipXportLib
del %releaseType%\sipXportLib%libPrefix%.lib
msdev sipXportLib.dsp /MAKE "sipXportLib - Win32 %releaseType%" %doClean%
cd ..

cd sipXportLib
del %releaseType%\sipXportLibTest.exe
msdev sipXportLibTest.dsp /MAKE "sipXportLibTest - Win32 %releaseType%" %doClean%
cd ..

cd sipXtackLib
del %releaseType%\sipXtackLib%libPrefix%.lib
msdev sipXtackLib.dsp /MAKE "sipXtackLib - Win32 %releaseType%" %doClean%
cd ..

cd sipXtackLib
del %releaseType%\sipXtackLibTest.exe
msdev sipXtackLibTest.dsp /MAKE "sipXtackLibTest - Win32 %releaseType%" %doClean%
cd ..

cd sipXmediaLib
del %releaseType%\sipXmediaLib%libPrefix%.lib
msdev sipXmediaLib.dsp /MAKE "sipXmediaLib - Win32 %releaseType%" %doClean%
cd ..

cd sipXmediaLib
del %releaseType%\sipXmediaLibTest.exe
msdev sipXmediaLibTest.dsp /MAKE "sipXmediaLibTest - Win32 %releaseType%" %doClean%
cd ..

cd sipXmediaAdapterLib
del %releaseType%\sipXmediaAdapterLib%libPrefix%.lib
msdev sipXmediaAdapterLib.dsp /MAKE "sipXmediaAdapterLib - Win32 %releaseType%" %doClean%
cd ..

cd sipXmediaAdapterLib
del %releaseType%\sipXmediaAdapterLibTest.exe
msdev sipXmediaAdapterLibTest.dsp /MAKE "sipXmediaAdapterLibTest - Win32 %releaseType%" %doClean%
cd ..

cd sipXcallLib
del %releaseType%\sipXcallLib%libPrefix%.lib
msdev sipXcallLib.dsp /MAKE "sipXcallLib - Win32 %releaseType%" %doClean%
cd ..

cd sipXcallLib
del %releaseType%\sipXcallLibTest.exe
msdev sipXcallLibTest.dsp /MAKE "sipXcallLibTest - Win32 %releaseType%" %doClean%
cd ..

cd sipXcallLib
del sipXtapi\%releaseType%\sipXtapiTest.exe
msdev sipXtapiTest.dsp /MAKE "sipXtapiTest - Win32 %releaseType%" %doClean%
cd ..

goto end

cd sipXcallLib\examples\sipXezPhone
del Debug\sipXezPhone.exe
msdev sipXezPhone.dsp /MAKE "sipXezPhone - Win32 Debug" %doClean%
cd ..\..\..

cd sipXcommserverLib
del Debug\sipXcommserverLibd.lib
msdev sipXcommserverLib.dsp /MAKE "sipXcommserverLib - Win32 Debug" %doClean%
cd ..

cd sipXregistry
del Debug\sipXregistry.exe
msdev sipXregistry.dsp /MAKE "sipXregistry - Win32 Debug" %doClean%
cd ..

cd sipXproxy
del Debug\sipXforkingProxy.exe
msdev sipXforkingProxy.dsp /MAKE "sipXforkingProxy - Win32 Debug" %doClean%
cd ..

cd sipXproxy
del Debug\sipXauthproxy.exe
msdev sipXauthproxy.dsp /MAKE "sipXauthproxy - Win32 Debug" %doClean%
cd ..

:end
pwd

Fix to MSVC6 command line build script for automated build.
May still need INCLUDE and LIB environment variable fix after this.

git-svn-id: 5274dacc98e2a95d0b0452670772bfdffe61ca90@8488 a612230a-c5fa-0310-af8b-88eea846685b


@echo off
setlocal

title VSCode Dev

pushd %~dp0\..

:: Get electron, compile, built-in extensions
if "%VSCODE_SKIP_PRELAUNCH%"=="" node build/lib/preLaunch.js

for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"nameShort\":.*" product.json') do set NAMESHORT=%%~a
set NAMESHORT=%NAMESHORT: "=%
set NAMESHORT=%NAMESHORT:"=%.exe
set CODE=".build\electron\%NAMESHORT%"

:: Manage built-in extensions
if "%~1"=="--builtin" goto builtin

:: Configuration
set ELECTRON_RUN_AS_NODE=1
set NODE_ENV=development
set VSCODE_DEV=1
set ELECTRON_ENABLE_LOGGING=1
set ELECTRON_ENABLE_STACK_DUMPING=1

:: Launch Code
%CODE% --inspect=5874 out\cli.js . %*
goto end

:builtin
%CODE% build/builtin

:end

popd

endlocal

@echo off
setlocal

title VSCode Dev

pushd %~dp0..

:: Get electron, compile, built-in extensions
if "%VSCODE_SKIP_PRELAUNCH%"=="" node build/lib/preLaunch.js

for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"nameShort\":.*" product.json') do set NAMESHORT=%%~a
set NAMESHORT=%NAMESHORT: "=%
set NAMESHORT=%NAMESHORT:"=%.exe
set CODE=".build\electron\%NAMESHORT%"

:: Manage built-in extensions
if "%~1"=="--builtin" goto builtin

:: Configuration
set ELECTRON_RUN_AS_NODE=1
set NODE_ENV=development
set VSCODE_DEV=1
set ELECTRON_ENABLE_LOGGING=1
set ELECTRON_ENABLE_STACK_DUMPING=1

:: Launch Code
%CODE% --inspect=5874 out\cli.js %~dp0.. %*
goto end

:builtin
%CODE% build/builtin

:end

popd

endlocal

fix code-cli.bat

fix code-cli.bat

fixes #119064


@echo off
net session >nul 2>&1
if %errorLevel% == 0 (
    echo ok
) else (
    echo This program must be run from an administrator cmd prompt
    goto :fail
)

@echo on

pyinstaller --onefile driver.spec

taskkill /f /im {{cookiecutter.model_name}}.exe

timeout 3

set driverdir="c:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers"
IF EXIST %driverdir% GOTO :havecs
set driverdir="c:\Program Files (x86)\QualiSystems\TestShell\Server\Drivers"
:havecs

copy dist\{{cookiecutter.model_name}}.exe                     %driverdir%
copy {{cookiecutter.project_slug}}_runtime_configuration.json %driverdir%

copy {{cookiecutter.project_slug}}_datamodel.xml               release\
copy dist\{{cookiecutter.model_name}}.exe                      release\
copy {{cookiecutter.project_slug}}_runtime_configuration.json  release\

:fail

@echo off
net session >nul 2>&1
if %errorLevel% == 0 (
    echo ok
) else (
    echo This program must be run from an administrator cmd prompt
    goto :fail
)

@echo on

pip install cloudshell-core

pyinstaller --onefile driver.spec

taskkill /f /im {{cookiecutter.model_name}}.exe

timeout 3

set driverdir="c:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers"
IF EXIST %driverdir% GOTO :havecs
set driverdir="c:\Program Files (x86)\QualiSystems\TestShell\Server\Drivers"
:havecs

copy dist\{{cookiecutter.model_name}}.exe                     %driverdir%
copy {{cookiecutter.project_slug}}_runtime_configuration.json %driverdir%

copy {{cookiecutter.project_slug}}_datamodel.xml               release\
copy dist\{{cookiecutter.model_name}}.exe                      release\
copy {{cookiecutter.project_slug}}_runtime_configuration.json  release\

:fail

Update compile_driver.bat

Update compile_driver.bat


@echo off

rem -- Set all environment variables used by Hammer and Omaha. --

set GOROOT=%ProgramFiles(x86)%\go\files
set OMAHA_ATL_SERVER_DIR=c:\atl_server\files
set OMAHA_NET_DIR=%WINDIR%\Microsoft.NET\Framework\v2.0.50727
set OMAHA_NETFX_TOOLS_DIR=%ProgramFiles(x86)%\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools
set OMAHA_PYTHON_DIR=C:\Python24
set OMAHA_WIX_DIR=%ProgramFiles(x86)%\WiX Toolset v3.8\bin
set OMAHA_WTL_DIR=C:\wtl\files
set PLATFORM_SDK_DIR=%ProgramFiles(x86)%\Windows Kits\8.1
set PYTHONPATH=%OMAHA_PYTHON_DIR%
set SCONS_DIR=C:\Python24\Lib\site-packages\scons-1.3.1
set SCT_DIR=C:\swtoolkit
set SIGNTOOL_SDK_DIR=%ProgramFiles(x86)%\Windows Kits\8.1\bin\x86
set VC12_0_DIR=%ProgramFiles(x86)%\Microsoft Visual Studio 12.0

setlocal

set PROXY_CLSID_TARGET=%~dp0proxy_clsids.txt
set CUSTOMIZATION_UT_TARGET=%~dp0common\omaha_customization_proxy_clsid.h

rem Force Hammer to use Python 2.4.  (The default of Python 2.6 exposes some
rem bugs in Scons 1.2, which we currently use.)
set PYTHON_TO_USE=python_24
call %SCT_DIR%\hammer.bat %*

if /i {%1} == {-c} (
  del /q /f "%PROXY_CLSID_TARGET%" 2> NUL
  del /q /f "%CUSTOMIZATION_UT_TARGET%" 2> NUL
)

@echo off

rem -- Set all environment variables used by Hammer and Omaha. --

set GOROOT=%ProgramFiles(x86)%\go\files
set OMAHA_ATL_SERVER_DIR=c:\atl_server\files
set OMAHA_NET_DIR=%WINDIR%\Microsoft.NET\Framework\v2.0.50727
set OMAHA_NETFX_TOOLS_DIR=%ProgramFiles(x86)%\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools
set OMAHA_PYTHON_DIR=C:\Python24
set OMAHA_WIX_DIR=%ProgramFiles(x86)%\WiX Toolset v3.8\bin
set OMAHA_WTL_DIR=C:\wtl\files
set PLATFORM_SDK_DIR=%ProgramFiles(x86)%\Windows Kits\8.1
set PYTHONPATH=%OMAHA_PYTHON_DIR%
set SCONS_DIR=C:\Python24\Lib\site-packages\scons-1.3.1
set SCT_DIR=C:\swtoolkit
set SIGNTOOL_SDK_DIR=%ProgramFiles(x86)%\Windows Kits\8.1\bin\x86
set VC12_0_DIR=%ProgramFiles(x86)%\Microsoft Visual Studio 12.0

setlocal

set PROXY_CLSID_TARGET=%~dp0proxy_clsids.txt
set CUSTOMIZATION_UT_TARGET=%~dp0common\omaha_customization_proxy_clsid.h

rem Force Hammer to use Python 2.4.  (The default of Python 2.6 exposes some
rem bugs in Scons 1.2, which we currently use.)
set PYTHON_TO_USE=python_24
call "%SCT_DIR%\hammer.bat" %*

if /i {%1} == {-c} (
  del /q /f "%PROXY_CLSID_TARGET%" 2> NUL
  del /q /f "%CUSTOMIZATION_UT_TARGET%" 2> NUL
)

Fix issue: Paths with spaces break XP build #47


@echo off
setlocal
set JRE_KEY=HKLM\SOFTWARE\JavaSoft\Java Runtime Environment
if not exist "%JAVA_HOME%\bin\java.exe" (
  for /f "tokens=2* delims=	 " %%u in ('reg query "%JRE_KEY%" /v CurrentVersion') do for /f "tokens=2* delims=	 " %%i in ('reg query "%JRE_KEY%\%%v" /v JavaHome') do set JAVA_HOME=%%j
) 2>nul
if exist "%JAVA_HOME%\bin\java.exe" goto found_java
echo Could not find a Java Runtime Environment. Download one from <http://java.sun.com/javase/downloads/>.
exit /b 1
:found_java
set JAR_DIR=%~dp0
if exist "%JAR_DIR%jing.jar" goto found_jing
echo Could not find jing.jar. Must be in the same directory as jing.bat (%JAR_DIR%).
exit /b 1
:found_jing
"%JAVA_HOME%\bin\java.exe" -classpath "%JAR_DIR%jing.jar" com.thaiopensource.relaxng.util.Driver %*

Add jing.bat

Add jing.bat


:: Licensed to the Apache Software Foundation (ASF) under one
:: or more contributor license agreements.  See the NOTICE file
:: distributed with this work for additional information
:: regarding copyright ownership.  The ASF licenses this file
:: to you under the Apache License, Version 2.0 (the
:: "License"); you may not use this file except in compliance
:: with the License.  You may obtain a copy of the License at
::
:: http://www.apache.org/licenses/LICENSE-2.0
::
:: Unless required by applicable law or agreed to in writing,
:: software distributed under the License is distributed on an
:: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
:: KIND, either express or implied.  See the License for the
:: specific language governing permissions and limitations
:: under the License.

@ECHO OFF
SET script_path="%~dp0build"
IF EXIST %script_path% (
	RMDIR /S %script_path%
	ECHO Cleaning Firefoxos project
) ELSE (
	ECHO.
    ECHO ERROR: Could not find 'build' script in 'cordova' folder, aborting...>&2
    EXIT /B 1
)

:: Licensed to the Apache Software Foundation (ASF) under one
:: or more contributor license agreements.  See the NOTICE file
:: distributed with this work for additional information
:: regarding copyright ownership.  The ASF licenses this file
:: to you under the Apache License, Version 2.0 (the
:: "License"); you may not use this file except in compliance
:: with the License.  You may obtain a copy of the License at
::
:: http://www.apache.org/licenses/LICENSE-2.0
::
:: Unless required by applicable law or agreed to in writing,
:: software distributed under the License is distributed on an
:: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
:: KIND, either express or implied.  See the License for the
:: specific language governing permissions and limitations
:: under the License.

@ECHO OFF
SET script_path="%~dp0clean"
IF EXIST %script_path% (
	node %script_path% %*
	ECHO Cleaning Firefoxos project
) ELSE (
	ECHO.
    	ECHO ERROR: Could not find 'clean' script in 'cordova' folder, aborting...>&2
    	EXIT /B 1
)

update clean.bat

update clean.bat


rem script used to test the cea by the jenkins
rem creates a conda environment (deleting the old one first)

rem removing conda environment creation temporarily
rem call conda env remove -y -q --name ceatest
rem call conda env create -q --name ceatest

rem call activate ceatest
call activate cea

pip.exe install -e .

rem where cea

cea test --reference-cases open --tasks all --verbosity 1
if %errorlevel% neq 0 exit /b %errorlevel%

call deactivate

REM script used to test the cea by the jenkins
SET CEA=%USERPROFILE%\Documents\CityEnergyAnalyst
SET PATH=%CEA%\Dependencies\Python;%CEA%\Dependencies\Python\Scripts;%CEA%\Dependencies\Daysim;%PATH%
SET PYTHONHOME=%CEA%\Dependencies\Python
SET PYTHONHOME=%CEA%\Dependencies\Python
SET GDAL_DATA=%CEA%\Dependencies\Python\Library\share\gdal
SET PROJ_LIB=%CEA%\Dependencies\Python\Library\share
SET RAYPATH=%CEA%\Dependencies\Daysim
"%CEA%\Dependencies\Python\python.exe" -u -m pip install -e .
cea test --reference-cases open --tasks all --verbosity 1
if %errorlevel% neq 0 exit /b %errorlevel%

Update ceatest.bat

Update ceatest.bat


@echo off

NET SESSION >nul 2>&1
IF %ERRORLEVEL% NEQ 0 (
    ECHO Not an admin, exiting.
    EXIT /B 1
)

setlocal EnableDelayedExpansion

:: ############################
:: # Create symlinks from the home directory to any desired dotfiles directory.
:: ############################

:: dotfiles directory
set dotfilesdir=%USERPROFILE%\.dotfiles

:: backup directory
set backupdir=%USERPROFILE%\dotfiles_backup

:: list of files/folders to symlink in homedir
set dotfiles=bashrc bash_profile bash dir_colors inputrc minttyrc gitconfig

for %%A in (%dotfiles%) DO (
  set target=%dotfilesdir%\%%A
  set link=%USERPROFILE%\.%%A
  set linkExists="0"

  if exist "!link!" (
    set Z=&& for %%B in ("!link!") do set Z=%%~aB
    if "!Z:~8,1!" == "l" (
      set linkExists="1"
    ) else (
      if not exist "%backupdir%" (
        mkdir "%backupdir%""
      )
      echo Moving existing !link! to %backupdir%
      move "!link!" "%backupdir%"
    )
  )

  if !linkExists! == "0" (
    if exist "!target!\" (
      mklink /d "!link!" "!target!"
    ) else (
      mklink "!link!" "!target!"
    )
    attrib /L "!link!" +h
  )
)

if exist "%USERPROFILE%\AppData\Roaming\Sublime Text 2" (
  cd "%USERPROFILE%\AppData\Roaming\Sublime Text 2"
  mkdir "Backup"
  move "Installed Packages" "Backup"
  move "Packages" "Backup"
  move "Pristine Packages" "Backup"
  mklink /D "Installed Packages" "%USERPROFILE%\.dotfiles\sublime\Installed Packages"
  mklink /D "Packages" "%USERPROFILE%\.dotfiles\sublime\Packages"
  mklink /D "Pristine Packages" "%USERPROFILE%\.dotfiles\sublime\Pristine Packages"
)

@echo off

NET SESSION >nul 2>&1
IF %ERRORLEVEL% NEQ 0 (
    ECHO Not an admin, exiting.
    EXIT /B 1
)

setlocal EnableDelayedExpansion

:: ############################
:: # Create symlinks from the home directory to any desired dotfiles directory.
:: ############################

:: dotfiles directory
set dotfilesdir=%USERPROFILE%\.dotfiles

:: backup directory
set backupdir=%USERPROFILE%\dotfiles_backup

:: list of files/folders to symlink in homedir
set dotfiles=bashrc bash_profile bash dir_colors inputrc minttyrc gitconfig

for %%A in (%dotfiles%) DO (
  set target=%dotfilesdir%\%%A
  set link=%USERPROFILE%\.%%A
  set linkExists="0"

  if exist "!link!" (
    set Z=&& for %%B in ("!link!") do set Z=%%~aB
    if "!Z:~8,1!" == "l" (
      set linkExists="1"
    ) else (
      if not exist "%backupdir%" (
        mkdir "%backupdir%"
      )
      echo Moving existing !link! to %backupdir%
      move "!link!" "%backupdir%"
    )
  )

  if !linkExists! == "0" (
    if exist "!target!\" (
      mklink /d "!link!" "!target!"
    ) else (
      mklink "!link!" "!target!"
    )
    attrib /L "!link!" +h
  )
)

if exist "%USERPROFILE%\AppData\Roaming\Sublime Text 2" (
  cd "%USERPROFILE%\AppData\Roaming\Sublime Text 2"
  mkdir "Backup"
  move "Installed Packages" "Backup"
  move "Packages" "Backup"
  move "Pristine Packages" "Backup"
  mklink /D "Installed Packages" "%USERPROFILE%\.dotfiles\sublime\Installed Packages"
  mklink /D "Packages" "%USERPROFILE%\.dotfiles\sublime\Packages"
  mklink /D "Pristine Packages" "%USERPROFILE%\.dotfiles\sublime\Pristine Packages"
)

Remove unnecessary quotation mark

Remove unnecessary quotation mark


@echo off

echo Building Dep...

echo Compiling libevent
"..\\Tool\\7z.exe" x libevent-2.0.22-stable.tar.gz -Y
"..\\Tool\\7z.exe" x libevent-2.0.22-stable.tar -Y
del libevent-2.0.22-stable.tar

if exist libevent rd /S /Q libevent
rename libevent-2.0.22-stable libevent
rd /S /Q libevent-2.0.22-stable

echo extract libevent libs
"..\\Tool\\7z.exe" x libevent_libs.zip -Y
copy lib\\Release\\libevent.a lib\\Debug\\ /Y
copy lib\\Release\\libevent.lib lib\\Debug\\ /Y
copy lib\\Release\\libevent_core.a lib\\Debug\\ /Y
copy lib\\Release\\libevent_core.lib lib\\Debug\\ /Y

@echo off

echo Building Dep...

echo Compiling libevent
"..\\Tool\\7z.exe" x libevent-release-2.1.8-stable.zip -Y

rd libevent  /q /s
rename libevent-release-2.1.8-stable libevent

echo Compiling evpp
"..\\Tool\\7z.exe" x evpp.zip -Y -o./evpp

echo Compiling glog
"..\\Tool\\7z.exe" x glog-0.3.5.zip -Y

rd glog  /q /s
rename glog-0.3.5 glog

fix build script

fix build script

Former-commit-id: 2b77cb37409ad5d7a8b15a1e1d9e7be64d190b70
Former-commit-id: 96622c9772d495c2ea6de66ffc628b431ba84a96


cd conda-skeletons
conda install -n base conda==4.3.34 --yes
conda install anaconda-client
conda config --add channels matsci
conda config --set anaconda_upload yes
conda build --skip-existing --user matsci tabulate
conda build --skip-existing --user matsci monty
conda build --user matsci ruamel.yaml
FOR /D %%G in ("*") DO conda build  --skip-existing --user matsci %%G
cd ..

cd conda-skeletons
conda install -n base conda==4.3.34 --yes
conda config --add channels matsci
conda config --set anaconda_upload yes
conda build --skip-existing --user matsci tabulate
conda build --skip-existing --user matsci monty
conda build --user matsci ruamel.yaml
FOR /D %%G in ("*") DO conda build  --skip-existing --user matsci %%G
cd ..

Fix build.

Fix build.


Add execute script

Add execute script