1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    21
    Vote Rating
    0
    xybrek is on a distinguished road

      0  

    Question How to run a Ext GWT (GXT) application with Maven

    How to run a Ext GWT (GXT) application with Maven


    I am trying to make a GXT 3.0 starting app with Maven support. I have successfully compiled and run the native GWT application with mvn gwt:compile gwt:run commandHoweven, when I added these dependecies:

    <dependency>
    <groupId>com.sencha.gxt</groupId>
    <artifactId>gxt</artifactId>
    <version>${gxt.version}</version>
    <scope>provided</scope>
    </dependency>
    <dependency>
    <groupId>com.sencha.gxt</groupId>
    <artifactId>gxt-uibinder</artifactId>
    <version>${gxt.version}</version>
    <scope>provided</scope>
    </dependency>
    <dependency>
    <groupId>com.sencha.gxt</groupId>
    <artifactId>gxt-chart</artifactId>
    <version>${gxt.version}</version>
    <scope>provided</scope>
    </dependency>
    <dependency>
    <groupId>com.sencha.gxt</groupId>
    <artifactId>uibinder-bridge</artifactId>
    <version>2.4.0-SNAPSHOT</version>
    <scope>provided</scope>
    </dependency>

    and added this in the gwt.xml (module) file:

    <inherits name="com.sencha.gxt.ui.GXT" />
    I am getting this error (running the same mvn command as above):

    GWT module com.sencha.gxt.ui.GXT not found
    And looking from the Java build path of the project in the Maven Dependencies, I can see that the GXT jars have not been downloaded.

    Full pom.xml here.
    Last edited by xybrek; 21 Feb 2012 at 9:23 PM. Reason: fixed text fonts

  2. #2
    Sencha User
    Join Date
    Jun 2010
    Location
    Cajamarca, Peru
    Posts
    42
    Vote Rating
    0
    cimballi is on a distinguished road

      0  

    Default


    GXT jars are not available in the main maven repository, it means you have to install the jars in your local repo manually.

Thread Participants: 1

Tags for this Thread