diff --git a/build.xml b/build.xml
index f312db9..4ef34d2 100644
--- a/build.xml
+++ b/build.xml
@@ -116,6 +116,7 @@
+
diff --git a/com.ibm.streamsx.messaging/.classpath b/com.ibm.streamsx.messaging/.classpath
index 516d6ef..540b7d2 100644
--- a/com.ibm.streamsx.messaging/.classpath
+++ b/com.ibm.streamsx.messaging/.classpath
@@ -15,11 +15,11 @@
-
+
diff --git a/com.ibm.streamsx.messaging/.externalToolBuilders/org.eclipse.m2e.core.maven2Builder.launch b/com.ibm.streamsx.messaging/.externalToolBuilders/org.eclipse.m2e.core.maven2Builder.launch
deleted file mode 100644
index 9c18354..0000000
--- a/com.ibm.streamsx.messaging/.externalToolBuilders/org.eclipse.m2e.core.maven2Builder.launch
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/com.ibm.streamsx.messaging/com.ibm.streamsx.messaging.jms/JMSSource/JMSSource.xml b/com.ibm.streamsx.messaging/com.ibm.streamsx.messaging.jms/JMSSource/JMSSource.xml
index 34abc1a..7c5df30 100644
--- a/com.ibm.streamsx.messaging/com.ibm.streamsx.messaging.jms/JMSSource/JMSSource.xml
+++ b/com.ibm.streamsx.messaging/com.ibm.streamsx.messaging.jms/JMSSource/JMSSource.xml
@@ -53,7 +53,7 @@ The following example shows the use of multiple `JMSSource` operators with diffe
composite Main {
graph
- // JMSSource operator with the default ../etc/connections.xml(relative to the data directory)
+ // JMSSource operator with the default etc/connections.xml(relative to the application directory)
// connections document
stream <int32 id, rstring fname, rstring lname>
MyPersonNamesStream = JMSSource()
@@ -220,7 +220,7 @@ This mandatory parameter identifies the name of the connection specification tha
connectionDocument
-This optional parameter specifies the path name of the file that contains the connection and access specifications, which are identified by the **connection** and **access** parameters. If this parameter is not specified, the operator uses the file that is in the default location `../etc/connections.xml`.
+This optional parameter specifies the path name of the file that contains the connection and access specifications, which are identified by the **connection** and **access** parameters. If this parameter is not specified, the operator uses the file that is in the default location `./etc/connections.xml`.
true
rstring
1
diff --git a/com.ibm.streamsx.messaging/com.ibm.streamsx.messaging.xms/Common/Edge.pm b/com.ibm.streamsx.messaging/com.ibm.streamsx.messaging.xms/Common/Edge.pm
index bfcc848..899e0ef 100644
--- a/com.ibm.streamsx.messaging/com.ibm.streamsx.messaging.xms/Common/Edge.pm
+++ b/com.ibm.streamsx.messaging/com.ibm.streamsx.messaging.xms/Common/Edge.pm
@@ -34,7 +34,7 @@ sub connectionSetup {
my $connDocName;
my $connDocParam = $model->getParameterByName('connectionDocument');
if (defined $connDocParam) {
- my $quotedConnDoc = $connDocParam->getValueAt(0)->getSPLExpression();
+ my $quotedConnDoc = SPL::CodeGen::compileTimeExpression($model, $connDocParam->getValueAt(0));
@splitted = split(/"/, $quotedConnDoc);
if (@splitted != 2) {
SPL::CodeGen::exitln("Value of parameter \'connectionDocument\' has unexpected format: $quotedConnDoc");
diff --git a/com.ibm.streamsx.messaging/com.ibm.streamsx.messaging.xms/XMSSink/XMSSink.xml b/com.ibm.streamsx.messaging/com.ibm.streamsx.messaging.xms/XMSSink/XMSSink.xml
index 5cdad0f..0e05b6b 100644
--- a/com.ibm.streamsx.messaging/com.ibm.streamsx.messaging.xms/XMSSink/XMSSink.xml
+++ b/com.ibm.streamsx.messaging/com.ibm.streamsx.messaging.xms/XMSSink/XMSSink.xml
@@ -1,4 +1,4 @@
-
+
-
-
- com.ibm.streamsx.messaging
-
+
+
+ com.ibm.streamsx.messaging
+
The Messaging toolkit project is an open source IBM InfoSphere Streams toolkit project. It is focused on the development of operators and functions that help you use InfoSphere Streams to interact with messaging systems such as JMS, XMS, and MQTT.
The operators provide the ability for InfoSphere Streams applications to send and receive data from a queue or topic that is posted on WebSphere MQ, Apache ActiveMQ or MQ Telemetry Transport (MQTT) server.
@@ -27,13 +26,13 @@ The following figure shows how the JMSSource and JMSSink operators in the Messag
The Messaging Toolkit operators must be configured to connect to messaging systems. This configuration information is specified in an XML document, called a connection specifications document. The connection specifications document is similar to but separate from the document that is used by the Database Toolkit.
-0.8.0
-3.2.0
-
-
-
-
-en_US/MessagingResource.xlf
-
-
-
+ 2.0.0
+ 3.2.2
+
+
+
+
+ en_US/MessagingResource.xlf
+
+
+
\ No newline at end of file
diff --git a/samples/JMSSink/.classpath b/samples/JMSSink/.classpath
index 33980c4..a03f378 100644
--- a/samples/JMSSink/.classpath
+++ b/samples/JMSSink/.classpath
@@ -1,6 +1,5 @@
-
diff --git a/samples/JMSSink/.settings/com.ibm.streamsx.messaging.sample.jms.JMSSinkMain-Distributed.splbuild b/samples/JMSSink/.settings/com.ibm.streamsx.messaging.sample.jms.JMSSinkMain-Distributed.splbuild
new file mode 100644
index 0000000..d3bdd2f
--- /dev/null
+++ b/samples/JMSSink/.settings/com.ibm.streamsx.messaging.sample.jms.JMSSinkMain-Distributed.splbuild
@@ -0,0 +1,25 @@
+
+
+
+SPL Build Configuration: Distributed
+F
+F
+FDEF
+com.ibm.streamsx.messaging.sample.jms::JMSSinkMain
+Distributed
+
+
+T
+
+
+
+
+F
+T
+
+F
+
+Distributed
+
+F
+
\ No newline at end of file
diff --git a/samples/JMSSink/.settings/com.ibm.streamsx.messaging.sample.jms.JMSSinkMain-Standalone.splbuild b/samples/JMSSink/.settings/com.ibm.streamsx.messaging.sample.jms.JMSSinkMain-Standalone.splbuild
new file mode 100644
index 0000000..fc4bb74
--- /dev/null
+++ b/samples/JMSSink/.settings/com.ibm.streamsx.messaging.sample.jms.JMSSinkMain-Standalone.splbuild
@@ -0,0 +1,25 @@
+
+
+
+SPL Build Configuration: Standalone
+F
+F
+FDEF
+com.ibm.streamsx.messaging.sample.jms::JMSSinkMain
+Standalone
+
+
+F
+
+
+
+
+F
+T
+
+F
+
+Standalone
+
+T
+
\ No newline at end of file
diff --git a/samples/JMSSink/com.ibm.streamsx.messaging.sample.jms/JMSSinkMain.spl b/samples/JMSSink/com.ibm.streamsx.messaging.sample.jms/JMSSinkMain.spl
index 3ba52e5..44a1d71 100644
--- a/samples/JMSSink/com.ibm.streamsx.messaging.sample.jms/JMSSinkMain.spl
+++ b/samples/JMSSink/com.ibm.streamsx.messaging.sample.jms/JMSSinkMain.spl
@@ -10,7 +10,7 @@ use com.ibm.streamsx.messaging.jms::* ;
* JMSSink operator.
*
* This sample connects to a messaging server as specified in the connection
- * document located in ../etc/connections.xml. The connection info, and the
+ * document located in ./etc/connections.xml. The connection info, and the
* data schema for the message is defined in the connection document.
*
* To connect to ActiveMQ:
diff --git a/samples/JMSSink/info.xml b/samples/JMSSink/info.xml
index e4b3795..7fd068c 100644
--- a/samples/JMSSink/info.xml
+++ b/samples/JMSSink/info.xml
@@ -8,12 +8,12 @@ others. All Rights Reserved.
JMSSinkMain
Sample demonstrating JMSSink
1.0.0
- 3.1.0
+ 3.2.2
com.ibm.streamsx.messaging
- [0.7.0,2.0.0)
+ [0.7.0,3.0.0)
\ No newline at end of file
diff --git a/samples/JMSSource/.classpath b/samples/JMSSource/.classpath
index 33980c4..a03f378 100644
--- a/samples/JMSSource/.classpath
+++ b/samples/JMSSource/.classpath
@@ -1,6 +1,5 @@
-
diff --git a/samples/JMSSource/.settings/com.ibm.streamsx.messaging.sample.jms.JMSSourceMain-Distributed.splbuild b/samples/JMSSource/.settings/com.ibm.streamsx.messaging.sample.jms.JMSSourceMain-Distributed.splbuild
new file mode 100644
index 0000000..209c867
--- /dev/null
+++ b/samples/JMSSource/.settings/com.ibm.streamsx.messaging.sample.jms.JMSSourceMain-Distributed.splbuild
@@ -0,0 +1,25 @@
+
+
+
+SPL Build Configuration: Distributed
+F
+F
+FDEF
+com.ibm.streamsx.messaging.sample.jms::JMSSourceMain
+Distributed
+
+
+T
+
+
+
+
+F
+T
+
+F
+
+Distributed
+
+F
+
\ No newline at end of file
diff --git a/samples/JMSSource/.settings/com.ibm.streamsx.messaging.sample.jms.JMSSourceMain-Standalone.splbuild b/samples/JMSSource/.settings/com.ibm.streamsx.messaging.sample.jms.JMSSourceMain-Standalone.splbuild
new file mode 100644
index 0000000..9177a5c
--- /dev/null
+++ b/samples/JMSSource/.settings/com.ibm.streamsx.messaging.sample.jms.JMSSourceMain-Standalone.splbuild
@@ -0,0 +1,25 @@
+
+
+
+SPL Build Configuration: Standalone
+F
+F
+FDEF
+com.ibm.streamsx.messaging.sample.jms::JMSSourceMain
+Standalone
+
+
+F
+
+
+
+
+F
+T
+
+F
+
+Standalone
+
+T
+
\ No newline at end of file
diff --git a/samples/JMSSource/info.xml b/samples/JMSSource/info.xml
index 73b5b5c..70cb9a2 100644
--- a/samples/JMSSource/info.xml
+++ b/samples/JMSSource/info.xml
@@ -8,12 +8,12 @@ others. All Rights Reserved.
JMSSourceMain
Sample demonstrating JMSSource
1.0.0
- 3.1.0
+ 3.2.2
com.ibm.streamsx.messaging
- [0.7.0,2.0.0)
+ [0.7.0,3.0.0)
\ No newline at end of file
diff --git a/samples/JmsWithXmlParse/.classpath b/samples/JmsWithXmlParse/.classpath
index 33980c4..a03f378 100644
--- a/samples/JmsWithXmlParse/.classpath
+++ b/samples/JmsWithXmlParse/.classpath
@@ -1,6 +1,5 @@
-
diff --git a/samples/JmsWithXmlParse/.gitignore b/samples/JmsWithXmlParse/.gitignore
new file mode 100644
index 0000000..01afdcf
--- /dev/null
+++ b/samples/JmsWithXmlParse/.gitignore
@@ -0,0 +1 @@
+/impl/
diff --git a/samples/JmsWithXmlParse/.settings/application.JmsWithXmlParse-Distributed.splbuild b/samples/JmsWithXmlParse/.settings/application.JmsWithXmlParse-Distributed.splbuild
new file mode 100644
index 0000000..04efa88
--- /dev/null
+++ b/samples/JmsWithXmlParse/.settings/application.JmsWithXmlParse-Distributed.splbuild
@@ -0,0 +1,25 @@
+
+
+
+SPL Build Configuration: Distributed
+F
+F
+FDEF
+application::JmsWithXmlParse
+Distributed
+
+
+T
+
+
+
+
+F
+T
+
+F
+
+Distributed
+
+F
+
\ No newline at end of file
diff --git a/samples/JmsWithXmlParse/.settings/application.JmsWithXmlParse-Standalone.splbuild b/samples/JmsWithXmlParse/.settings/application.JmsWithXmlParse-Standalone.splbuild
new file mode 100644
index 0000000..1e83fa4
--- /dev/null
+++ b/samples/JmsWithXmlParse/.settings/application.JmsWithXmlParse-Standalone.splbuild
@@ -0,0 +1,25 @@
+
+
+
+SPL Build Configuration: Standalone
+F
+F
+FDEF
+application::JmsWithXmlParse
+Standalone
+
+
+F
+
+
+
+
+F
+T
+
+F
+
+Standalone
+
+T
+
\ No newline at end of file
diff --git a/samples/JmsWithXmlParse/Makefile b/samples/JmsWithXmlParse/Makefile
index d35250c..ba0d51f 100644
--- a/samples/JmsWithXmlParse/Makefile
+++ b/samples/JmsWithXmlParse/Makefile
@@ -1,68 +1,24 @@
-#
-# Generated by InfoSphere Streams Studio
-#
+# Copyright (C)2014, International Business Machines Corporation and
+# others. All Rights Reserved.
.PHONY: all clean
-#
-# Project Settings
-SPLC_TOOLKIT_COM.IBM.STREAMSX.MESSAGING_0.7.0 = ../../com.ibm.streamsx.messaging
-SPLC_TOOLKIT_PATH = -t $(SPLC_TOOLKIT_COM.IBM.STREAMSX.MESSAGING_0.7.0)
-SPLC_OUTPUT_DIR = "output"
-SPLC_DATA_DIR = "data"
+SPLC_FLAGS = -a -z -t ../../com.ibm.streamsx.messaging
-#
-# Main Composite: application::JmsWithXmlParse
-SPLC_MAIN_COMPOSITE__APPLICATION_x3a_x3aJMSWITHXMLPARSE = application::JmsWithXmlParse
-SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSE = application_x3a_x3aJmsWithXmlParse
-SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSE_CLEAN = application_x3a_x3aJmsWithXmlParse-clean
-
-#
-# Main Composite: application::JmsWithXmlParse
-# Build Configuration: Distributed
-# Active: true
-SPLC_BUILDCONFIG__APPLICATION_x3a_x3aJMSWITHXMLPARSE__DISTRIBUTED = Distributed
-SPLC_FLAGS__APPLICATION_x3a_x3aJMSWITHXMLPARSE__DISTRIBUTED = --output-directory="output/application.JmsWithXmlParse/Distributed" --data-directory="data"
-SPLC_ARGS__APPLICATION_x3a_x3aJMSWITHXMLPARSE__DISTRIBUTED =
-SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSE__DISTRIBUTED = application_x3a_x3aJmsWithXmlParse-Distributed
-SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSE__DISTRIBUTED_CLEAN = application_x3a_x3aJmsWithXmlParse-Distributed-clean
-
-#
-# InfoSphere Streams
SPLC = $(STREAMS_INSTALL)/bin/sc
-SPLC_INDEXER = $(STREAMS_INSTALL)/bin/spl-make-toolkit
-SPLC_TOOLKIT_XML = toolkit.xml
-SPLC_NO_TK = --no-toolkit-indexing
-SPLC_NO_MM = --no-mixed-mode-preprocessing
-SPLC_MODEL_ERRORS = --verbose-model-errors
-
-#
-# Targets
-#
-all: $(SPLC_TOOLKIT_XML) $(SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSE)
-
-
-clean: $(SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSE_CLEAN)
-
-
-$(SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSE): $(SPLC_TOOLKIT_XML) $(SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSE__DISTRIBUTED)
-
-
-$(SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSE_CLEAN): $(SPLC_TOOLKIT_XML) $(SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSE__DISTRIBUTED_CLEAN)
+SPL_CMD_ARGS ?=
+SPL_MAIN_COMPOSITE = application::JmsWithXmlParse
+OUTPUT_DIR = output
-#
-# Main Composite: application::JmsWithXmlParse
-# Build Configuration: Distributed
-$(SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSE__DISTRIBUTED): $(SPLC_TOOLKIT_XML)
- $(SPLC) $(SPLC_FLAGS__APPLICATION_x3a_x3aJMSWITHXMLPARSE__DISTRIBUTED) -M $(SPLC_MAIN_COMPOSITE__APPLICATION_x3a_x3aJMSWITHXMLPARSE) $(SPLC_TOOLKIT_PATH) $(SPLC_NO_TK) $(SPLC_NO_MM) $(SPLC_ARGS__APPLICATION_x3a_x3aJMSWITHXMLPARSE__DISTRIBUTED)
+all: distributed
-$(SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSE__DISTRIBUTED_CLEAN): $(SPLC_TOOLKIT_XML)
- $(SPLC) $(SPLC_FLAGS__APPLICATION_x3a_x3aJMSWITHXMLPARSE__DISTRIBUTED) -C -M $(SPLC_MAIN_COMPOSITE__APPLICATION_x3a_x3aJMSWITHXMLPARSE) $(SPLC_TOOLKIT_PATH) $(SPLC_NO_TK) $(SPLC_NO_MM) $(SPLC_ARGS__APPLICATION_x3a_x3aJMSWITHXMLPARSE__DISTRIBUTED)
+standalone:
+ $(SPLC) $(SPLC_FLAGS) -T -M $(SPL_MAIN_COMPOSITE) $(SPL_CMD_ARGS)
+distributed:
+ $(SPLC) $(SPLC_FLAGS) -M $(SPL_MAIN_COMPOSITE) --output-dir ./$(OUTPUT_DIR) $(SPL_CMD_ARGS)
-#
-# Toolkit index
-$(SPLC_TOOLKIT_XML):
- $(SPLC_INDEXER) -i . $(SPLC_NO_MM) $(SPLC_MODEL_ERRORS)
+clean:
+ $(SPLC) $(SPLC_FLAGS) -C -M $(SPL_MAIN_COMPOSITE)
diff --git a/samples/JmsWithXmlParse/application/JmsWithXmlParse.spl b/samples/JmsWithXmlParse/application/JmsWithXmlParse.spl
index 5081d7d..59ae69a 100644
--- a/samples/JmsWithXmlParse/application/JmsWithXmlParse.spl
+++ b/samples/JmsWithXmlParse/application/JmsWithXmlParse.spl
@@ -18,7 +18,7 @@ composite JmsWithXmlParse
{
param
expression $connectionDoc : getSubmissionTimeValue("connectionDoc",
- "../etc/connections.xml") ;
+ "./etc/connections.xml") ;
expression $connection : getSubmissionTimeValue("connection",
"conn") ;
expression $access : getSubmissionTimeValue("access",
diff --git a/samples/JmsWithXmlParse/info.xml b/samples/JmsWithXmlParse/info.xml
index c4e5243..f9644b8 100644
--- a/samples/JmsWithXmlParse/info.xml
+++ b/samples/JmsWithXmlParse/info.xml
@@ -1,16 +1,15 @@
-
-
- JmsWithXmlParse
-
- 1.0.0
- 3.2.1.0
-
-
-
- com.ibm.streamsx.messaging
- 0.7.0
-
-
+
+
+ JmsWithXmlParse
+
+ 1.0.0
+ 3.2.2
+
+
+
+ com.ibm.streamsx.messaging
+ [0.7.0,3.0.0)
+
+
\ No newline at end of file
diff --git a/samples/JmsWithXmlParseBytes/.classpath b/samples/JmsWithXmlParseBytes/.classpath
index 33980c4..a03f378 100644
--- a/samples/JmsWithXmlParseBytes/.classpath
+++ b/samples/JmsWithXmlParseBytes/.classpath
@@ -1,6 +1,5 @@
-
diff --git a/samples/JmsWithXmlParseBytes/.gitignore b/samples/JmsWithXmlParseBytes/.gitignore
new file mode 100644
index 0000000..01afdcf
--- /dev/null
+++ b/samples/JmsWithXmlParseBytes/.gitignore
@@ -0,0 +1 @@
+/impl/
diff --git a/samples/JmsWithXmlParseBytes/.settings/application.JmsWithXmlParseBytes-Distributed.splbuild b/samples/JmsWithXmlParseBytes/.settings/application.JmsWithXmlParseBytes-Distributed.splbuild
new file mode 100644
index 0000000..def8235
--- /dev/null
+++ b/samples/JmsWithXmlParseBytes/.settings/application.JmsWithXmlParseBytes-Distributed.splbuild
@@ -0,0 +1,25 @@
+
+
+
+SPL Build Configuration: Distributed
+F
+F
+FDEF
+application::JmsWithXmlParseBytes
+Distributed
+
+
+T
+
+
+
+
+F
+T
+
+F
+
+Distributed
+
+F
+
\ No newline at end of file
diff --git a/samples/JmsWithXmlParseBytes/.settings/application.JmsWithXmlParseBytes-Standalone.splbuild b/samples/JmsWithXmlParseBytes/.settings/application.JmsWithXmlParseBytes-Standalone.splbuild
new file mode 100644
index 0000000..23dab97
--- /dev/null
+++ b/samples/JmsWithXmlParseBytes/.settings/application.JmsWithXmlParseBytes-Standalone.splbuild
@@ -0,0 +1,25 @@
+
+
+
+SPL Build Configuration: Standalone
+F
+F
+FDEF
+application::JmsWithXmlParseBytes
+Standalone
+
+
+F
+
+
+
+
+F
+T
+
+F
+
+Standalone
+
+T
+
\ No newline at end of file
diff --git a/samples/JmsWithXmlParseBytes/Makefile b/samples/JmsWithXmlParseBytes/Makefile
index fcf410a..d66123b 100644
--- a/samples/JmsWithXmlParseBytes/Makefile
+++ b/samples/JmsWithXmlParseBytes/Makefile
@@ -1,68 +1,24 @@
-#
-# Generated by InfoSphere Streams Studio
-#
+# Copyright (C)2014, International Business Machines Corporation and
+# others. All Rights Reserved.
.PHONY: all clean
-#
-# Project Settings
-SPLC_TOOLKIT_COM.IBM.STREAMSX.MESSAGING_0.7.0 = ../../com.ibm.streamsx.messaging
-SPLC_TOOLKIT_PATH = -t $(SPLC_TOOLKIT_COM.IBM.STREAMSX.MESSAGING_0.7.0)
-SPLC_OUTPUT_DIR = "output"
-SPLC_DATA_DIR = "data"
+SPLC_FLAGS = -a -z -t ../../com.ibm.streamsx.messaging
-#
-# Main Composite: application::JmsWithXmlParseBytes
-SPLC_MAIN_COMPOSITE__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES = application::JmsWithXmlParseBytes
-SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES = application_x3a_x3aJmsWithXmlParseBytes
-SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES_CLEAN = application_x3a_x3aJmsWithXmlParseBytes-clean
-
-#
-# Main Composite: application::JmsWithXmlParseBytes
-# Build Configuration: Distributed
-# Active: true
-SPLC_BUILDCONFIG__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES__DISTRIBUTED = Distributed
-SPLC_FLAGS__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES__DISTRIBUTED = --output-directory="output/application.JmsWithXmlParseBytes/Distributed" --data-directory="data"
-SPLC_ARGS__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES__DISTRIBUTED =
-SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES__DISTRIBUTED = application_x3a_x3aJmsWithXmlParseBytes-Distributed
-SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES__DISTRIBUTED_CLEAN = application_x3a_x3aJmsWithXmlParseBytes-Distributed-clean
-
-#
-# InfoSphere Streams
SPLC = $(STREAMS_INSTALL)/bin/sc
-SPLC_INDEXER = $(STREAMS_INSTALL)/bin/spl-make-toolkit
-SPLC_TOOLKIT_XML = toolkit.xml
-SPLC_NO_TK = --no-toolkit-indexing
-SPLC_NO_MM = --no-mixed-mode-preprocessing
-SPLC_MODEL_ERRORS = --verbose-model-errors
-
-#
-# Targets
-#
-all: $(SPLC_TOOLKIT_XML) $(SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES)
-
-
-clean: $(SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES_CLEAN)
-
-
-$(SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES): $(SPLC_TOOLKIT_XML) $(SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES__DISTRIBUTED)
-
-
-$(SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES_CLEAN): $(SPLC_TOOLKIT_XML) $(SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES__DISTRIBUTED_CLEAN)
+SPL_CMD_ARGS ?=
+SPL_MAIN_COMPOSITE = application::JmsWithXmlParseBytes
+OUTPUT_DIR = output
-#
-# Main Composite: application::JmsWithXmlParseBytes
-# Build Configuration: Distributed
-$(SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES__DISTRIBUTED): $(SPLC_TOOLKIT_XML)
- $(SPLC) $(SPLC_FLAGS__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES__DISTRIBUTED) -M $(SPLC_MAIN_COMPOSITE__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES) $(SPLC_TOOLKIT_PATH) $(SPLC_NO_TK) $(SPLC_NO_MM) $(SPLC_ARGS__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES__DISTRIBUTED)
+all: distributed
-$(SPLC_TARGET__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES__DISTRIBUTED_CLEAN): $(SPLC_TOOLKIT_XML)
- $(SPLC) $(SPLC_FLAGS__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES__DISTRIBUTED) -C -M $(SPLC_MAIN_COMPOSITE__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES) $(SPLC_TOOLKIT_PATH) $(SPLC_NO_TK) $(SPLC_NO_MM) $(SPLC_ARGS__APPLICATION_x3a_x3aJMSWITHXMLPARSEBYTES__DISTRIBUTED)
+standalone:
+ $(SPLC) $(SPLC_FLAGS) -T -M $(SPL_MAIN_COMPOSITE) $(SPL_CMD_ARGS)
+distributed:
+ $(SPLC) $(SPLC_FLAGS) -M $(SPL_MAIN_COMPOSITE) --output-dir ./$(OUTPUT_DIR) $(SPL_CMD_ARGS)
-#
-# Toolkit index
-$(SPLC_TOOLKIT_XML):
- $(SPLC_INDEXER) -i . $(SPLC_NO_MM) $(SPLC_MODEL_ERRORS)
+clean:
+ $(SPLC) $(SPLC_FLAGS) -C -M $(SPL_MAIN_COMPOSITE)
diff --git a/samples/JmsWithXmlParseBytes/application/JmsWithXmlParseBytes.spl b/samples/JmsWithXmlParseBytes/application/JmsWithXmlParseBytes.spl
index cf2fcd8..242231c 100644
--- a/samples/JmsWithXmlParseBytes/application/JmsWithXmlParseBytes.spl
+++ b/samples/JmsWithXmlParseBytes/application/JmsWithXmlParseBytes.spl
@@ -10,7 +10,7 @@ use com.ibm.streamsx.messaging.jms::*;
composite JmsWithXmlParseBytes {
param
expression $connectionDoc : getSubmissionTimeValue("connectionDoc",
- "../etc/connections.xml") ;
+ "./etc/connections.xml") ;
expression $connection : getSubmissionTimeValue("connection",
"conn") ;
expression $access : getSubmissionTimeValue("access",
diff --git a/samples/JmsWithXmlParseBytes/info.xml b/samples/JmsWithXmlParseBytes/info.xml
index 84d064f..1775eef 100644
--- a/samples/JmsWithXmlParseBytes/info.xml
+++ b/samples/JmsWithXmlParseBytes/info.xml
@@ -1,16 +1,15 @@
-
-
- JmsWithXmlParseBytes
-
- 1.0.0
- 3.2.1.0
-
-
-
- com.ibm.streamsx.messaging
- 0.7.0
-
-
+
+
+ JmsWithXmlParseBytes
+
+ 1.0.0
+ 3.2.2
+
+
+
+ com.ibm.streamsx.messaging
+ [0.7.0,3.0.0)
+
+
\ No newline at end of file
diff --git a/samples/KafkaConsumerSample/.settings/com.ibm.streamsx.messaging.sample.kafka.KafkaConsumerSample-Distributed.splbuild b/samples/KafkaConsumerSample/.settings/com.ibm.streamsx.messaging.sample.kafka.KafkaConsumerSample-Distributed.splbuild
new file mode 100644
index 0000000..af90279
--- /dev/null
+++ b/samples/KafkaConsumerSample/.settings/com.ibm.streamsx.messaging.sample.kafka.KafkaConsumerSample-Distributed.splbuild
@@ -0,0 +1,25 @@
+
+
+
+SPL Build Configuration: Distributed
+F
+F
+FDEF
+com.ibm.streamsx.messaging.sample.kafka::KafkaConsumerSample
+Distributed
+
+
+T
+
+
+
+
+F
+T
+
+F
+
+Distributed
+
+F
+
\ No newline at end of file
diff --git a/samples/KafkaConsumerSample/com.ibm.streamsx.messaging.sample.kafka/KafkaConsumerSample.spl b/samples/KafkaConsumerSample/com.ibm.streamsx.messaging.sample.kafka/KafkaConsumerSample.spl
index 4957176..37340d2 100644
--- a/samples/KafkaConsumerSample/com.ibm.streamsx.messaging.sample.kafka/KafkaConsumerSample.spl
+++ b/samples/KafkaConsumerSample/com.ibm.streamsx.messaging.sample.kafka/KafkaConsumerSample.spl
@@ -2,7 +2,7 @@
// * Copyright (C)2014, International Business Machines Corporation and *
// * others. All Rights Reserved. *
// *******************************************************************************
-namespace com.ibm.streamsx.messaging.sample.kafka;
+namespace com.ibm.streamsx.messaging.sample.kafka ;
use com.ibm.streamsx.messaging.kafka::KafkaConsumer ;
@@ -16,14 +16,16 @@ composite KafkaConsumerSample
stream KafkaStream = KafkaConsumer()
{
param
- propertiesFile : "consumer.properties";
- topic : "mytopic";
+ propertiesFile : "etc/consumer.properties" ;
+ topic : "mytopic" ;
}
- () as SinkOp = Custom(KafkaStream) {
- logic onTuple KafkaStream :
- println("Message: " + (rstring)KafkaStream);
+ () as SinkOp = Custom(KafkaStream)
+ {
+ logic
+ onTuple KafkaStream : println("Message: " +(rstring) KafkaStream) ;
}
+
}
diff --git a/samples/KafkaConsumerSample/data/consumer.properties b/samples/KafkaConsumerSample/etc/consumer.properties
similarity index 100%
rename from samples/KafkaConsumerSample/data/consumer.properties
rename to samples/KafkaConsumerSample/etc/consumer.properties
diff --git a/samples/KafkaConsumerSample/info.xml b/samples/KafkaConsumerSample/info.xml
index c15941b..b958253 100644
--- a/samples/KafkaConsumerSample/info.xml
+++ b/samples/KafkaConsumerSample/info.xml
@@ -4,12 +4,12 @@
KafkaConsumerSample
Sample application showing a Streams Kafka Consumer
1.0.0
- 3.2.0
+ 3.2.2
com.ibm.streamsx.messaging
- [0.7.0,2.0.0)
+ [0.7.0,3.0.0)
\ No newline at end of file
diff --git a/samples/KafkaProducerSample/.settings/com.ibm.streamsx.messaging.sample.kafka.KafkaProducerSample-Distributed.splbuild b/samples/KafkaProducerSample/.settings/com.ibm.streamsx.messaging.sample.kafka.KafkaProducerSample-Distributed.splbuild
new file mode 100644
index 0000000..69b8dc7
--- /dev/null
+++ b/samples/KafkaProducerSample/.settings/com.ibm.streamsx.messaging.sample.kafka.KafkaProducerSample-Distributed.splbuild
@@ -0,0 +1,25 @@
+
+
+
+SPL Build Configuration: Distributed
+F
+F
+FDEF
+com.ibm.streamsx.messaging.sample.kafka::KafkaProducerSample
+Distributed
+
+
+T
+
+
+
+
+F
+T
+
+F
+
+Distributed
+
+F
+
\ No newline at end of file
diff --git a/samples/KafkaProducerSample/com.ibm.streamsx.messaging.sample.kafka/KafkaProducerSample.spl b/samples/KafkaProducerSample/com.ibm.streamsx.messaging.sample.kafka/KafkaProducerSample.spl
index 9d42ebc..fd9160f 100644
--- a/samples/KafkaProducerSample/com.ibm.streamsx.messaging.sample.kafka/KafkaProducerSample.spl
+++ b/samples/KafkaProducerSample/com.ibm.streamsx.messaging.sample.kafka/KafkaProducerSample.spl
@@ -27,7 +27,7 @@ composite KafkaProducerSample
() as KafkaSinkOp = KafkaProducer(OutputStream) {
param
- propertiesFile : "producer.properties";
+ propertiesFile : "etc/producer.properties";
}
}
diff --git a/samples/KafkaProducerSample/data/producer.properties b/samples/KafkaProducerSample/etc/producer.properties
similarity index 100%
rename from samples/KafkaProducerSample/data/producer.properties
rename to samples/KafkaProducerSample/etc/producer.properties
diff --git a/samples/KafkaProducerSample/info.xml b/samples/KafkaProducerSample/info.xml
index 813c875..d3439a1 100644
--- a/samples/KafkaProducerSample/info.xml
+++ b/samples/KafkaProducerSample/info.xml
@@ -4,12 +4,12 @@
KafkaProducerSample
Sample application showing a Streams Kafka Producer
1.0.0
- 3.2.0
+ 3.2.2
com.ibm.streamsx.messaging
- [0.7.0,2.0.0)
+ [0.7.0,3.0.0)
\ No newline at end of file
diff --git a/samples/MqttSample/.settings/application.MqttSample-Distributed.splbuild b/samples/MqttSample/.settings/application.MqttSample-Distributed.splbuild
new file mode 100644
index 0000000..00c5474
--- /dev/null
+++ b/samples/MqttSample/.settings/application.MqttSample-Distributed.splbuild
@@ -0,0 +1,25 @@
+
+
+
+SPL Build Configuration: Distributed
+F
+F
+FDEF
+application::MqttSample
+Distributed
+
+
+T
+
+
+
+
+F
+T
+
+F
+
+Distributed
+
+F
+
\ No newline at end of file
diff --git a/samples/MqttSample/.settings/application.MqttSample-Standalone.splbuild b/samples/MqttSample/.settings/application.MqttSample-Standalone.splbuild
new file mode 100644
index 0000000..770c7f0
--- /dev/null
+++ b/samples/MqttSample/.settings/application.MqttSample-Standalone.splbuild
@@ -0,0 +1,25 @@
+
+
+
+SPL Build Configuration: Standalone
+F
+F
+FDEF
+application::MqttSample
+Standalone
+
+
+F
+
+
+
+
+F
+T
+
+F
+
+Standalone
+
+T
+
\ No newline at end of file
diff --git a/samples/MqttSample/Makefile b/samples/MqttSample/Makefile
index e7239a4..e5ced87 100644
--- a/samples/MqttSample/Makefile
+++ b/samples/MqttSample/Makefile
@@ -1,68 +1,24 @@
-#
-# Generated by InfoSphere Streams Studio
-#
+# Copyright (C)2014, International Business Machines Corporation and
+# others. All Rights Reserved.
.PHONY: all clean
-#
-# Project Settings
-SPLC_TOOLKIT_COM.IBM.STREAMSX.MESSAGING = ../../com.ibm.streamsx.messaging
-SPLC_TOOLKIT_PATH = -t $(SPLC_TOOLKIT_COM.IBM.STREAMSX.MESSAGING)
-SPLC_OUTPUT_DIR = "output"
-SPLC_DATA_DIR = "data"
+SPLC_FLAGS = -a -z -t ../../com.ibm.streamsx.messaging
-#
-# Main Composite: application::MqttSample
-SPLC_MAIN_COMPOSITE__APPLICATION_x3a_x3aMQTTSAMPLE = application::MqttSample
-SPLC_TARGET__APPLICATION_x3a_x3aMQTTSAMPLE = application_x3a_x3aMqttSample
-SPLC_TARGET__APPLICATION_x3a_x3aMQTTSAMPLE_CLEAN = application_x3a_x3aMqttSample-clean
-
-#
-# Main Composite: application::MqttSample
-# Build Configuration: Distributed
-# Active: true
-SPLC_BUILDCONFIG__APPLICATION_x3a_x3aMQTTSAMPLE__DISTRIBUTED = Distributed
-SPLC_FLAGS__APPLICATION_x3a_x3aMQTTSAMPLE__DISTRIBUTED = --output-directory="output/application.MqttSample/Distributed" --data-directory="data"
-SPLC_ARGS__APPLICATION_x3a_x3aMQTTSAMPLE__DISTRIBUTED =
-SPLC_TARGET__APPLICATION_x3a_x3aMQTTSAMPLE__DISTRIBUTED = application_x3a_x3aMqttSample-Distributed
-SPLC_TARGET__APPLICATION_x3a_x3aMQTTSAMPLE__DISTRIBUTED_CLEAN = application_x3a_x3aMqttSample-Distributed-clean
-
-#
-# InfoSphere Streams
SPLC = $(STREAMS_INSTALL)/bin/sc
-SPLC_INDEXER = $(STREAMS_INSTALL)/bin/spl-make-toolkit
-SPLC_TOOLKIT_XML = toolkit.xml
-SPLC_NO_TK = --no-toolkit-indexing
-SPLC_NO_MM = --no-mixed-mode-preprocessing
-SPLC_MODEL_ERRORS = --verbose-model-errors
-
-#
-# Targets
-#
-all: $(SPLC_TOOLKIT_XML) $(SPLC_TARGET__APPLICATION_x3a_x3aMQTTSAMPLE)
-
-
-clean: $(SPLC_TARGET__APPLICATION_x3a_x3aMQTTSAMPLE_CLEAN)
-
-
-$(SPLC_TARGET__APPLICATION_x3a_x3aMQTTSAMPLE): $(SPLC_TOOLKIT_XML) $(SPLC_TARGET__APPLICATION_x3a_x3aMQTTSAMPLE__DISTRIBUTED)
-
-
-$(SPLC_TARGET__APPLICATION_x3a_x3aMQTTSAMPLE_CLEAN): $(SPLC_TOOLKIT_XML) $(SPLC_TARGET__APPLICATION_x3a_x3aMQTTSAMPLE__DISTRIBUTED_CLEAN)
+SPL_CMD_ARGS ?=
+SPL_MAIN_COMPOSITE = application::MqttSample
+OUTPUT_DIR = output
-#
-# Main Composite: application::MqttSample
-# Build Configuration: Distributed
-$(SPLC_TARGET__APPLICATION_x3a_x3aMQTTSAMPLE__DISTRIBUTED): $(SPLC_TOOLKIT_XML)
- $(SPLC) $(SPLC_FLAGS__APPLICATION_x3a_x3aMQTTSAMPLE__DISTRIBUTED) -M $(SPLC_MAIN_COMPOSITE__APPLICATION_x3a_x3aMQTTSAMPLE) $(SPLC_TOOLKIT_PATH) $(SPLC_NO_TK) $(SPLC_NO_MM) $(SPLC_ARGS__APPLICATION_x3a_x3aMQTTSAMPLE__DISTRIBUTED)
+all: distributed
-$(SPLC_TARGET__APPLICATION_x3a_x3aMQTTSAMPLE__DISTRIBUTED_CLEAN): $(SPLC_TOOLKIT_XML)
- $(SPLC) $(SPLC_FLAGS__APPLICATION_x3a_x3aMQTTSAMPLE__DISTRIBUTED) -C -M $(SPLC_MAIN_COMPOSITE__APPLICATION_x3a_x3aMQTTSAMPLE) $(SPLC_TOOLKIT_PATH) $(SPLC_NO_TK) $(SPLC_NO_MM) $(SPLC_ARGS__APPLICATION_x3a_x3aMQTTSAMPLE__DISTRIBUTED)
+standalone:
+ $(SPLC) $(SPLC_FLAGS) -T -M $(SPL_MAIN_COMPOSITE) $(SPL_CMD_ARGS)
+distributed:
+ $(SPLC) $(SPLC_FLAGS) -M $(SPL_MAIN_COMPOSITE) --output-dir ./$(OUTPUT_DIR) $(SPL_CMD_ARGS)
-#
-# Toolkit index
-$(SPLC_TOOLKIT_XML):
- $(SPLC_INDEXER) -i . $(SPLC_NO_MM) $(SPLC_MODEL_ERRORS)
+clean:
+ $(SPLC) $(SPLC_FLAGS) -C -M $(SPL_MAIN_COMPOSITE)
diff --git a/samples/MqttSample/info.xml b/samples/MqttSample/info.xml
index be3a2ae..5f4d3b6 100644
--- a/samples/MqttSample/info.xml
+++ b/samples/MqttSample/info.xml
@@ -4,12 +4,12 @@
MqttSample
1.0.0
- 3.2.1.0
+ 3.2.2
com.ibm.streamsx.messaging
- [0.7.0,2.0.0)
+ [0.7.0,3.0.0)
\ No newline at end of file
diff --git a/samples/XMSSink/.settings/com.ibm.streamsx.messaging.sample.xms.XMSSinkMain-Distributed.splbuild b/samples/XMSSink/.settings/com.ibm.streamsx.messaging.sample.xms.XMSSinkMain-Distributed.splbuild
new file mode 100644
index 0000000..7a4655c
--- /dev/null
+++ b/samples/XMSSink/.settings/com.ibm.streamsx.messaging.sample.xms.XMSSinkMain-Distributed.splbuild
@@ -0,0 +1,25 @@
+
+
+
+SPL Build Configuration: Distributed
+F
+F
+FDEF
+com.ibm.streamsx.messaging.sample.xms::XMSSinkMain
+Distributed
+
+
+T
+
+
+
+
+F
+T
+
+F
+
+Distributed
+
+F
+
\ No newline at end of file
diff --git a/samples/XMSSink/.settings/com.ibm.streamsx.messaging.sample.xms.XMSSinkMain-Standalone.splbuild b/samples/XMSSink/.settings/com.ibm.streamsx.messaging.sample.xms.XMSSinkMain-Standalone.splbuild
new file mode 100644
index 0000000..5beb915
--- /dev/null
+++ b/samples/XMSSink/.settings/com.ibm.streamsx.messaging.sample.xms.XMSSinkMain-Standalone.splbuild
@@ -0,0 +1,25 @@
+
+
+
+SPL Build Configuration: Standalone
+F
+F
+FDEF
+com.ibm.streamsx.messaging.sample.xms::XMSSinkMain
+Standalone
+
+
+F
+
+
+
+
+F
+T
+
+F
+
+Standalone
+
+T
+
\ No newline at end of file
diff --git a/samples/XMSSink/info.xml b/samples/XMSSink/info.xml
index 76b190a..320ad5b 100644
--- a/samples/XMSSink/info.xml
+++ b/samples/XMSSink/info.xml
@@ -8,12 +8,12 @@ others. All Rights Reserved.
XMSSinkMain
Sample demonstrating XMSSink
1.0.0
- 3.0.0
+ 3.2.2
com.ibm.streamsx.messaging
- [0.7.0,2.0.0)
+ [0.7.0,3.0.0)
\ No newline at end of file
diff --git a/samples/XMSSource/.settings/com.ibm.streamsx.messaging.sample.xms.XMSSourceMain-Distributed.splbuild b/samples/XMSSource/.settings/com.ibm.streamsx.messaging.sample.xms.XMSSourceMain-Distributed.splbuild
new file mode 100644
index 0000000..06def2e
--- /dev/null
+++ b/samples/XMSSource/.settings/com.ibm.streamsx.messaging.sample.xms.XMSSourceMain-Distributed.splbuild
@@ -0,0 +1,25 @@
+
+
+
+SPL Build Configuration: Distributed
+F
+F
+FDEF
+com.ibm.streamsx.messaging.sample.xms::XMSSourceMain
+Distributed
+
+
+T
+
+
+
+
+F
+T
+
+F
+
+Distributed
+
+F
+
\ No newline at end of file
diff --git a/samples/XMSSource/info.xml b/samples/XMSSource/info.xml
index 17df620..aa9e3e7 100644
--- a/samples/XMSSource/info.xml
+++ b/samples/XMSSource/info.xml
@@ -8,12 +8,12 @@ others. All Rights Reserved.
XMSSourceMain
Sample demonstrating XMSSource
1.0.0
- 3.0.0
+ 3.2.2
com.ibm.streamsx.messaging
- [0.7.0,2.0.0)
+ [0.7.0,3.0.0)
\ No newline at end of file