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.
There is in Netbeans menus no options, at deployment/run project to: -1- retrieve the Client.jar archive -2- retrieve the Client.jar that contains the static RMI stubs. The only "workaround" found was to customize the ant-deploy.xml and change the appropriated target as follow: <target name="-deploy-ant" depends="-parse-sun-web,-add-resources" if="deploy.ant.enabled"> <echo message="Deploying ${deploy.ant.archive}"/> <taskdef name="sun-appserv-deploy" classname="org.apache.tools.ant.taskdefs.optional.sun.appserv.DeployTask" classpath="${sjsas.root}/lib/sun-appserv-ant.jar" /> <sun-appserv-deploy user="${sjsas.username}" passwordfile="${sjsas.password.file}" host="${sjsas.host}" port="${sjsas.port}" file="${deploy.ant.archive}" asinstalldir="${sjsas.root}" retrievestubs="${dist.dir}" generatermistubs="true" /> <delete file="${sjsas.password.file}"/> </target> But it is executed only by calling "ant run" from a shell. The Netbeans item "run project" call the "nbdeploy" target that is very opaque. Add "deploy/retrieve client archive" item in the menu. or add "deployement properties" in the project properties area.
the best workaround would probably be to customize the build.xml file and thus replace the standard deploy target with your own, where you can do whatever you want