Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 277397

Summary: [dot4zest] Graphviz import for Zest
Product: [Tools] GEF Reporter: Fabian Steeg <steeg>
Component: GEF-Legacy ZestAssignee: Fabian Steeg <steeg>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: ahunter.eclipse, irbull
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
URL: http://wiki.eclipse.org/Graphviz_DOT_as_a_DSL_for_Zest
Whiteboard:
Bug Depends on:    
Bug Blocks: 277380, 277399, 277400, 277402    

Description Fabian Steeg CLA 2009-05-21 17:51:41 EDT
This is related to bug 277380.

To provide core Graphviz import for Zest I plan to use Xpand to generate basic Zest code from DOT meta model instances (based on the existing Xtext DOT grammar and parser from the org.openarchitectureware.graphviz bundle).

See http://wiki.eclipse.org/Graphviz_DOT_as_a_DSL_for_Zest for details about the planned implementation and examples of the desired result.
Comment 1 Fabian Steeg CLA 2009-05-31 17:53:48 EDT
Implemented by attachment 137800 [details].
Comment 2 Anthony Hunter CLA 2009-06-01 09:32:05 EDT
Something the team will need to consider:

The source code for openArchitectureWare contains references to both the GNU General Public License 2.0 (GPL) and to the Apache License 2.0. These two licenses include some contradictory restrictions. 

At a high level, EPL and GPL licensed code cannot mix at Eclipse, so more investigation is required here.

Comment 3 Fabian Steeg CLA 2009-06-01 10:51:25 EDT
(In reply to comment #2)

Thanks for pointing that out. I was not aware openArchitectureWare is not purely EPL licensed. In the long run, we should probably find a solution based on the new Xtext and Xpand from TMF and M2T anyway. 

This would also require an updated version of the org.openarchitectureware.graphviz bundle, which in the meantime has been moved out of the core openArchitectureWare into a project of its own (http://code.google.com/p/emfmodelvisualizer/).
Comment 4 Ian Bull CLA 2009-08-12 22:55:43 EDT
Anthony,

Where did you see the GPL (and Apache stuff).  I looked at the one bundle that Fabian is dependent on, and that bundle was marked EPL.
Comment 5 Fabian Steeg CLA 2009-08-13 08:44:00 EDT
(In reply to comment #4)

From my understanding the problem was the dependency on the rest of oAW 4.3. The latest milestone (attachment 144365 [details]) no longer depends on oAW 4.3 and uses the 'org.openarchitectureware.vis.graphviz' bundle from http://emfmodelvisualizer.googlecode.com/svn/galileo/ (which uses the Eclipse Modeling components from Galileo). See bug 277380, comment 7.

Comment 6 Anthony Hunter CLA 2009-08-13 10:27:48 EDT
I just googled "openarchitectureware license"

and found https://www.ohloh.net/p/3702/factoids/1473445 , I do not know it's accuracy
Comment 7 Fabian Steeg CLA 2011-03-12 21:36:35 EST
There are no non-eclipse.org dependencies anymore for the import functionality.

See DotImportSuite for related tests and setup at http://wiki.eclipse.org/Zest