dia2code

2000-11-26 Thread Javier O'Hara


Hi. I've just finished the first release of a simple program, dia2code,
that takes a Dia UML Diagram and generates the structure of the classes
inside it either in C++ or Java.  It's GPL-ed and small but still has a
few bugs.

You can download it at:

http://sourceforge.net/projects/dia2code

Thanks to all the Dia developers for such a great program!


   Javier

-- 
Adapt.  Enjoy.  Survive.




Re: Re: [gnue-forms] Re: Embedded Scripting Language

2000-11-26 Thread Harry George


I'm using python for many purposes and would really prefer that as the
scripting language.  Does anyone see show-stoppers either in license or in
technology?  Or is just a matter of someone steeping up to the task?

On Sat, 25 Nov 2000, Ian D.Stewart wrote:
 Date: Sat, 25 Nov 2000 15:32:58 -0500
 To: [EMAIL PROTECTED], [EMAIL PROTECTED]
 From: "Ian D.Stewart" [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Subject: Re: [gnue-forms] Re: Embedded Scripting Language
 
 On Fri, 24 Nov 2000, Derek A. Neighbors wrote:
  James Henstridge wrote:
   
   There is an incomplete python scripting plugin found in CVS.  It is
   missing a number of features.  It has a bit of trouble building at
 the
   moment because python only installs a static library, which libtool
 1.3.x
   refuses to link into the .so for the plugin.  Also, it is missing
 some of
   the properties interface code would be needed for it to be really
 useful.
  
  Hmm.. We have run into similar problems embedding python into our
  application server, this along with its license woes makes me think
  perhaps going to guile support would be a more wise decision.
 
 Any chance folks might be interested in JavaScript as a scripting
 language? 
 There are GPL'ed implementations available in both C and Java.
 
 
 Regards,
 Ian D. Stewart
 
 --
 "Rumors of my demise have been greatly exagerated"
 Samuel Clemens
 AKA Mark Twain
 
 
 
-- 
Harry George
[EMAIL PROTECTED]




AutoGenerating Dia Diagram

2000-11-26 Thread Dirk Elmendorf

I looked thru the docs and tried to search the mailing list and couldn't
find an answer to this question-  Is there any way to auto generate a
dia diagram from a scripting language?

I would like to be able to generate UML/flow charts based on the
contents of a file/database.

This would serve as additional documentation for my code base project. 

Anyone got anything resembling this?




Re: [gnue-forms] Re: Embedded Scripting Language

2000-11-26 Thread Derek A. Neighbors

Harry,

Dont recall Dia's license, but if its GPL (which I think it is) then
embedding python could be an issue.  (at this point RMS still isnt 100%
sure status of 1.5.2 or 2.0, but 1.6 is DEFINITELY not GPL compatiable)

Scheme/Guile is fine.

The javascript Ian mentioned said it was GPL so that would be fine.

Derek Neighbors
GNU Enterprise
http://www.gnue.org
[EMAIL PROTECTED]

Harry George wrote:
 
 I'm using python for many purposes and would really prefer that as the
 scripting language.  Does anyone see show-stoppers either in license or in
 technology?  Or is just a matter of someone steeping up to the task?
 
 On Sat, 25 Nov 2000, Ian D.Stewart wrote:
  Date: Sat, 25 Nov 2000 15:32:58 -0500
  To: [EMAIL PROTECTED], [EMAIL PROTECTED]
  From: "Ian D.Stewart" [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  Subject: Re: [gnue-forms] Re: Embedded Scripting Language
 
  On Fri, 24 Nov 2000, Derek A. Neighbors wrote:
   James Henstridge wrote:
   
There is an incomplete python scripting plugin found in CVS.  It is
missing a number of features.  It has a bit of trouble building at
  the
moment because python only installs a static library, which libtool
  1.3.x
refuses to link into the .so for the plugin.  Also, it is missing
  some of
the properties interface code would be needed for it to be really
  useful.
  
   Hmm.. We have run into similar problems embedding python into our
   application server, this along with its license woes makes me think
   perhaps going to guile support would be a more wise decision.
 
  Any chance folks might be interested in JavaScript as a scripting
  language?
  There are GPL'ed implementations available in both C and Java.
 
 
  Regards,
  Ian D. Stewart
 
  --
  "Rumors of my demise have been greatly exagerated"
  Samuel Clemens
  AKA Mark Twain
 
 
 
 --
 Harry George
 [EMAIL PROTECTED]




Re: [gnue-forms] Re: Embedded Scripting Language

2000-11-26 Thread Ian D . Stewart

On Sun, 26 Nov 2000, Harry George wrote:
 I'm using python for many purposes and would really prefer that as the
 scripting language.  Does anyone see show-stoppers either in license or in
 technology?  Or is just a matter of someone steeping up to the task?

Don't know about the main distro, but the license for the Java implementation
is unduly restrictive.


Ian




Additional Problem with DIA-diagrams: Error on scaling

2000-11-26 Thread Bernhard . Hammelmann

Last week I wrote that the Adobe-plugin
cannot correctly interpret the generated SVG-format from DIA.

Once again I ask if someone uses a better version than my 
(Adobe SVG Viewer 2.0 Beta Release 1, Build 22) or another plugin for
SVG-grafics.

Here is an example DIA SVG-file that was originally generated from the also
attached source with DIA 0.85 on WIN32 
(but the DIA 0.86 LINUX-Version produces the same output):

The Internet Explorer with newest Adobe SVG-plugin shows the diagram 
only may be with 1% of real size and the shapes background are black
as described last week.

Wrong scaled diagrams seems to appear with more complex elements like the
example in attachment, because I have also exported a simple diagram with
only
one rectangle that was correctly displayed in browser.

Regard's
Bernhard Hammelmann


 ite-husimworkflow.svg
 ite-husimworkflow.dia