When I say 'start photoshop' the console just prints 'hello' + one of the sample names.
You didn't replace the grammar file inside the jar properly. Probably you put the grammar in other location and it was overwritten during build. To replace the grammar you need to:
- Replace the grammar in src folder
- Run ant to rebuild jar
- Run the jar
Alternatively you can specify another grammar location in xml config file with file:
URI to load grammar from a file, not from a resource inside the jar.