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.

Bug 29969

Summary: Scanner* files are regenerated even they need not be
Product: editor Reporter: Jaroslav Tulach <jtulach>
Component: LexerAssignee: issues@editor <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jaroslav Tulach 2003-01-12 09:30:39 UTC
Download and unzip:

http://openide.netbeans.org/issues/showattachment.cgi?attach_id=8539

change the path to lexer module and type

ant
ant

the DiffScanner*java files are generated again
even there is no change in the input files. This
confuses the rest of the ant script (compilation
runs again) and should be fixed.


Btw. why you do not write your own ant task
instead of invoking main methods in your module jar?
Comment 1 Miloslav Metelka 2003-05-19 17:45:05 UTC
I've added timestamp checking into the build script so now both Antlr
and JavaCC should only be invoked if grammar file changes.