Hi Bernard,
If you use output.dir.path=css-output-dir, SmartSprites will assume this path is relative to the current directory and generate the output there. SmartSprites does support absolute paths in output.dir.path, which is the simplest solution to your problem.
I'm not too familiar with NetBeans, but maybe it somehow exposes some properties relating to the project the build file is run in? If so, you could modify build.xml to put that property as a prefix in the outputdir attribute of the smartsprites task.
Thanks,
Staszek
Thanks for the report and detailed reproduction steps, Bernard! Scheduling for 0.2.4 for investigation.