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

Packaging on windows causes exe not to launch

XMLWordPrintable

      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>

        1. WinLauncher.dwi
          1.99 MB
          CelerTechnologies
        2. LogfileSwingInterOp.PML
          2.01 MB
          CelerTechnologies
        3. Logfile.PML
          1.81 MB
          CelerTechnologies
        4. filechecks.txt
          102 kB
          CelerTechnologies
        5. errorlog.txt
          45 kB
          CelerTechnologies
        6. errorlog.txt
          112 kB
          CelerTechnologies
        7. CelerTrader.txt
          135 kB
          CelerTechnologies

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

              Created:
              Updated:
              Resolved:
              Imported: