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 - Scanner* files are regenerated even they need not be
Summary: Scanner* files are regenerated even they need not be
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-12 09:30 UTC by Jaroslav Tulach
Modified: 2003-05-19 17:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.