This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 7.1 (Build 201112071828) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.7.0_02 Runtime = Java HotSpot(TM) Client VM 22.0-b10 Following documentation in http://wiki.netbeans.org/AutoUpdateTask I tried to use the task to install some nbms not available in an update center. These nbms are standard plugins and I expected them to appear in an extra folder within the platform (as is it was installed shared) Here's the script: <autoupdate installdir="${nbplatform.active.dir}"> <nbms dir="../netbeans"> <include name="*.nbm"/> </nbms> </autoupdate> And the output: Downloading file:/Z:/NetBeans/Simple%20Marauroa/netbeans/1325884601_com-dreamer-outputhandler.nbm So the file was found but where did it go? Just in case here's the plugin I tried to use: http://plugins.netbeans.org/plugin/39695/?show=true
First of all, you have to <modules> so nothing is selected. When you add that, you will get "Specify todir, not installdir, since com-dreamer-outputhandler.nbm does not define target cluster" which is correct. When you fix that, the NBM is unpacked as expected: <project default="run"> <target name="run"> <taskdef name="autoupdate" classname="org.netbeans.nbbuild.AutoUpdate" classpath="/space/src/nb/main/nbbuild/build/nbantext.jar"/> <mkdir dir="/tmp/install"/> <autoupdate todir="/tmp/install"> <nbms dir="/tmp"> <include name="1325884601_com-dreamer-outputhandler.nbm"/> </nbms> <modules includes=".+"/> </autoupdate> </target> </project>
Thanks a lot. This was due in part to lack of documentation. Added an example based in your answer here: http://wiki.netbeans.org/AutoUpdateTask#Working_Locally