开发者

NetBeans Post Build Script

开发者 https://www.devze.com 2023-01-09 07:07 出处:网络
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 Configurat

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

精彩评论

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

关注公众号