Sorry. I still get the same thing :(

On Oct 4, 5:57 pm, John LaBanca <[email protected]> wrote:
> You might also need to do an 'ant clean' after recent updates.
> Thanks,
> John LaBanca
> [email protected]
>
> On Sun, Oct 4, 2009 at 1:27 PM, tfga <[email protected]> wrote:
>
> > Thank you for you reply, Eric.
>
> > I was launching ant from within Eclipse. I ran it under cygwin and got
> > a different error (below). I'll try to run it under cmd.exe, as you
> > suggested.
>
> > gwtc:
> >     [java] Compiling module com.google.gwt.sample.mail.Mail
> >     [java]    Scanning for additional dependencies: file:/C:/Documents
> > %20and%20Settings/tfga/workspace/gwt/samples/mail/src/com/google/gwt/
> > sample/mail/client/Mail.java
> >     [java]       Adding '2' new generated units
> >     [java]          Validating newly compiled units
> >     [java]             Removing units with errors
> >     [java]                [ERROR] Errors in 'transient source for
> > com.google.gwt.sample.mail.client.Mail_BinderImpl'
> >     [java]                   [ERROR] Line 20: The method addNorth
> > (Widget, double) in the type DockLayoutPanel is not applicable for the
> > arguments (TopPanel, int, int)
> >     [java]                   [ERROR] Line 21: The method addWest
> > (Widget, double) in the type DockLayoutPanel is not applicable for the
> > arguments (Shortcuts, int, int)
> >     [java]                   [ERROR] Line 22: The method addNorth
> > (Widget, double) in the type DockLayoutPanel is not applicable for the
> > arguments (MailList, int, int)
> >     [java]                   See snapshot: c:\DOCUME~1\tfga
> > \CONFIG~1\Temp
> > \com.google.gwt.sample.mail.client.Mail_BinderImpl2569137898788811986.java
> >     [java]       [ERROR] Unable to find recently-generated type
> > 'com.google.gwt.sample.mail.client.Mail_BinderImpl
> >     [java]    [ERROR] Errors in 'file:/C:/Documents%20and%20Settings/
> > tfga/workspace/gwt/samples/mail/src/com/google/gwt/sample/mail/client/
> > Mail.java'
> >     [java]       [ERROR]  Internal compiler error
> >     [java] java.lang.RuntimeException: Unable to commit generated
> > files
> >     [java]     at
>
> > com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds
> > (WebModeCompilerFrontEnd.java:143)
> >     [java]     at com.google.gwt.dev.jdt.AbstractCompiler
> > $CompilerImpl.process(AbstractCompiler.java:161)
> >     [java]     at org.eclipse.jdt.internal.compiler.Compiler.compile
> > (Compiler.java:444)
> >     [java]     at com.google.gwt.dev.jdt.AbstractCompiler
> > $CompilerImpl.compile(AbstractCompiler.java:84)
> >     [java]     at com.google.gwt.dev.jdt.AbstractCompiler
> > $CompilerImpl.compile(AbstractCompiler.java:196)
> >     [java]     at com.google.gwt.dev.jdt.AbstractCompiler
> > $CompilerImpl.access$300(AbstractCompiler.java:70)
> >     [java]     at com.google.gwt.dev.jdt.AbstractCompiler.compile
> > (AbstractCompiler.java:481)
> >     [java]     at
> > com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations
> > (BasicWebModeCompiler.java:113)
> >     [java]     at
>
> > com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations
> > (WebModeCompilerFrontEnd.java:49)
> >     [java]     at
> > com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile
> > (JavaToJavaScriptCompiler.java:415)
> >     [java]     at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile
> > (JavaScriptCompiler.java:32)
> >     [java]     at com.google.gwt.dev.Precompile.precompile
> > (Precompile.java:507)
> >     [java]     at com.google.gwt.dev.Precompile.precompile
> > (Precompile.java:408)
> >     [java]     at com.google.gwt.dev.Compiler.run(Compiler.java:194)
> >     [java]     at com.google.gwt.dev.Compiler$1.run(Compiler.java:
> > 145)
> >     [java]     at com.google.gwt.dev.CompileTaskRunner.doRun
> > (CompileTaskRunner.java:89)
> >     [java]     at
> > com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
> > (CompileTaskRunner.java:83)
> >     [java]     at com.google.gwt.dev.Compiler.main(Compiler.java:152)
> >     [java] Caused by:
> > com.google.gwt.core.ext.UnableToCompleteException: (see previous log
> > entries)
> >     [java]     at
> > com.google.gwt.dev.javac.StandardGeneratorContext.finish
> > (StandardGeneratorContext.java:391)
> >     [java]     at
>
> > com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds
> > (WebModeCompilerFrontEnd.java:141)
> >     [java]     ... 17 more
> >     [java]
> >     [java] [ERROR] Unexpected
> >     [java] java.lang.RuntimeException: Unable to commit generated
> > files
> >     [java]     at
>
> > com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds
> > (WebModeCompilerFrontEnd.java:143)
> >     [java]     at com.google.gwt.dev.jdt.AbstractCompiler
> > $CompilerImpl.process(AbstractCompiler.java:161)
> >     [java]     at org.eclipse.jdt.internal.compiler.Compiler.compile
> > (Compiler.java:444)
> >     [java]     at com.google.gwt.dev.jdt.AbstractCompiler
> > $CompilerImpl.compile(AbstractCompiler.java:84)
> >     [java]     at com.google.gwt.dev.jdt.AbstractCompiler
> > $CompilerImpl.compile(AbstractCompiler.java:196)
> >     [java]     at com.google.gwt.dev.jdt.AbstractCompiler
> > $CompilerImpl.access$300(AbstractCompiler.java:70)
> >     [java]     at com.google.gwt.dev.jdt.AbstractCompiler.compile
> > (AbstractCompiler.java:481)
> >     [java]     at
> > com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations
> > (BasicWebModeCompiler.java:113)
> >     [java]     at
>
> > com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations
> > (WebModeCompilerFrontEnd.java:49)
> >     [java]     at
> > com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile
> > (JavaToJavaScriptCompiler.java:415)
> >     [java]     at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile
> > (JavaScriptCompiler.java:32)
> >     [java]     at com.google.gwt.dev.Precompile.precompile
> > (Precompile.java:507)
> >     [java]     at com.google.gwt.dev.Precompile.precompile
> > (Precompile.java:408)
> >     [java]     at com.google.gwt.dev.Compiler.run(Compiler.java:194)
> >     [java]     at com.google.gwt.dev.Compiler$1.run(Compiler.java:
> > 145)
> >     [java]     at com.google.gwt.dev.CompileTaskRunner.doRun
> > (CompileTaskRunner.java:89)
> >     [java]     at
> > com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
> > (CompileTaskRunner.java:83)
> >     [java]     at com.google.gwt.dev.Compiler.main(Compiler.java:152)
> >     [java] Caused by:
> > com.google.gwt.core.ext.UnableToCompleteException: (see previous log
> > entries)
> >     [java]     at
> > com.google.gwt.dev.javac.StandardGeneratorContext.finish
> > (StandardGeneratorContext.java:391)
> >     [java]     at
>
> > com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds
> > (WebModeCompilerFrontEnd.java:141)
> >     [java]     ... 17 more
>
> > On Oct 4, 1:39 pm, Eric Ayers <[email protected]> wrote:
> > > You need to run your build under the windows command shell.  That
> > probably
> > > means you need to get the native windows svn executable too.
>
> > > On Sun, Oct 4, 2009 at 1:23 AM, tfga <[email protected]> wrote:
>
> > > > Hi,
>
> > > > I'm trying to build trunk on Windows. I followed the instructions from
>
> > > >    http://code.google.com/webtoolkit/makinggwtbetter.html#compiling
>
> > > > The 1st error I got was:
>
> > > >    gwt\common.ant.xml:276: Unable to launch command: svn info
>
> > > > So I installed the Cygwin port of svn and added it's path to $PATH.
> > > > Now I get this:
>
> > > > linux:
> > > > compile:
> > > >    [mkdir] Created dir: C:\Documents and Settings\tfga\workspace\gwt
> > > > \build\out\dev\linux\bin
> > > > [gwt.javac] Compiling 11 source files to C:\Documents and Settings\tfga
> > > > \workspace\gwt\build\out\dev\linux\bin
> > > > [gwt.javac] C:\Documents and Settings\tfga\workspace\gwt\dev\linux\src
> > > > \org\eclipse\swt\browser\Browser.java:620: reference to LONG is
> > > > ambiguous, both class org.eclipse.swt.internal.gtk.LONG in
> > > > org.eclipse.swt.internal.gtk and class org.eclipse.swt.internal.LONG
> > > > in org.eclipse.swt.internal match
> > > > [gwt.javac]                     getDisplay().setData(ADD_WIDGET_KEY,
> > new
> > > > Object[] {new
> > > > LONG(mozillaHandle), this});
> > > > [gwt.javac]
> > > > ^
> > > > [gwt.javac] C:\Documents and Settings\tfga\workspace\gwt\dev\linux\src
> > > > \org\eclipse\swt\browser\Browser.java:1340: reference to LONG is
> > > > ambiguous, both class org.eclipse.swt.internal.gtk.LONG in
> > > > org.eclipse.swt.internal.gtk and class org.eclipse.swt.internal.LONG
> > > > in org.eclipse.swt.internal match
> > > > [gwt.javac]     display.setData(ADD_WIDGET_KEY, new Object[] {new LONG
> > > > (mozillaHandle), null});
> > > > [gwt.javac]                                                       ^
> > > > [gwt.javac] 2 errors
>
> > > > Why is it running the "linux" target if I'm using Windows? Do I have
> > > > to install the windows native port of svn? And what about these
> > > > compilation errors?
>
> > > > Regards,
> > > > Thiago
>
> > > --
> > > Eric Z. Ayers
> > > Google Web Toolkit, Atlanta, GA USA
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to