mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 12:31:26 +07:00
javafx packaging: deep copy
This commit is contained in:
@@ -35,18 +35,18 @@ public class JavaFxAntTaskTest extends UsefulTestCase{
|
||||
private static final String SIGNED = "signed";
|
||||
|
||||
public void testJarDeployNoInfo() throws Exception {
|
||||
doTest("<fx:fileset id=\"all_but_jarDeployNoInfo\" dir=\"temp\" includes=\"*.jar\">\n" +
|
||||
doTest("<fx:fileset id=\"all_but_jarDeployNoInfo\" dir=\"temp\" includes=\"**/*.jar\">\n" +
|
||||
"<exclude name=\"jarDeployNoInfo.jar\">\n" +
|
||||
"</exclude>\n" +
|
||||
"</fx:fileset>\n" +
|
||||
"<fx:fileset id=\"all_jarDeployNoInfo\" dir=\"temp\" includes=\"*.jar\">\n" +
|
||||
"<fx:fileset id=\"all_jarDeployNoInfo\" dir=\"temp\" includes=\"**/*.jar\">\n" +
|
||||
"</fx:fileset>\n" +
|
||||
"<fx:application id=\"jarDeployNoInfo_id\" name=\"jarDeployNoInfo\" mainClass=\"Main\">\n" +
|
||||
"</fx:application>\n" +
|
||||
"<fx:jar destfile=\"temp/jarDeployNoInfo.jar\">\n" +
|
||||
"<fx:application refid=\"jarDeployNoInfo_id\">\n" +
|
||||
"</fx:application>\n" +
|
||||
"<fileset dir=\"temp\" excludes=\"*.jar\">\n" +
|
||||
"<fileset dir=\"temp\" excludes=\"**/*.jar\">\n" +
|
||||
"</fileset>\n" +
|
||||
"<fx:resources>\n" +
|
||||
"<fx:fileset refid=\"all_but_jarDeployNoInfo\">\n" +
|
||||
@@ -64,18 +64,18 @@ public class JavaFxAntTaskTest extends UsefulTestCase{
|
||||
}
|
||||
|
||||
public void testJarDeployTitle() throws Exception {
|
||||
doTest("<fx:fileset id=\"all_but_jarDeployTitle\" dir=\"temp\" includes=\"*.jar\">\n" +
|
||||
doTest("<fx:fileset id=\"all_but_jarDeployTitle\" dir=\"temp\" includes=\"**/*.jar\">\n" +
|
||||
"<exclude name=\"jarDeployTitle.jar\">\n" +
|
||||
"</exclude>\n" +
|
||||
"</fx:fileset>\n" +
|
||||
"<fx:fileset id=\"all_jarDeployTitle\" dir=\"temp\" includes=\"*.jar\">\n" +
|
||||
"<fx:fileset id=\"all_jarDeployTitle\" dir=\"temp\" includes=\"**/*.jar\">\n" +
|
||||
"</fx:fileset>\n" +
|
||||
"<fx:application id=\"jarDeployTitle_id\" name=\"jarDeployTitle\" mainClass=\"Main\">\n" +
|
||||
"</fx:application>\n" +
|
||||
"<fx:jar destfile=\"temp/jarDeployTitle.jar\">\n" +
|
||||
"<fx:application refid=\"jarDeployTitle_id\">\n" +
|
||||
"</fx:application>\n" +
|
||||
"<fileset dir=\"temp\" excludes=\"*.jar\">\n" +
|
||||
"<fileset dir=\"temp\" excludes=\"**/*.jar\">\n" +
|
||||
"</fileset>\n" +
|
||||
"<fx:resources>\n" +
|
||||
"<fx:fileset refid=\"all_but_jarDeployTitle\">\n" +
|
||||
@@ -95,18 +95,18 @@ public class JavaFxAntTaskTest extends UsefulTestCase{
|
||||
}
|
||||
|
||||
public void testJarDeploySigned() throws Exception {
|
||||
doTest("<fx:fileset id=\"all_but_jarDeploySigned\" dir=\"temp\" includes=\"*.jar\">\n" +
|
||||
doTest("<fx:fileset id=\"all_but_jarDeploySigned\" dir=\"temp\" includes=\"**/*.jar\">\n" +
|
||||
"<exclude name=\"jarDeploySigned.jar\">\n" +
|
||||
"</exclude>\n" +
|
||||
"</fx:fileset>\n" +
|
||||
"<fx:fileset id=\"all_jarDeploySigned\" dir=\"temp\" includes=\"*.jar\">\n" +
|
||||
"<fx:fileset id=\"all_jarDeploySigned\" dir=\"temp\" includes=\"**/*.jar\">\n" +
|
||||
"</fx:fileset>\n" +
|
||||
"<fx:application id=\"jarDeploySigned_id\" name=\"jarDeploySigned\" mainClass=\"Main\">\n" +
|
||||
"</fx:application>\n" +
|
||||
"<fx:jar destfile=\"temp" + File.separator + "jarDeploySigned.jar\">\n" +
|
||||
"<fx:application refid=\"jarDeploySigned_id\">\n" +
|
||||
"</fx:application>\n" +
|
||||
"<fileset dir=\"temp\" excludes=\"*.jar\">\n" +
|
||||
"<fileset dir=\"temp\" excludes=\"**/*.jar\">\n" +
|
||||
"</fileset>\n" +
|
||||
"<fx:resources>\n" +
|
||||
"<fx:fileset refid=\"all_but_jarDeploySigned\">\n" +
|
||||
@@ -131,22 +131,22 @@ public class JavaFxAntTaskTest extends UsefulTestCase{
|
||||
options.put(PRELOADER_JAR, "preloader.jar");
|
||||
doTest("<fx:fileset id=\"jarDeployPreloader_preloader_files\" requiredFor=\"preloader\" dir=\"temp\" includes=\"preloader.jar\">\n" +
|
||||
"</fx:fileset>\n" +
|
||||
"<fx:fileset id=\"all_but_preloader_jarDeployPreloader\" dir=\"temp\" excludes=\"preloader.jar\" includes=\"*.jar\">\n" +
|
||||
"<fx:fileset id=\"all_but_preloader_jarDeployPreloader\" dir=\"temp\" excludes=\"preloader.jar\" includes=\"**/*.jar\">\n" +
|
||||
"</fx:fileset>\n" +
|
||||
"<fx:fileset id=\"all_but_jarDeployPreloader\" dir=\"temp\" includes=\"*.jar\">\n" +
|
||||
"<fx:fileset id=\"all_but_jarDeployPreloader\" dir=\"temp\" includes=\"**/*.jar\">\n" +
|
||||
"<exclude name=\"jarDeployPreloader.jar\">\n" +
|
||||
"</exclude>\n" +
|
||||
"<exclude name=\"preloader.jar\">\n" +
|
||||
"</exclude>\n" +
|
||||
"</fx:fileset>\n" +
|
||||
"<fx:fileset id=\"all_jarDeployPreloader\" dir=\"temp\" includes=\"*.jar\">\n" +
|
||||
"<fx:fileset id=\"all_jarDeployPreloader\" dir=\"temp\" includes=\"**/*.jar\">\n" +
|
||||
"</fx:fileset>\n" +
|
||||
"<fx:application id=\"jarDeployPreloader_id\" name=\"jarDeployPreloader\" mainClass=\"Main\" preloaderClass=\"MyPreloader\">\n" +
|
||||
"</fx:application>\n" +
|
||||
"<fx:jar destfile=\"temp/jarDeployPreloader.jar\">\n" +
|
||||
"<fx:application refid=\"jarDeployPreloader_id\">\n" +
|
||||
"</fx:application>\n" +
|
||||
"<fileset dir=\"temp\" excludes=\"*.jar\">\n" +
|
||||
"<fileset dir=\"temp\" excludes=\"**/*.jar\">\n" +
|
||||
"</fileset>\n" +
|
||||
"<fx:resources>\n" +
|
||||
"<fx:fileset refid=\"jarDeployPreloader_preloader_files\">\n" +
|
||||
|
||||
Reference in New Issue
Block a user