Menu

Version 2.0.3 jar file possibly packaged wrong

Mr_Freeze
2013-10-11
2013-10-28
  • Mr_Freeze

    Mr_Freeze - 2013-10-11

    Hi Dieter,

    I now reactivaed my sourceforge login, so I can post you here and not on the Vaadin rating.

    As I wrote:
    "The jar file of Version 2.0.3 (resolved by Ivy) is not correctly packaged. The jar does not contain de.steinwedel.vaadin.addon.messagebox. Only de.steinwedel.messagebox is in the jar."

    You asked me for more detailed explanation, so:
    I used the Ivy dependency <dependency org="de.steinwedel.vaadin.addon" name="messagebox" rev="2.0.3"/> in my project.
    Then I of course must reconcile the widget set. The widgetset managed by Ivy contains then:
    <inherits name="de.steinwedel.vaadin.addon.messagebox.WidgetSet"/>

    The compilation of the widgetset fails because the messagebox.jar in version 2.0.3 does not contain the package de.steinwedel.vaadin.addon.messagebox. only de.steinwedel.messagebox. packages are contained.

    Hope this helps you. I now used Version 2.0.2 which contains de.steinwedel.vaadin.addon.messagebox.*

    Thanks
    Mario

     
  • Mr_Freeze

    Mr_Freeze - 2013-10-11

    Screenprints of the Package contents

     
  • Mr_Freeze

    Mr_Freeze - 2013-10-23

    Hi Dieter,

    probably the problem is just that the IvyDE Plugin adds this line to my WidgetSet:
    <inherits name="de.steinwedel.vaadin.addon.messagebox.WidgetSet"/>
    and it should be:
    <inherits name="de.steinwedel.messagebox.WidgetSet"/>

    Here is the Stack Trace:
    [ERROR] Unable to find 'de/steinwedel/vaadin/addon/messagebox/WidgetSet.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
    [ERROR] Line 29: 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:304)
    ...
    Widgetset compilation failed

    Best regards
    Mario

     

    Last edit: Mr_Freeze 2013-10-23
  • Dieter Steinwedel

    Hi Mario,

    I have tested maven the first time with version 2.0.2. I had needed some attempts to rebuild the project structure. After I had succeeded, I had no idea, how to publish the "mavenized" version. I had figured out, that I only had to upload the version and to switch it to public. I had run some tests with resolving. Than I had recognized a big problem: I had an API change to 2.0.1. That was not intended. Therefore I had quickly disabled 2.0.2 and enabled 2.0.1. After I had corrected this problem I had published the version 2.0.3. That is the development history.

    Unfortunally, you have resolved the version with the unintended API change in the small time window. I'm sorry for the circumstances. The screenshot "MessageBox_2.0.3.JPG" shows the intended API package structure. The question is, why do you get the wrong path to the WidgetSet.gwt.xml. Currently, have no idea. I have searched the path in my sources without any hits. I have to think about it. Maybe I build a test project with Ivy. Stay tuned.

    • Dieter.
     
  • Dieter Steinwedel

    Hi Mario,

    have written a simple test project using ivy. It works perfectly for me. Check the attachment. It contains the test project.

    • Dieter.
     

    Last edit: Dieter Steinwedel 2013-10-23
  • Mr_Freeze

    Mr_Freeze - 2013-10-24

    Fuck, my post got lost 2 times now... so just short now, see if it gets posted:

    Please correct the package name of the WidgetSet in your pom.xml line 132:
    <Vaadin-Widgetsets>de.steinwedel.messagebox.WidgetSet</Vaadin-Widgetsets>

    it is currently the non existing package that I mentioned:
    <Vaadin-Widgetsets>de.steinwedel.vaadin.addon.messagebox.WidgetSet</Vaadin-Widgetsets>

    Best regards
    Mario

     
  • Dieter Steinwedel

    Damn it, I haven't seen it. Thanks for the hint. I will release a new version.

     
  • Dieter Steinwedel

    May you change your rating?

     
  • Mr_Freeze

    Mr_Freeze - 2013-10-28

    Yes of course... it is an absolut super addon that is needed in every application and it is in deed working. But at first I was very irriated that nobody had problems just me? And I didn't see a chance to contact you besides the rating. So unfortunately I needed to put some stars.

    Best regards
    Mario

     
  • Arthur

    Arthur - 2013-10-28

    moved my original message to new topic

     

    Last edit: Arthur 2013-10-28

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.