1. #1
    Ext User michaelosity's Avatar
    Join Date
    Jun 2008
    Posts
    32
    Vote Rating
    0
    michaelosity is on a distinguished road

      0  

    Default Gxt Beta 4 & IntelliJ

    Gxt Beta 4 & IntelliJ


    I've inherited a web project that is done in IntelliJ and GWT 1.5 RC1. I'm new to both the IntelliJ and to GWT, so this may be a simple case of user-error.

    I'm trying to use Gxt and I've done the following:

    (1) In IntelliJ project settings, add a new library for Gxt pointing to the gxt.jar file.
    (2) Modified my *.gwt.xml file to include the line: <inherits name='com.extjs.gxt.ui.GXT'/>
    (3) Modified the *.html file to include the line: <link rel="stylesheet" type="text/css" href="css/ext-all.css" />.

    This seems to be the only things I need to do (or at least the things I know to do). But when I do this, the war file that is generated does not contain the associated html file or any of its dependencies. I see no compiler errors either.

    Does anyone have any suggestions?

    Many thanks in advanced.

  2. #2
    Ext User michaelosity's Avatar
    Join Date
    Jun 2008
    Posts
    32
    Vote Rating
    0
    michaelosity is on a distinguished road

      0  

    Default


    Nevermind, after increasing the amount of heap memory for the GWT compiler things work as they should. Although, to be fair, it would be nice if IntelliJ/GWT had some type of error/warning to hint at this problem.

  3. #3
    Ext User
    Join Date
    Oct 2008
    Posts
    1
    Vote Rating
    0
    Linkws is on a distinguished road

      0  

    Default weard

    weard


    how/where have you set the memory heap size?

  4. #4
    Ext User
    Join Date
    Dec 2008
    Location
    Netherlands
    Posts
    16
    Vote Rating
    -1
    Angelgab82 is an unknown quantity at this point

      0  

    Default


    Quote Originally Posted by Linkws View Post
    how/where have you set the memory heap size?
    to fine build-gwt.xml (right click on your Project then Find (type build-gwt.xml) in File name panthers.

    in build-gwt.xml

    Add

    <java classpath="${javac.classpath}:${src.dir}" failonerror="true"
    classname="com.google.gwt.dev.GWTCompiler" fork="true" maxmemory="512m">

Thread Participants: 2