Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 213586 - Add generic parameter passing to <fx:jar> and <fx:deploy> tasks
Add generic parameter passing to <fx:jar> and <fx:deploy> tasks
Status: NEW
Product: javafx
Classification: Unclassified
Component: Deployment
PC Windows 7
: P3 (vote)
: 7.3
Assigned To: Roman Svitanic
Depends on:
  Show dependency treegraph
Reported: 2012-06-05 09:08 UTC by Petr Somol
Modified: 2013-09-04 13:45 UTC (History)
1 user (show)

See Also:


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

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo