Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      23

      Description

      I am starting to work with g4jsf (see thread between me and Sergey Smirnov
      titled "Example EJB3 GWT apps?" on code.google.com/webtoolkit forum). I have
      just downloaded the a4j-gwtMap and a4j-gwtKickStart samples.

      In each one, I copied build.properties.sample to build.properties and edited it
      appropriately. Then I ran "ant" in each project's ant directory.

      In a4j-gwtKickStart, the default ant target (ant war) ran perfectly.

      In a4j-gwtMap, it failed with this error:

      compile.js:
      [java] Loading module 'demo.gwt.GoogleMaps'
      [java] [ERROR] Unable to find 'demo/gwt/GoogleMaps.gwt.xml' on your
      classpath; could be a typo, or maybe you forgot to include a classpath entry for
      source?
      [java] [ERROR] Build failed
      [java] Java Result: 1

      This turns out to be because the only copy of GoogleMaps.gwt.xml in that zip
      file is at the following path in the zip:

      WebContent/WEB-INF/classes/demo/gwt/GoogleMaps.gwt.xml

      Which is indeed not anywhere on the classpath for the compile.js target. And it
      seems like the wrong place for it anyway, since all the classes should be under
      the "build" directory.

      In the properly working a4j-gwtKickStart sample, the corresponding .gwt.xml file
      is at:

      JavaSource\demo\gwt\HelloWidget.gwt.xml

      Which makes much more sense and is correct.

      Please fix the broken sample source zip file... it would seem that you haven't
      had too many people try it, if no one has noticed this error yet :-\

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            ajax4jsf-issues
            Reporter:
            robjellinghaus
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: