Apache Ant Command for NetBeans Project


to clean and rebuild, try command bellow :
ant -f java.store.lib -Dnb.internal.action.name=rebuild clean jar

to run project, try command bellow :
ant -f java.store.run -Dnb.internal.action.name=run run

to clean, rebuild and run with multiple project, try command bellow :
ant -f java.store.lib -Dnb.internal.action.name=rebuild clean jar && ant -f java.store.master -Dnb.internal.action.name=rebuild clean jar && ant -f java.store.bot -Dnb.internal.action.name=rebuild clean jar && ant -f java.store.run -Dnb.internal.action.name=rebuild clean jar && ant -f java.store.run -Dnb.internal.action.name=run run

Comments