yugalatea / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

Compiling Gadget Linker Error - erros on gadget.xml - Where's it get defined? #277

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release: 1.6+

Detailed description:
    Compiling gadget linker error using GWT gadget Jars. Compiler is
looking for the .gadget.xml file in the artifacts and throws on compile.
Not sure how it gets defined to be in the artifcacts. Having said that, I
have not been able to find much documentation on the fact of compiling a
gadget in 1.6. 1.6+ gwt gadget jar documentation is would be helpful.

Workaround if you have one:
   Haven't been able to find one yet.

Links to the relevant GWT Developer Forum posts:
http://gwt-examples.googlecode.com/ - look for the flashcard source
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/d44498f0c
645a21b#
http://mathflashcard.appspot.com/ - latest release. 
----- 
1.6 gadget api must be different. How is the gadget.xml file get setup
or the manifest defined?

Gadget:
http://code.google.com/p/gwt-examples/source/browse/trunk/FlashCard/s...

Compiling module com.gawkat.flashcard.FlashCard
   Compiling 5 permutations
      Permutation compile succeeded
   Linking into war
      Invoking Linker Google Gadget
         [ERROR] No gadget manifest found in ArtifactSet.
         [ERROR] Failed to link
com.google.gwt.core.ext.UnableToCompleteException: (see previous log
entries)
        at com.google.gwt.gadgets.linker.GadgetLinker.link(GadgetLinker.java:
58)
        at
com.google.gwt.core.ext.linker.impl.StandardLinkerContext.invokeLink
(StandardLinkerContext.java:328)
        at com.google.gwt.dev.Link.doLink(Link.java:175)
        at com.google.gwt.dev.Link.link(Link.java:133)
        at com.google.gwt.dev.Compiler.run(Compiler.java:183)
        at com.google.gwt.dev.Compiler$1.run(Compiler.java:124)
        at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
84)
        at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
(CompileTaskRunner.java:78)
        at com.google.gwt.dev.Compiler.main(Compiler.java:131)

Any thoughts? 

Original issue reported on code.google.com by branflak...@gmail.com on 7 Jun 2009 at 6:58

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/gwt-examples/source/browse/trunk/FlashCard/src/com/gawk
at/flashcard/client/gadget/FlashCard_Gadget.java
 - this got cut off on copy paste

Original comment by branflak...@gmail.com on 7 Jun 2009 at 7:00

GoogleCodeExporter commented 9 years ago
One thing about that code that seems a bit unusual is that UserPreferences is 
not
subclasses.  That might tickle a bug in the gadget linker.

Original comment by galgwt.reviews@gmail.com on 8 Jun 2009 at 8:26

GoogleCodeExporter commented 9 years ago
See this issue for problems with gwt-gadgets under GWT 1.6

http://code.google.com/p/gwt-google-apis/issues/detail?id=275

Original comment by galgwt.reviews@gmail.com on 15 Jun 2009 at 12:54

GoogleCodeExporter commented 9 years ago
Has any one found the solution for this bug yet?

Original comment by iyer.mur...@gmail.com on 4 Feb 2010 at 8:34

GoogleCodeExporter commented 9 years ago
The gadgets-1.1 API fixes this problem. 

Original comment by zundel@google.com on 28 May 2010 at 5:52

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
@k...@koma.be

Could you please open a new issue with more details about your project setup, 
your module.gwt.xml file and what versions of GWT you are compiling against?  
gwt-gadgets-1.2.1-rc1 is meant to be used with GWT 2.3.

Please also attach all of the output you get from the compiler.

Also, let me know if this is an existing project that works in other versions 
of gwt-gadgets and that just went bad when you updated to the latest library, 
or a brand new project.

Original comment by zundel@google.com on 22 May 2011 at 9:21

GoogleCodeExporter commented 9 years ago
My mistake, I was referring to the Module  entry class and not the gadget class.
fixed.

Original comment by k...@koma.be on 22 May 2011 at 9:32