build java project with two scripts
I wrote two script开发者_StackOverflow社区s in ruby. I use netbeans, and I would like to automatically run this scripts whenever I build a Java project in Netbeans. How can I do this?
I suggest you look at the documentation here - http://netbeans.org/kb/docs/java/project-setup.html
The Customizing the Build Script Section would be where you would have your Ruby scripts executed from.
For example to run a ruby script after compilation
<target name="-post-compile">
<exec executable="/path/to/ruby">
<arg value="/path/to/ruby/script"/>
</exec>
</target>
精彩评论