Skip to content

Commit

Permalink
ajustes e instalador
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbuzatto committed Jan 16, 2023
1 parent afc1d94 commit 8480495
Show file tree
Hide file tree
Showing 13 changed files with 82 additions and 7 deletions.
1 change: 1 addition & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
-->

<target name="-post-jar">
<copy file="LICENSE.MD" todir="${dist.dir}"/>
<move file="${dist.dir}/ComputerSupportedClassHelper.jar" tofile="${dist.dir}/CSCH.jar"/>
<delete file="${dist.dir}/README.TXT"/>
</target>
Expand Down
12 changes: 12 additions & 0 deletions instalador/build-jpackage-options.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--input ../dist/
--name CSCH
--main-jar CSCH.jar
--app-version 1.5.1
--vendor 'Prof. Dr. David Buzatto'
--description 'Computer Supported Class Helper'
--icon pallete.ico
--license-file ../dist/LICENSE.MD
--win-dir-chooser
--win-menu-group 'CSCH'
--win-per-user-install
--win-shortcut
1 change: 1 addition & 0 deletions instalador/build-jpackage.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jpackage @build-jpackage-options.txt
Binary file added instalador/pallete.ico
Binary file not shown.
Binary file added instalador/pallete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions nbproject/build-impl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ is divided into following sections:
<property file="${user.properties.file}"/>
<!-- The two properties below are usually overridden -->
<!-- by the active platform. Just a fallback. -->
<property name="default.javac.source" value="1.6"/>
<property name="default.javac.target" value="1.6"/>
<property name="default.javac.source" value="1.8"/>
<property name="default.javac.target" value="1.8"/>
</target>
<target depends="-pre-init,-init-private,-init-libraries,-init-user" name="-init-project">
<property file="nbproject/configs/${config}.properties"/>
Expand Down
4 changes: 2 additions & 2 deletions nbproject/genfiles.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ [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=1f5068e9
nbproject/build-impl.xml.script.CRC32=429ea46e
nbproject/build-impl.xml.stylesheet.CRC32=d549e5cc@1.97.0.48
nbproject/build-impl.xml.script.CRC32=d886c45b
nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.102.0.48
Empty file.
8 changes: 8 additions & 0 deletions nbproject/private/private.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
compile.on.save=true
do.depend=false
do.jar=true
do.jlink=false
javac.debug=true
javadoc.preview=true
jlink.strip=false
user.properties.file=C:\\Users\\David\\AppData\\Roaming\\NetBeans\\16\\build.properties
36 changes: 36 additions & 0 deletions nbproject/private/private.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="17">
<file>
<url>src/br/com/davidbuzatto/computersupportedclasshelper/gui/MainWindow.java</url>
<bookmark id="13">
<name/>
<line>1853</line>
<key/>
</bookmark>
<bookmark id="16">
<name/>
<line>2877</line>
<key/>
</bookmark>
<bookmark id="17">
<name/>
<line>3233</line>
<key/>
</bookmark>
<bookmark id="14">
<name/>
<line>3290</line>
<key/>
</bookmark>
<bookmark id="15">
<name/>
<line>3291</line>
<key/>
</bookmark>
</file>
</editor-bookmarks>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group/>
</open-files>
</project-private>
16 changes: 16 additions & 0 deletions nbproject/private/private[Conflito].xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="12">
<file>
<url>src/br/com/davidbuzatto/computersupportedclasshelper/gui/MainWindow.java</url>
<bookmark id="11">
<name/>
<line>2717</line>
<key/>
</bookmark>
</file>
</editor-bookmarks>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group/>
</open-files>
</project-private>
6 changes: 3 additions & 3 deletions nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ javac.classpath=\
${libs.FlatLaf-1.0.classpath}:\
${libs.JTS_1.18.1.classpath}
# Space-separated list of extra javac options
javac.compilerargs=
javac.compilerargs=-Xlint:unchecked
javac.deprecation=false
javac.external.vm=true
javac.modulepath=
javac.processormodulepath=
javac.processorpath=\
${javac.classpath}
javac.source=1.8
javac.target=1.8
javac.source=17
javac.target=17
javac.test.classpath=\
${javac.classpath}:\
${build.classes.dir}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public ShapeChangeAction( Shape shape ) {
afterChange = new HashMap<>();
}

@SuppressWarnings( "unchecked" )
private void inspect( Shape origin, Map<String, Object> saveTo ) {

try {
Expand Down

0 comments on commit 8480495

Please sign in to comment.