To have a the file ignored in subdirectories use the global ignores option.
svn propset svn:global-ignores 'nbactions.xml' target/dir/
To ignore only in the specified directory use:
svn propset svn:ignore '.directory' target/dir/