From command line,
to make the jar file
To add the proper syntax highlighting things, you have to add it to the netbeans classpath file, as you have done.
To deploy the library jar with the rest of the code, run
Code:
ant deploy -Dutility.jars=myLibrary.jar