Thursday, February 28, 2013
Build NB Platform App
http://platform.netbeans.org/tutorials/nbm-ant.html
In platform.properties
nbplatform.active=default
nbplatform.active.dir=d:\\EucharistTech\\TestBuild\\DCollabro
harness.dir=${nbplatform.active.dir}/harness
ant clean
ant build
ant run
ant build-zip
Also, to specify jdk, use --jdkhome "C:\Program Files (x86)\Java\jdk1.7.0_15".
Add it to platform.properties in run.args.extra=
Ref:
http://netbeans.dzone.com/netbeans-platform-build-system-1
http://netbeans-org.1045718.n5.nabble.com/How-exactly-does-netbeans-invoke-ant-td3327317.html
http://blogs.kiyut.com/tonny/2008/02/18/netbeans-platform-ant-based-build-system-trick/#.US9GdjDk-So
http://stackoverflow.com/questions/845137/capture-ant-output
http://forums.netbeans.org/ptopic31326.html
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment