-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from heronarts/dev
Merge 0.2.2 release
- Loading branch information
Showing
23 changed files
with
429 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
eclipse.preferences.version=1 | ||
encoding//src/main/java=UTF-8 | ||
encoding//src/main/resources=UTF-8 | ||
encoding//src/test/java=UTF-8 | ||
encoding/<project>=UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,21 +12,14 @@ Directly working with the P3LX library is only recommended for advanced users of | |
|
||
### Development Environment ### | ||
|
||
The recommended IDE for LX is Eclipse, with simple `ant` tasks for command-line build. Create a folder to work in and clone both the LX and P3LX repositories side-by-side. | ||
The recommended IDE for LX is Eclipse, using `mvn` for command-line build. Create a folder to work in and clone both the LX and P3LX repositories side-by-side. | ||
``` | ||
$ mkdir workspace | ||
$ cd workspace | ||
$ git clone https://github.com/heronarts/LX.git | ||
$ git clone https://github.com/heronarts/P3LX.git | ||
``` | ||
|
||
To build the project: | ||
``` | ||
$ cd P3LX/build | ||
$ ant | ||
$ cp ../bin/P3LX.jar <wherever you need it> | ||
``` | ||
|
||
To open the project in Eclipse: | ||
``` | ||
File | Import... | ||
|
@@ -36,14 +29,19 @@ Select root directory... | |
|
||
Go through this process for both the LX and P3LX projects, selecting `workspace/LX` and `workspace/P3LX` as the root directories. | ||
|
||
#### Alternate build process: Maven #### | ||
#### Maven Build Process #### | ||
|
||
First: Install Maven for your platform. Google is your friend. | ||
|
||
You'll still want to check out both LX and this repo locally (as of this writing neither is published to a public Maven repo): | ||
P3LX depends upon the Processing core library JAR file, which is not available in Maven central. First, you will need to install this to your local Maven repository using the `mvn validate` command. | ||
``` | ||
$ git clone https://github.com/heronarts/LX.git | ||
$ git clone https://github.com/heronarts/P3LX.git | ||
$ cd LX | ||
$ cd P3LX | ||
# mvn validate | ||
``` | ||
|
||
Once you have done this, you can build and install both the LX and P3LX packages | ||
``` | ||
$ cd ../LX | ||
$ mvn install | ||
$ cd ../P3LX | ||
$ mvn install | ||
|
@@ -58,6 +56,15 @@ in `P3LX/target`: | |
|
||
The Maven build is IDE-agnostic, so any IDE that can import Maven projects (Eclipse, IntelliJ) should have no problem importing and building this repo. | ||
|
||
#### Deployment #### | ||
|
||
Deployment requires access to the central Sonatype repository and appropriate GPG keys. | ||
|
||
``` | ||
$ cd P3LX | ||
$ mvn deploy -Pdeploy | ||
``` | ||
|
||
### Contact and Collaboration ### | ||
|
||
Building a big cool project? I'm probably interested in hearing about it! Want to solicit some help, request new framework features, or just ask a random question? Drop me a line: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,47 @@ | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>heronarts</groupId> | ||
<groupId>com.heronarts</groupId> | ||
<artifactId>p3lx</artifactId> | ||
<version>0.2.1</version> | ||
<version>0.2.2</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>P3LX</name> | ||
<description>Libraries for real-time procedural 3-D lighting animation and control.</description> | ||
<url>http://lx.studio</url> | ||
|
||
<licenses> | ||
<license> | ||
<name>LX Studio Software License and Distribution Agreement</name> | ||
<url>http://lx.studio/license</url> | ||
</license> | ||
</licenses> | ||
|
||
<developers> | ||
<developer> | ||
<name>Mark Slee</name> | ||
<email>[email protected]</email> | ||
<organization>Heron Arts</organization> | ||
<organizationUrl>http://github.com/heronarts/</organizationUrl> | ||
</developer> | ||
</developers> | ||
|
||
<scm> | ||
<connection>scm:git:git://github.com/heronarts/P3LX.git</connection> | ||
<developerConnection>scm:git:git://github.com/heronarts/P3LX.git</developerConnection> | ||
<url>http://github.com/heronarts/P3LX/tree/master</url> | ||
</scm> | ||
|
||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>ossrh</id> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||
</snapshotRepository> | ||
<repository> | ||
<id>ossrh</id> | ||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | ||
</repository> | ||
</distributionManagement> | ||
|
||
<properties> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
|
@@ -22,7 +59,7 @@ | |
|
||
<dependencies> | ||
<dependency> | ||
<groupId>heronarts</groupId> | ||
<groupId>com.heronarts</groupId> | ||
<artifactId>lx</artifactId> | ||
<version>${project.version}</version> | ||
<scope>compile</scope> | ||
|
@@ -38,14 +75,36 @@ | |
<dependency> | ||
<groupId>org.processing</groupId> | ||
<artifactId>core</artifactId> | ||
<version>3.3.7</version> | ||
<version>3.5.4</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-install-plugin</artifactId> | ||
<version>2.5.1</version> | ||
<configuration> | ||
<groupId>org.processing</groupId> | ||
<artifactId>core</artifactId> | ||
<version>3.5.4</version> | ||
<packaging>jar</packaging> | ||
<file>${basedir}/classpath/core-3.5.4.jar</file> | ||
<generatePom>true</generatePom> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>install-jar-lib</id> | ||
<goals> | ||
<goal>install-file</goal> | ||
</goals> | ||
<phase>validate</phase> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
|
@@ -71,7 +130,7 @@ | |
</execution> | ||
</executions> | ||
<configuration> | ||
<bottom>P3LX library by Mark C. Slee. (C) 2012-2020</bottom> | ||
<bottom>P3LX library by Mark C. Slee. © 2012-2021</bottom> | ||
<verbose>false</verbose> | ||
<stylesheetfile>build/stylesheet.css</stylesheetfile> | ||
<doctitle>P3LX API Specification</doctitle> | ||
|
@@ -114,9 +173,40 @@ | |
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<profiles> | ||
<profile> | ||
<id>deploy</id> | ||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>ossrh</id> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||
</snapshotRepository> | ||
<repository> | ||
<id>ossrh</id> | ||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | ||
</repository> | ||
</distributionManagement> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>1.5</version> | ||
<executions> | ||
<execution> | ||
<id>sign-artifacts</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.