I've set up my paths properly, and it worked perfectly in IntelliJ 11 & Eclipse Juno 4.2. However, I recently upgraded to 12 and it stopped working.
Someone told me that it may be because the files are not being included in the build, and sure enough it wasn't. Only .class files show up. Anybody know how to get IntelliJ to include other files when building?