Hi Doug,

Dhaval Chauhan and I recently installed this tool and have started looking at using it with the Tuscany samples. I joined the usenet group for eclipse.stp.sca-tools, and I hope to post any Tuscany-related questions or issues there.

My initial use of the tool sounds a little similar to you. I imported the sample-calculator composite and found some layout problems and also some problems with going from the graphics into the composite. I intend to do a more formal listing of the issues.

Doug Tidwell wrote:
Somebody with the spare time (heh) should take a look at the SCA Tools from the SOA Tools Project (http://www.eclipse.org/stp/sca/index.php). The tool has some layout problems, etc., but it does render a .composite file as a visual diagram. The tool uses libraries from Apache Batik to export the diagram as a PNG, JPEG, SVG, GIF or BMP.; right-click on the diagram, then choose File-->Save as Image File... and then choose your image format and file name. On my "List of projects I would love to hack around on if I had a paid sabbatical" is taking that code and creating a command-line tool to do the layout, build the diagram, then export it to a graphic. At one point doing that with an XSLT stylesheet was on the list, but it seems like the SCA tools have done most of the heavy lifting required. Loading the .composite files into the SCA tools and saving the diagram might be easier than using PaintShop or Inkscape or something like that.

From:
"Simon Laws" <[EMAIL PROTECTED]>
To:
[email protected], [EMAIL PROTECTED]
Date:
11/12/2008 07:01 AM
Subject:
Open Office SCA diagrams was - Re: [DISCUSS] Tuscany 2.0 themes?

Personally I get frustrated when I read or make Tuscany demos or presentations and the simple composites must be created with PaintShop or some non-tech tool.

This may not be quite what you had in mind but a while back someone created an SCA diagram stencil for Visio [1], lots of people wont have Visio so maybe we should create a similar template for OpenOffice Draw and make that available on the Tuscany website so anyone can use it to create good looking pictures. (Disclaimer, i know little about OpenOffice Draw but googling it it does seem to have a stencil facility)
   ...ant

[1] http://soastation.blogspot.com/2007/10/sca-diagram-stencil-for-visio.html
My starting point is here (
http://svn.apache.org/repos/asf/tuscany/sandbox/slaws/scatemplate.odg). Nothing clever though, just cut and paste drawing from this point. haven't worked out how to make these 1st class symbols. I did work out how to add different line ends and create custom formats but that didn't stretch to whole symbols. Maybe someone else knows how.


--
Thanks, Dan Becker

Reply via email to