开发者

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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