NetBeans Post Build Script

I am using NetBeans 6.8 and I want to run a script to create a SQLite database with a predefined schema after each build. I do not see any parameters in the "Assembly Configuration" section. Is this feature not yet supported?

+5
source share
1 answer

Figured it out. Just edited the build.xml file that is associated with the project. Details on how to do this are self-sufficient.

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

All Articles