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 >

SCXML maven artifact

2023-07-27 Thread proton_mail_bridge
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](https://mvnrepository.com/artifact/org.apache.commons/commons-scxml2/2.0-M1) (2014) is the latest version that’s indexed. Is there a way to use

[SCXML] Using the API to create an SCXML object

2019-07-24 Thread Diptendu Dutta
Hello, I am trying to create an SCXML object programmatically using the API rather than from an XML text file. State state1, state2; Assign assign1, assign2; Transition transition1, transition2, transition3; OnEntry onentry1, onentry2; SCXML machine = new SCXML(); machine.setDatamodelName("

[SCXML] Eventless transitions not selected after event?

2019-07-16 Thread Mike Mansell
I could easily be misunderstanding the SCXML specification, but it looks like that if you have (a tweaked example of my actual code): http://www.w3.org/2005/07/scxml; version="1.0" initial="start">     

[SCXML] Eventless transitions not selected after event?

2019-07-16 Thread Mike Mansell
I could easily be misunderstanding the SCXML specification, but it looks like that if you have (a tweaked example of my actual code): http://www.w3.org/2005/07/scxml; version="1.0" initial="start">    

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] https://www.w3.org/TR/scxml

[SCXML] Support for Commons JEXL in SCXML

2019-07-15 Thread Diptendu Dutta
Some thing like .. .. does not work. *SEVERE: Transition target with ID "${startState}" not found* However, the spec at https://commons.apache.org/proper/commons-jexl/reference/syntax.html mentions If a variable user valued JEXL is

Re: status and release of commons-scxml-2.0?

2019-04-23 Thread Ate Douma
the effort. Because: who is looking for or (still) waiting for js language support in commons-scxml? Community wise, there have been no concrete questions or requests concerning the js language for many years. And with the Nashorn engine now deprecated, the current implementation is besides being

Re: status and release of commons-scxml-2.0?

2019-04-19 Thread Jacob Beard
tests are failing, >> and what are the limitations and quirks of Nashorn that cause this? > > Sure. > > Regarding 'quirks': see issue SCXML-273 [1] which concerns the problem > that the Nashorn engine by default doesn't fail on referencing a missing > property. Which is tested by

Re: status and release of commons-scxml-2.0?

2019-04-18 Thread Ate Douma
to fix, because of limitations/quirks in the Nashorn engine itself. Could you please provide more information on this? Which tests are failing, and what are the limitations and quirks of Nashorn that cause this? Sure. Regarding 'quirks': see issue SCXML-273 [1] which concerns the problem

Re: status and release of commons-scxml-2.0?

2019-04-18 Thread Diptendu Dutta
Hello Team, I am writing to let you know that like many others I greatly value the work being done on commons-scxml and look forward to release 2.0. Please keep up the good work. Regards, Diptendu Dutta On Thu, Apr 18, 2019 at 9:04 PM Ate Douma wrote: > Hi developers/community, >

Re: status and release of commons-scxml-2.0?

2019-04-18 Thread Jacob Beard
Hi Ate, > On Apr 18, 2019, at 11:23 AM, Ate Douma wrote: > > Only for the javascript language (using Java 8 Nashorn, now deprecated > since Java 11...) there are still 3/188 W3C IRP tests failing. > And those 3 test failures are really, really difficult to fix, because > of limitations/quirks

status and release of commons-scxml-2.0?

2019-04-18 Thread Ate Douma
Hi developers/community, I've received an out-of-band request about the current status of commons-scxml-2.0 and its release schedule. As there might be more (hopefully at least a few) people interested in this, and I don't like answering out-of-band questions, I'm giving a heads-up here

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

2019-03-18 Thread Woonsan Ko
t; > . > rootContext = evaluator.newContext(null); > engine.setRootContext(rootContext); > engine.go(); > > rootContext.set("intent", "StartBot"); > engine.triggerEvent("run", TriggerEvent.SIGNAL_EVENT); > > > -- > http://

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

2019-03-16 Thread Diptendu Dutta
"StartBot"); engine.triggerEvent("run", TriggerEvent.SIGNAL_EVENT); -- http://www.w3.org/2005/07/scxml; version="1.0" datam

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

