开发者

NetBeans Post Build Script

I'm using NetBeans 6.8, and I want to run a script to construct an SQLite database with a predefined schema after each buil开发者_StackOverflow中文版d. I don't see any options under Build Configuration. Is this feature not yet supported?


Figured it out. Just edited the build.xml file that associates itself with the project. Details on how to do it are self-contained.

<target name="-post-compile">   
    <exec dir="." executable="cmd">
          <arg line="/c DatabaseInitializer.bat"/>
    </exec>
</target>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