mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Only invoke GWT tools if gwt.sdk is defined
git-svn-id: https://zxing.googlecode.com/svn/trunk@2919 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
1a77226030
commit
65747f5178
|
@ -38,28 +38,38 @@
|
||||||
|
|
||||||
<!-- TODO use Maven GWT plugin to actually build this -->
|
<!-- TODO use Maven GWT plugin to actually build this -->
|
||||||
|
|
||||||
<build>
|
<profiles>
|
||||||
<plugins>
|
<profile>
|
||||||
<plugin>
|
<id>gwt</id>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<activation>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<property>
|
||||||
<executions>
|
<name>gwt.sdk</name>
|
||||||
<execution>
|
</property>
|
||||||
<phase>compile</phase>
|
</activation>
|
||||||
<configuration>
|
<build>
|
||||||
<target>
|
<plugins>
|
||||||
<property name="build.compiler" value="extJavac"/>
|
<plugin>
|
||||||
<ant target="build"/>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
</target>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
</configuration>
|
<executions>
|
||||||
<goals>
|
<execution>
|
||||||
<goal>run</goal>
|
<phase>compile</phase>
|
||||||
</goals>
|
<configuration>
|
||||||
</execution>
|
<target>
|
||||||
</executions>
|
<property name="build.compiler" value="extJavac"/>
|
||||||
</plugin>
|
<ant target="build"/>
|
||||||
</plugins>
|
</target>
|
||||||
</build>
|
</configuration>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
<name>ZXing Appspot-based encoder</name>
|
<name>ZXing Appspot-based encoder</name>
|
||||||
<description>GWT-based encoder app hosted at zxing.appspot.com</description>
|
<description>GWT-based encoder app hosted at zxing.appspot.com</description>
|
||||||
|
|
Loading…
Reference in a new issue