Re: tasklist/checkstyle version dep
John Richardson <[email protected]> Tue, 10 Feb 2004 21:48:02 -0500
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 17 Nov 2003 04:46:54 -0500, Jesse Glick wrote: > Tor Norbye wrote: >> Hmm, I wonder if they've fixed the reason why I "abandoned" the >> integration with checkstyle in the first place: I could only find a way >> to run their checkers on Files, not InputStream / Reader / Document / >> something dynamic. For now, the checkstyle integration is pretty >> rough. > > Release notes for 3.2 don't mention anything like that. Did you file an > RFE or patch for them? FWIW, I did some digging and it turns out that some of the checks really do need a java.io.File because they access the file via a RandomAccessFile, etc... I inquired about hacking in InputStreams on the checkstyle developer list. Basically I was throwing out the idea of creating an abstraction over File which would include both File and InputStreams. This didn't go over too well. Is Jesse's suggestion of File.createTempFile() that much of a headache?