2019-03-14 Thread sebb
be used in a production environment. On Thu, 14 Mar 2019 at 09:47, Gilles Sadowski wrote: > > 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/reposi

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.

[SCXML] Snapshot repository does not contain any JAR

2019-03-14 Thread Diptendu Dutta
The SCXML snapshot repository does not contain any JAR files, they only have MD5 and SHA1 signatures. https://repository.apache.org/content/groups/snapshots/commons-scxml/commons-scxml/ https://repository.apache.org/content/groups/snapshots/commons-scxml/commons-scxml/0.10-SNAPSHOT/ The 2.0-M1

Re: [SCXML] Using to call a REST API

2019-03-11 Thread Woonsan Ko
o a Camel route as message body. Regards, Woonsan [1] https://github.com/apache/commons-scxml/blob/master/src/test/java/org/apache/commons/scxml2/WizardsTest.java#L62 [2] https://github.com/apache/commons-scxml/blob/master/src/test/java/org/apache/commons/scxml2/env/jexl/wizard-02

[SCXML] Using to call a REST API

2019-03-11 Thread Diptendu Dutta
Is it possible to use the tag to call a REST API? How would one specify the various attributes such as method (GET/POST), headers, body, etc.? Is there any example code that I can consult? Regards, Diptendu Dutta

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

[SCXML] tag usage is giving location error

2019-03-01 Thread Diptendu Dutta
Do simple assignments of the form work in commons scxml? I have this state machine description: http://www.w3.org/2005/07/scxml; version="1.0" initial="Start">

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

2017-12-04 Thread r.c.hoekstra
iple diseases, or a disease and socio-economic "migration" inside a population. The events are quite simple, but there can be a bunch of transitions from each state. Scripts are used, but very basic. best, Rinke Regards, Woonsan [1] https://www.w3.org/TR/scxml/#minimal-profile

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

2017-12-04 Thread r.c.hoekstra
and re-hydrate the state machine instance from the state stored in the database on processing the next event. This second approach has been used successfully to scale simulation across a cluster. Different SCXML implementations have varying levels of support for serializing state machine ins

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

2017-12-01 Thread Woonsan Ko
n Wed, Nov 29, 2017 at 6:56 AM, r.c.hoekstra <r.c.hoeks...@scarlet.nl> >> wrote: >>> >>> Hi List, >>> >>> We are working at the ErasmusMC hospital at Rotterdam, Netherlands, on >>> scientific simulations on the spread of infectious diseases

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
ations on the spread of infectious diseases through human populations. In this project we use Apache Commons SCXML to model diseases. Just out of curiosity, would you mind sharing the reasons, in higher level, why SCXML library was chosen for the simulation in the first place? There are many tools an

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
ct we use Apache Commons SCXML to model diseases. Just out of curiosity, would you mind sharing the reasons, in higher level, why SCXML library was chosen for the simulation in the first place? There are many tools and libs, specialized in simulation, such as MASON. Was it mainly because of the

[scxml] looking for developer for adaptations on Commons SCXML

2017-11-29 Thread r.c.hoekstra
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 SCXML to model diseases. However, the problem with the present implementation

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

[SCXML] Question on Invoker Interface

