This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Project Template wizard - should subst newlines | ||
---|---|---|---|
Product: | apisupport | Reporter: | Jesse Glick <jglick> |
Component: | Templates | Assignee: | Martin Kozeny <mkozeny> |
Status: | NEW --- | ||
Severity: | blocker | CC: | tboudreau |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 97327 | ||
Bug Blocks: |
Description
Jesse Glick
2005-12-19 23:23:41 UTC
Radek do you want to try this one? I'm not exactly sure how it should figure out which ZipEntry's are textual. The best I can think of is to extract the entry *first*, then check fo.getMIMEType().startsWith("text/") and if true, do it over w/ NL substs - which is kind of ugly. May be better to defer this and write an API for a future platform release that would make unzipping project templates easier in general, so generated code can be simplified. simple.project.templates is the most likely candidate for fixing this properly. Would also simplify fixes such as for bug #65595. The API module would need to be stabilized, moved to ide cluster, and made public before apisupport could rely on it. |