Re: SCXML maven artifact

2023-07-27 Thread Gary Gregory
And yes, we use Jira for issue tracking. Gary On Thu, Jul 27, 2023, 9:16 AM proton_mail_bridge wrote: > Hello, I am trying to use the latest maven artifact of commons-scxml2. The > projects readme on GitHub suggests to use version 2.0-alpha-1, but [2.0-M1]( >

Re: SCXML maven artifact

2023-07-27 Thread Gary Gregory
Hi Jason, The current version is in git master and the Maven snapshot repository ( https://repository.apache.org/snapshots/) as version 2.0-SNAPSHOT. Gary On Thu, Jul 27, 2023, 9:16 AM proton_mail_bridge wrote: > Hello, I am trying to use the latest maven artifact of commons-scxml2. The >

Re: [SCXML] Support for Commons JEXL in SCXML

2019-07-15 Thread Woonsan Ko
Hi Diptendu, I don't think the 'target' attribute is meant to be used with expressional values. [1] I guess you might want to try with transition elements with cond attribute, which is expressional [1], instead. For example, Regards, Woonsan [1]

Re: [SCXML] Problem with setting values in Context using 2.0-SNAPSHOT (works with 0.9)

2019-03-18 Thread Woonsan Ko
Hi Diptendu, Please see my comments inline. On Sat, Mar 16, 2019 at 8:19 AM Diptendu Dutta wrote: > > I have the following code that is working in 0.9 but failing in 2.0-SNAPSHOT > . > > SCXMLExecutor engine; > Context rootContext; > Evaluator evaluator; > > . > rootContext =

Re: [SCXML] Snapshot repository does not contain any JAR

2019-03-14 Thread sebb
Please note that SNAPSHOT releases are offered as-is. There has been no QA and they are not supported. The jars in the snapshot repository may be replaced or removed at any time. They should only be used by developers wishing to help with testing the code being developed. They should never be

Re: [SCXML] Snapshot repository does not contain any JAR

2019-03-14 Thread Gilles Sadowski
Le jeu. 14 mars 2019 à 07:54, Diptendu Dutta a écrit : > > The SCXML snapshot repository does not contain any JAR files, https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-scxml2/2.0-SNAPSHOT/ HTH, Gilles > they only have MD5 and SHA1 signatures. > >

Re: [SCXML] Using to call a REST API

2019-03-11 Thread Woonsan Ko
Hi Diptendu, On Mon, Mar 11, 2019 at 2:06 AM Diptendu Dutta wrote: > > Is it possible to use the tag to call a REST API? Possible. > > How would one specify the various attributes such as method (GET/POST), > headers, body, etc.? You can pass any data in to the target, and your

Re: [SCXML] tag usage is giving location error

2019-03-01 Thread Woonsan Ko
Hi Diptendu, Hmm... I think I stepped off on the wrong foot, and you're right: It seems failing with 2.0-M1 tag. When I execute the same thing [1] with the latest master branch (2.0-SNAPSHOT), it works fine. So, I assume it was fixed intentionally or it just cannot occur any more as of SCXML-243.

Re: [scxml] looking for developer for adaptations on Commons SCXML

2017-12-04 Thread r.c.hoekstra
Hi Woonsan, thanks for the thinking aloud, I really appreciate it.. Response below. Regarding the data model, have you tried "Null Data Model" [1] option? >From the source, it just skips cloning if it is using that option. org.apache.commons.scxml2.SCInstance#cloneDatamodel(Datamodel,

Re: [scxml] looking for developer for adaptations on Commons SCXML

2017-12-04 Thread r.c.hoekstra
Hi Jake, thanks for your response. I'll look into SCION too; even if we won't use it it might bring some inspiration on how to tackle things. on scaling: we are currently planning to experiment with running it on a supercomputer, which also has its disadvantages (planning, etc). On

Re: [scxml] looking for developer for adaptations on Commons SCXML

2017-12-01 Thread Woonsan Ko
Hi Rinke, Thanks a lot for the info! Please see my comments inline. On Thu, Nov 30, 2017 at 4:50 AM, r.c.hoekstra wrote: > On 30-11-17 01:49, Woonsan Ko wrote: > > Hi Woonsan, > > I'll go through your comments in the text below. > >> On Wed, Nov 29, 2017 at 6:56 AM,

Re: [scxml] looking for developer for adaptations on Commons SCXML

2017-11-30 Thread mike shugar
: "Martin Gainty" <mgai...@hotmail.com> To: "Commons Users List" <user@commons.apache.org> Sent: Thursday, November 30, 2017 7:26 AM Subject: Re: [scxml] looking for developer for adaptations on Commons SCXML From: r.c.hoekstra <r.c.

Re: [scxml] looking for developer for adaptations on Commons SCXML

2017-11-30 Thread Martin Gainty
From: r.c.hoekstra <r.c.hoeks...@scarlet.nl> Sent: Thursday, November 30, 2017 4:50 AM To: Commons Users List Subject: Re: [scxml] looking for developer for adaptations on Commons SCXML On 30-11-17 01:49, Woonsan Ko wrote: Hi Woonsan, I'll go throug

Re: [scxml] looking for developer for adaptations on Commons SCXML

2017-11-30 Thread r.c.hoekstra
On 30-11-17 01:49, Woonsan Ko wrote: Hi Woonsan, I'll go through your comments in the text below. On Wed, Nov 29, 2017 at 6:56 AM, r.c.hoekstra wrote: Hi List, We are working at the ErasmusMC hospital at Rotterdam, Netherlands, on scientific simulations on the

Re: [scxml] looking for developer for adaptations on Commons SCXML

2017-11-30 Thread r.c.hoekstra
Hi Jake, thanks for your reaction. That is a really useful comparison. And I can see that Apache commons SCXML isn't doing that bad, though the scale is of course logarithmic. Unfortunately the benchmarking didn't test our use case: we need to fire up many instances of the same (relatively

Re: [scxml] looking for developer for adaptations on Commons SCXML

2017-11-29 Thread Woonsan Ko
On Wed, Nov 29, 2017 at 6:56 AM, r.c.hoekstra wrote: > Hi List, > > We are working at the ErasmusMC hospital at Rotterdam, Netherlands, on > scientific simulations on the spread of infectious diseases through human > populations. > In this project we use Apache Commons

Re: [SCXML] Question on Invoker Interface

2016-10-17 Thread Woonsan Ko
Please do not cross post a message and it is better to direct your comments to the list in general. See more tips here: http://www.apache.org/dev/contrib-email-tips On Thu, Oct 13, 2016 at 6:09 PM, Prathib Kumar wrote: > Hi Woonsan, > > As you have suggested I have picked

Re: [SCXML] How to obtain a collection of valid events

2016-05-23 Thread Woonsan Ko
On Fri, May 20, 2016 at 9:36 PM, Mansour Al Akeel wrote: > Woonsan, > Thank you for replying. > From what you said, I can conclude that this is not supported or > offered by SCXML. Am I right here? If you mean finding available event names/patterns (see 3.12.1 in

Re: [SCXML] How to obtain a collection of valid events

2016-05-20 Thread Mansour Al Akeel
Woonsan, Thank you for replying. >From what you said, I can conclude that this is not supported or offered by SCXML. Am I right here? AFAIR an FSM should report if the token is recognized or not, and not just complete the transition/ignore the token silently.. If I am right here as well, then this

Re: [SCXML] How to obtain a collection of valid events

2016-05-16 Thread Woonsan Ko
Hi Mansour, I don't see any convenient method to easily figure out what are available event names for transitions like your use case needs. All the knowledge about that is encapsulated in org.apache.commons.scxml2.semantics.SCXMLSemanticsImpl internally, so you might want to take a look at it.

Re: [SCXML] Next states

2016-05-06 Thread Woonsan Ko
On Fri, May 6, 2016 at 2:56 AM, Mansour Al Akeel wrote: > Thank you Woonsan, > The use case is to report transition failure or invalid path. > Using the listener is good, but it wont be triggered unless the > transition happens. > For example this was written to test

Re: [SCXML] Next states

2016-05-06 Thread Mansour Al Akeel
Thank you Woonsan, The use case is to report transition failure or invalid path. Using the listener is good, but it wont be triggered unless the transition happens. For example this was written to test commons SCXML 1: @Override public boolean fireEvent(String event) { List lst =

Re: [SCXML] Next states

2016-05-04 Thread Woonsan Ko
Not sure about the use case, but maybe you can add a listener (AbstractStateMachine#getEngine()#addListener(stateMachine, new MyListener())). If you get a TransitionalState in your listener, you may possibly get all the available Transitions and TransitionTargets. Regards, Woonsan On Sun, May

Re: [SCXML] Any release date

2016-05-04 Thread Woonsan Ko
Hi Mansour, Sorry for late response. There are some (radical) changes needed for 2.0, so it's getting delayed. You can find more detail from Ate's message: - http://markmail.org/thread/bb4ihxzhtprv675c Regards, Woonsan On Sat, Apr 30, 2016 at 7:40 PM, Mansour Al Akeel

Re: [SCXML] Next states

2016-05-02 Thread Mansour Al Akeel
Thank you Benedikt. On Mon, May 2, 2016 at 6:47 AM, Benedikt Ritter wrote: > Hello Mansour, > > Mansour Al Akeel schrieb am Mo., 2. Mai 2016 um > 02:19 Uhr: > >> Is there a way to get the next valid states or transitions ? >> I am working with

Re: [SCXML] Next states

2016-05-02 Thread Benedikt Ritter
Hello Mansour, Mansour Al Akeel schrieb am Mo., 2. Mai 2016 um 02:19 Uhr: > Is there a way to get the next valid states or transitions ? > I am working with AbstractStateMachine > I think Woosan and Ate are the ones who have worked mostly on SCXML. Maybe they can

Re: scxml: nested custom actions

2016-03-24 Thread Woonsan Ko
Hi Rinke / Ate, It looks like it has been changed as of SCXML-213 [1] with commit eba2b2899787ef0476c1dd8852aba5b0adb4f5f3. SCXMLReader#readCustomAction() seems to ignore the possibility of nested custom actions by invoking #skipToEndElement(reader). @Ate, is it probably a regression? (custom

Re: SCXML project

2016-02-01 Thread Ate Douma
;this.classResolver = classResolver;return old;} fubars javadoc and fails the build..for now i can comment out the and inside comments to bypass Suggestions are welcomethanksMartin __ Subject: Re: SCXML project To: user

RE: SCXML project

2016-02-01 Thread Martin Gainty
> Subject: Re: SCXML project > To: user@commons.apache.org > From: a...@douma.nu > Date: Mon, 1 Feb 2016 23:34:39 +0100 > > Hi Martin, > > I've disabled JDK 8 javadoc doclint which should 'fix' your below problem. > > BTW: can you please use properly wrapped

RE: SCXML project

2016-01-28 Thread Martin Gainty
__ > Subject: Re: SCXML project > To: user@commons.apache.org > From: a...@douma.nu > Date: Wed, 27 Jan 2016 22:10:50 +0100 > > On 2016-01-26 22:36, Martin Gainty wrote: > > > > mvn package doesnt pack

Re: SCXML project

2016-01-27 Thread Ate Douma
master) this definitely is not the case, and mvn package works just fine. So possibly you have local modifications, either to the pom.xml logging configuration or otherwise causing this exception? Regards, Ate Date: Mon, 25 Jan 2016 23:42:01 -0200 Subject: Re: SCXML project F

RE: SCXML project

2016-01-26 Thread Martin Gainty
ws NPE"); }} *Obrigado Guilherme* Martín > Date: Mon, 25 Jan 2016 23:42:01 -0200 > Subject: Re: SCXML project > From: guilhermecgss...@gmail.com > To: user@commons.apache.org > > Ok Folks, > > > I will evaluate SCXML. > > BTW, I found these paper an

Re: SCXML project

2016-01-25 Thread Guilherme Silveira
; Martin Gainty > __ > > > > > > Date: Sat, 23 Jan 2016 14:07:08 -0800 > > Subject: Re: SCXML project > > From: garydgreg...@gmail.com > > To: user@commons.apache.org > > > > Guilherme, > > &g

RE: SCXML project

2016-01-24 Thread Martin Gainty
+1 Thanks Gary! Martin Gainty __ > Date: Sat, 23 Jan 2016 14:07:08 -0800 > Subject: Re: SCXML project > From: garydgreg...@gmail.com > To: user@commons.apache.org > > Guilherme, > > I have not seen much activity. We

Re: SCXML project

2016-01-23 Thread Gary Gregory
Guilherme, I have not seen much activity. We are all volunteers here, if you want the project to move forward, feel free to talk on this list, create Jiras, and provide patches. Gary On Jan 22, 2016 8:58 AM, "Guilherme Silveira" wrote: > Hi Folks > > I am new to FSM

[SCXML] Re: SCXML project

2016-01-22 Thread Jacob Beard
Hi Guilherme, I have used SCXML for use cases outside of telecom, including to control hardware in industrial systems. Semantically, SCXML has most of the features of Statecharts, the language upon which Stateflow is based, and it works well for this use case. Unlike Stateflow, SCXML does not

Re: [scxml] update and progress?

2015-12-07 Thread Ate Douma
On 2015-12-04 16:21, R.C. Hoekstra wrote: Hi Ate, thanks for answering. As for the datamodel... Well, I put the stuff in our project which depended on the datamodel on hold. We wanted to apply a datamodel in order to separate the state flow logic and the numbers used in it, but we haven't

Re: Re: [scxml] update and progress?

2015-12-04 Thread R.C. Hoekstra
Hi Ate, thanks for answering. As for the datamodel... Well, I put the stuff in our project which depended on the datamodel on hold. We wanted to apply a datamodel in order to separate the state flow logic and the numbers used in it, but we haven't done that up to now, because I was afraid

Re: [SCXML] Timers in SCXML

2015-09-05 Thread Woonsan Ko
Hi, Which version of SCXML are you using? If you used a version older than 2.0-SNAPSHOT (sorry, 2.0 is still not released yet), could you try with 2.0-SNAPSHOT by building locally by yourself from [1]? Also, I wonder if you had a chance to follow Rahul's advice in the old thread? I think he

Re: [SCXML] Timers in SCXML

2015-09-03 Thread giangttpham
I know this topic has been solved a long time ago but if anyone out there is listening, please help me. This is the scxml I have but the Timer delay doesn't work. I have the same problem as the person who started this post, after the send, the program just stops, it never goes to the next state.

Re: SCXML and Script and context access

2015-08-31 Thread Woonsan Ko
On Tue, Aug 18, 2015 at 6:27 AM, Sinisa Zec wrote: > Dears, > > > > We are using Apache SCXML2 for the project which is based on FSM logic. I am > trying for some time to achieve the following: > > > > 1.Set some variables in (Groovy)context from Java – X set of variables > >

Re: SCXML and Script and context access

2015-08-24 Thread Ate Douma
On 2015-08-18 12:27, Sinisa Zec wrote: Dears, We are using Apache SCXML2 for the project which is based on FSM logic. I am trying for some time to achieve the following: 1.Set some variables in (Groovy)context from Java – X set of variables 2.Read those values in from the script in Groovy

Re: Re: Re: [scxml] bug with script in combination of a chain of transitions

2015-07-07 Thread R.C. Hoekstra
Hi Ate, Ah, I understand the issue now. Thanks for looking at it. best regards, Rinke - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

Re: [scxml] bug with script in combination of a chain of transitions

2015-06-30 Thread Ate Douma
Hi Rinke, I just had time to look at your example, and quickly discovered where the problem is. Further comments inline below. Regards, Ate On 2015-06-15 22:37, R.C. Hoekstra wrote: Hi Woonsan, hi others, At first, sorry for the late reply. I posted the issue in april, but didn't get a

Re: Re: [scxml] bug with script in combination of a chain of transitions

2015-06-28 Thread R.C. Hoekstra
Hi Ate, Sorry I forgot to mention, it's 2.0-SNAPSHOT. Thanks for looking at it. best regards, Rinke Date Mon, 22 Jun 2015 23:10:21 GMT Hi Rinke, I will try to take a look at your issue later (end of) this week. It would be helpful if you can report against which version you are

Re: [scxml] bug with script in combination of a chain of transitions

2015-06-22 Thread Ate Douma
Hi Rinke, I will try to take a look at your issue later (end of) this week. It would be helpful if you can report against which version you are experiencing this behavior: current 2.0-SNAPSHOT or earlier milestone 2.0-M1 or 2.0-M0? Thanks, Ate On 2015-06-15 22:37, R.C. Hoekstra wrote: Hi

Re: Re: [scxml] bug with script in combination of a chain of transitions

2015-06-15 Thread R.C. Hoekstra
Hi Woonsan, hi others, At first, sorry for the late reply. I posted the issue in april, but didn't get a response in the first two weeks. Then I forgot about it (busy with other issues), and then just saw your reply, about a week ago. Anyway, I've been thinking hard about the issue, and I

Re: [scxml] bug with script in combination of a chain of transitions

2015-05-05 Thread Woonsan Ko
Hi Rinke, Did you run with commons-scxml2-2.0-SNAPSHOT? I've tried to run the following similar to yours on latest revision, but the result seems different from what you're seeing: ?xml version=1.0 ? scxml xmlns=http://www.w3.org/2005/07/scxml; version=1.0 datamodel=jexl

Re: [scxml] xsd schema

2014-12-27 Thread Jacob Beard
Hi Rinke, You could refactor your SCXML to use xsi:include instead of state/@src. I know that, for example, the xmllint utility includes a command-line argument --xinclude which will resolve these references. Jake On Dec 27, 2014, at 3:32 AM, R.C. Hoekstra r.c.hoeks...@erasmusmc.nl wrote:

Re: [SCXML] heads-up: Major SCXML 2.0 trunk refactoring incoming - breaking changes and intermediate instability to be expected!

2014-11-14 Thread Ate Douma
Hi SCXML developers and users, This is a follow-up on the current status of the incoming 'breaking changes'. Good news: the trunk is stable again :) I've just committed the last set of intended changes through SCXML-213 [1], SCXML-221 [2] and SCXML-222 [3]. I invite anyone interested to

Re: [SCXML] Plans for making SCXML more dynamic?

2014-10-27 Thread Jacob Beard
On Oct 26, 2014, at 10:45 AM, Benoît Thiébault thieba...@artenum.com wrote: Jake's suggestion is also interesting, but in that case I wonder how would the different state diagrams interact with each other. Each SCXML instance should receive a sessionId. Statechart instances can communicate

Re: [SCXML] Plans for making SCXML more dynamic?

2014-10-26 Thread Benoît Thiébault
Hi and thank you for your answers It isn't really clear to me under what conditions you are executing the existing state chart. We are developing an open source scientific software called SPIS (for Spacecraft Plasma Interactions Software http://dev.spis.org). As its name implies, it models

Re: [SCXML] Plans for making SCXML more dynamic?

2014-10-26 Thread Benoît Thiébault
We use a state chart to represent what we call the modelling chain (cf. attached picture) OK, I can't attach pictures on the mailing list. Here it is: http://dev.artenum.com/projects/keridwen/images/modellingChain_jpg

Re: [scxml] passing datamodel elements into method call

2014-10-26 Thread Ate Douma
Hi Rinke, I've been diving into the datamodel handling, the Data() function and supporting Builtin Java class the last several days. I've now come to the conclusion that what you are asking for *should* be supported by Commons SCXML, and actually *is* supported through the SCXML

Re: [SCXML] Plans for making SCXML more dynamic?

2014-10-26 Thread Ate Douma
Hi Ben, Very interesting use-case: Commons SCXML into space :) I've only briefly looked at the image you shared, but it is difficult for me to comprehend the exact usage or how this is represented in SCXML. If you'd be able to share some example SCXML document, and how parts of that should

Re: [SCXML] Plans for making SCXML more dynamic?

2014-10-25 Thread Ate Douma
On 25-10-14 09:22, Benoît Thiébault wrote: Hi everyone, I am very pleased to learn that SCXML is back online and that new evolutions are coming with version 2.0. Congrats and good luck to the development team! I already use SCXML 0.9 in one of my applications and one feature I was missing was

Re: [SCXML] Plans for making SCXML more dynamic?

2014-10-25 Thread Jacob Beard
Hi Ben, Could you create a new SCXML instance for each module? So, rather than having one global SCXML for the entire application, you have a number of small SCXML components, which you would instantiate when your module is loaded? Jake On Oct 25, 2014, at 3:22 AM, Benoît Thiébault

Re: Re: [scxml] passing datamodel elements into method call

2014-10-17 Thread R.C. Hoekstra
Thanks Woonsan, Ate, I think I can work that out. best regards, Rinke - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

Re: Re: [scxml] passing datamodel elements into method call

2014-10-08 Thread R.C. Hoekstra
Hi Rinke, I think you would get a node if you used DataNode function instead: cs:var name=treatment1Name expr=DataNode(treatmentData,'treatments/treatment[1]/name') / Could you try that? Regards, Woonsan Hi Woonsan, thanks for your answer. But are you sure about that? If I use it like

Re: Re: [scxml] passing datamodel elements into method call

2014-10-08 Thread Woonsan Ko
Hi Rinke, Sorry for my confusion. Indeed, DataNode function seems to exist only for assign element. Regarding other possible options, I think you can set a holder object (named treatmentDataHolder for instance) in the root context before execution, and you can invoke the holder's method to

Re: [scxml] passing datamodel elements into method call

2014-10-08 Thread Ate Douma
On 08-10-14 11:31, R.C. Hoekstra wrote: Hi Rinke, I think you would get a node if you used DataNode function instead: cs:var name=treatment1Name expr=DataNode(treatmentData,'treatments/treatment[1]/name') / Could you try that? Regards, Woonsan Hi Woonsan, thanks for your answer. But are you

Re: [scxml] passing datamodel elements into method call

2014-10-06 Thread Woonsan Ko
Hi Rinke, I think you would get a node if you used DataNode function instead: cs:var name=treatment1Name expr=DataNode(treatmentData,'treatments/treatment[1]/name') / Could you try that? Regards, Woonsan On Thursday, October 2, 2014 3:53 AM, R.C. Hoekstra r.c.hoeks...@erasmusmc.nl

Re: [SCXML] onentry executable content parallel to further transitions

2014-09-16 Thread Johannes Wienke
Hi, thanks for the feedback. I could actually make this work by extending the executor and everything seems to work fine. Cheers, Johannes On 09/15/2014 04:32 PM, Ate Douma wrote: On 11-09-14 11:30, Johannes Wienke wrote: On 09/09/2014 04:28 PM, Ate Douma wrote: On 08-09-14 18:59, Johannes

Re: [SCXML] onentry executable content parallel to further transitions

2014-09-15 Thread Ate Douma
On 11-09-14 11:30, Johannes Wienke wrote: Hi, On 09/09/2014 04:28 PM, Ate Douma wrote: On 08-09-14 18:59, Johannes Wienke wrote: On 09/07/2014 10:31 PM, Ate Douma wrote: Actually, Commons SCXML already uses an event queue (one for internal events and one for external events). It is however

Re: [SCXML] onentry executable content parallel to further transitions

2014-09-11 Thread Johannes Wienke
Hi, On 09/09/2014 04:28 PM, Ate Douma wrote: On 08-09-14 18:59, Johannes Wienke wrote: On 09/07/2014 10:31 PM, Ate Douma wrote: Actually, Commons SCXML already uses an event queue (one for internal events and one for external events). It is however the responsibility of separate client

Re: [SCXML] onentry executable content parallel to further transitions

2014-09-11 Thread Johannes Wienke
On 09/09/2014 04:31 PM, Ate Douma wrote: On 09-09-14 11:20, Johannes Wienke wrote: Hi, On 09/08/2014 10:07 PM, Martin Gainty wrote: StringTokenizer st = new StringTokenizer(event); int tkns = st.countTokens(); TriggerEvent[] evts = new TriggerEvent[tkns]; for (int i = 0; i tkns; i++) {

Re: [SCXML] onentry executable content parallel to further transitions

2014-09-09 Thread Johannes Wienke
Hi, On 09/08/2014 10:07 PM, Martin Gainty wrote: StringTokenizer st = new StringTokenizer(event); int tkns = st.countTokens(); TriggerEvent[] evts = new TriggerEvent[tkns]; for (int i = 0; i tkns; i++) { executor.triggerEvents(); But then I have to implement a custom logic to

Re: [SCXML] onentry executable content parallel to further transitions

2014-09-09 Thread Ate Douma
On 08-09-14 18:59, Johannes Wienke wrote: Hi, thanks for the feedback work on this! On 09/07/2014 10:31 PM, Ate Douma wrote: Actually, Commons SCXML already uses an event queue (one for internal events and one for external events). It is however the responsibility of separate client threads

Re: [SCXML] onentry executable content parallel to further transitions

2014-09-09 Thread Ate Douma
On 09-09-14 11:20, Johannes Wienke wrote: Hi, On 09/08/2014 10:07 PM, Martin Gainty wrote: StringTokenizer st = new StringTokenizer(event); int tkns = st.countTokens(); TriggerEvent[] evts = new TriggerEvent[tkns]; for (int i = 0; i tkns; i++) { executor.triggerEvents(); But then I

Re: [SCXML] onentry executable content parallel to further transitions

2014-09-08 Thread Johannes Wienke
Hi, thanks for the feedback work on this! On 09/07/2014 10:31 PM, Ate Douma wrote: Actually, Commons SCXML already uses an event queue (one for internal events and one for external events). It is however the responsibility of separate client threads to only use the executor #addEvent methods

Re: [SCXML] onentry executable content parallel to further transitions

2014-09-07 Thread Ate Douma
On 02-09-14 12:58, Johannes Wienke wrote: Hi, On 08/29/2014 12:39 PM, Johannes Wienke wrote: we are currently evaluating commons scxml in the trunk version for our purposes. On thing that confused us is the fact that transitions from a state can already occur while that state's onentry

Re: SCXML: context thinks it is in no state at all in onentry of non atomic states.

2014-09-07 Thread Ate Douma
On 02-09-14 23:23, R.C. Hoekstra wrote: Hi all at scxml. In my project I found some behavior which I regarded as unexpected, but maybe I'm overlooking something. In non-atomic states action execution the engine reports to be in no state at all. I made a test Action class which only does

Re: [SCXML] onentry executable content parallel to further transitions

2014-09-02 Thread Johannes Wienke
Hi, On 08/29/2014 12:39 PM, Johannes Wienke wrote: we are currently evaluating commons scxml in the trunk version for our purposes. On thing that confused us is the fact that transitions from a state can already occur while that state's onentry executable content is still processing. Hence,

Re: [SCXML] onentry executable content parallel to further transitions

2014-09-01 Thread Ate Douma
On 29-08-14 12:39, Johannes Wienke wrote: Hi, we are currently evaluating commons scxml in the trunk version for our purposes. On thing that confused us is the fact that transitions from a state can already occur while that state's onentry executable content is still processing. Hence, we end

Re: [SCXML] onentry executable content parallel to further transitions

2014-09-01 Thread Johannes Wienke
On 09/01/2014 09:23 AM, Ate Douma wrote: Great to see you looking into commons scxml! I've been away for a while on holiday so sorry for the late feedback on this and the other issues you reported. I haven't had time yet to dive into these but will look into them shortly. Great! Thank you

Re: [SCXML] mapping of data types used to store values of datamodel with the java datatypes

2014-07-19 Thread Woonsan Ko
On Wednesday, July 16, 2014 10:02 AM, anshul gangwar anshul.mit20...@gmail.com wrote: Hi, I have one query regarding datatypes used to store values of SCXM datamodel. Suppose there is a string A = 1234567891. This variable is sent in payload when event is fired and is assigned in the

Re: [scxml] profiling scxml commons

2014-06-18 Thread Ate Douma
On 18-06-14 09:42, R.C. Hoekstra wrote: Hi all @ scxml commons. We had some profiling done on our scxml multi agent simulation project. Our issue is that scxml is too slow. We need about 100,000 instances of scxml engines for a multi agent simulation, and tests show that the approach with

Re: [scxml] Re: our project setup: any tips specifically on performance/speed?

2014-06-07 Thread Woonsan Ko
Hi Rinke, On Friday, May 30, 2014 4:46 PM, R.C. Hoekstra r.c.hoeks...@erasmusmc.nl wrote: Hi Woonsan, Hi Ate, (sorry for the late response) Woonsan wrote: If the estimate of the pure SCXML executions can possibly meet your requirements, then I think the next thing to consider might

Re: scxml: planning and versions

2014-04-23 Thread Ate Douma
Hi Rinke, On 19-04-14 22:15, R.C. Hoekstra wrote: Hi Ate, Woonsan, thanks for the long answer; sorry for my late reply, I was away for a few days. Good to hear you are really interested in our use-case, Ate. You're asking what specific specification features we will be using now, or in the

RE: Re: scxml: planning and versions

2014-04-19 Thread R.C. Hoekstra
Hi Ate, Woonsan, thanks for the long answer; sorry for my late reply, I was away for a few days. Good to hear you are really interested in our use-case, Ate. You're asking what specific specification features we will be using now, or in the near future. To be honest; I don't know yet. At

Re: scxml: planning and versions

2014-04-15 Thread Woonsan Ko
Hi Rinke, Welcome! And that's great to hear about your project! The roadmap is described here: http://commons.apache.org/proper/commons-scxml/roadmap.htmlI would recommend you to use 2.0-M1 instead because the milestones (M0 and M1) were actually done based on the J6 branch and included proper

Re: scxml: planning and versions

2014-04-15 Thread Ate Douma
Hi Rinke, On 15-04-14 11:29, R.C. Hoekstra wrote: Hi all @ commons scxml, We're a university team of scientists working on multi agent simulations of tropical diseases for a world health organization project. A disease can be considered as a state machine, with the patient going through

Re: SCXML retrieve root context

2014-04-14 Thread Ate Douma
On 12-04-14 21:46, ten...@free.fr wrote: Thank you for your help Ate, it works very well, I still have a long way to go in understanding SCXML.. No problem, I'd be happy to help you out further if you have more questions. If you haven't seen them yet, the slides of my presentation I gave at

Re: [scxml] question on datamodel

2013-03-11 Thread liuhuan123
Hermes replica totes are actually ambrosial in accretion to about apprenticed that you acquire complete admiring for those who acquire 1. Irrespective of your breadth activity to, accepting a afflicted by hermes belt kit women http://justhermes.net/goods-29-UK-Hermes-Belts-New-Arrivals-86.html ,

RE: [scxml] standalone example not working

2012-12-12 Thread Jim Barnett
A bit more detail. I'm trying to get the StandaloneJexlExpressions example to work, as described on the commons website (http://commons.apache.org/scxml/guide/testing-standalone.html), specifically: java -classpath commons-digester-1.8.1.jar;commons-beanutils-1.8.0.jar;

RE: [scxml] update data model

2012-12-12 Thread Jim Barnett
Use the 'delay' attribute on send to create a timer. Then add an event handler/transition that catches the delayed event and updates the data model (using the executable content that is a child of transition). - Jim -Original Message- From: Riccardo Manoni

RE: [SCXML] update data model

2012-12-12 Thread Jim Barnett
...@gmail.com] Sent: Wednesday, December 12, 2012 5:28 PM To: user@commons.apache.org Subject: RE: [SCXML] update data model Removing the delay, the send work. The state change immediatly from paused to stopped. So now we know that the problem is the delay. Any help will be greatly appreciated

Re: [SCXML] updte data model

2012-12-12 Thread Riccardo Manoni
example to work. If someone can help me with that, I'll take a look at why 'delay' isn't working. - Jim -Original Message- From: Riccardo Manoni [mailto:arduinowifishi...@gmail.com] Sent: Wednesday, December 12, 2012 5:28 PM To: user@commons.apache.org Subject: RE: [SCXML

Re: [scxml] question on datamodel

2012-12-03 Thread Jacob Beard
Hi Francesco, The example you describe looks like the special timeout event described by Harel in his original papers on Statechart semantics: http://research.microsoft.com/apps/pubs/default.aspx?id=148785 http://dl.acm.org/citation.cfm?id=235322 If so, this event can be implemented in SCXML as

Re: [scxml] ANN: SCION-Java project

2012-07-20 Thread Jacob Beard
Hi, I just wanted to quickly follow up on this, as looks like the page hasn't been updated yet. Thanks, Jake On Mon, Jun 11, 2012 at 10:56 PM, Jacob Beard jbea...@cs.mcgill.ca wrote: Hi, I opened a task in JIRA to update the SCXML Commons home page, and provided a patch, here:

Re: [scxml] JEXL Evaluator's evalCond issue

2012-06-16 Thread Rahul Akolkar
On Thu, Jun 14, 2012 at 5:23 PM, sgu...@osc.state.ny.us wrote: 1. Problem renaming method in class used for condition evaluation. Class: Test method: boolean method1(integer i) xml snippet: state id=DELETE_STATE            transition event=delete target=STATUS_UNKNOWN

Re: [scxml] ANN: SCION-Java project

2012-06-11 Thread Jacob Beard
Hi, I opened a task in JIRA to update the SCXML Commons home page, and provided a patch, here: https://issues.apache.org/jira/browse/SCXML-166 Thanks, Jake On Thu, May 31, 2012 at 9:45 AM, Jacob Beard jbea...@cs.mcgill.ca wrote: Will do. Thanks, Jake On Thu, May 31, 2012 at 9:31 AM, Rahul

Re: [scxml] ANN: SCION-Java project

2012-05-31 Thread Jacob Beard
Will do. Thanks, Jake On Thu, May 31, 2012 at 9:31 AM, Rahul Akolkar rahul.akol...@gmail.com wrote: If you want to provide a patch to the Commons SCXML home page source via JIRA, we could add this to the Related Projects section [1]. -Rahul [1]

Re: [scxml] there is a working example?

2012-05-23 Thread Rahul Akolkar
On Mon, May 21, 2012 at 6:55 PM, Jacob Beard jbea...@cs.mcgill.ca wrote: Regarding project status, see this thread posted last week: http://mail-archives.apache.org/mod_mbox/commons-dev/201205.mbox/browser snip/ Or this link: http://markmail.org/message/wu5rfl25fxjyn7tb -Rahul Jake On

Re: [scxml]

2012-05-23 Thread Rahul Akolkar
On Wed, May 23, 2012 at 2:01 AM, Ronald Hinchley commu...@gmail.com wrote: I notice that none of the examples or cases work. W3C Working Draft 16 February 2012. SCXML seems heavenly to me but is there interest in it? snip/ I believe you're asking about the Commons SCXML project, rather than the

Re: [scxml] there is a working example?

2012-05-21 Thread Alessandro Scarozza
I explain better my problem, actually we use scxml like this: ?xml version=1.0 encoding=UTF-8? scxml xmlns=http://www.w3.org/2005/07/scxml; version=1.0 exmode=lax initialstate=initialstate datamodel data id=one$value0/data /datamodel state id=one

Re: [scxml] there is a working example?

2012-05-21 Thread Jacob Beard
I haven't used SCXML Commons for this, but it seems like the SCXML specification would lead you to something like the following (untested) code: ?xml version=1.0 encoding=UTF-8? scxml xmlns=http://www.w3.org/2005/07/scxml; version=1.0 exmode=lax datamodel data id=oneValue

Re: [scxml] there is a working example?

2012-05-21 Thread Alessandro Scarozza
YES i need this to make this code working i need to integrate EL? o not? if yes, how i can do it? if i use that code in my java application, it doesent works!! th 2012/5/21 Jacob Beard jbea...@cs.mcgill.ca: I haven't used SCXML Commons for this, but it seems like the SCXML

Re: [SCXML] custom tags

2011-10-24 Thread Micka
Hi, I also really like customActions. But right Now, i'm trying to figure out how to use ExternalContent . The document say that I have to implements it, but I really don't understand how to use it, I mean i get : class myclass extends Action implements ExternalContent . . ..

Re: [SCXML] Ignoring raise element

2011-10-17 Thread Rahul Akolkar
On Mon, Oct 17, 2011 at 8:43 AM, Dark.Rider85 dark.ride...@yahoo.de wrote: Hi! I wanted to use the raise element but when parsing the .xml file the processor says the following warning: Ignoring element raise in namespace http://www.w3.org/2005/07/scxml; at bundleresource:***.xml:9:38 and

  1   2   3   4   5   >