Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BasicHowTo needs to be updated about rpst creation #3

Open
GoogleCodeExporter opened this issue Aug 20, 2015 · 2 comments
Open

BasicHowTo needs to be updated about rpst creation #3

GoogleCodeExporter opened this issue Aug 20, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.  creation of a Task
2.  creation of a Gateway
3.  addition of them to a Process

What is the expected output? What do you see instead?
Following the BasicHowTo guide, leads a wrong use of methods. addTask is 
deprecated and new Gateway is no more allowed.

What version of the product are you using? On what operating system?
jbpt-0.2.363

Please provide any additional information below.
I am trying to create a RPST from a process graph. As the BasicHowTo guide 
suggests, I add Tasks, Gateways and then ControlFlow among them. Unfortunately 
is not allowed to add tasks and gateways. However if I add directly objects to 
the controlFlow, the RPST is generated but its print 
(System.out.println(rpst);) is not very readable. Could I suggest to update the 
BasicHowTo, adding also some info to read the rpst created? Thank you

Original issue reported on code.google.com by IamDeLac on 21 Feb 2013 at 9:55

@GoogleCodeExporter
Copy link
Author

Quick fix: see RPSTTest.java in jbpt-test module.

Install GraphViz and use IOUtils.invokeDOT to generate PNGs from Java code.

For more information on RPST, read:
Artem Polyvyanyy, Jussi Vanhatalo, and Hagen Völzer. Simplified Computation 
and Generalization of the Refined Process Structure Tree. Proceedings of the 
7th International Workshop on Web Services and Formal Methods (WS-FM). Hoboken, 
New Jersey, USA, September 16-17, 2010. LNCS 6551, pp. 25-41, Springer-Verlag.

Original comment by [email protected] on 21 Feb 2013 at 10:53

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Perfect! Thank you.  Just few comments for MAC users

Before install Graphviz on Mountain Lion

install this
https://developer.apple.com/downloads/index.action

and follow this 
http://kerdsri.com/2012/09/05/how-to-install-graphviz-on-mountain-lion/

then in the class IOUtils change in
DEFAULT_GRAPHVIZ_DEFAULT_PATH = "/usr/local/bin/dot";

as path for  the executable dot. At least, mine is like that for MAC OS X.

Original comment by IamDeLac on 21 Feb 2013 at 2:01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant