The 2.2 deployment guide's Ant task reference lists a 'name' attribute under <fx:deploy>.
http://docs.oracle.com/javafx/2/deployment/javafx_ant_task_reference001.htm#JFXDP179
In fact, this attribute belongs to <fx:application>.
http://docs.oracle.com/javafx/2/deployment/javafx_ant_task_reference002.htm#JFXDP216
http://docs.oracle.com/javafx/2/deployment/javafx_ant_task_reference001.htm#JFXDP179
In fact, this attribute belongs to <fx:application>.
http://docs.oracle.com/javafx/2/deployment/javafx_ant_task_reference002.htm#JFXDP216