Netbeans 6.8 groovy files in src/main/java
Posted
by Jeff Storey
on Stack Overflow
See other posts from Stack Overflow
or by Jeff Storey
Published on 2010-04-23T04:00:10Z
Indexed on
2010/04/23
4:03 UTC
Read the original article
Hit count: 390
I have a new netbeans maven/groovy project, and I actually prefer to mix my java and groovy files in src/main/java and src/test/java (I find it easier to navigate this way and my pom reflects this configuration). However, when I have my project setup this way in Netbeans 6.8, it always shows the generated-sources folder in error. The stubs generated from groovy files in src/test/java can't be opened by netbeans and given an error that they can't be parsed. However, in windows explorer the files are in tact. Netbeans can run the project but it continues to prompt me that some files are in error (even though I know they're not). It's like netbeans isn't refreshing itself. Any thoughts on how to fix this?
thanks, Jeff
© Stack Overflow or respective owner