| Summary: | [Eclipse]Deployment web project got compile error on dojox.gfx.resources.svg2gfx.xsl | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Xin Wu <cdlwuxin> | ||||
| Component: | EDT | Assignee: | Huang Ji Yong <hjiyong> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P1 | CC: | broy2, cdlwuxin, hjiyong, jinfahua, opepermans, smythew, svihovec | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Xin Wu
More detailed error information: Description Resource Path Location Type Xpath is invalid svg2gfx.xsl /TestRUITarget/WebContent/dojox/gfx/resources line 731 XSL Problem An Eclipse bug is opened for this: bug 328051. Eric or Jimmy, Could you please change the subject of this defect - add [Eclipse] to the headline. Also, set target milestone to Future. Thank you! *** Bug 363096 has been marked as a duplicate of this bug. *** I really think we need to consider doing something about this for 0.7. It does not give a good/warm feeling seeing a big red X on your project after deploying. This is an error every developer using Dojo (which will be almost everyone) will see on deployment and will want to go investigate. I understand this is an Eclipse/Dojo issue, but I think we should do something about it, even if that means not shipping these files (which I don't think we use anyway) or excluding them during deployment (yes, this sounds like hack). I am setting the target milestone to 0.7 Final so it can be considered. Created attachment 207262 [details]
View the developer sees after deploying a RUI project
According to the defect mentioned in comment 2, the Eclipse recommendation is that these errors get converted to warnings by changing the validation properties on the project. When deploying to a web project, maybe we can change the validation properties to mark these errors as a warning. From comment 7 in the Eclipse defect, "The work around is to lower the severity of the XPath errors in the XSL preference pages, you can do this on a per project basis." If we are not using these files we can investigate removing them from our local Dojo runtime project, but I wonder if the issue would move to another file? Brian - the errors look contained to 1 file. As I stated before, I think we need to do *something* to avoid errors from showing on a simple project (even Hello World) after running the deployment operation. This will not give new users a very positive first impression of deployment. *** Bug 364392 has been marked as a duplicate of this bug. *** I confirmed with Chris Mitchell (IBM Dojo committer) that this is a utility file, and not used or required at runtime. Its purpose is to convert existing SVG graphic files into Dojo's GFX serialization format. I recommend we not deploy this file to avoid the compile error all together. Note: I consider this solution temporary, in that we need to get a lot smarter about which Dojo files we deploy. Currently we are deploying everything. This slows the deployment process and publishing to a server. I have opened a bug to investigate this - Bug 364415 - Investigate being smarter about what Dojo files need to get deployed Ji Yong, please remove this file from our local Dojo project so that it is no longer deployed. Delete dojox.gfx.resources.svg2gfx.xsl from cvs Verified in build 20111122 |