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: | Make it easy to generate XXXLanguage.xml | ||
---|---|---|---|
Product: | editor | Reporter: | Jaroslav Tulach <jtulach> |
Component: | Lexer | Assignee: | issues@editor <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | Unzip, change the path to lexer and type ant to see |
Description
Jaroslav Tulach
2003-01-12 09:23:00 UTC
Created attachment 8539 [details]
Unzip, change the path to lexer and type ant to see
As of the last update the xxxLanguage.xml is no longer mandatory. In the current setup (i.e. with copied build.xml from one of demo example) the compile will also fail but with the following error: compile: [javac] Compiling 1 source file to /tmp/diff/src [javac] /tmp/diff/src/org/netbeans/modules/diff/lexer/DiffLanguage.java:58: cannot resolve symbol [javac] symbol : class DiffLexer [javac] location: class org.netbeans.modules.diff.lexer.DiffLanguage [javac] return new DiffLexer(); [javac] ^ [javac] 1 error I hope that from the usability point of view this should be OK and the developer should understand that she needs to provide a DiffLexer class that will act as a lexer for the given language. Closing the issue please reopen if necessary. |