2016-10-14 Thread Prathib Kumar
Hi Woonsan, As you have suggested I have picked the M1 release from http://maven.onehippo.com/maven2/org/apache/commons/commons-scxml2/2.0-M1/ but it looks like on the M1 release, setParentSCXMLExecutor() API is missing in the interface where as I could see it in the latest git repo. Do we have

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 <mansour.alak...@gmail.com> 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 (s

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 w

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

2016-05-16 Thread Woonsan Ko
nput. If the token is not recognized, it should report this. > > I am prototyping in SCXML, and trying to find a way to find if the > supplied event/token is recognized or not. I am unable to find a way > to tell. May be someone else had luck with this, and can share the way > with me. &g

[SCXML] How to obtain a collection of valid events

2016-05-14 Thread Mansour Al Akeel
Hello all, Based on my understanding, a state machine provides feedback about the input. If the token is not recognized, it should report this. I am prototyping in SCXML, and trying to find a way to find if the supplied event/token is recognized or not. I am unable to find a way to tell. May

Re: [SCXML] Next states

2016-05-06 Thread Woonsan Ko
s was written to test commons SCXML 1: > > @Override > public boolean fireEvent(String event) { > List lst = > this.getCurrentState().getTransitionsList(event); > if (lst == null) { > System.out.println("unknown event: " + event); >

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
or transitions ? >> I am working with AbstractStateMachine >> > > I think Woosan and Ate are the ones who have worked mostly on SCXML. Maybe > they can help... > > Benedikt > > >> >> Thank you >> >> --

Re: [SCXML] Next states

2016-05-02 Thread Benedikt Ritter
Hello Mansour, Mansour Al Akeel <mansour.alak...@gmail.com> 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.

[SCXML] Next states

2016-05-01 Thread Mansour Al Akeel
Is there a way to get the next valid states or transitions ? I am working with AbstractStateMachine Thank you - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail:

[SCXML] Any release date

2016-04-30 Thread Mansour Al Akeel
Hello all, The website shows the latest unstable version is 2.0-SNAPSHOT. I am not sure the date the snapshot was updated but I can see extensive activity: https://git1-us-west.apache.org/repos/asf?p=commons-scxml.git Thanks to the development team. Are there any plans to release it any time

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

scxml: nested custom actions

2016-03-19 Thread R.C. Hoekstra
Hi Ate, Woonsan, Is there a way to access nested child actions from a parent custom action in scxml? In version scxml-2.0-M1 I could do this in the onexecute of a custom action: for (Action action : getParent().getActions()) { if (action instanceof MyChildAction

Re: SCXML project

2016-02-01 Thread Ate Douma
Atecurrently testing what happens when log4j.properties or log4j.xml is missing (cured by inserting a working log4j.properties into scxml classpath) I am currently experiencing this failure: Javadoc failure with: Caused by: org.apache.maven.plugin.MojoExecutionException: Error generating maven-javadoc

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
Hi Atecurrently testing what happens when log4j.properties or log4j.xml is missing (cured by inserting a working log4j.properties into scxml classpath) I am currently experiencing this failure: Javadoc failure with: Caused by: org.apache.maven.plugin.MojoExecutionException: Error generating

Re: SCXML project

2016-01-27 Thread Ate Douma
ín AFAICT the above NPE only can occur when configuring an invalid/wrong logging class (like in the pom.xml for the maven-surefire-plugin) and/or through explicitly set the the Log instance to null in SimpleContext.java. When using a clean checkout/clone of the current SCXML git repository (

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
Ok Folks, I will evaluate SCXML. BTW, I found these paper and it sounds interesting: http://cdn.intechopen.com/pdfs-wm/46457.pdf It looks like it exports Stateflow to SCXML On Sun, Jan 24, 2016 at 10:32 AM, Martin Gainty <mgai...@hotmail.com> wrote: > +1 > Thanks Gary! >

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
> > I am new to FSM and new to SCXML.On the other hand, I am expert in > Simulink, expert in Java and expert in model based systems engineering. > > I am currently evaluating SCXML and I would like a*honest, non biased > opinion *on the status of SCXML project. > > What

[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

SCXML project

2016-01-22 Thread Guilherme Silveira
Hi Folks I am new to FSM and new to SCXML.On the other hand, I am expert in Simulink, expert in Java and expert in model based systems engineering. I am currently evaluating SCXML and I would like a*honest, non biased opinion *on the status of SCXML project. What I would like to assert

Re: [scxml] update and progress?

2015-12-07 Thread Ate Douma
done that up to now, because I was afraid that the datamodel on scxml commons would become subject of serious changes. So for us it's still very flexible, as we didn't start with that part yet. I have a slight personal preference for at least the xml in the datamodel, but it's not that important

Re: Re: [scxml] update and progress?

2015-12-04 Thread R.C. Hoekstra
that the datamodel on scxml commons would become subject of serious changes. So for us it's still very flexible, as we didn't start with that part yet. I have a slight personal preference for at least the xml in the datamodel, but it's not that important. For us the progress of the project

[scxml] update and progress?

2015-11-24 Thread R.C. Hoekstra
Hi Ate, Woonsan, I was wondering if you guys could give us an update on the progress of SCXML, and tell us how it's going. Specifically, I was wondering if you could give us any clue on when Milestone 2 can be expected. I'm looking forward to the new datamodel features with great interest

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
is more powerful (and dangerous :) ). Are you possible aware of any useful examples of context manipulation from script (Groovy or any other)? I don't think we really have concrete examples/tests in Commons SCXML, but it should be trivial to do this yourself. Thank you very much in advance

SCXML and Script and context access

2015-08-18 Thread Sinisa Zec
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 (it might be any other but we have

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
. The problem is we're having very complicated scxml schemes working with several custom classes, and I tried to bring the example back to the basics, but probably just missed the key thing. It basically comes to this, I discovered. Consider this scxml: state id=bla transition event=screening

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
now understand what is going on here. Then again, sorry that my example wasn't so clear, at first. The problem is we're having very complicated scxml schemes working with several custom classes, and I tried to bring the example back to the basics, but probably just missed the key thing

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

2015-06-15 Thread R.C. Hoekstra
think I now understand what is going on here. Then again, sorry that my example wasn't so clear, at first. The problem is we're having very complicated scxml schemes working with several custom classes, and I tried to bring the example back to the basics, but probably just missed the key thing

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

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

2015-04-17 Thread R.C. Hoekstra
Dear people at scxml, I found a bug in the scxml commons project. Consider this scxml file: state id=test1 initial=test1.1 state id=test1.1 onentry ntd:test id=test1.1 isIn=test1.1 / script agent.storeInMemory(test1.1); /script

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

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
you suggest is indeed interesting and could solve our problem. I was just wondering what was already coded in SCXML API and what needed to be done (either on our side or in the library). Jake's suggestion is also interesting, but in that case I wonder how would the different state diagrams

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

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

2014-10-26 Thread Ate Douma
Hi SCXML developers and users, This is a heads-up for everyone using the current SCXML 2.0 trunk for their projects. Please checkout issue https://issues.apache.org/jira/browse/SCXML-213 which I just created, which will requires some extensive refactoring and *breaking* changes

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

[SCXML] Plans for making SCXML more dynamic?

2014-10-25 Thread Benoît Thiébault
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 a more dynamic state engine. My application

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

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 thieba

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

[SCXML] Heads-up for Commons SCXML 2.0-SNAPSHOT users: send action updated with breaking changes

2014-10-10 Thread Ate Douma
Hi Commons SCXML users of the latest 2.0-SNAPSHOT (trunk), Be warned that if you update to the latest committed state in trunk, you likely will have to update your existing SCXML documents when using the send action. The send action attributes now have been aligned with the latest SCXML

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

2014-10-08 Thread R.C. Hoekstra
wrote: Hi list, Hi people @ scxml commons, Can I pass datamodel nodes to a rootContext var, in order to process it in java? like this: target event=bla cond=agent.check(datamodelNodeRef) .../, where: * agent is an object of a java class made available to the RootContext

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

2014-10-08 Thread Woonsan Ko
to Double or String. best regards, Rinke On Thursday, October 2, 2014 3:53 AM, R.C. Hoekstra r.c.hoeks...@erasmusmc.nl wrote: Hi list, Hi people @ scxml commons, Can I pass datamodel nodes to a rootContext var, in order to process it in java? like this: target event=bla cond

Re: [scxml] passing datamodel elements into method call

2014-10-08 Thread Ate Douma
that it always is parsed to Double or String. Not by the SCXML spec, and neither (directly) through Commons SCXML extensions. However, it should be trivial to add such functionality yourself through a custom Action. Then you can access and use the Builtin#dataNode method and do whatever you like

Re: [scxml] passing datamodel elements into method call

2014-10-06 Thread Woonsan Ko
: Hi list, Hi people @ scxml commons, Can I pass datamodel nodes to a rootContext var, in order to process it in java? like this: target event=bla cond=agent.check(datamodelNodeRef) .../, where: * agent is an object of a java class made available to the RootContext, having a check method

[scxml] passing datamodel elements into method call

2014-10-02 Thread R.C. Hoekstra
Hi list, Hi people @ scxml commons, Can I pass datamodel nodes to a rootContext var, in order to process it in java? like this: target event=bla cond=agent.check(datamodelNodeRef) .../, where: * agent is an object of a java class made available to the RootContext, having a check method

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

2014-09-16 Thread Johannes Wienke
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 threads to only use the executor #addEvent methods and only use a single client

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

  1   2   3   4   5   6   7   >