fx:resources block in fx:deploy ant task doesn't complain if resource isn't found

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: fx2.0
    • Component/s: deploy

      If the resource target isn't found then an incomplete jnlp file is generated without any warning to the user. Ideally this would at a minimum print a warning and perhaps fail the build.

      <fx:deploy width="1020" height="700"
                        outdir="${basedir}/${dist.dir}" embedJNLP="true"
                        outfile="${application.title}">
                  <fx:application refId="sampleApp"/>
                  <fx:resources>
                      <fx:fileset dir="${basedir}/${dist.dir}"
                                  includes="SOME_FILE_THAT_DOESN"T_EXIST.jar"/>
                  </fx:resources>
                  <info title="Sample app: ${application.title}"
                        vendor="${application.vendor}"/>
              </fx:deploy>

            Assignee:
            Unassigned
            Reporter:
            Joe Mcglynn (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: