Created
June 13, 2011 02:05
-
-
Save kimukou/1022226 to your computer and use it in GitHub Desktop.
SDLoaderDesktopSWT_setting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.jenkins/*.log | |
.jenkins/*.log.* | |
.jenkins/jobs/*/builds | |
.jenkins/jobs/*/workspace | |
.jenkins/jobs/*/nextBuildNumber | |
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SDLoaderDesktopSWT_on_Grails | |
1.SDLoaderDesktopSWTのパッチ適応版<SWT.WEBKIT対応版>をダウンロード&gradleコンパイル | |
https://github.com/buzz26/toyBox/tree/master/SDLoaderDesktopSWT | |
2.grailsで作ったwar or 解凍済みのフォルダ をwebappsに入れる | |
3.application.properties、viewconfig/view1.properties を修正 | |
buttons=true | |
url=/ectest/ | |
title=ectest | |
4.libにgrailsのjarをコピー(warの解凍済みフォルダからコピーもOK) | |
・grails-*.jar | |
・log4j-1.2.16.jar | |
5.32bit環境でコンパイルしたものを64bitのWin7に持っていくときは、 | |
32bit環境でインストールしたJDK/jre のフォルダを直下にコピーしてください | |
注意) | |
・空白パス、日本語パスがあるパスでは実行できません<デスクトップ等 | |
・Administrator権限で実行してください | |
・Win7等でUACに許可がいる環境の場合は、管理者で実行をしてください |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SDLoaderDesktopSWT_on_Jenkins | |
<check version 1.434 | |
1.SDLoaderDesktopSWTをダウンロード | |
2.jenkins.warダウンロード、webappsに入れる | |
3.application.properties、viewconfig/view1.properties を修正 | |
buttons=true | |
url=/jenkins/ | |
title=jenkins | |
4.libにjenkinsのwar解凍済みのjenkinsから以下のjarをコピー | |
・bcprov-jdk15-140.jar | |
・jna-3.3.0-jenkins-3.jar | |
・mail-1.4.jar | |
5./opt/jdk/jre/lib/extから以下のjarをコピー | |
・sunjce_provider.jar | |
6.sdloader-jsp21.jarを下記のパッチあてバージョンと差替 | |
<=(強引に 直下/.jenkins=JENKINS_HOME と認識させる) | |
・ https://github.com/buzz26/toyBox/tree/master/SDLoader | |
・ desktopswt.startupHook は http://goo.gl/fyiXa みると | |
ProcessBuilderで別VMになってしまう為 | |
注意) | |
・空白パス、日本語パスがあるパスでは実行できません<デスクトップ等 | |
・Administrator権限で実行してください | |
・Win7等でUACに許可がいる環境の場合は、管理者で実行をしてください |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Application window title | |
title=test | |
# see http://code.google.com/p/sdloader/wiki/CommandLineOption | |
# | |
#sdloader.sessionManager=sdloader.javaee.impl.SessionManagerImpl | |
#sdloader.warInMemoryExtract=false | |
#sdloader.sslEnable=false | |
sdloader.useOutSidePort=true | |
#sdloader.maxThreadPoolNum=2 | |
#sdloader.autoPortDetect=false | |
#sdloader.serverName=SDLoader | |
#sdloader.lineSpeed=-1 | |
sdloader.port=19090 | |
#default request encoding | |
sdloader.request.defaultEncode=UTF-8 | |
#apply body encoding for query | |
#sdloader.request.request.useBodyEncodeForURI=true | |
window.resizable=true | |
#window.width=600 | |
#window.height=400 | |
window.maximizebutton=true | |
#window.maximized=false | |
#desktopswt.startupHook=firewall.bat | |
desktopswt.startupHook=firewall.bat 19090 | |
#desktopswt.startupHook=startup.bat | |
#desktopswt.shutdownHook=filename eg. shutdown.bat | |
# [SWT.WEBKIT] option need Safari Browser | |
#desktopswt.browsertype=SWT.WEBKIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set APPPORT=%1 | |
if "%1" == "" set APPPORT=9090 | |
echo "APPPORT=%APPPORT%" | |
for /f "usebackq tokens=*" %%i in (`ver`) do @set OSname=%%i | |
echo "OSname=%OSname%" | |
for /F "delims=" %%s in ('cd') do @set PWD=%%s | |
netsh advfirewall firewall add rule name="TCP %APPPORT%" dir=in action=allow protocol=TCP localport=%APPPORT% | |
netsh advfirewall firewall add rule name="SDLoaderDesktopSWT" dir=in action=allow program="%PWD%\SDLoaderDesktopSWT.exe" enable=yes | |
::winXP | |
netsh firewall set opmode mode = ENABLE | |
netsh firewall add portopening protocol = TCP port = %APPPORT% name = "TCP %APPPORT%" | |
netsh firewall add allowedprogram program = "%PWD%\SDLoaderDesktopSWT.exe" name ="SDLoaderDesktopSWT" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment