Skip to content

Commit daab90d

Browse files
committed
init jfx project
1 parent 2b33002 commit daab90d

File tree

11 files changed

+5730
-0
lines changed

11 files changed

+5730
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
build
2+
store
3+
dist
4+
nbproject\private
5+
/nbproject/private/

build.xml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<?xml version="1.0" encoding="UTF-8"?><!-- You may freely edit this file. See commented blocks below for --><!-- some examples of how to customize the build. --><!-- (If you delete it and reopen the project it will be recreated.) --><!-- By default, only the Clean and Build commands use this build script. --><project name="pattypan" default="default" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
2+
<description>Builds, tests, and runs the project pattypan.</description>
3+
<import file="nbproject/build-impl.xml"/>
4+
<!--
5+
6+
There exist several targets which are by default empty and which can be
7+
used for execution of your tasks. These targets are usually executed
8+
before and after some main targets. Those of them relevant for JavaFX project are:
9+
10+
-pre-init: called before initialization of project properties
11+
-post-init: called after initialization of project properties
12+
-pre-compile: called before javac compilation
13+
-post-compile: called after javac compilation
14+
-pre-compile-test: called before javac compilation of JUnit tests
15+
-post-compile-test: called after javac compilation of JUnit tests
16+
-pre-jfx-jar: called before FX SDK specific <fx:jar> task
17+
-post-jfx-jar: called after FX SDK specific <fx:jar> task
18+
-pre-jfx-deploy: called before FX SDK specific <fx:deploy> task
19+
-post-jfx-deploy: called after FX SDK specific <fx:deploy> task
20+
-pre-jfx-native: called just after -pre-jfx-deploy if <fx:deploy> runs in native packaging mode
21+
-post-jfx-native: called just after -post-jfx-deploy if <fx:deploy> runs in native packaging mode
22+
-post-clean: called after cleaning build products
23+
24+
(Targets beginning with '-' are not intended to be called on their own.)
25+
26+
Example of inserting a HTML postprocessor after javaFX SDK deployment:
27+
28+
<target name="-post-jfx-deploy">
29+
<basename property="jfx.deployment.base" file="${jfx.deployment.jar}" suffix=".jar"/>
30+
<property name="jfx.deployment.html" location="${jfx.deployment.dir}${file.separator}${jfx.deployment.base}.html"/>
31+
<custompostprocess>
32+
<fileset dir="${jfx.deployment.html}"/>
33+
</custompostprocess>
34+
</target>
35+
36+
Example of calling an Ant task from JavaFX SDK. Note that access to JavaFX SDK Ant tasks must be
37+
initialized; to ensure this is done add the dependence on -check-jfx-sdk-version target:
38+
39+
<target name="-post-jfx-jar" depends="-check-jfx-sdk-version">
40+
<echo message="Calling jar task from JavaFX SDK"/>
41+
<fx:jar ...>
42+
...
43+
</fx:jar>
44+
</target>
45+
46+
For more details about JavaFX SDK Ant tasks go to
47+
http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm
48+
49+
For list of available properties check the files
50+
nbproject/build-impl.xml and nbproject/jfx-impl.xml.
51+
52+
-->
53+
</project>

manifest.mf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Manifest-Version: 1.0
2+
X-COMMENT: Main-Class will be added automatically by build
3+

nbproject/build-impl.xml

Lines changed: 1420 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Do not modify this property in this configuration. It can be re-generated.
2+
$label=Run as WebStart
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Do not modify this property in this configuration. It can be re-generated.
2+
$label=Run in Browser

nbproject/genfiles.properties

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
build.xml.data.CRC32=055efa72
2+
build.xml.script.CRC32=cbce12aa
3+
build.xml.stylesheet.CRC32=[email protected]
4+
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
5+
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6+
nbproject/build-impl.xml.data.CRC32=055efa72
7+
nbproject/build-impl.xml.script.CRC32=6649ca2a
8+
nbproject/build-impl.xml.stylesheet.CRC32=[email protected]

nbproject/jfx-impl.xml

Lines changed: 4008 additions & 0 deletions
Large diffs are not rendered by default.

nbproject/project.properties

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
annotation.processing.enabled=true
2+
annotation.processing.enabled.in.editor=false
3+
annotation.processing.processors.list=
4+
annotation.processing.run.all.processors=true
5+
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
6+
application.homepage=https://github.com/yarl/pattypan
7+
application.title=pattypan
8+
application.vendor=Pawel Marynowski
9+
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs=true
10+
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.indent-shift-width=2
11+
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.spaces-per-tab=2
12+
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.tab-size=8
13+
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width=80
14+
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.text-line-wrap=none
15+
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.usedProfile=project
16+
auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.expand-tabs=true
17+
auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.indent-shift-width=2
18+
auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.spaces-per-tab=2
19+
auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.tab-size=8
20+
auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.text-limit-width=80
21+
auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.text-line-wrap=none
22+
auxiliary.org-netbeans-spi-editor-hints-projects.perProjectHintSettingsFile=nbproject/cfg_hints.xml
23+
build.classes.dir=${build.dir}/classes
24+
build.classes.excludes=**/*.java,**/*.form
25+
# This directory is removed when the project is cleaned:
26+
build.dir=build
27+
build.generated.dir=${build.dir}/generated
28+
build.generated.sources.dir=${build.dir}/generated-sources
29+
# Only compile against the classpath explicitly listed here:
30+
build.sysclasspath=ignore
31+
build.test.classes.dir=${build.dir}/test/classes
32+
build.test.results.dir=${build.dir}/test/results
33+
compile.on.save=true
34+
compile.on.save.unsupported.javafx=true
35+
# Uncomment to specify the preferred debugger connection transport:
36+
#debug.transport=dt_socket
37+
debug.classpath=\
38+
${run.classpath}
39+
debug.test.classpath=\
40+
${run.test.classpath}
41+
# This directory is removed when the project is cleaned:
42+
dist.dir=dist
43+
dist.jar=${dist.dir}/pattypan.jar
44+
dist.javadoc.dir=${dist.dir}/javadoc
45+
endorsed.classpath=
46+
excludes=
47+
includes=**
48+
# Non-JavaFX jar file creation is deactivated in JavaFX 2.0+ projects
49+
jar.archive.disabled=true
50+
jar.compress=false
51+
javac.classpath=\
52+
${javafx.classpath.extension}
53+
# Space-separated list of extra javac options
54+
javac.compilerargs=
55+
javac.deprecation=false
56+
javac.external.vm=false
57+
javac.processorpath=\
58+
${javac.classpath}
59+
javac.source=1.8
60+
javac.target=1.8
61+
javac.test.classpath=\
62+
${javac.classpath}:\
63+
${build.classes.dir}
64+
javac.test.processorpath=\
65+
${javac.test.classpath}
66+
javadoc.additionalparam=
67+
javadoc.author=false
68+
javadoc.encoding=${source.encoding}
69+
javadoc.noindex=false
70+
javadoc.nonavbar=false
71+
javadoc.notree=false
72+
javadoc.private=false
73+
javadoc.splitindex=true
74+
javadoc.use=true
75+
javadoc.version=false
76+
javadoc.windowtitle=
77+
javafx.application.implementation.version=1.0
78+
javafx.binarycss=false
79+
javafx.classpath.extension=\
80+
${java.home}/lib/javaws.jar:\
81+
${java.home}/lib/deploy.jar:\
82+
${java.home}/lib/plugin.jar
83+
javafx.deploy.adddesktopshortcut=false
84+
javafx.deploy.addstartmenushortcut=false
85+
javafx.deploy.allowoffline=true
86+
# If true, application update mode is set to 'background', if false, update mode is set to 'eager'
87+
javafx.deploy.backgroundupdate=false
88+
javafx.deploy.disable.proxy=false
89+
javafx.deploy.embedJNLP=true
90+
javafx.deploy.includeDT=true
91+
javafx.deploy.installpermanently=false
92+
javafx.deploy.permissionselevated=false
93+
# Set true to prevent creation of temporary copy of deployment artifacts before each run (disables concurrent runs)
94+
javafx.disable.concurrent.runs=false
95+
# Set true to enable multiple concurrent runs of the same WebStart or Run-in-Browser project
96+
javafx.enable.concurrent.external.runs=false
97+
# This is a JavaFX project
98+
javafx.enabled=true
99+
javafx.fallback.class=com.javafx.main.NoJavaFXFallback
100+
# Main class for JavaFX
101+
javafx.main.class=pattypan.main
102+
javafx.preloader.class=
103+
# This project does not use Preloader
104+
javafx.preloader.enabled=false
105+
javafx.preloader.jar.filename=
106+
javafx.preloader.jar.path=
107+
javafx.preloader.project.path=
108+
javafx.preloader.type=none
109+
# Set true for GlassFish only. Rebases manifest classpaths of JARs in lib dir. Not usable with signed JARs.
110+
javafx.rebase.libs=false
111+
javafx.run.height=600
112+
javafx.run.width=800
113+
javafx.signing.blob=false
114+
javafx.signing.enabled=false
115+
javafx.signing.type=notsigned
116+
# Pre-JavaFX 2.0 WebStart is deactivated in JavaFX 2.0+ projects
117+
jnlp.enabled=false
118+
# Main class for Java launcher
119+
main.class=com.javafx.main.Main
120+
# For improved security specify narrower Codebase manifest attribute to prevent RIAs from being repurposed
121+
manifest.custom.codebase=*
122+
# Specify Permissions manifest attribute to override default (choices: sandbox, all-permissions)
123+
manifest.custom.permissions=
124+
manifest.file=manifest.mf
125+
meta.inf.dir=${src.dir}/META-INF
126+
mkdist.disabled=false
127+
native.bundling.enabled=false
128+
platform.active=default_platform
129+
project.license=mit
130+
run.classpath=\
131+
${dist.jar}:\
132+
${javac.classpath}:\
133+
${build.classes.dir}
134+
run.test.classpath=\
135+
${javac.test.classpath}:\
136+
${build.test.classes.dir}
137+
source.encoding=UTF-8
138+
src.dir=src
139+
test.src.dir=test

nbproject/project.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://www.netbeans.org/ns/project/1">
3+
<type>org.netbeans.modules.java.j2seproject</type>
4+
<configuration>
5+
<buildExtensions xmlns="http://www.netbeans.org/ns/ant-build-extender/1">
6+
<extension file="jfx-impl.xml" id="jfx3">
7+
<dependency dependsOn="-jfx-copylibs" target="-post-jar"/>
8+
<dependency dependsOn="-rebase-libs" target="-post-jar"/>
9+
<dependency dependsOn="jfx-deployment" target="-post-jar"/>
10+
<dependency dependsOn="jar" target="debug"/>
11+
<dependency dependsOn="jar" target="profile"/>
12+
<dependency dependsOn="jar" target="run"/>
13+
</extension>
14+
</buildExtensions>
15+
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
16+
<name>pattypan</name>
17+
<source-roots>
18+
<root id="src.dir"/>
19+
</source-roots>
20+
<test-roots>
21+
<root id="test.src.dir"/>
22+
</test-roots>
23+
</data>
24+
</configuration>
25+
</project>

0 commit comments

Comments
 (0)