From df65325f632d43c5ead03c588820b45374fcb3a5 Mon Sep 17 00:00:00 2001 From: Pyja Erskell Date: Mon, 9 Dec 2019 15:10:30 +0900 Subject: [PATCH] Call Java from VB.NET using Ruby 2.4 --- .../S02-Hello-Java/SCompile.bat | 4 ++ .../S02-Hello-Java/screenshot/ss-01.png | Bin 0 -> 18576 bytes .../S02-Hello-Java/src/SToa.rb | 39 +++++++++++++ .../S02-Hello-Java/src/SToa.vb | 55 ++++++++++++++++++ 4 files changed, 98 insertions(+) create mode 100644 Pyja-20.09.22/Pyja/20.09.22/Salak/VB.NET/19.12.09-VB.NET-Ruby-2.4/S02-Hello-Java/SCompile.bat create mode 100644 Pyja-20.09.22/Pyja/20.09.22/Salak/VB.NET/19.12.09-VB.NET-Ruby-2.4/S02-Hello-Java/screenshot/ss-01.png create mode 100644 Pyja-20.09.22/Pyja/20.09.22/Salak/VB.NET/19.12.09-VB.NET-Ruby-2.4/S02-Hello-Java/src/SToa.rb create mode 100644 Pyja-20.09.22/Pyja/20.09.22/Salak/VB.NET/19.12.09-VB.NET-Ruby-2.4/S02-Hello-Java/src/SToa.vb diff --git a/Pyja-20.09.22/Pyja/20.09.22/Salak/VB.NET/19.12.09-VB.NET-Ruby-2.4/S02-Hello-Java/SCompile.bat b/Pyja-20.09.22/Pyja/20.09.22/Salak/VB.NET/19.12.09-VB.NET-Ruby-2.4/S02-Hello-Java/SCompile.bat new file mode 100644 index 0000000..c3bf838 --- /dev/null +++ b/Pyja-20.09.22/Pyja/20.09.22/Salak/VB.NET/19.12.09-VB.NET-Ruby-2.4/S02-Hello-Java/SCompile.bat @@ -0,0 +1,4 @@ +@ECHO OFF +SETLOCAL +MKDIR "%~DP0ecu" +C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe /target:winexe "/out:%~DP0ecu\SToa.exe" "%~DP0src\SToa.vb" diff --git a/Pyja-20.09.22/Pyja/20.09.22/Salak/VB.NET/19.12.09-VB.NET-Ruby-2.4/S02-Hello-Java/screenshot/ss-01.png b/Pyja-20.09.22/Pyja/20.09.22/Salak/VB.NET/19.12.09-VB.NET-Ruby-2.4/S02-Hello-Java/screenshot/ss-01.png new file mode 100644 index 0000000000000000000000000000000000000000..909f2bb3b67f2bf871039720b59c3eb330ec4607 GIT binary patch literal 18576 zcmZU*19V-@_xK&7ansmIW81i~ZQE&VHBK5gwr$(C-8Od8;KuylKKlOF``)$AJ#)`^ z&&=7My=RgLMR^IN54az|z`&5CBt@0Mz#uR|;bJ%#(0Ay^;aD&*aDbJFh@zB;2(hA* zy}6aG85kHJLut%HiQr%7*@vy#u{ty%W8Cy;-Tcx?9+& zTac>#UxR71k*eLn$HcB~L5m8jVKf65zVjWkX{^PbjFAZ5VJZk- z@A^G%a3OwG(HroUY;|;SYIX7JR~0E(@-hr^;&twx+?fUpsm# ziR-A)euE9$(+yb-i=%SfyTQOLTfM*gBU>06u9zA=c)z~CZ*IK5zjs6h1UzCw4g}bP z9kS?u%{25H1j$t0OjF8SP7aI)6ovx>53>S;0)@aq7cS@m1B3h?3I+?he*|5kxe))x zLSW`X{u>4>{*w@(A|fRPx~rHtnVEfYwzPM-2vgt$6}4=os_CLBC(C1EZ^vL{YHw`D z;9=+RCkqM;J{XXau=>|tm7#hJ&0pY*R3JfQHO$Bd-JeROiaw@WNOZ%EGqs_cF-?=QcD*X2OdU7cXxLNcUA^_CksYqZf9740qMWCJw zlOtb5F3?;TqcZ)3IzoY5c=yD@)Zt~1@*t5 z07F~2a6@Jesv^>V68yRK2@n6@a*zTjuNQAd{9i^q>&dTQhV5U(N##ENuZ*n&(m0vg zt%H#eC`^uQul+W#w0ps$1@E4RIKL~u9KW|;VK?!NFGdau^8d?Z$b&jcui3hl`da0` z`}1k5WYPbfKL36*_j$&CfwAL*Wc$B8aX>;#O-maax>eg43V3{55PVg6nosFA-G85X zJDWLL@qb;h()EemGwH+qU>vY>Rk8T~n1kN+{Bcf!XnsS`dvn}}w5~~>mGyLy#lEx= zr*KBmv&Q0AM7GX&^KzF{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AM&PYDKYrF5wQ()&;zaKf;)kX`ZgqM56wiqF@y?{ogtlo0gthEl^-(}P(a zEK4GI8c)j<-`t{~WE1Bwcjoy}o-dkvt~j1}p~fMmezn!E#pZqf!du7HD~n<{m?|Px zOENj@?YjFfZ|kl3_awGFK6H`o+m__)!!DP8RopuE`OU2jXQYb7J#Qa7@46&)>qn)G zxcydJ6BL27g-y3SZ-JJcfmff$7y;Y7ZzfqgoZyCSi!&E&obmaYZ_c7E@NH@WENZR5 zJ#dqqqF%t8%fSsmk>Cp_FS)>mG82M8Tjw;FwD!T~rwv#^BCK ( * x_args ) { x_args .join $GC_FOSA } # (p)ath (j)oin +$gf_bn = -> (x_fn) { File .basename x_fn } # (b)ase (n)ame +$gf_id = -> (x_it) { File .directory? x_it } # (i)s (d)irectory +$gf_pn = -> ( x_it, x_chedk_id = false ) { ( x_chedk_id and ( $gf_id .(x_it) ) ) ? (x_it) : ( File .dirname x_it ) } # (p)ath (n)ame +$gf_on = -> ( x_it, x_chedk_id = false ) { $gf_bn .( $gf_pn .( x_it, x_chedk_id ) ) } # f(o)lder (n)ame + +$GC_OLIM_PN = $gf_pn .($GC_MILO_PN) +$GC_OLIM_NM = $gf_on .( $GC_OLIM_PN, true ) + +$GC_TONO_HM = $GC_MILO_PN +$GC_TONO_NM = $gf_on .( $GC_TONO_HM, true ) + +$gf_sf = -> ( * x_args ) { sprintf *x_args } # (s)tring (f)ormat + +$GC_KAPA_HM = $gf_pj .( 'C:', 'ProgramData', 'Bichon Frise', 'Kapa' ) + +$GC_JAVA_HM = $gf_pj .( $GC_KAPA_HM, '19.11.01', 'Vindue', 'x64', 'Amazon', 'Corretto', '8.232.09.1' ) +ENV['JAVA_HOME'] = $GC_JAVA_HM + +require 'rjb' + +Rjb::load nil, ['-Dfile.encoding=UTF-8'] + +$CjSystem = Rjb::import 'java.lang.System' +$CjString = Rjb::import 'java.lang.String' + +$jf_sf = -> ( x_format, * x_args ) { $CjString .format x_format, x_args } + +#--------------------------------------------------------------- +# Your Source +#--------------------------------------------------------------- + diff --git a/Pyja-20.09.22/Pyja/20.09.22/Salak/VB.NET/19.12.09-VB.NET-Ruby-2.4/S02-Hello-Java/src/SToa.vb b/Pyja-20.09.22/Pyja/20.09.22/Salak/VB.NET/19.12.09-VB.NET-Ruby-2.4/S02-Hello-Java/src/SToa.vb new file mode 100644 index 0000000..a6d1b70 --- /dev/null +++ b/Pyja-20.09.22/Pyja/20.09.22/Salak/VB.NET/19.12.09-VB.NET-Ruby-2.4/S02-Hello-Java/src/SToa.vb @@ -0,0 +1,55 @@ +Imports Glabol +Imports System.Drawing +Imports System.Windows.Forms + +'--------------------------------------------------------------- +' Global +'--------------------------------------------------------------- + +Public Class Glabol + Public Shared Dim gu_r = CreateObject ("ruby.object.2.4") + Shared Sub New () + gf_er ("" & _ + "-> (x_milo_pn) {" & vbCrLf & _ + " pu_src_pn = x_milo_pn + '\src'" & vbCrLf & _ + " $LOAD_PATH .unshift pu_src_pn unless $LOAD_PATH .include? pu_src_pn" & vbCrLf & _ + " $GC_MILO_PN = x_milo_pn" & vbCrLf & _ + " require 'SToa'" & vbCrLf & _ + "}" _ + ) .call ( IO.Directory .GetParent ( IO.Path .GetDirectoryName (Reflection.Assembly.GetExecutingAssembly.Location) ) .ToString () ) + End Sub + Public Shared Function gf_er ( x_code As String ) ' (er)ubyize + Return gu_r .erubyize (x_code) + End Function +End Class + +'--------------------------------------------------------------- +' Your Source +'--------------------------------------------------------------- + +Public Class WMain + Inherits Form + Dim wu_lbx As New ListBox + Public Sub New () + Me.Size = New Size ( 550, 180 ) + Me .CenterToScreen () + wu_lbx.Dock = DockStyle.Fill + AddHandler Me.Shown, AddressOf wn_shown + Me.Controls .Add (wu_lbx) + End Sub + Private Sub wn_shown ( x_sender As Object, x_eas As EventArgs) + Me.Text = String .Format ( "{0} : {1}", gf_er ("$GC_OLIM_NM") .to_s, gf_er ("$GC_TONO_NM") .to_s ) + With wu_lbx .Items + .Add ( ".NET version => " & Environment.Version .ToString () ) + .Add ( "Ruby version => " & gf_er ("RUBY_VERSION") .to_s ) + .Add ( "Java version => " & gf_er ( "$CjSystem .getProperty ('java.version')" ) .to_s ) + .Add ( "Ruby sprintf ""%1$*2$s %2$d %1$s"", ""Hello"", 8 => " & gf_er ("$gf_sf") .call ( "%1$*2$s %2$d %1$s", "Hello", 8 ) ) + .Add ( "Ruby sprintf ""%1$*2$s %2$d %1$s"", ""Korea (한글)"", 20 => " & gf_er ("$gf_sf") .call ( "%1$*2$s %2$d %1$s", "Korea (한글)", 20 ) ) + .Add ( "Java string format ""Hello %s (%,d) !!!"", ""Java"", 3141592 => " & gf_er ("$jf_sf") .call ( "Hello %s (%,d) !!!", "Java", 3141592 ) ) + .Add ( "Java string format ""Hello %s (%,d) !!!"", ""Korea (자바)"", 3141592 => " & gf_er ("$jf_sf") .call ( "Hello %s (%,d) !!!", "Korea (자바)", 3141592 ) ) + End With + End Sub + Public Shared Sub Main() + Application .Run ( New WMain () ) + End Sub +End Class