compiler plugin excludes that don't exclude
Using the current compiler plugin, I've got a case where I specify an exclude, and the -X log does not show a particular file, but javac tries to compile it anyway. Anybody have any ideas? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: compiler plugin excludes that don't exclude
Hi Benson, Javac compiles not only the files you specify, but also any classes that they reference. The only way to keep the dependencies from compiling is to remove them from the directory (and get a compile error) or modify the source code so that they are no longer referenced. On Aug 28, 2012, at 6:23 PM, Benson Margulies wrote: Using the current compiler plugin, I've got a case where I specify an exclude, and the -X log does not show a particular file, but javac tries to compile it anyway. Anybody have any ideas? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: compiler plugin excludes that don't exclude
On Tue, Aug 28, 2012 at 6:48 PM, Russell Gold russell.g...@oracle.com wrote: Hi Benson, Javac compiles not only the files you specify, but also any classes that they reference. The only way to keep the dependencies from compiling is to remove them from the directory (and get a compile error) or modify the source code so that they are no longer referenced. I can't find any evidence in this case of an actual reference. Is there a debug option to javac that would confirm or deny my claim? Thanks, benson On Aug 28, 2012, at 6:23 PM, Benson Margulies wrote: Using the current compiler plugin, I've got a case where I specify an exclude, and the -X log does not show a particular file, but javac tries to compile it anyway. Anybody have any ideas? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org