Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New line delimiter handling in values definition (multiple line separated by backslash char) #2

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
fb68382
updates for latest WW
rrr6399 Jul 22, 2016
06a6668
Create README.md
rrr6399 Jul 22, 2016
e32df6e
update to old version JOGL bundled with WW
rrr6399 Jul 25, 2016
a880661
Merge branch 'master' of https://github.com/rrr6399/WorldWindObj
rrr6399 Jul 25, 2016
6289b0c
tweaked the ability to display at constant size
rrr6399 Jul 26, 2016
8a2a3ee
cleanup
rrr6399 Jul 26, 2016
eb2b179
Added selection cube and highlighting logic
rrr6399 Jul 28, 2016
d7a2ed2
cleanup
rrr6399 Jul 28, 2016
2abab63
Made highlighted bounding box yellow and dashed
rrr6399 Jul 28, 2016
629a2d3
Add support to read models from jar files or the file system
rrr6399 Jul 28, 2016
fe15cc0
deault to f550
rrr6399 Jul 28, 2016
e68bf33
turn off lighting when rendering bounding box for colors to show up c…
rrr6399 Jul 28, 2016
7c29ec5
set min eye distance to 50,0000
rrr6399 Sep 29, 2016
7108ad8
Add draggable interface and ID support
rrr6399 Feb 11, 2017
4c31891
Look at current altitude when updating position during drag operations.
rrr6399 Feb 22, 2017
aa7b2a2
Implemented the new line (\) handling for coordinates when the
sbodmer Apr 20, 2016
790080d
Merge origin/master
sbodmer Dec 25, 2018
2ddda68
Implemented the new line (\) handling for coordinates when the
sbodmer Dec 26, 2018
1bf25d1
Implemented the new line (\) handling for coordinates when the
sbodmer Dec 26, 2018
12a078f
Implemented the new line (\) handling for coordinates when the
sbodmer Dec 26, 2018
88d8afd
Upgrade to jogl 2.4
sbodmer Oct 23, 2019
386a2b2
Upgrade to jogl 2.4
sbodmer Oct 23, 2019
d5ac3d1
Typo
sbodmer Jan 8, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/WorldWindObj/nbproject/private/
/nbproject/private/
/build/
/dist/
/lib/
/resources/
102 changes: 102 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
<?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. -->
<!-- Commands such as Run, Debug, and Test only use this build script if -->
<!-- the Compile on Save feature is turned off for the project. -->
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
<!-- in the project's Project Properties dialog box.-->
<project name="WorldWindObj" default="default" basedir=".">
<description>Builds, tests, and runs the project WorldWindObj.</description>
<import file="nbproject/build-impl.xml"/>
<!--

There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. They are:

-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile: called after javac compilation
-pre-compile-single: called before javac compilation of single file
-post-compile-single: called after javac compilation of single file
-pre-compile-test: called before javac compilation of JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-compile-test-single: called before javac compilation of single JUnit test
-post-compile-test-single: called after javac compilation of single JUunit test
-pre-jar: called before JAR building
-post-jar: called after JAR building
-post-clean: called after cleaning build products

(Targets beginning with '-' are not intended to be called on their own.)

Example of inserting an obfuscator after compilation could look like this:

<target name="-post-compile">
<obfuscate>
<fileset dir="${build.classes.dir}"/>
</obfuscate>
</target>

For list of available properties check the imported
nbproject/build-impl.xml file.


Another way to customize the build is by overriding existing main targets.
The targets of interest are:

-init-macrodef-javac: defines macro for javac compilation
-init-macrodef-junit: defines macro for junit execution
-init-macrodef-debug: defines macro for class debugging
-init-macrodef-java: defines macro for class execution
-do-jar: JAR building
run: execution of project
-javadoc-build: Javadoc generation
test-report: JUnit report generation

An example of overriding the target for project execution could look like this:

<target name="run" depends="WorldWindObj-impl.jar">
<exec dir="bin" executable="launcher.exe">
<arg file="${dist.jar}"/>
</exec>
</target>

Notice that the overridden target depends on the jar target and not only on
the compile target as the regular run target does. Again, for a list of available
properties which you can use, check the target you are overriding in the
nbproject/build-impl.xml file.

-->
<target name="-post-jar" description="Create all jars">
<antcall target="deploy_libs"/>


</target>

<target name="-pre-compile">
<antcall target="update_libs"/>

</target>

<!-- If the TinyRCP project is available use it to get the latest version -->
<target name="update_libs">
<echo message="Update libs from WorldWind project"/>
<copy failonerror="false" todir="lib/worldwind" overwrite="true">
<fileset file="../../Idea/WorldWindJava/build/jar/release/worldwind.jar"/>
<fileset file="../../Idea/WorldWindJava/build/jar/release/worldwindx.jar"/>
<fileset file="../../Idea/WorldWindJava/gdal.jar"/>
<fileset file="../../Idea/WorldWindJava/jogl*.jar"/>
<fileset file="../../Idea/WorldWindJava/gluegen-rt*.jar"/>
</copy>
</target>

<target name="deploy_libs">
<copy todir="../JWorldWindEarth/lib">
<fileset file="dist/WorldWindObj.jar"/>
</copy>
</target>

</project>
Loading