![]() |
Telelogic TAU (steve huntington) | ![]() |
Topic Title: Generating Java code from state machine Topic Summary: only skeleton Java code is generated Created On: 25-Sep-2006 19:51 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi,
I have Tau 2.7 and Windows XP. I am trying to auto generate Java code from a state machine diagram that I created. I have a single active class with a single port. I recieve an input signal do some processing on a class variable in the state machine. I only see skeleton code (class definition) generated but nothing in the state machine is converted into java code. How do I get java code for logic in the state machine for a class ? Thanks. Raman ------------------------- Raman |
|
![]() |
|
![]() |
|
Hi Raman,
We do not support generating Java code for statemachines at this time. I have it on the roadmap for future work, however I'm also interested to hear from Java programmers about the usefulness of this. Are you using lots of statemachines in your design? Would you rather use Activity Diagrams instead? If you want both, which is more useful? Higher priority? Thanks, Greg ------------------------- Greg Gorman Vice President, Product Management Modeling and Test Products Telelogic AB |
|
![]() |
|
![]() |
|
Hi Greg,
Thanks for the quick response. Yes most of the design is statemachine driven at least for my current project. Do Activity Diagrams assist in code generation ? I have not used Activity Diagrams in the tool yet. What does Tau allow me to do with an Activity Diagram ? I think state machines allow us to go from a model to actual code. They are also easier to follow. The advantage of a state machine is creating a model that can be verified using the Model Verifier. Thanks Regards, Ramandeep ------------------------- Raman |
|
![]() |
|
![]() |
|
Raman, I appreciate your comments. We'll be working on that in 2007 once we finish a few other pressing issues, I hope!
You can execute AD's once you have created an Activity Model. It's still in an early stage but it works pretty good. We actually transfrom them to Statemachines and then execute them with the "regular" Model Verifier. Greg ------------------------- Greg Gorman Vice President, Product Management Modeling and Test Products Telelogic AB |
|
![]() |
Telelogic TAU
» TAU/Developer
»
Generating Java code from state machine
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.