Bug 389344

Summary: Resolve Graphiti dependency issues in JPA Diagram Editor related building
Product: [WebTools] WTP Releng Reporter: Neil Hauge <neil.hauge>
Component: relengAssignee: Carl Anderson <ccc>
Status: RESOLVED FIXED QA Contact: Carl Anderson <ccc>
Severity: major    
Priority: P1 CC: cbridgha, kaloyan, petya.sabeva, tranle1
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 387476    

Description Neil Hauge CLA 2012-09-11 17:11:59 EDT
Opening this bug as a result of the discussion on bug 379273.  We need a way to reliably build the JPA Diagram Editor.  This will require a solution to the problem that requires us to create a zip distro for Graphiti.  Carl seemed to think the key to the issue of not being able to use a p2 based build could be in the following text copied from my comment in bug 379273.

"OK...so with a little more research, it appears that the only dependency on EMF Validation is coming from o.e.emf.transaction, which specifically depends on o.e.emf.validation bundle.  There does not appear to be any need for o.e.emf.validation.ui or o.e.emf.validation.ocl in our build.  It would be nice if we could leave out emf.validation.ui and emf.validation.ocl from the build, as these don't appear to be required by anything and at the very least are causing build messages that could be avoided.  So I think the OCL issue is a red herring."

Please see the other bug comments for additional context.
Comment 1 Carl Anderson CLA 2012-09-11 17:20:04 EDT
Some more, pertinent information since then- I added in an Ant Task to wtpbuilder that takes a p2 url and installs it, without downloading a zip first or anything.  This was necessary for EGit and the Git Fetch Factory, which do not have a zip to download.

The Ant target is getAndInstallRepoFromURL , found in scripts/dependency/dependency.xml

My assumption is that if we change the Graphiti dependency to a p2 install using that Ant target, we will be better off.  The trick is how to do that for Graphiti, and only Graphiti (for now).
Comment 2 Carl Anderson CLA 2012-10-10 22:04:47 EDT
I updated the build scripts so that Graphiti now installs from the updateSite repository, as listed in the appropriate dependencies file.

I updated the R3_4_maintenance of juno.dependencies, and the current build uses Graphiti 0.9.1.  I will update the master version of kepler.dependencies, but I won't know if that works until the JPA Diagram Editor feature is added back into the Dali feature in WTP 3.5.0.