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.
Create an ant task/target that will setup the correct classpath and execute the correct class to generate the language if it is missing. I will attach zipped state of my application where the missing language.xml cause misterous compilation error.
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.