Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/185.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Deployment 使用预加载程序独立部署JavaFX_Deployment_Javafx 2_Javafx - Fatal编程技术网

Deployment 使用预加载程序独立部署JavaFX

Deployment 使用预加载程序独立部署JavaFX,deployment,javafx-2,javafx,Deployment,Javafx 2,Javafx,我创建了一个JavaFX应用程序,其中包括用于数据库的derby.jar和用于生成报告的Jasper Reports,这意味着我还包括了生成报告所需的35+jar文件,并且我还使用了一个预加载程序类来设置加载过程的动画。我决定使用定制的部署ant任务来生成安装程序。下面是部署ant任务 <target name="-post-jfx-deploy"> <fx:deploy width="${javafx.run.width}" height="${javafx.

我创建了一个JavaFX应用程序,其中包括用于数据库的derby.jar和用于生成报告的Jasper Reports,这意味着我还包括了生成报告所需的35+jar文件,并且我还使用了一个预加载程序类来设置加载过程的动画。我决定使用定制的部署ant任务来生成安装程序。下面是部署ant任务

<target name="-post-jfx-deploy">
        <fx:deploy width="${javafx.run.width}" height="${javafx.run.height}"
                    nativeBundles="image"
                    outdir="${basedir}/${dist.dir}" 
                    outfile="${application.title}">
            <fx:application name="${application.title}" 
                            mainClass="${javafx.main.class}"
                            preloaderClass="transconnect.system.preloader.Splash"
                            version="1.1"/>
            <fx:resources>
                <fx:fileset dir="${basedir}/${dist.dir}" includes="*.jar"/>
                <fx:fileset id="preloader-files"
                            requiredFor="preloader"
                            dir="dist"
                            includes="lib/TransConnect System Preloader.jar"/>
               <fx:fileset dir="dist" includes="lib/*.jar"/>
            </fx:resources>
        <fx:info title="${application.title}"
                vendor="${application.vendor}"
                description="A Car Rental System"/>
        <fx:preferences shortcut="true"
                        menu="true"/>
    </fx:deploy>
</target>

但是每次我运行productjar文件时,我都会得到一个错误,预加载程序类找不到这个错误