- Made the git executable auto-change to "git.exe" on windows machines in a try to get things running on windows systems
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/03a3ff39 Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/03a3ff39 Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/03a3ff39 Branch: refs/heads/master Commit: 03a3ff398bde6cc8df89edc349679e2c43bf0679 Parents: 3a04967 Author: Christofer Dutz <[email protected]> Authored: Thu Jun 2 10:43:21 2016 +0200 Committer: Christofer Dutz <[email protected]> Committed: Thu Jun 2 10:43:21 2016 +0200 ---------------------------------------------------------------------- createjs/pom.xml | 2 +- google_maps/pom.xml | 2 +- jquery/pom.xml | 2 +- js/pom.xml | 2 +- pom.xml | 22 ++++++++++++++++++++++ 5 files changed, 26 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/03a3ff39/createjs/pom.xml ---------------------------------------------------------------------- diff --git a/createjs/pom.xml b/createjs/pom.xml index 26d726f..2e0d2c5 100644 --- a/createjs/pom.xml +++ b/createjs/pom.xml @@ -81,7 +81,7 @@ <artifactId>exec-maven-plugin</artifactId> <version>1.5.0</version> <configuration> - <executable>git</executable> + <executable>${git.executable}</executable> <workingDirectory>${basedir}/../..</workingDirectory> <arguments> <argument>apply</argument> http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/03a3ff39/google_maps/pom.xml ---------------------------------------------------------------------- diff --git a/google_maps/pom.xml b/google_maps/pom.xml index 18a74a7..16efae9 100644 --- a/google_maps/pom.xml +++ b/google_maps/pom.xml @@ -65,7 +65,7 @@ <artifactId>exec-maven-plugin</artifactId> <version>1.5.0</version> <configuration> - <executable>git</executable> + <executable>${git.executable}</executable> <workingDirectory>${basedir}/../..</workingDirectory> <arguments> <argument>apply</argument> http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/03a3ff39/jquery/pom.xml ---------------------------------------------------------------------- diff --git a/jquery/pom.xml b/jquery/pom.xml index 04ef8e4..01b81a2 100644 --- a/jquery/pom.xml +++ b/jquery/pom.xml @@ -65,7 +65,7 @@ <artifactId>exec-maven-plugin</artifactId> <version>1.5.0</version> <configuration> - <executable>git</executable> + <executable>${git.executable}</executable> <workingDirectory>${basedir}/../..</workingDirectory> <arguments> <argument>apply</argument> http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/03a3ff39/js/pom.xml ---------------------------------------------------------------------- diff --git a/js/pom.xml b/js/pom.xml index d0ba2fb..cf5e3b5 100644 --- a/js/pom.xml +++ b/js/pom.xml @@ -90,7 +90,7 @@ <artifactId>exec-maven-plugin</artifactId> <version>1.5.0</version> <configuration> - <executable>git</executable> + <executable>${git.executable}</executable> <workingDirectory>${basedir}/../..</workingDirectory> <arguments> <argument>apply</argument> http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/03a3ff39/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 46de894..6eab62d 100644 --- a/pom.xml +++ b/pom.xml @@ -34,6 +34,10 @@ <name>Apache Flex - FlexJS: Externs</name> + <properties> + <git.executable>git</git.executable> + </properties> + <modules> <module>cordova</module> <module>createjs</module> @@ -45,4 +49,22 @@ <module>node</module> </modules> + <!-- + We only need the git executable in the externs in order to apply patches. + On Windows machines we need to execute "git.exe" instead of "git". + --> + <profiles> + <profile> + <id>windows-machine</id> + <activation> + <os> + <family>Windows</family> + </os> + </activation> + <properties> + <git.executable>git.exe</git.executable> + </properties> + </profile> + </profiles> + </project>
