Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8117187

Packaging on windows causes exe not to launch

    Details

      Description

      When building JFX on windows with the following ant task I am seeing an error. I am able to launch the application via script but not via exe.



      <fx:application id="celerDeployApp"
      name="${application.title}"
      mainClass="${main.class.name}"/>

      <!--<fx:info id="inforef" title="${application.title}" vendor="${application.vendor}" >
      <fx:icon href="${src.dir}/main/resources/icon_files/application.icns" kind="shortcut"
      width="32" height="32" depth="8"/>
      </fx:info>-->

      <fx:platform id="platforminfo" javafx="2.2">
      <fx:jvmarg value="${jvm.package.args}"/>
      </fx:platform>

      <fx:resources id="deployRes">
      <fx:fileset dir="${dist.dir}" includes="**/*.jar" />
      <fx:fileset dir="${lib.dir}/jar" includes="**/*.jar" excludes="**-sources*" />
      </fx:resources>


      <fx:deploy nativeBundles="all" verbose="true" outdir="${dist.dir}/bundles" embedJNLP="true" outfile="${application.title}">

      <fx:application refId="celerDeployApp"/>

      <fx:resources refid="deployRes"/>

      <fx:platform refid="platforminfo"/>

      <!--<fx:info refid="inforef" />-->

      </fx:deploy>

        Attachments

        1. ant-javafx.jar
          419 kB
        2. CelerTrader.dwi.zip
          645 kB
        3. CelerTrader.txt
          135 kB
        4. errorlog.txt
          112 kB
        5. errorlog.txt
          45 kB
        6. filechecks.txt
          102 kB
        7. Logfile.PML
          1.81 MB
        8. LogfileSwingInterOp.PML
          2.01 MB
        9. WinLauncher.dwi
          1.99 MB

          Activity

            People

            • Assignee:
              igor Igor Nekrestyanov (Inactive)
              Reporter:
              celertechjfx CelerTechnologies (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: