GUIDemo-master/build.xml
Builds, tests, and runs the project GUIDemo.
GUIDemo-master/manifest.mf
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build
GUIDemo-master/nbproject/build-impl.xml
Must set src.dir
Must set test.src.dir
Must set build.dir
Must set dist.dir
Must set build.classes.dir
Must set dist.javadoc.dir
Must set build.test.classes.dir
Must set build.test.results.dir
Must set build.classes.excludes
Must set dist.jar
Must set javac.includes
No tests executed.
Must set JVM to use for profiling in profiler.info.jvm
Must set profiler agent JVM arguments in profiler.info.jvmargs.agent
Must select some files in the IDE or set javac.includes
To run this application from the command line without Ant, try:
java -jar "${dist.jar.resolved}"
Must select one file in the IDE or set run.class
Must select one file in the IDE or set run.class
Must select one file in the IDE or set debug.class
Must select one file in the IDE or set debug.class
Must set fix.includes
This target only works when run from inside the NetBeans IDE.
Must select one file in the IDE or set profile.class
This target only works when run from inside the NetBeans IDE.
This target only works when run from inside the NetBeans IDE.
This target only works when run from inside the NetBeans IDE.
Must select one file in the IDE or set run.class
Must select some files in the IDE or set test.includes
Must select one file in the IDE or set run.class
Must select one file in the IDE or set applet.url
Must select some files in the IDE or set javac.includes
Some tests failed; see details above.
Must select some files in the IDE or set test.includes
Some tests failed; see details above.
Must select some files in the IDE or set test.class
Must select some method in the IDE or set test.method
Some tests failed; see details above.
Must select one file in the IDE or set test.class
Must select one file in the IDE or set test.class
Must select some method in the IDE or set test.method
Must select one file in the IDE or set applet.url
Must select one file in the IDE or set applet.url
GUIDemo-master/nbproject/configs/Run_as_WebStart.properties
# Do not modify this property in this configuration. It can be re-generated.
$label=Run as WebStart
GUIDemo-master/nbproject/configs/Run_in_Browser.properties
# Do not modify this property in this configuration. It can be re-generated.
$label=Run in Browser
GUIDemo-master/nbproject/genfiles.properties
build.xml.data.CRC32=9a44ee6a
build.xml.script.CRC32=1d878715
[email protected]# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=9a44ee6a
nbproject/build-impl.xml.script.CRC32=88e0ad64
nbproject/
[email protected]GUIDemo-master/nbproject/jfx-impl.xml
JavaFX-specific Ant calls
${cssfileslist}
self.addMappedName(
(source.indexOf("jfxrt.jar") >= 0) ||
(source.indexOf("deploy.jar") >= 0) ||
(source.indexOf("javaws.jar") >= 0) ||
(source.indexOf("plugin.jar") >= 0)
? "" : source
);
function prefix(s, len) {
if(s == null || len <= 0 || s.length == 0) {
return new String("");
}
return new String(s.substr(0, len));
}
function defined(s) {
return (s != null) && (s != "null") && (s.length > 0);
}
var pathConvert = project.createTask("pathconvert");
pathConvert.setProperty("run.and.lib.classpath");
var classPath = new String(project.getProperty("run.classpath.without.build.classes.and.dist.dir"));
var fileSeparator = new String(project.getProperty("file.separator"));
if(defined(classPath)) {
var classPathCopy = pathConvert.createPath();
classPathCopy.setPath(classPath);
var pathArray;
if(classPath.indexOf(";") != -1) {
pathArray = classPath.split(";");
} else {
pathArray = classPath.split(":");
}
var added = new java.lang.StringBuilder();
for (var i = 0; i < pathArray.length; i++) {
var index = pathArray[i].lastIndexOf(fileSeparator);
if (index >= 0) {
var onePath = prefix(pathArray[i], index+1).concat("lib");
var oneDir = new java.io.File(onePath);
if(oneDir.exists()) {
var fs = project.createDataType( "fileset" );
fs.setDir( oneDir );
fs.setIncludes("*.jar");
var ds = fs.getDirectoryScanner(project);
var srcFiles = ds.getIncludedFiles();
for (var j = 0; j < srcFiles.length; j++) {
if(classPath.indexOf( srcFiles[j] ) == -1 && added.indexOf( srcFiles[j] ) == -1) {
var path = pathConvert.createPath();
path.setPath( onePath.concat(fileSeparator).concat(srcFiles[j]) );
added.append( srcFiles[j] );
}
}
}
}
}
}
pathConvert.perform();
var dir = new String(project.getProperty("pp_rebase_dir"));
var fDir = new java.io.File(dir);
if( fDir.exists() ) {
var callTask = project.createTask("antcall");
callTask.setTarget("-rebase-libs-macro-call");
var param = callTask.createParam();
param.setName("jar.file.to.rebase");
var includes = new String(project.getProperty("pp_rebase_fs"));
var fs = project.createDataType("fileset");
fs.setDir( fDir );
fs.setIncludes(includes);
var ds = fs.getDirectoryScanner(project);
var srcFiles = ds.getIncludedFiles();
for (var i = 0; i < srcFiles.length; i++) {
param.setValue(dir.concat("${file.separator}").concat(srcFiles[i]));
callTask.perform();
}
}
var UTF_8 = "UTF-8";
var ATTR_CLASS_PATH = "Class-Path";
var ATTR_CLASS_PATH_FX = "JavaFX-Class-Path";
function endsWith(s, suffix) {
var i = s.lastIndexOf(suffix);
return (i != -1) && (i == (s.length - suffix.length));
}
function isSigned(manifest) {
var sections = manifest.getSectionNames();
while(sections.hasMoreElements()) {
var sectionname = new String(sections.nextElement());
var section = manifest.getSection(sectionname);
if(section != null) {
var sectionKeys = section.getAttributeKeys();
while (sectionKeys.hasMoreElements()) {
var element = new String(sectionKeys.nextElement());
if (endsWith(element, "-Digest") || endsWith(element, "-digest")) {
return true;
}
}
}
}
return false;
}
var src = new String(project.getProperty("manifest.file.temp"));
var srf = new java.io.File(src);
var manifest;
try {
var fis = new java.io.FileInputStream(srf);
try {
var isr = new java.io.InputStreamReader(fis, UTF_8);
try {
manifest = new org.apache.tools.ant.taskdefs.Manifest(isr);
} finally {
isr.close();
}
} finally {
fis.close();
}
} catch(e) {
manifest = null;
}
if(manifest != null) {
if(isSigned(manifest))...