From 729629658141f8b1b142fc068d255f1addf21b71 Mon Sep 17 00:00:00 2001 From: Mark Slee Date: Wed, 15 Aug 2018 13:43:00 -0700 Subject: [PATCH] Add VERSION file, update build scripts and P3LX.VERSION --- README.md | 14 ++--------- VERSION | 7 ++++++ build/build.properties | 13 ---------- build/build.xml | 47 ++++++++++++++++-------------------- src/heronarts/p3lx/P3LX.java | 4 +-- 5 files changed, 31 insertions(+), 54 deletions(-) create mode 100644 VERSION diff --git a/README.md b/README.md index 2a4d878..85aa098 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,10 @@ -P3LX -==== - **BY DOWNLOADING OR USING THE LX SOFTWARE OR ANY PART THEREOF, YOU AGREE TO THE TERMS AND CONDITIONS OF THE [LX STUDIO SOFTWARE LICENSE AND DISTRIBUTION AGREEMENT](http://lx.studio/license).** Please note that LX is not open-source software. The license grants permission to use this software freely in non-commercial applications. Commercial use is subject to a total annual revenue limit of $25K on any and all projects associated with the software. If this licensing is obstructive to your needs or you are unclear as to whether your desired use case is compliant, contact me to discuss proprietary licensing: mark@heronarts.com --- -### Overview ### +### P3LX Overview ### P3LX is a Processing 3 wrapper library for the [LX](https://github.com/heronarts/LX) lighting engine and the basis of the [LX Studio](http://lx.studio/) application. It allows you to simply embed LX inside a Processing sketch with a rich UI library that makes it easy and painless to render 3D simulations alongside versatile 2D controls. @@ -23,17 +20,10 @@ $ git clone https://github.com/heronarts/LX.git $ git clone https://github.com/heronarts/P3LX.git ``` -To build the full project: +To build the project: ``` $ cd P3LX/build $ ant -``` - -For quicker build during iterative development, there is a lightweight build task included which does no preprocessing, documentation generation, etc. Note that this task also does no cleanup. If you've removed or renamed files, you'll want to manually nuke the `bin` folder to avoid issues. - -``` -$ cd P3LX/build -$ ant lightning $ cp ../bin/P3LX.jar ``` diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..49a392d --- /dev/null +++ b/VERSION @@ -0,0 +1,7 @@ +0.1.1 +August 15, 2018 +Dropping alpha tag, updating release packaging with VERSION and LICENSE files. + +0.1.0-alpha +August 13, 2018 +Initial release cut for tracking versioned changes across the LX repositories. diff --git a/build/build.properties b/build/build.properties index 0c6c9ac..2c0fa06 100644 --- a/build/build.properties +++ b/build/build.properties @@ -66,19 +66,6 @@ java.target.version=1.8 project.name=P3LX - -# Use 'normal' or 'fast' as value for project.compile. -# 'fast' will only compile the project into your sketchbook. -# 'normal' will compile the distribution including the javadoc-reference and all -# web-files (the compile process here takes longer). - -project.compile=fast - -# All files compiled with project.compile=normal are stored -# in the distribution folder. - - - # (5) # The following items are properties that will be used to make changes to the # web document templates. Values of properties will be inserted into the diff --git a/build/build.xml b/build/build.xml index aa501c2..9ff5c10 100644 --- a/build/build.xml +++ b/build/build.xml @@ -1,4 +1,4 @@ - + @@ -8,10 +8,6 @@ - - - - @@ -73,8 +69,8 @@ ${line} + - @@ -88,7 +84,7 @@ ${line} - + @@ -114,15 +110,12 @@ ${line} - + - - - - - + + @@ -141,7 +134,7 @@ ${line} - + @@ -164,7 +157,7 @@ ${line} - + @@ -172,9 +165,9 @@ ${line} - + - + @@ -218,7 +211,7 @@ ${line} - + @@ -229,7 +222,7 @@ ${line} - + @@ -240,30 +233,32 @@ ${line} - - - + - - - + + + ${line} Name ${project.name} Version ${library.prettyVersion} (${library.version}) -Compiled ${project.compile} Sketchbook ${sketchbook.location} ${line} done, finished. ${line} + + + + + diff --git a/src/heronarts/p3lx/P3LX.java b/src/heronarts/p3lx/P3LX.java index be86aef..66df99e 100644 --- a/src/heronarts/p3lx/P3LX.java +++ b/src/heronarts/p3lx/P3LX.java @@ -45,9 +45,7 @@ */ public class P3LX extends LX { - public final static String VERSION = "##library.prettyVersion##"; - - public static boolean isProcessing2X = false; + public final static String VERSION = LX.VERSION; /** * Returns the version of the library.