Problemas com GwtExt Memo

1 resposta
M

Pessoal é o seguinte
Estou tentando iniciar no GwtExt mas estou com um problema de iniciante hehe:

o meu xml de configuração está assim:

<?xml version="1.0" encoding="UTF-8"?>

<module>
    <!-- Inherit the core Web Toolkit stuff.                        -->
    <inherits name='com.google.gwt.user.User'/>
    <inherits name="com.gwtext.GwtExt"/>


    <!-- Inherit the default GWT style sheet.  You can change       -->
    <!-- the theme of your GWT application by uncommenting          -->
    <!-- any one of the following lines.                            -->
    <inherits name='com.google.gwt.user.theme.standard.Standard'/>
    <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
    <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/>     -->

    <!-- Specify the app entry point class.                         -->
    <entry-point class="org.teste.client.MainEntryPoint"/>
	<!-- Do not define servlets here, use web.xml -->

    <stylesheet src="css/ext-all.css" />
    <script src="js/ext-base.js" />
    <script src="js/ext-all.js" />

    
</module>

mas sempre quando coloco a linha
<inherits name="com.gwtext.GwtExt"/>
essa linha quando vou compilar o projeto ele dá uma Exception
Abaixo segue o lineTrace:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at java.lang.AbstractStringBuilder.&lt;init&gt;(AbstractStringBuilder.java:45)
        at java.lang.StringBuffer.&lt;init&gt;(StringBuffer.java:79)
        at java.io.StringWriter.&lt;init&gt;(StringWriter.java:33)
        at org.eclipse.jdt.internal.compiler.Compiler.handleInternalException(Compiler.java:459)
        at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:411)
        at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:277)
        at com.google.gwt.dev.javac.JdtCompiler.compile(JdtCompiler.java:193)
        at com.google.gwt.dev.javac.CompilationState.compile(CompilationState.java:115)
        at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:327)
        at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:564)
        at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:554)
        at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:214)
D:\NetbeansProjects\Testando\gwtext1\nbproject\build-gwt.xml:14: Java returned: 1
FALHA NA CONSTRUÇÃO (tempo total: 11 segundos)

Quando tiro a linha esse erro não aparece, alguem tem uma dica? Já aumentei na hora da compilação a memória para 512Mb mas mesmo assim continua o erro.

Alguem pode me ajudar???
Obrigado

1 Resposta

T

OLá você fez download dos arquivos js, do site … vc deve faze douwnload de um monte de arquivos com javascript do projeto extJs… as classes do ext dependen deles…

segue o arquivo queestou usando…

<?xml version=“1.0” encoding=“UTF-8” standalone=“no”?>

<module>

<entry-point class=“com.atual.WebGuiUtil.client.WebGuiUtil” />
&lt;!-- Modulos herdados --&gt;
&lt;inherits name="com.google.gwt.user.User" /&gt;
&lt;inherits name="com.google.gwt.i18n.I18N" /&gt;
&lt;inherits name="com.gwtext.GwtExt" /&gt;


&lt;!-- internacinalizacao --&gt;
&lt;extend-property name="locale" values="pt_BR" /&gt;

&lt;!-- Aqui Foram definidos os Enderecos para os js auxiliares --&gt;
&lt;script src="js/ext/adapter/ext/ext-base.js" /&gt;
&lt;script src="js/ext/adapter/yui/yui-utilities.js" /&gt;
&lt;script src="js/ext/adapter/yui/ext-yui-adapter.js" /&gt;
&lt;script src="js/ext/ext-all.js" /&gt;
    
    &lt;!-- maskara de entrada --&gt;
&lt;script src="js/ext/cherryonExt/src/netbox/InputTextMask.js"&gt;&lt;/script&gt;



&lt;!-- CSS´s --&gt;
&lt;stylesheet src="js/ext/resources/css/ext-all.css" /&gt;
&lt;stylesheet src="css/Util.css" /&gt;

</module>

Criado 10 de fevereiro de 2009
Ultima resposta 11 de fev. de 2009
Respostas 1
Participantes 2