Summary: | provide a new dtd file template <?xml version="1.0" encoding="UTF-8"?> | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [WebTools] WTP Source Editing | Reporter: | Amy Wu <for.work.things> | ||||||||
Component: | wst.dtd | Assignee: | Amy Wu <for.work.things> | ||||||||
Status: | CLOSED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||||||
Severity: | enhancement | ||||||||||
Priority: | P3 | CC: | d_a_carver | ||||||||
Version: | 1.5 | Keywords: | bugday, contributed, helpwanted | ||||||||
Target Milestone: | 3.0 M4 | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows XP | ||||||||||
Whiteboard: | |||||||||||
Attachments: |
|
Description
Amy Wu
2006-10-25 17:24:15 EDT
This seems like an easy enough fix to put in for 3.0 and due to the change in UI, it needs to be done in a major release like 3.0, not in a service release. Should be able to leverage the existing XML Template for this, and have it also contribute to the DTD template. I'll take a crack at this one. Created attachment 80616 [details]
Patch to add XML Declaration for New DTD file template
This patch will adds a New DTD file template that will create a initial DTD file with the XML declaration specified. This also creates a file for other templates to be added to as well.
Created attachment 80617 [details]
mylyn/context/zip
Comment on attachment 80616 [details]
Patch to add XML Declaration for New DTD file template
corrected patch flag
patch looks good. released for wtp 3.0 m3. thanks, dave! Reopening because i'm not seeing this template in the latest wtp 3.0 m3 build. It looks like the build.properties file needs to be updated to include the newly created "templates" directory which is where the new template definition files are located. Amy, I'll update the patch tomorrow. Created attachment 84178 [details]
Updated Patch for DTD Templates to include build.properties
Updated patch to correctly include the templates directory during the build, so that it is exported to the jar.
Thanks for the updated patch. Released for this week's ibuild. verified using wtp3.0M4 20080103204922 mass change to add 'contributed' keyword based on bugzilla query, please correct if that's not accurate (by marking patches as obsolete and removing the 'contributed' keyword. |