자바 FX 프로젝트 개발자가 JNLP의 Webstart를, 지긋 지긋이 에 브라우저에서 자바 FX와 HTML, 지긋 지긋 자바 FX jar 파일 , 지긋 지긋 다음 을 수행 할 수있는 일반 넷빈즈와사용자 정의 개미 빌드 및 자바 FX
개미 (netbeans IDE에서)와 같은 출력을 달성하고 싶지만, 지금까지 나의 성공은 javaFX jar 파일에만 국한되었으며, HTML 파일과 jnlp를 개미로 만들고 싶습니다.
netbeans 8.0.2를 사용하고 있는데, 표준 자바 라이브러리 (non-javaFX) 프로젝트를 가지고 있는데,이 프로젝트는 하나의 백엔드와 두 개의 프론트 엔드 SWING과 javaFX를 포함하고 있습니다. dssSWING.jar 및 dssJavaFX.jar 인 각각 별도의 자 급식 jar 파일을 생성하는데 성공했습니다. 각각의 파일은 자체 내부에서 데이터베이스를 추출 할 수 있으며 각 파일에 제 3 자 종속성이 포함되어 있습니다. 여기에 개미 코드 i가 있습니다. 모두
<!--this build target is meant for building the AJAX SWING (web version) and the Desktop version-->
<target name="_desktop_SWING_RedistributableSingleJarFile">
<jar destfile="${basedir}/dss.jar">
<zipgroupfileset dir="protected/lib" includes="h2-1.4.182.jar"/>
<zipgroupfileset dir="protected/lib" includes="commons-csv-1.0.jar"/>
<fileset dir="${basedir}/build/classes">
<exclude name=".netbeans_automatic_build"/>
<exclude name=".netbeans_update_resources"/>
<exclude name="mobileView/**"/>
</fileset>
<fileset dir="protected/data" includes="dss.mv.db" />
<fileset dir="img" >
<exclude name="Thumbs.db"/>
</fileset>
<manifest>
<attribute name="Main-Class" value="desktopView.WelcomePage"/>
</manifest>
</jar>
</target>
<!--this build target is meant for building the JavaFX version-->
<target name="_desktop_javaFX_RedistributableSingleJarFile">
<jar destfile="${basedir}/dss_javaFX.jar">
<zipgroupfileset dir="protected/lib" includes="h2-1.4.182.jar"/>
<zipgroupfileset dir="protected/lib" includes="commons-csv-1.0.jar"/>
<zipgroupfileset dir="protected/lib" includes="jfxtras-labs-8.0-r4-20141129.090224-39.jar"/>
<fileset dir="${basedir}/build/classes">
<exclude name=".netbeans_automatic_build"/>
<exclude name=".netbeans_update_resources"/>
<exclude name="desktopView/**"/>
</fileset>
<fileset dir="protected/data" includes="dss.mv.db" />
<fileset dir="img" >
<exclude name="Thumbs.db"/>
</fileset>
<manifest>
<attribute name="Main-Class" value="mobileView.Main"/>
</manifest>
</jar>
</target>
이 (쉬운 방법 아웃) 대신 자바 FX 프로젝트에 그것을 만들 말하지 마십시오 생산하는 데 사용하는, 내가 내장 HTML 파일을 생성하기 위해 정확한 개미 스크립트를 배우고 싶습니다 javaFX jar 파일 및 jnlp 파일