Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
attempted fix for #219 to allow different executable names for windows
  • Loading branch information
jstrachan committed Mar 30, 2013
1 parent 2e0324f commit 2ffccab
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions hawtio-web/pom.xml
Expand Up @@ -15,6 +15,8 @@
<properties>
<webapp-dir>${project.artifactId}-${project.version}</webapp-dir>
<webapp-outdir>${basedir}/target/${webapp-dir}</webapp-outdir>
<grunt-executable>grunt</grunt-executable>
<npm-executable>npm</npm-executable>
</properties>


Expand Down Expand Up @@ -477,7 +479,7 @@
<goal>exec</goal>
</goals>
<configuration>
<executable>npm</executable>
<executable>${npm-executable}</executable>
<arguments>
<argument>install</argument>
</arguments>
Expand All @@ -490,7 +492,7 @@
<goal>exec</goal>
</goals>
<configuration>
<executable>grunt</executable>
<executable>${grunt-executable}</executable>
<arguments>
<argument>copy</argument>
<argument>type</argument>
Expand Down Expand Up @@ -527,7 +529,7 @@
<goal>exec</goal>
</goals>
<configuration>
<executable>grunt</executable>
<executable>${grunt-executable}</executable>
<arguments>
<argument>copy</argument>
<argument>type</argument>
Expand Down Expand Up @@ -658,5 +660,17 @@
</properties>
</profile>

<profile>
<id>windows-grunt</id>
<activation>
<os>
<family>Windows</family>
</os>
</activation>
<properties>
<grunt-executable>grunt.cmd</grunt-executable>
<npm-executable>npm.cmd</npm-executable>
</properties>
</profile>
</profiles>
</project>

0 comments on commit 2ffccab

Please sign in to comment.