Community
Participate
Working Groups
using wtp 3.0 rc4 1. file -> export -> export catalog 2. enter a new file name with no extension exported catalog file name does not automatically append .xml this means when i go and try to import the exported catalog, it wont be listed in the list of possible catalog files to import
Created attachment 112455 [details] Patch Used the setFileExtension method in org.eclipse.ui.dialogs.WizardNewFileCreationPage to set the extension type to XML. The XML file extension will automatically be appended to the XML catalog file name. In the case where the user specifies a file ending with .xml, the method is intelligent enough to not append the XML extension.
Thanks Steven, the string used to specify the extension should be marked with the //$NON-NLS-1$ comment as we don't want it externalized for translation. Alternatively, perhaps there's already a constant that can be re-used? I have tentatively targetted for 3.0.3 since it's appears to be a simple, safe fix. Keith please commit the fix when ready and the 3.0.3 stream opens.
Created attachment 112463 [details] Refined Patch
Keith please review and commit the fix for 3.1 M3. We may decide to backport later on to 3.0* but only if there's a strong reason.
Comment on attachment 112463 [details] Refined Patch This fix was contributed.
Patch looks good. I've committed the patch to HEAD.
verified with wtp 3.1 M3 20081107075001 sdk
Closing.