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.

Bug 213586

Summary: Add generic parameter passing to <fx:jar> and <fx:deploy> tasks
Product: javafx Reporter: Petr Somol <psomol>
Component: DeploymentAssignee: Roman Svitanic <rsvitanic>
Status: NEW ---    
Severity: normal CC: neigor
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description Petr Somol 2012-06-05 09:08:51 UTC
From Igor's mail 1:

provide a way for user to set some properties that will impact what is set in javascript used to configure deploy/application/etc objects in jfx-impl.xml e.g. something like i an setting

netbeans.jfx.deploy.nativeBundles="all"
netbeans.jfx.jar.verbose="true"

in my build.xml and then jfx-impl.xml will iterate through list of properties with specific prefix (prefix is fixed per task/object) and set them too. This will allow me easily use new attributes added in 2u2 even if NB does not provide new UI for this. 

mail 2:

var jar = project.createTask("fx_jar");
jar.setCustomProperties(....array of properties...);

I (as NB user) am looking for way to set "new" property in the build.xml without editing any files in nbproject.
Above javascript snippet is fine if
   - user never should edit it himself
   - we need somethign like
         setCustomProperties(taskPrefix) where task prefix is "netbeans.jfx.jar" for fx:jar and "netbeans.jfx.deploy" for fx:deploy that will iterate through list of ALL properties, and try to apply those with given prefix to the task