tag:blogger.com,1999:blog-7109102325136065789.post5348900698189080929..comments2023-04-06T06:27:39.469-07:00Comments on soanen - Martti's SOA Blog: Tutorial 1. part 17. Create Java Web Services taking variable number of argumentsMarahttp://www.blogger.com/profile/11270901315546883824noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-7109102325136065789.post-39054680536002268952018-01-03T11:59:50.782-08:002018-01-03T11:59:50.782-08:00It is 2 years to late, but if one uses a LINUX all...It is 2 years to late, but if one uses a LINUX all one needs to do is this:<br />1. create at some locatin .sh file<br /> touch test.sh<br /> chmod +x test.sh<br />2. open the newly created file and add some SHELL script:<br /><br />-------like this example------<br />#!/bin/sh<br /><br />echo "TEST.......some file content" > /home/oracle/jdeveloper/mywork/ScriptWrapper/ScriptWraPPER/src/com/blogger/soanen/created_new_file.txt<br /><br />echo "TEST2.... some file content" | tee second_created_new_file.txt<br /><br />3. In the script provided by Martti edit the name of the script, the path to script and the path to directory where script is:<br /><br /> public ScriptWrapper() {<br /> super();<br /> scripts.put("test.sh", new Script("/home/oracle/jdeveloper/mywork/ScriptWrapper/ScriptWraPPER/src/com/blogger/soanen/test.sh", "/home/oracle/jdeveloper/mywork/ScriptWrapper/ScriptWraPPER/src/com/blogger/soanen"));<br /> }<br /> <br />4. In the main methode edit the folowing line:<br /><br /> ret = scriptWrapper.executeScript("test.sh", "");<br /><br /><br />I hope it helped someoneandreyhttps://www.blogger.com/profile/00800148787552318592noreply@blogger.comtag:blogger.com,1999:blog-7109102325136065789.post-90781959292300142922018-01-03T11:57:13.293-08:002018-01-03T11:57:13.293-08:00It is 2 years to late, but if one uses a LINUX all...It is 2 years to late, but if one uses a LINUX all one needs to do is this:<br />1. create at some locatin .sh file<br /> touch test.sh<br /> chmod +x test.sh<br />2. open the newly created file and add some SHELL script:<br /><br />-------like this example------<br />#!/bin/sh<br /><br />echo "TEST.......some file content" > /home/oracle/jdeveloper/mywork/ScriptWrapper/ScriptWraPPER/src/com/blogger/soanen/created_new_file.txt<br /><br />echo "TEST2.... some file content" | tee second_created_new_file.txt<br /><br />3. In the script provided by Martti edit the name of the script, the path to script and the path to directory where script is:<br /><br /> public ScriptWrapper() {<br /> super();<br /> scripts.put("test.sh", new Script("/home/oracle/jdeveloper/mywork/ScriptWrapper/ScriptWraPPER/src/com/blogger/soanen/test.sh", "/home/oracle/jdeveloper/mywork/ScriptWrapper/ScriptWraPPER/src/com/blogger/soanen"));<br /> }<br /> <br />4. In the main methode edit the folowing line:<br /><br /> ret = scriptWrapper.executeScript("test.sh", "");<br /><br /><br />I hope it helped someoneandreyhttps://www.blogger.com/profile/00800148787552318592noreply@blogger.comtag:blogger.com,1999:blog-7109102325136065789.post-87074530915258250542015-06-07T09:47:24.107-07:002015-06-07T09:47:24.107-07:00Hi there martti ylikoski,
First let me congratula...Hi there martti ylikoski,<br /><br />First let me congratulate you for the great job doing this tutorials. It's helping me a lot.<br />I want to ask you if you have any idea how I can execute this script on Linux Gnome?<br /><br />Thank you,<br />JoãoUnknownhttps://www.blogger.com/profile/01506940476004416402noreply@blogger.com