Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353761 - [Property View - Customization] Generated XWT files are not formatted
Summary: [Property View - Customization] Generated XWT files are not formatted
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Camille Letavernier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 09:17 EDT by Camille Letavernier CLA
Modified: 2013-02-28 13:49 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Camille Letavernier CLA 2011-08-03 09:17:54 EDT
Plug-in : org.eclipse.papyrus.properties.model.xwt

When using the EMF to XWT transformation to generate XWT Files, the files are generated on a single line. The main problem is that these generated files cannot be handled correctly by SVN, preventing the file merges.

Moreover, the order of the XML attributes may change from a generation to another.

- The XWT files are not formatted
- The order of the XML attributes is not deterministic
Comment 1 Camille Letavernier CLA 2011-09-08 08:57:53 EDT
Fixed in r5403 (Branch 0.8.X)
Merged to the trunk in r5404
Comment 2 Camille Letavernier CLA 2011-09-08 10:51:28 EDT
All XWT files have been formatted

Done in r5409 (Branch 0.8.X)
Merged to the trunk in r5410
Comment 3 Camille Letavernier CLA 2011-09-19 07:49:05 EDT
- Some properties (Especially namespaces) are formatted in a random order, resulting in non-pertinent changes on the files
- A NPE occurs when saving files from the Customization editor
Comment 4 Camille Letavernier CLA 2011-09-19 08:40:46 EDT
> - A NPE occurs when saving files from the Customization editor

Fixed in r5505 (Branch 0.8.X)
Merged to the trunk in r5507
Comment 5 Camille Letavernier CLA 2013-02-28 13:49:23 EST
The bug is fixed, although the following issue still exists:

> - Some properties (Especially namespaces) are formatted in a random order, resulting in non-pertinent changes on the files

I will reopen a more specific task for it.