Author: alessio.soldano(a)jboss.com
Date: 2013-02-08 18:56:22 -0500 (Fri, 08 Feb 2013)
New Revision: 501
Removed:
core/trunk/distribution/main/resouces/samples/helloWorldRuby/build.properties
Modified:
core/trunk/distribution/main/resouces/samples/helloWorldGroovy/README.txt
core/trunk/distribution/main/resouces/samples/helloWorldRuby/README.txt
core/trunk/distribution/main/resouces/samples/helloWorldRuby/runJRuby.sh
core/trunk/distribution/main/resouces/samples/helloWorldRuby/runJRubyClosures.sh
Log:
Fixing JRuby sample
Modified: core/trunk/distribution/main/resouces/samples/helloWorldGroovy/README.txt
===================================================================
--- core/trunk/distribution/main/resouces/samples/helloWorldGroovy/README.txt 2013-02-08
23:20:36 UTC (rev 500)
+++ core/trunk/distribution/main/resouces/samples/helloWorldGroovy/README.txt 2013-02-08
23:56:22 UTC (rev 501)
@@ -2,4 +2,6 @@
* runGroovyJDK6.sh
* runClosureJDK6.sh
-The sample has been tested using Groovy 2.1.0.
\ No newline at end of file
+The sample has been tested using Groovy 2.1.0; please refer to [1] for directions on how
to install Groovy.
+
+[1]
http://groovy.codehaus.org/Installing+Groovy
\ No newline at end of file
Modified: core/trunk/distribution/main/resouces/samples/helloWorldRuby/README.txt
===================================================================
--- core/trunk/distribution/main/resouces/samples/helloWorldRuby/README.txt 2013-02-08
23:20:36 UTC (rev 500)
+++ core/trunk/distribution/main/resouces/samples/helloWorldRuby/README.txt 2013-02-08
23:56:22 UTC (rev 501)
@@ -1,6 +1,6 @@
-To run this sample edit runJRubyJDK6.sh and set your JRUBY_PATH.
-Then run runGroovyJDK6.sh and have fun.
-If you want to see groovy's closures in action with Wise edit and then run
runGroovyClosure.sh
+This sample assumes you have properly installed JRuby.
+You have two convenient shell scripts for running the Ruby scripts included in this
sample without bothering with the classpath:
+* runJRuby.sh
+* runJRubyClosure.sh
-
-Have fun.
+This sample has been tested using JRuby 1.7.2.
\ No newline at end of file
Deleted: core/trunk/distribution/main/resouces/samples/helloWorldRuby/build.properties
===================================================================
---
core/trunk/distribution/main/resouces/samples/helloWorldRuby/build.properties 2013-02-08
23:20:36 UTC (rev 500)
+++
core/trunk/distribution/main/resouces/samples/helloWorldRuby/build.properties 2013-02-08
23:56:22 UTC (rev 501)
@@ -1,3 +0,0 @@
-JBossHome=/dati/jboss-4.2.3.GA/
-ServerConfig=default
-JavaHome=/usr/lib/jvm/java-6-openjdk/
Modified: core/trunk/distribution/main/resouces/samples/helloWorldRuby/runJRuby.sh
===================================================================
--- core/trunk/distribution/main/resouces/samples/helloWorldRuby/runJRuby.sh 2013-02-08
23:20:36 UTC (rev 500)
+++ core/trunk/distribution/main/resouces/samples/helloWorldRuby/runJRuby.sh 2013-02-08
23:56:22 UTC (rev 501)
@@ -1,4 +1,3 @@
#!/bin/sh
-export
CLASSPATH=.../../lib/jboss-dependency-2.0.0.Beta.jar:../../lib/commons-io-1.4.jar:../../lib/jaxb-api-2.1.jar:../../lib/jbossws-native-saaj-3.0.5.GA.jar:../../lib/xml-apis-2.7.1.jar:../../lib/xstream-1.2.2.jar:../../lib/ant-1.7.0.jar:../../lib/jbossws-common-1.0.8.GA.jar:../../lib/dtdparser-1.21.jar:../../lib/FastInfoset-1.2.2.jar:../../lib/jboss-logging-spi-2.0.5.GA.jar:../../lib/jbossws-native-client-3.0.5.GA.jar:../../lib/mail-1.4.jar:../../lib/javassist-3.4.GA.jar:../../lib/mimepull-1.1.jar:../../lib/commons-logging-1.0.4.jar:../../lib/resolver-20050927.jar:../../lib/jboss-logging-spi-2.0.2.GA.jar:../../lib/jbossxb-1.0.0.CR8.jar:../../lib/milyn-smooks-core-1.1.jar:../../lib/jboss-jaxb-intros-1.0.0.GA.jar:../../lib/jbossws-native-jaxrpc-3.0.5.GA.jar:../../lib/dom4j-1.6.1.jar:../../lib/jboss-kernel-2.0.0.Beta.jar:../../lib/jbossws-native-core-3.0.5.GA.jar:../../lib/milyn-smooks-javabean-1.1.jar:../../lib/xercesImpl-2.7.1.jar:../../lib/xmlsec-1.3.0.jar:../../lib/jbos!
sws-spi-1.0.7.GA.jar:../../lib/jboss-remoting-2.5.0.SP2.jar:../../lib/getopt-1.0.13.jar:../../lib/ant-launcher-1.7.0.jar:../../lib/wsdl4j-1.6.1.jar:../../lib/jboss-logging-log4j-2.0.5.GA.jar:../../lib/concurrent-1.3.4.jar:../../lib/policy-1.0.jar:../../lib/stax-api-1.0-2.jar:../../lib/stax-api-1.0.1.jar:../../lib/wstx-lgpl-3.2.6.jar:../../lib/activation-1.0.2.jar:../../lib/xercesImpl-2.9.1.jar:../../lib/wise-core-1.0.1-SNAPSHOT.jar:../../lib/jaxws-tools-2.1.3.jar:../../lib/milyn-commons-1.1.jar:../../lib/mvel-1.3.12-java1.5.jar:../../lib/log4j-1.2.14.jar:../../lib/jboss-container-2.0.0.Beta.jar:../../lib/stax-ex-1.2.jar:../../lib/jaxb-impl-2.1.6.jar:../../lib/commons-httpclient-3.1.jar:../../lib/commons-lang-2.1.jar:../../lib/jcip-annotations-1.0.jar:../../lib/freemarker-2.3.9.jar:../../lib/streambuffer-0.7.jar:../../lib/jettison-1.0-RC2.jar:../../lib/jaxb-xjc-2.1.6.jar:../../lib/webdavlib-2.0.jar:../../lib/xpp3_min-1.1.3.4.O.jar:../../lib/jboss-common-core-2.0.2.GA.jar:../!
../lib/jaxws-rt-rm-service.2.1.3.jar:../../lib/jbossws-native-!
jaxws-ex
t-3.0.5.GA.jar:../../lib/commons-codec-1.2.jar:../../lib/xml-apis-1.3.04.jar:../../lib/jbossws-native-jaxws-3.0.5.GA.jar:wise-core-1.0.1-SNAPSHOT.jar:resources/:$JAVA_HOME/lib/tools.jar
-export JRUBY_PATH=/home/oracle/Desktop/jruby-1.1.6
-$JRUBY_PATH/bin/jruby src/client/HelloWorldClient.rb
+export
CLASSPATH=../../lib/cxf-xjc-boolean-2.4.0.jar:../../lib/xstream-1.2.2.jar:../../lib/cxf-rt-ws-policy-2.4.6.jar:../../lib/commons-logging-1.0.4.jar:../../lib/cxf-tools-wsdlto-core-2.4.6.jar:../../lib/cxf-xjc-ts-2.4.0.jar:../../lib/jbossws-spi-2.0.3.GA.jar:../../lib/cxf-rt-transports-common-2.4.6.jar:../../lib/cxf-rt-databinding-jaxb-2.4.6.jar:../../lib/cxf-rt-transports-http-2.4.6.jar:../../lib/cxf-rt-bindings-coloc-2.4.6.jar:../../lib/log4j-1.2.16.jar:../../lib/jaxb-impl-2.1.13.jar:../../lib/cxf-rt-bindings-xml-2.4.6.jar:../../lib/wise-core-2.0.0-SNAPSHOT.jar:../../lib/oro-2.0.8.jar:../../lib/jboss-saaj-api_1.3_spec-1.0.1.Final.jar:../../lib/cxf-rt-ws-addr-2.4.6.jar:../../lib/freemarker-2.3.11.jar:../../lib/wsdl4j-1.6.2.jar:../../lib/jboss-jaxrpc-api_1.1_spec-1.0.0.Final.jar:../../lib/wise-core-cxf-2.0.0-SNAPSHOT.jar:../../lib/jcip-annotations-1.0.jar:../../lib/cxf-common-utilities-2.4.6.jar:../../lib/jbossws-common-tools-1.0.0.GA.jar:../../lib/wss4j-1.6.4.jar:../../!
lib/velocity-1.6.3.jar:../../lib/jaxb-xjc-2.1.13.jar:../../lib/commons-lang-2.4.jar:../../lib/neethi-3.0.1.jar:../../lib/cxf-xjc-dv-2.4.0.jar:../../lib/cxf-api-2.4.6.jar:../../lib/commons-io-1.4.jar:../../lib/commons-httpclient-3.1.jar:../../lib/jbossws-api-1.0.0.GA.jar:../../lib/opencsv-1.8.jar:../../lib/serializer-2.7.1.jar:../../lib/javassist-3.10.0.GA.jar:../../lib/cxf-rt-transports-local-2.4.6.jar:../../lib/dtdparser-1.21.jar:../../lib/jboss-jaxb-api_2.2_spec-1.0.3.Final.jar:../../lib/jbossws-cxf-factories-4.0.2.GA.jar:../../lib/jboss-jaxws-api_2.2_spec-2.0.0.Final.jar:../../lib/cxf-tools-validator-2.4.6.jar:../../lib/cxf-rt-core-2.4.6.jar:../../lib/cxf-rt-ws-security-2.4.6.jar:../../lib/xalan-2.7.1.jar:../../lib/cxf-rt-transports-jms-2.4.6.jar:../../lib/commons-collections-3.2.1.jar:../../lib/xmlschema-core-2.0.1.jar:../../lib/commons-codec-1.2.jar:../../lib/xpp3_min-1.1.3.4.O.jar:../../lib/xml-resolver-1.2.jar:../../lib/jboss-servlet-api_3.0_spec-1.0.0.Final.jar:../.!
./lib/cxf-rt-bindings-http-2.4.6.jar:../../lib/cxf-rt-bindings!
-soap-2.
4.6.jar:../../lib/milyn-commons-1.2.1.jar:../../lib/milyn-smooks-core-1.2.1.jar:../../lib/jbossws-common-2.0.2.GA.jar:../../lib/xmlsec-1.5.1.jar:../../lib/cxf-rt-frontend-jaxws-2.4.6.jar:../../lib/jsr181-api-1.0-MR1.jar:../../lib/cxf-tools-common-2.4.6.jar:../../lib/milyn-smooks-validation-1.2.1.jar:../../lib/milyn-smooks-rules-1.2.1.jar:../../lib/milyn-smooks-javabean-1.2.1.jar:../../lib/cxf-rt-bindings-object-2.4.6.jar:../../lib/cxf-rt-frontend-simple-2.4.6.jar:../../lib/cxf-tools-wsdlto-frontend-jaxws-2.4.6.jar:../../lib/wstx-lgpl-3.2.9.jar:../../lib/mvel2-2.0.9.jar:../../lib/jbossws-cxf-client-4.0.2.GA.jar:../../lib/cxf-tools-wsdlto-databinding-jaxb-2.4.6.jar:$JAVA_HOME/lib/tools.jar
+jruby src/client/HelloWorldClient.rb
Modified:
core/trunk/distribution/main/resouces/samples/helloWorldRuby/runJRubyClosures.sh
===================================================================
---
core/trunk/distribution/main/resouces/samples/helloWorldRuby/runJRubyClosures.sh 2013-02-08
23:20:36 UTC (rev 500)
+++
core/trunk/distribution/main/resouces/samples/helloWorldRuby/runJRubyClosures.sh 2013-02-08
23:56:22 UTC (rev 501)
@@ -1,4 +1,3 @@
#!/bin/sh
-export
CLASSPATH=../../lib/jboss-dependency-2.0.0.Beta.jar:../../lib/commons-io-1.4.jar:../../lib/jaxb-api-2.1.jar:../../lib/jbossws-native-saaj-3.0.5.GA.jar:../../lib/xml-apis-2.7.1.jar:../../lib/xstream-1.2.2.jar:../../lib/ant-1.7.0.jar:../../lib/jbossws-common-1.0.8.GA.jar:../../lib/dtdparser-1.21.jar:../../lib/FastInfoset-1.2.2.jar:../../lib/jboss-logging-spi-2.0.5.GA.jar:../../lib/jbossws-native-client-3.0.5.GA.jar:../../lib/mail-1.4.jar:../../lib/javassist-3.4.GA.jar:../../lib/mimepull-1.1.jar:../../lib/commons-logging-1.0.4.jar:../../lib/resolver-20050927.jar:../../lib/jboss-logging-spi-2.0.2.GA.jar:../../lib/jbossxb-1.0.0.CR8.jar:../../lib/milyn-smooks-core-1.1.jar:../../lib/jboss-jaxb-intros-1.0.0.GA.jar:../../lib/jbossws-native-jaxrpc-3.0.5.GA.jar:../../lib/dom4j-1.6.1.jar:../../lib/jboss-kernel-2.0.0.Beta.jar:../../lib/jbossws-native-core-3.0.5.GA.jar:../../lib/milyn-smooks-javabean-1.1.jar:../../lib/xercesImpl-2.7.1.jar:../../lib/xmlsec-1.3.0.jar:../../lib/jboss!
ws-spi-1.0.7.GA.jar:../../lib/jboss-remoting-2.5.0.SP2.jar:../../lib/getopt-1.0.13.jar:../../lib/ant-launcher-1.7.0.jar:../../lib/wsdl4j-1.6.1.jar:../../lib/jboss-logging-log4j-2.0.5.GA.jar:../../lib/concurrent-1.3.4.jar:../../lib/policy-1.0.jar:../../lib/stax-api-1.0-2.jar:../../lib/stax-api-1.0.1.jar:../../lib/wstx-lgpl-3.2.6.jar:../../lib/activation-1.0.2.jar:../../lib/xercesImpl-2.9.1.jar:../../lib/wise-core-1.0.1-SNAPSHOT.jar:../../lib/jaxws-tools-2.1.3.jar:../../lib/milyn-commons-1.1.jar:../../lib/mvel-1.3.12-java1.5.jar:../../lib/log4j-1.2.14.jar:../../lib/jboss-container-2.0.0.Beta.jar:../../lib/stax-ex-1.2.jar:../../lib/jaxb-impl-2.1.6.jar:../../lib/commons-httpclient-3.1.jar:../../lib/commons-lang-2.1.jar:../../lib/jcip-annotations-1.0.jar:../../lib/freemarker-2.3.9.jar:../../lib/streambuffer-0.7.jar:../../lib/jettison-1.0-RC2.jar:../../lib/jaxb-xjc-2.1.6.jar:../../lib/webdavlib-2.0.jar:../../lib/xpp3_min-1.1.3.4.O.jar:../../lib/jboss-common-core-2.0.2.GA.jar:../.!
./lib/jaxws-rt-rm-service.2.1.3.jar:../../lib/jbossws-native-j!
axws-ext
-3.0.5.GA.jar:../../lib/commons-codec-1.2.jar:../../lib/xml-apis-1.3.04.jar:../../lib/jbossws-native-jaxws-3.0.5.GA.jar:wise-core-1.0.1-SNAPSHOT.jar:resources/:$JAVA_HOME/lib/tools.jar
-export JRUBY_PATH=/home/oracle/Desktop/jruby-1.1.6
-$JRUBY_PATH/bin/jruby src/client/HelloWorldClosure.rb
+export
CLASSPATH=../../lib/cxf-xjc-boolean-2.4.0.jar:../../lib/xstream-1.2.2.jar:../../lib/cxf-rt-ws-policy-2.4.6.jar:../../lib/commons-logging-1.0.4.jar:../../lib/cxf-tools-wsdlto-core-2.4.6.jar:../../lib/cxf-xjc-ts-2.4.0.jar:../../lib/jbossws-spi-2.0.3.GA.jar:../../lib/cxf-rt-transports-common-2.4.6.jar:../../lib/cxf-rt-databinding-jaxb-2.4.6.jar:../../lib/cxf-rt-transports-http-2.4.6.jar:../../lib/cxf-rt-bindings-coloc-2.4.6.jar:../../lib/log4j-1.2.16.jar:../../lib/jaxb-impl-2.1.13.jar:../../lib/cxf-rt-bindings-xml-2.4.6.jar:../../lib/wise-core-2.0.0-SNAPSHOT.jar:../../lib/oro-2.0.8.jar:../../lib/jboss-saaj-api_1.3_spec-1.0.1.Final.jar:../../lib/cxf-rt-ws-addr-2.4.6.jar:../../lib/freemarker-2.3.11.jar:../../lib/wsdl4j-1.6.2.jar:../../lib/jboss-jaxrpc-api_1.1_spec-1.0.0.Final.jar:../../lib/wise-core-cxf-2.0.0-SNAPSHOT.jar:../../lib/jcip-annotations-1.0.jar:../../lib/cxf-common-utilities-2.4.6.jar:../../lib/jbossws-common-tools-1.0.0.GA.jar:../../lib/wss4j-1.6.4.jar:../../!
lib/velocity-1.6.3.jar:../../lib/jaxb-xjc-2.1.13.jar:../../lib/commons-lang-2.4.jar:../../lib/neethi-3.0.1.jar:../../lib/cxf-xjc-dv-2.4.0.jar:../../lib/cxf-api-2.4.6.jar:../../lib/commons-io-1.4.jar:../../lib/commons-httpclient-3.1.jar:../../lib/jbossws-api-1.0.0.GA.jar:../../lib/opencsv-1.8.jar:../../lib/serializer-2.7.1.jar:../../lib/javassist-3.10.0.GA.jar:../../lib/cxf-rt-transports-local-2.4.6.jar:../../lib/dtdparser-1.21.jar:../../lib/jboss-jaxb-api_2.2_spec-1.0.3.Final.jar:../../lib/jbossws-cxf-factories-4.0.2.GA.jar:../../lib/jboss-jaxws-api_2.2_spec-2.0.0.Final.jar:../../lib/cxf-tools-validator-2.4.6.jar:../../lib/cxf-rt-core-2.4.6.jar:../../lib/cxf-rt-ws-security-2.4.6.jar:../../lib/xalan-2.7.1.jar:../../lib/cxf-rt-transports-jms-2.4.6.jar:../../lib/commons-collections-3.2.1.jar:../../lib/xmlschema-core-2.0.1.jar:../../lib/commons-codec-1.2.jar:../../lib/xpp3_min-1.1.3.4.O.jar:../../lib/xml-resolver-1.2.jar:../../lib/jboss-servlet-api_3.0_spec-1.0.0.Final.jar:../.!
./lib/cxf-rt-bindings-http-2.4.6.jar:../../lib/cxf-rt-bindings!
-soap-2.
4.6.jar:../../lib/milyn-commons-1.2.1.jar:../../lib/milyn-smooks-core-1.2.1.jar:../../lib/jbossws-common-2.0.2.GA.jar:../../lib/xmlsec-1.5.1.jar:../../lib/cxf-rt-frontend-jaxws-2.4.6.jar:../../lib/jsr181-api-1.0-MR1.jar:../../lib/cxf-tools-common-2.4.6.jar:../../lib/milyn-smooks-validation-1.2.1.jar:../../lib/milyn-smooks-rules-1.2.1.jar:../../lib/milyn-smooks-javabean-1.2.1.jar:../../lib/cxf-rt-bindings-object-2.4.6.jar:../../lib/cxf-rt-frontend-simple-2.4.6.jar:../../lib/cxf-tools-wsdlto-frontend-jaxws-2.4.6.jar:../../lib/wstx-lgpl-3.2.9.jar:../../lib/mvel2-2.0.9.jar:../../lib/jbossws-cxf-client-4.0.2.GA.jar:../../lib/cxf-tools-wsdlto-databinding-jaxb-2.4.6.jar:$JAVA_HOME/lib/tools.jar
+jruby src/client/HelloWorldClosure.rb