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 - Add generic parameter passing to <fx:jar> and <fx:deploy> tasks
Summary: Add generic parameter passing to <fx:jar> and <fx:deploy> tasks
Status: NEW
Alias: None
Product: javafx
Classification: Unclassified
Component: Deployment (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Roman Svitanic
Depends on:
Reported: 2012-06-05 09:08 UTC by Petr Somol
Modified: 2013-09-04 13:45 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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


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