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

Bug 365919

Summary: [Architecture - SVN - Build] Rewrite the Build
Product: [Modeling] Papyrus Reporter: Vincent Lorenzo <vincent.lorenzo>
Component: CoreAssignee: Vincent Lorenzo <vincent.lorenzo>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: cedric.brun, cletavernier, vincent.hemery
Version: 0.9.0   
Target Milestone: M6   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 366699, 366727, 368134, 368149, 368239, 368252, 368274, 368416, 381889    
Bug Blocks: 359057    

Description Vincent Lorenzo CLA 2011-12-07 11:19:50 EST
The build must be rewritten to be consistent with the new layers on the SVN.
Comment 1 Vincent Lorenzo CLA 2011-12-07 11:24:43 EST
In R6372 - Delete all contents in /trunk/features
Comment 2 Vincent Lorenzo CLA 2011-12-09 10:37:20 EST
In R6430 : update the feature build.feature for a first build for M4
Comment 3 Vincent Lorenzo CLA 2011-12-09 11:33:54 EST
In R6432 : revert the project oep.build.feature, in order to have a complete feature for 3.8.
In R6434 : create and commit oep.build.feature.v42 for Juno
Comment 4 Patrick Tessier CLA 2011-12-13 09:44:47 EST
 the plugin org.eclipse.papyrus.readonly has a problem with the dependency org.eclipse.emf.workspace so
org.eclipse.emf.workspace;bundle-version="1.5.1" has been changed to org.eclipse.emf.workspace;bundle-version="1.4.0" because the  Juno has not the last feature about this plugin.
done in the revision 6446
Comment 5 Vincent Lorenzo CLA 2011-12-14 05:26:13 EST
In R6461 : update the features and remove 1 dependency in a plugin 
  we choose to build the Papyrus M4 with the feature oep.build.feature (so we ignore oep.build.feature.v42).
  
  We have bugs with Eclipse 4.2 and difficulties with the new UML version (2.4). So the following plugins won't be in the build for the M4: 
	- activity diagram
	- composite diagram
	- communication diagram
	- sequence diagram
	- internal block diagram
	- some plugin linked with the perspective configuration
	- xtext editors
	- marte.textedit
	- marte.textedit.vsl.ui
	
+ in the plugin oep.infra.gmfdiag.navigation depended on perspectiveconfiguration, so I remove this dependency and I commented the contribution to its extension point in the plugin.xml.
Comment 6 Vincent Lorenzo CLA 2011-12-14 07:52:05 EST
In R6464 : for oep.layout and oep.readonly : comment the plugin.xml -> remove the contribution to org.eclipse.papyrus.editor.perspectiveconfiguration
Comment 7 Vincent Lorenzo CLA 2011-12-14 07:56:08 EST
In R6465 : 
	- in oep.infra.table.common : add a dependency to nattable, because if not we get the following error : 
		Error: file org.eclipse.papyrus.infra.table.common: The project was not built since its build path is incomplete. Cannot find the 			class file for net.sourceforge.nattable.coordinate.PositionCoordinate. Fix the build path then try building this project
		Error: file org.eclipse.papyrus.infra.table.common/src/org/eclipse/papyrus/infra/table/common/internal/PapyrusNatTableWidget.java, line 1: The type net.sourceforge.nattable.coordinate.PositionCoordinate cannot be resolved. It is indirectly referenced from required .class files
		
	- in oep.uml.feature : remove the plugin org.eclipse.payrus.uml.compare and oep.uml.compare.ui
Comment 8 Vincent Lorenzo CLA 2011-12-14 08:48:07 EST
In R6466 : remove oep.uml.properties.tabbedproperties.comment from the build (we get the following error : 
Error: org.eclipse.papyrus.uml.properties.tabbedproperties.comments: The project was not built since its build path is incomplete. Cannot find the class file for org.eclipse.epf.common.IHTMLFormatter. Fix the build path then try building this project

Error: org.eclipse.papyrus.uml.properties.tabbedproperties.comments/src/org/eclipse/papyrus/uml/properties/tabbedproperties/comments/propertysection/CommentRichText.java, line 356: The type org.eclipse.epf.common.IHTMLFormatter cannot be resolved. It is indirectly referenced from required .class files

Error: org.eclipse.papyrus.uml.properties.tabbedproperties.comments: API analysis aborted for 'org.eclipse.papyrus.uml.properties.tabbedproperties.comments' since its build path is incomplete
Comment 9 Vincent Lorenzo CLA 2011-12-14 08:57:46 EST
in r6467 : oep.infra.table.common : add the dependency on org.eclipse.emf.facet.infra.facet.core for the build!
Comment 10 Vincent Lorenzo CLA 2011-12-14 10:01:13 EST
In R6469 and R6470 : create the new feature oep.sdk.feature and adapt the feature oep.build.feature.
Comment 11 Vincent Lorenzo CLA 2011-12-15 03:44:25 EST
from R6470 to R6477 : modification for the build M4, some plugins have been removed from the build :
	- org.eclipse.papyrus.views.documentation* (pb with epf)
	- org.eclipse.papyrus.uml.documentation
Comment 12 Vincent Lorenzo CLA 2011-12-15 04:43:57 EST
In R6479 : update the releng project
Comment 13 Vincent Lorenzo CLA 2011-12-15 04:50:37 EST
In R6480 : remove the old feature in the releng folder on the SVN
In R6481 : remove the feature oep.papyrus.build.feature.v42 which is unused
Comment 14 Vincent Lorenzo CLA 2011-12-19 07:45:26 EST
In R6504 : 
we remove the following nature and the following command in the .project for theses plugins : 
	oep.uml.diagram.menu
	oep.uml.properties.runtime
	oep.uml.properties.tabbedproperties.commends
	oep.uml.properties.view
	oep.views.properties.tabbed.core
	
we remove 
		<buildCommand>
			<name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		
	and
	 
	<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
	
This nature seems not useful in Papyrus and breaks the build.
Comment 15 Cedric Brun CLA 2012-01-30 07:39:30 EST
Hi,

the papyrus/emf-compare integration depends on some of the diagrams which are not built yet for Juno, namely :

communication
composite
sequence

do you have any idea when they will appear in the papyrus update-sites for Juno ?
Comment 16 Vincent Lorenzo CLA 2012-01-30 10:14:29 EST
In R7058 : add the following diagrams to the build : Sequence, Activity, Communication
In R7076 : add the composite diagram to the build
Comment 17 Camille Letavernier CLA 2012-03-19 12:54:57 EDT
r7468, 7469, 7471:

Added the main feature oep.team and the extra feature oep.infra.gmfdiag.css
Comment 18 Camille Letavernier CLA 2012-03-19 13:20:12 EDT
r7473:

Updated the features for M6. All relevant plug-ins are now included in the build (In M5, some of them had been disabled until they were compatible with Eclipse 4.X)
Comment 19 Camille Letavernier CLA 2012-04-11 05:15:46 EDT
The trunk build is fixed ; I close the bug.