coffee-maven-plugin icon indicating copy to clipboard operation
coffee-maven-plugin copied to clipboard

Omitting <coffeeJoinSets> leads to NullPointerException

Open treeno opened this issue 11 years ago • 3 comments

Hi!

Omitting the coffeeJoinSets leads to a NullPointerException. I know this is a usage error, but that should not lead to an hard NullPointer. A human readable error message would be better. I consider this as especially important because this plugin is still new and you won't find much help and documentation on the net.

Greetings treeno

treeno avatar Oct 08 '13 13:10 treeno

I have got the problem, that i dont want to join all coffee files to one javascript file. So it isnt a usage error its a missing important feature

awilhelmer avatar Oct 16 '15 14:10 awilhelmer

What configuration are you actually using? We use:

<configuration>
  <coffeeDir>src/main/coffee</coffeeDir>
  <coffeeOutputDirectory>target/javascript-src</coffeeOutputDirectory>
</configuration>

using 1.4.16 and each .coffee file is compiled fine to individual .js files.....

talios avatar Nov 05 '15 01:11 talios

I can confirm that the above configuration works. Unfortunately, the <coffeeDir> isn't documented anywhere

lprimak avatar Dec 19 '15 12:12 lprimak