Changes between Version 4 and Version 5 of Devel/GWTwithMaven


Ignore:
Timestamp:
10/03/07 15:05:38 (18 years ago)
Author:
leo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Devel/GWTwithMaven

    v4 v5  
    4747
    4848}}}
     49
     50
     51== Behind the scenes ==
     52
     53 * utgb-common's pom.xml contains the following setting, that retrieves gwt-dev libraries.
     54{{{
     55      <plugin>
     56        <groupId>org.apache.maven.plugins</groupId>
     57        <artifactId>maven-dependency-plugin</artifactId>
     58        <executions>
     59          <execution>
     60            <id>unpack-gwt-dev</id>
     61            <phase>generate-sources</phase>
     62            <goals>
     63              <goal>unpack</goal>
     64            </goals>
     65            <configuration>
     66              <artifactItems>
     67                <artifactItem>
     68                  <groupId>com.google.gwt</groupId>
     69                  <artifactId>${gwt.dev}</artifactId>
     70                  <version>${gwt.version}</version>
     71                  <type>jar</type>
     72                </artifactItem>
     73                <artifactItem>
     74                  <groupId>org.xerial.maven</groupId>
     75                  <artifactId>gwt-ant</artifactId>
     76                  <version>1.0</version>
     77                  <type>jar</type>
     78                </artifactItem>
     79              </artifactItems>
     80              <excludes>**/*.pom,META-INF</excludes>
     81              <outputDirectory>gwt-home</outputDirectory>
     82            </configuration>
     83          </execution>
     84        </executions>
     85      </plugin>
     86}}}
     87
     88 * OS-specific settings is also included:
     89{{{
     90  <!--  OS dependent settings for GWT compiler -->
     91  <profiles>
     92    <profile>
     93      <id>windows</id>
     94      <activation>
     95        <os>
     96          <family>windows</family>
     97        </os>
     98      </activation>
     99      <properties>
     100        <swt.os-specific-dep>swt-win32</swt.os-specific-dep>
     101        <gwt.dev>gwt-dev-windows</gwt.dev>
     102        <gwt.version>1.4.60</gwt.version>
     103      </properties>
     104    </profile>
     105    <profile>
     106      <id>unix</id>
     107      <activation>
     108        <os>
     109          <family>unix</family>
     110        </os>
     111      </activation>
     112      <properties>
     113        <swt.os-specific-dep>swt-linux-gtk-x86</swt.os-specific-dep>
     114        <gwt.dev>gwt-dev-linux</gwt.dev>
     115        <gwt.version>1.4.60</gwt.version>
     116      </properties>
     117    </profile>
     118    <profile>
     119      <id>mac</id>
     120      <activation>
     121        <os>
     122          <family>mac</family>
     123        </os>
     124      </activation>
     125      <properties>
     126        <swt.os-specific-dep>swt-carbon-macosx</swt.os-specific-dep>
     127        <gwt.dev>gwt-dev-mac</gwt.dev>
     128        <gwt.version>1.4.60</gwt.version>
     129        <gwt.jvmargs>-XstartOnFirstThread</gwt.jvmargs>
     130      </properties>
     131    </profile>
     132  </profiles>
     133
     134}}}