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 -->
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>compile</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<property name="build.compiler" value="extJavac"/>
|
||||
<ant target="build"/>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>gwt</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>gwt.sdk</name>
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>compile</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<property name="build.compiler" value="extJavac"/>
|
||||
<ant target="build"/>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<name>ZXing Appspot-based encoder</name>
|
||||
<description>GWT-based encoder app hosted at zxing.appspot.com</description>
|
||||
|
|
Loading…
Reference in a new issue