|
GettingStarted
Getting started with the Adobe AIR module
Featured Setup
<inherits name="com.ekambi.gwt.air.core.Gwt4Air" />
| |
► Sign in to add a comment
|
Search
|
|
GettingStarted
Getting started with the Adobe AIR module
Featured Setup
<inherits name="com.ekambi.gwt.air.core.Gwt4Air" />
| |
hi, first am using Netbeans IDE i follow up all instruction : integrate a jar copying gwt4air to web folder of my project adding <inherits name="com.ekambi.gwt.air.core.Gwt4Air" />
when i compiling errors appears :
GWT Compiling client-side code. Loading inherited module 'com.ekambi.gwt.air.core.Gwt4Air?'
com.google.gwt.core.ext.UnableToCompleteException?: (see previous log entries) com.google.gwt.core.ext.UnableToCompleteException?: (see previous log entries) com.google.gwt.core.ext.UnableToCompleteException?: (see previous log entries) ERROR? Line 10: Unexpected exception while processing element 'inherits' com.google.gwt.core.ext.UnableToCompleteException?: (see previous log entries) ERROR? Failure while parsing XML com.google.gwt.core.ext.UnableToCompleteException?: (see previous log entries) ERROR? Unexpected error while processing XML com.google.gwt.core.ext.UnableToCompleteException?: (see previous log entries) F:\work\java\TunisieLait?\nbproject\build-gwt.xml:141: The following error occurred while executing this line: F:\work\java\TunisieLait?\nbproject\build-gwt.xml:290: Java returned: 1 BUILD FAILED (total time: 2 seconds)where's the pb /
thanks
hi same error when using Eclipse
This should be fixed now. Can you please confirm ? Regards, Alain
Hi, is it possible to use this as a Maven dependency? Has it been added to a central repo yet?
To keep it honest with you i hav no idea how to do it :) Maybe you could help me with that ?
It works on my local repo as follows, but this just means I added it locally:
You'll have to find a central repo to host it if you want to make it downloadable by Maven. You could try the Sonatype OSS repo: https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
or the maven central repo: http://maven.apache.org/guides/mini/guide-central-repository-upload.html
Thanks nick. I ll try to upload it to the maven central repo. I hope the library is helping you. Please feel free to contact me if you have any inputs.
Hi Alain. First, let me say this is some great, impressive work! I'm running into a problem with the RPC example. I viewed the source and tried to duplicate it, but it says the following imports cannot be resolved. All of the others work fine, but not these 2. The don't seem to exist.
import com.ekambi.gwt.web.flex.client.core.utils.ImageLoader?; import com.ekambi.gwt.web.flex.client.flexlib.controls.PromptingTextInput?;
Thoughts? Thanks again! -Jason
Helle Jason, Thank you for your kind words. I m glad you like Gwt4Air?. Keep suppporting
com.ekambi.gwt.web.flex.client.core.utils.ImageLoader? and com.ekambi.gwt.web.flex.client.flexlib.controls.PromptingTextInput? are not part of the current release (2.1).
They are part of the upcoming 2.2 relase. i think i should add some kind of infobox there to inform people when something is not part of the current release. i will.
Sorry for the confusion
Regards,
Alain
Ok. Thanks for the super fast response and clarification. My sanity is back in check. :)
My pleassure. If you have any inputs on how i can make gwt4air even better. Please feel free to write it somewhere here.
By the way i just added the infobox to the explorer. Now one will know when a demo contains elements that are not available in the current relase. Best, Alain
Hey Alain. Two more quick questions:
1) Outside of the ImageLoader? and PromtptingTextInput?, should the RPC example work with release 2.1?
2) Any idea why I get a bunch of errors stating that "The import com.ekambi.gwt.web cannot be resolved" when I try to compile with the GWT compiler?
Side note: I'm not currently using SuperAccordian?, but I also get the following error:
ERROR? Errors in 'jar:file:/war/WEB-INF/lib/gwt4air-2.1.jar!/com/ekambi/gwt/air/flx/client/mx/extended/containers/SuperAccordion?.java'
ERROR? Line 27: The import com.ekambi.gwt.web cannot be resolved
ERROR? Line 44: ClassUtil? cannot be resolved
Thanks again :)
Never mind. I just noticed my question is answered in the group page. Sorry to fill up the comments here. Here's a link for anyone else running into this: http://groups.google.com/group/gwt4air/browse_thread/thread/3a4680b87336122c
1) Yes. Just replace the PromptingTextInput? with the mx.controls.TextInput?. Note that you will have to implement your own rpc call.
2) Apparently you are using the Supper Accordion in com.ekambi.gwt.air.flx package