Hello people,
few times ago i had the humble pleasure to announce the release of gwt4air 1.0
since then i v received a lot of inputs about the library and i want to thank all the people that are helping me improve this library.
I hope this tool will help you port your GXT skills to the desktop just like it does help us at my company. Even if everything is going mobile today i believe the desktop wont die soon. And despite the upcoming of HTML5 , AIR will still be the best platform to deliver desktop applications using web technologies.
Well if i m writing today it s because Gwt4Air 2.0 is coming out soon with a lot of new features.
1) a big extension of the core api specially flash.net(dns, socket,..) , flash.sensors(geolocation), flash.media(video) , flash.printing(improved print job)
2) support for the Aswing UI library (http://www.aswing.org/)
Aswing is a rich UI library natively written in ActionScript that you can now use in your AIR project with GXT.(I m also thinking about adding support for non AIR projects in the next releases)
3) Excel genertion on the client.
Through the export of the as3xls library(http://code.google.com/p/as3xls/) you can read and write excel file on the AIR client.A good use case would be to export GXT grids to excel
4) a more powerfull PDF library with Pure PDF (http://code.google.com/p/purepdf/). This library is the export of the iText(http://itextpdf.com/) library to ActionScript.
you will now be able use the library in your GXT projects for AIR to read and write pdf documents
5) a GXT Theme for AIR Native Windows. Using the GXT Adapter module you will be able to generate native windows with the GXT look and feel
6) A fully customizable Notification API. Inspired from the GXT Info class , you will be able to generate native Notifications on your AIR Client. (Note those are native windows from the operanting system not from the web page like the GXT ones).
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" />
Loading inherited module 'com.ekambi.gwt.jscollections.JsCollections?'
ERROR? Unable to find 'com/ekambi/gwt/jscollections/JsCollections?.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
ERROR? Line 20: Unexpected exception while processing element 'inherits'
com.google.gwt.core.ext.UnableToCompleteException?: (see previous log entries)
at com.google.gwt.dev.cfg.ModuleDefLoader?.nestedLoad(ModuleDefLoader?.java:239) at com.google.gwt.dev.cfg.ModuleDefSchema?$BodySchema?.inherits_begin(ModuleDefSchema?.java:354) at sun.reflect.GeneratedMethodAccessor1?.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.util.xml.HandlerMethod?.invokeBegin(HandlerMethod?.java:223) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.startElement(ReflectiveParser?.java:270) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver?.next(XMLDocumentFragmentScannerImpl.java:2755) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.parse(ReflectiveParser?.java:327) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.access$100(ReflectiveParser?.java:48) at com.google.gwt.dev.util.xml.ReflectiveParser?.parse(ReflectiveParser?.java:398) at com.google.gwt.dev.cfg.ModuleDefLoader?.nestedLoad(ModuleDefLoader?.java:257) at com.google.gwt.dev.cfg.ModuleDefSchema?$BodySchema?.inherits_begin(ModuleDefSchema?.java:354) at sun.reflect.GeneratedMethodAccessor1?.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.util.xml.HandlerMethod?.invokeBegin(HandlerMethod?.java:223) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.startElement(ReflectiveParser?.java:270) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:788) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver?.next(XMLDocumentFragmentScannerImpl.java:2755) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.parse(ReflectiveParser?.java:327) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.access$100(ReflectiveParser?.java:48) at com.google.gwt.dev.util.xml.ReflectiveParser?.parse(ReflectiveParser?.java:398) at com.google.gwt.dev.cfg.ModuleDefLoader?.nestedLoad(ModuleDefLoader?.java:257) at com.google.gwt.dev.cfg.ModuleDefLoader?$1.load(ModuleDefLoader?.java:169) at com.google.gwt.dev.cfg.ModuleDefLoader?.doLoadModule(ModuleDefLoader?.java:283) at com.google.gwt.dev.cfg.ModuleDefLoader?.loadFromClassPath(ModuleDefLoader?.java:141) at com.google.gwt.dev.Compiler.run(Compiler.java:184) at com.google.gwt.dev.Compiler$1.run(Compiler.java:152) at com.google.gwt.dev.CompileTaskRunner?.doRun(CompileTaskRunner?.java:87) at com.google.gwt.dev.CompileTaskRunner?.runWithAppropriateLogger(CompileTaskRunner?.java:81) at com.google.gwt.dev.Compiler.main(Compiler.java:159)
ERROR? Failure while parsing XML
com.google.gwt.core.ext.UnableToCompleteException?: (see previous log entries)
at com.google.gwt.dev.util.xml.DefaultSchema?.onHandlerException(DefaultSchema?.java:56) at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:66) at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:66) at com.google.gwt.dev.util.xml.HandlerMethod?.invokeBegin(HandlerMethod?.java:233) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.startElement(ReflectiveParser?.java:270) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver?.next(XMLDocumentFragmentScannerImpl.java:2755) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.parse(ReflectiveParser?.java:327) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.access$100(ReflectiveParser?.java:48) at com.google.gwt.dev.util.xml.ReflectiveParser?.parse(ReflectiveParser?.java:398) at com.google.gwt.dev.cfg.ModuleDefLoader?.nestedLoad(ModuleDefLoader?.java:257) at com.google.gwt.dev.cfg.ModuleDefSchema?$BodySchema?.inherits_begin(ModuleDefSchema?.java:354) at sun.reflect.GeneratedMethodAccessor1?.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.util.xml.HandlerMethod?.invokeBegin(HandlerMethod?.java:223) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.startElement(ReflectiveParser?.java:270) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:788) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver?.next(XMLDocumentFragmentScannerImpl.java:2755) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.parse(ReflectiveParser?.java:327) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.access$100(ReflectiveParser?.java:48) at com.google.gwt.dev.util.xml.ReflectiveParser?.parse(ReflectiveParser?.java:398) at com.google.gwt.dev.cfg.ModuleDefLoader?.nestedLoad(ModuleDefLoader?.java:257) at com.google.gwt.dev.cfg.ModuleDefLoader?$1.load(ModuleDefLoader?.java:169) at com.google.gwt.dev.cfg.ModuleDefLoader?.doLoadModule(ModuleDefLoader?.java:283) at com.google.gwt.dev.cfg.ModuleDefLoader?.loadFromClassPath(ModuleDefLoader?.java:141) at com.google.gwt.dev.Compiler.run(Compiler.java:184) at com.google.gwt.dev.Compiler$1.run(Compiler.java:152) at com.google.gwt.dev.CompileTaskRunner?.doRun(CompileTaskRunner?.java:87) at com.google.gwt.dev.CompileTaskRunner?.runWithAppropriateLogger(CompileTaskRunner?.java:81) at com.google.gwt.dev.Compiler.main(Compiler.java:159)
ERROR? Unexpected error while processing XML
com.google.gwt.core.ext.UnableToCompleteException?: (see previous log entries)
at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.parse(ReflectiveParser?.java:351) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.access$100(ReflectiveParser?.java:48) at com.google.gwt.dev.util.xml.ReflectiveParser?.parse(ReflectiveParser?.java:398) at com.google.gwt.dev.cfg.ModuleDefLoader?.nestedLoad(ModuleDefLoader?.java:257) at com.google.gwt.dev.cfg.ModuleDefSchema?$BodySchema?.inherits_begin(ModuleDefSchema?.java:354) at sun.reflect.GeneratedMethodAccessor1?.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.util.xml.HandlerMethod?.invokeBegin(HandlerMethod?.java:223) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.startElement(ReflectiveParser?.java:270) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:788) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver?.next(XMLDocumentFragmentScannerImpl.java:2755) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.parse(ReflectiveParser?.java:327) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.access$100(ReflectiveParser?.java:48) at com.google.gwt.dev.util.xml.ReflectiveParser?.parse(ReflectiveParser?.java:398) at com.google.gwt.dev.cfg.ModuleDefLoader?.nestedLoad(ModuleDefLoader?.java:257) at com.google.gwt.dev.cfg.ModuleDefLoader?$1.load(ModuleDefLoader?.java:169) at com.google.gwt.dev.cfg.ModuleDefLoader?.doLoadModule(ModuleDefLoader?.java:283) at com.google.gwt.dev.cfg.ModuleDefLoader?.loadFromClassPath(ModuleDefLoader?.java:141) at com.google.gwt.dev.Compiler.run(Compiler.java:184) at com.google.gwt.dev.Compiler$1.run(Compiler.java:152) at com.google.gwt.dev.CompileTaskRunner?.doRun(CompileTaskRunner?.java:87) at com.google.gwt.dev.CompileTaskRunner?.runWithAppropriateLogger(CompileTaskRunner?.java:81) at com.google.gwt.dev.Compiler.main(Compiler.java:159)
ERROR? Line 10: Unexpected exception while processing element 'inherits' com.google.gwt.core.ext.UnableToCompleteException?: (see previous log entries)
at com.google.gwt.dev.cfg.ModuleDefLoader?.nestedLoad(ModuleDefLoader?.java:260) at com.google.gwt.dev.cfg.ModuleDefSchema?$BodySchema?.inherits_begin(ModuleDefSchema?.java:354) at sun.reflect.GeneratedMethodAccessor1?.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.util.xml.HandlerMethod?.invokeBegin(HandlerMethod?.java:223) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.startElement(ReflectiveParser?.java:270) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:788) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver?.next(XMLDocumentFragmentScannerImpl.java:2755) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.parse(ReflectiveParser?.java:327) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.access$100(ReflectiveParser?.java:48) at com.google.gwt.dev.util.xml.ReflectiveParser?.parse(ReflectiveParser?.java:398) at com.google.gwt.dev.cfg.ModuleDefLoader?.nestedLoad(ModuleDefLoader?.java:257) at com.google.gwt.dev.cfg.ModuleDefLoader?$1.load(ModuleDefLoader?.java:169) at com.google.gwt.dev.cfg.ModuleDefLoader?.doLoadModule(ModuleDefLoader?.java:283) at com.google.gwt.dev.cfg.ModuleDefLoader?.loadFromClassPath(ModuleDefLoader?.java:141) at com.google.gwt.dev.Compiler.run(Compiler.java:184) at com.google.gwt.dev.Compiler$1.run(Compiler.java:152) at com.google.gwt.dev.CompileTaskRunner?.doRun(CompileTaskRunner?.java:87) at com.google.gwt.dev.CompileTaskRunner?.runWithAppropriateLogger(CompileTaskRunner?.java:81) at com.google.gwt.dev.Compiler.main(Compiler.java:159)
ERROR? Failure while parsing XML com.google.gwt.core.ext.UnableToCompleteException?: (see previous log entries)
at com.google.gwt.dev.util.xml.DefaultSchema?.onHandlerException(DefaultSchema?.java:56) at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:66) at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:66) at com.google.gwt.dev.util.xml.HandlerMethod?.invokeBegin(HandlerMethod?.java:233) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.startElement(ReflectiveParser?.java:270) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:788) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver?.next(XMLDocumentFragmentScannerImpl.java:2755) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.parse(ReflectiveParser?.java:327) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.access$100(ReflectiveParser?.java:48) at com.google.gwt.dev.util.xml.ReflectiveParser?.parse(ReflectiveParser?.java:398) at com.google.gwt.dev.cfg.ModuleDefLoader?.nestedLoad(ModuleDefLoader?.java:257) at com.google.gwt.dev.cfg.ModuleDefLoader?$1.load(ModuleDefLoader?.java:169) at com.google.gwt.dev.cfg.ModuleDefLoader?.doLoadModule(ModuleDefLoader?.java:283) at com.google.gwt.dev.cfg.ModuleDefLoader?.loadFromClassPath(ModuleDefLoader?.java:141) at com.google.gwt.dev.Compiler.run(Compiler.java:184) at com.google.gwt.dev.Compiler$1.run(Compiler.java:152) at com.google.gwt.dev.CompileTaskRunner?.doRun(CompileTaskRunner?.java:87) at com.google.gwt.dev.CompileTaskRunner?.runWithAppropriateLogger(CompileTaskRunner?.java:81) at com.google.gwt.dev.Compiler.main(Compiler.java:159)
ERROR? Unexpected error while processing XML com.google.gwt.core.ext.UnableToCompleteException?: (see previous log entries)
at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.parse(ReflectiveParser?.java:351) at com.google.gwt.dev.util.xml.ReflectiveParser?$Impl.access$100(ReflectiveParser?.java:48) at com.google.gwt.dev.util.xml.ReflectiveParser?.parse(ReflectiveParser?.java:398) at com.google.gwt.dev.cfg.ModuleDefLoader?.nestedLoad(ModuleDefLoader?.java:257) at com.google.gwt.dev.cfg.ModuleDefLoader?$1.load(ModuleDefLoader?.java:169) at com.google.gwt.dev.cfg.ModuleDefLoader?.doLoadModule(ModuleDefLoader?.java:283) at com.google.gwt.dev.cfg.ModuleDefLoader?.loadFromClassPath(ModuleDefLoader?.java:141) at com.google.gwt.dev.Compiler.run(Compiler.java:184) at com.google.gwt.dev.Compiler$1.run(Compiler.java:152) at com.google.gwt.dev.CompileTaskRunner?.doRun(CompileTaskRunner?.java:87) at com.google.gwt.dev.CompileTaskRunner?.runWithAppropriateLogger(CompileTaskRunner?.java:81) at com.google.gwt.dev.Compiler.main(Compiler.java:159)
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 ?
rem: same error when i use Eclipse.
It loos like i ve forgot to add the jsCollection module on the release 1.1
sorry i ll correct that right away. If you can wait you can extract it from the release 1.0 add it to 1.1
Regards,
Alain
thanks alain for your quick response
but there's an other error :
GWT Compiling client-side code.
Loading inherited module 'com.ekambi.gwt.air.pdf.PDF'
Loading inherited module 'com.ekambi.gwt.air.core.Gwt4Air-modular'
[ERROR] Unable to find 'com/ekambi/gwt/air/core/Gwt4Air-modular.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
[ERROR] Line 19: Unexpected exception while processing element 'inherits'
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
hi Alain,
Now there is no compiling error,
first i would like to inform you that am using Netbeans and the air SDK is not configured on it, the setup.doc explain how to configure aire SDK with Eclipse can you show me how to configure it on Netbeans.
when i debugging my project the program crash :
PDF pdfFile = PDF.newInstance(Orientation.PORTRAIT, Unit.MM, Size.A4);
and go to :
public InvocationTargetException(Throwable target) {
super((Throwable)null); // Disallow initCause
this.target = target;
}
is this due to air SDK is not configured or other pbs
i create a methode createPdffile:
public String createPdffile() {
//create the pdf file
PDF pdfFile = PDF.newInstance(Orientation.PORTRAIT, Unit.MM, Size.A4);
pdfFile.addPage();
pdfFile.setTextStyle(RGBColor.newInstance(0x006400));
pdfFile.writeText(15, "Hello World from Air4Gwt");
ByteArray data = pdfFile.save(Method.LOCAL);
Hello,
To keep it honest with you
i dont use NetBeans , so i dont know how to setup an AIR project on NetBeans. But it must be similar to eclipse i guess.
I ll hav a look at it and put a tutorial on the google code site.
You can not debug any code using the AIR API like you would debug your GWT code since there s no(atleast for now) dev mode for AIR. You will need to compile your gwt project and run it inside AIR.
I m working on the dev mode but it s not finisched yet. At my company we are using Runtime.trace("....") and the airIntrospector.js file for now.
The method you created must be on the client side. the PDF generation does not require any server.
Hope this could help
if not feel free to contact me ,
Regards,
Alain.
P.S: maybe you could put your inputs on the google code site so others who have the same issues and does not know this forum can also use this informations.
Hello Alain,
This is imho a really nice contribution to GXT.
The PDF module has really saved us a lot of work on exporting GXTcharts.
And you next releases look promising.
Keep up the good work !