1. #21
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    284
    Vote Rating
    48
    Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough

      0  

    Default


    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).


    7) a lot of bug fixing and overall performance improvment

    I hope you guys will like this and looking forward for your inputs

    Regards,

    Alain

  2. #22
    Ext User
    Join Date
    Aug 2010
    Posts
    3
    Vote Rating
    0
    fakhrikharrat is on a distinguished road

      0  

    Default


    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?'

    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.

    thanks

  3. #23
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    284
    Vote Rating
    48
    Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough

      0  

    Default


    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

  4. #24
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    284
    Vote Rating
    48
    Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough

      0  

    Default


    The new file is up .
    sorry for the inconvenient
    greats,
    Alain

  5. #25
    Ext User
    Join Date
    Aug 2010
    Posts
    3
    Vote Rating
    0
    fakhrikharrat is on a distinguished road

      0  

    Default


    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)

    Merci
    Alain

  6. #26
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    284
    Vote Rating
    48
    Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough

      0  

    Default


    Oh boy
    Not good when you working till late in the night
    Must be fixed now
    Thank you for yon inputs
    regards,
    Alain

  7. #27
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    284
    Vote Rating
    48
    Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough

      0  

    Default


    Please can you confirm that everthing is working now ?
    cheers,
    Alain

  8. #28
    Ext User
    Join Date
    Aug 2010
    Posts
    3
    Vote Rating
    0
    fakhrikharrat is on a distinguished road

      0  

    Default


    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);

    //now save the file the file to the desktop

    File f = File.getDesktopDirectory().resolvePath("helloWorld.pdf");
    FileStream stream = FileStream.newInstance();
    stream.open(f, FileMode.WRITE);
    stream.getWriter().writeBytes(data);
    stream.close();

    // open the file
    if (HTMLLoader.getPDFCapability().equals(HTMLPDFCapability.STATUS_OK)) {

    final NativeWindowInitOptions options = NativeWindowInitOptions.newInstance();
    options.setSystemChrome(NativeWindowSystemChrome.STANDARD);
    options.setTransparent(false);

    URLRequest url = URLRequest.newInstance(f.getURL());

    Rectangle rectangle = Rectangle.newInstance(20,
    20,
    Capabilities.screenResolutionX() / 1.6,
    Capabilities.screenResolutionY() / 1.6);
    HTMLLoader loader = HTMLLoader.createRootWindow(true, options, true, rectangle);
    loader.getStage().getNativeWindow().setTitle(f.getNativePath());
    loader.load(url);

    }
    return "TRUE";
    }

    this methode must be in the server side or in client side

    Thanks Alain

  9. #29
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    284
    Vote Rating
    48
    Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough

      0  

    Default


    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.

  10. #30
    Sencha User
    Join Date
    Sep 2010
    Posts
    22
    Vote Rating
    1
    GXTUser1 is on a distinguished road

      0  

    Default


    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 !

Similar Threads

  1. GXT 2.1 and Adobe Air
    By Ekambos in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 28 Jan 2010, 6:48 AM
  2. Gxt with Adobe AIR
    By murd in forum Ext GWT: Help & Discussion (1.x)
    Replies: 6
    Last Post: 28 Nov 2009, 7:02 PM
  3. adobe air
    By mdissel in forum Community Discussion
    Replies: 3
    Last Post: 5 Feb 2008, 11:44 AM
  4. ExtJS homepage... change "Adobe Apollo" to "Adobe AIR"
    By KimH in forum Community Discussion
    Replies: 1
    Last Post: 9 Jul 2007, 3:20 AM

Thread Participants: 7

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar