You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2017/03/10 08:43:47 UTC
git commit: [flex-asjs] [refs/heads/develop] - - Updated the maven
build to download the static pixelbender resources, unpack them,
move them to our new package structure and then to add those resources to the
source-path.
Repository: flex-asjs
Updated Branches:
refs/heads/develop 117c30bbe -> aebeee29c
- Updated the maven build to download the static pixelbender resources, unpack them, move them to our new package structure and then to add those resources to the source-path.
-> Now maven should build again.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/aebeee29
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/aebeee29
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/aebeee29
Branch: refs/heads/develop
Commit: aebeee29c32a1bc1ccb260c808a3d5179dbc22c6
Parents: 117c30b
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Fri Mar 10 09:43:40 2017 +0100
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Fri Mar 10 09:43:40 2017 +0100
----------------------------------------------------------------------
frameworks/projects/Graphics/pom.xml | 55 +++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/aebeee29/frameworks/projects/Graphics/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/pom.xml b/frameworks/projects/Graphics/pom.xml
index 9f00efc..4c89405 100644
--- a/frameworks/projects/Graphics/pom.xml
+++ b/frameworks/projects/Graphics/pom.xml
@@ -32,9 +32,64 @@
<name>Apache Flex - FlexJS: Framework: Libs: Graphics</name>
+ <properties>
+ <!-- TODO: This is a fix till we release this via Maven -->
+ <pixelbender.download-url>http://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.apache.org/dist/flex/pixelbender/1.0/binaries/apache-flex-sdk-pixel-bender-1.0.0-bin.zip</pixelbender.download-url>
+ </properties>
+
<build>
<sourceDirectory>src/main/flex</sourceDirectory>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ <resource>
+ <directory>${project.build.directory}/downloads/frameworks/projects/framework/src/mx/graphics/shaderClasses</directory>
+ <includes>
+ <include>*.pbj</include>
+ </includes>
+ <targetPath>${project.build.directory}/generated-resources/pixelbender/org/apache/flex/graphics/utils/shaderClasses</targetPath>
+ </resource>
+ </resources>
<plugins>
+ <!-- Download the pixelbender binaries and put them somewhere the compiler can find them -->
+ <plugin>
+ <groupId>com.googlecode.maven-download-plugin</groupId>
+ <artifactId>download-maven-plugin</artifactId>
+ <version>1.2.1</version>
+ <executions>
+ <execution>
+ <id>get-pixelbender-artifacts</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>${pixelbender.download-url}</url>
+ <outputFileName>apache-flex-sdk-pixel-bender-1.0.0-bin.zip</outputFileName>
+ <outputDirectory>${project.build.directory}/downloads</outputDirectory>
+ <unpack>true</unpack>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>add-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>${project.build.directory}/generated-resources/pixelbender</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>