Unable to get demo application compiled

32 views
Skip to first unread message

sameer nafdey

unread,
Apr 9, 2009, 5:20:44 AM4/9/09
to ftr-gwt-library
Hi All,

I am newbie to GWT. However I am here after some understanding. I am
trying to compile calendar demo work without success. I am using ant
script provided with the source.

I complied, build all the subprojects in following order:
1. ftr-gwt-date-emulation BUILD Success.
2. ftr-gwt-library-date
3. ftr-gwt-library-extras
4. ftr-gwt-library-file
5. ftr-gwt-demo

I am putting the compilation oder, don't know how much does it matter,
but finally I am able to build everything but unable to run the demo
application.

However when I try "ant compile-cal-demo" command inside "ftr-gwt-
demo", I get following errors.

D:\Softwares\J2EE\GWT Samples, API etc\GWT 1.5.3\CustomGWT Google Like
Calendar Component\ftr-gwt-library\ftr-gwt-demo>ant compile-cal-demo
Buildfile: build.xml

compile-cal-demo:
[java] Removing units with errors
[java] [ERROR] Errors in 'jar:file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/lib/ftr-gwt-library-
extras-0.9.9.jar!/eu/future/earth/gwt/client/table/BasicTable.java'
[java] [ERROR] Line 22: No source code is available for
type org.cobogw.gwt.user.client.ui.RoundedPanel; did you forget to
inherit a required module?
[java] [ERROR] Errors in 'jar:file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/lib/ftr-gwt-library-
date-0.9.9.jar!/eu/future/earth/gwt/client/date/week/staend/
DayField.java'
[java] [ERROR] Line 166: No source code is available for
type org.cobogw.gwt.user.client.ui.RoundedPanel; did you forget to
inherit a required module?
[java] [ERROR] Errors in 'jar:file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/lib/ftr-gwt-library-
date-0.9.9.jar!/eu/future/earth/gwt/client/date/
AbstractWholeDayField.java'
[java] [ERROR] Line 46: No source code is available for
type org.cobogw.gwt.user.client.ui.RoundedPanel; did you forget to
inherit a required module?
[java] [ERROR] Errors in 'jar:file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/lib/ftr-gwt-library-
date-0.9.9.jar!/eu/future/earth/gwt/client/date/MultiView.java'
[java] [ERROR] Line 56: No source code is available for
type org.cobogw.gwt.user.client.ui.RoundedPanel; did you forget to
inherit a required module?
[java] [ERROR] Errors in 'jar:file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/lib/ftr-gwt-library-
date-0.9.9.jar!/eu/future/earth/gwt/client/date/week/staend/
AbstractDayField.java'
[java] [ERROR] Line 45: No source code is available for
type org.cobogw.gwt.user.client.ui.RoundedPanel; did you forget to
inherit a required module?
[java] Removing invalidated units
[java] [WARN] Compilation unit 'file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/ftr-gwt-demo/src/main/java/eu/
future/earth/gwt/client/table/SortableTableDemo.java' is removed due
to invalid reference(s):
[java] [WARN] jar:file:/D:/Softwares/J2EE/GWT%20Samples,
%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar
%20Component/ftr-gwt-library/lib/ftr-gwt-library-extras-0.9.9.jar!/eu/
future/earth/gwt/client/table/BasicTable.java
[java] [WARN] Compilation unit 'jar:file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/lib/ftr-gwt-library-
date-0.9.9.jar!/eu/future/earth/gwt/client/date/week/staend/
ResizeDragController.java' is removed due to invalid reference(s):
[java] [WARN] jar:file:/D:/Softwares/J2EE/GWT%20Samples,
%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar
%20Component/ftr-gwt-library/lib/ftr-gwt-library-date-0.9.9.jar!/eu/
future/earth/gwt/client/date/week/staend/DayField.java
[java] [WARN] Compilation unit 'file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/ftr-gwt-demo/src/main/java/eu/
future/earth/gwt/client/date/DefaultWholeDayField.java' is removed due
to invalid reference(s):
[java] [WARN] jar:file:/D:/Softwares/J2EE/GWT%20Samples,
%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar
%20Component/ftr-gwt-library/lib/ftr-gwt-library-date-0.9.9.jar!/eu/
future/earth/gwt/client/date/AbstractWholeDayField.java
[java] [WARN] Compilation unit 'jar:file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/lib/ftr-gwt-library-
date-0.9.9.jar!/eu/future/earth/gwt/client/date/week/staend/
DayPanel.java' is removed due to invalid reference(s):
[java] [WARN] jar:file:/D:/Softwares/J2EE/GWT%20Samples,
%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar
%20Component/ftr-gwt-library/lib/ftr-gwt-library-date-0.9.9.jar!/eu/
future/earth/gwt/client/date/week/staend/DayField.java
[java] [WARN] Compilation unit 'jar:file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/lib/ftr-gwt-library-
date-0.9.9.jar!/eu/future/earth/gwt/client/date/EventController.java'
is removed due to invalid reference(s):
[java] [WARN] jar:file:/D:/Softwares/J2EE/GWT%20Samples,
%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar
%20Component/ftr-gwt-library/lib/ftr-gwt-library-date-0.9.9.jar!/eu/
future/earth/gwt/client/date/MultiView.java
[java] [WARN] Compilation unit 'file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/ftr-gwt-demo/src/main/java/eu/
future/earth/gwt/client/date/DefaultDayField.java' is removed due to
invalid reference(s):
[java] [WARN] jar:file:/D:/Softwares/J2EE/GWT%20Samples,
%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar
%20Component/ftr-gwt-library/lib/ftr-gwt-library-date-0.9.9.jar!/eu/
future/earth/gwt/client/date/week/staend/AbstractDayField.java
[java] [WARN] Compilation unit 'file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/ftr-gwt-demo/src/main/java/eu/
future/earth/gwt/client/OverviewPanelDemo.java' is removed due to
invalid reference(s):
[java] [WARN] jar:file:/D:/Softwares/J2EE/GWT%20Samples,
%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar
%20Component/ftr-gwt-library/lib/ftr-gwt-library-date-0.9.9.jar!/eu/
future/earth/gwt/client/date/MultiView.java
[java] [WARN] Compilation unit 'jar:file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/lib/ftr-gwt-library-
date-0.9.9.jar!/eu/future/earth/gwt/client/date/week/staend/
DayPanelDropController.java' is removed due to invalid reference(s):
[java] [WARN] jar:file:/D:/Softwares/J2EE/GWT%20Samples,
%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar
%20Component/ftr-gwt-library/lib/ftr-gwt-library-date-0.9.9.jar!/eu/
future/earth/gwt/client/date/week/staend/DayField.java
[java] [WARN] Compilation unit 'jar:file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/lib/ftr-gwt-library-
date-0.9.9.jar!/eu/future/earth/gwt/client/date/week/WeekPanel.java'
is removed due to invalid reference(s):
[java] [WARN] jar:file:/D:/Softwares/J2EE/GWT%20Samples,
%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar
%20Component/ftr-gwt-library/lib/ftr-gwt-library-date-0.9.9.jar!/eu/
future/earth/gwt/client/date/week/staend/AbstractDayField.java
[java] [WARN] Compilation unit 'jar:file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/lib/ftr-gwt-library-
date-0.9.9.jar!/eu/future/earth/gwt/client/date/week/staend/
ExtendedAbsolutePanel.java' is removed due to invalid reference(s):
[java] [WARN] jar:file:/D:/Softwares/J2EE/GWT%20Samples,
%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar
%20Component/ftr-gwt-library/lib/ftr-gwt-library-date-0.9.9.jar!/eu/
future/earth/gwt/client/date/week/staend/DayField.java
[java] [WARN] Compilation unit 'file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/ftr-gwt-demo/src/main/java/eu/
future/earth/gwt/client/SampleEventCacheController.java' is removed
due to invalid reference(s):
[java] [WARN] jar:file:/D:/Softwares/J2EE/GWT%20Samples,
%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar
%20Component/ftr-gwt-library/lib/ftr-gwt-library-date-0.9.9.jar!/eu/
future/earth/gwt/client/date/MultiView.java
[java] [WARN] Compilation unit 'jar:file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/lib/ftr-gwt-library-
date-0.9.9.jar!/eu/future/earth/gwt/client/date/week/staend/
BaseDayPanel.java' is removed due to invalid reference(s):
[java] [WARN] jar:file:/D:/Softwares/J2EE/GWT%20Samples,
%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar
%20Component/ftr-gwt-library/lib/ftr-gwt-library-date-0.9.9.jar!/eu/
future/earth/gwt/client/date/week/staend/ExtendedAbsolutePanel.java
[java] [WARN] Compilation unit 'file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/ftr-gwt-demo/src/main/java/eu/
future/earth/gwt/client/MainDemoApp.java' is removed due to invalid
reference(s):
[java] [WARN] file:/D:/Softwares/J2EE/GWT%20Samples,%20API
%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar%20Component/
ftr-gwt-library/ftr-gwt-demo/src/main/java/eu/future/earth/gwt/client/
table/SortableTableDemo.java
[java] [WARN] Compilation unit 'jar:file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/lib/ftr-gwt-library-
date-0.9.9.jar!/eu/future/earth/gwt/client/date/week/whole/
DayEventpanel.java' is removed due to invalid reference(s):
[java] [WARN] jar:file:/D:/Softwares/J2EE/GWT%20Samples,
%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar
%20Component/ftr-gwt-library/lib/ftr-gwt-library-date-0.9.9.jar!/eu/
future/earth/gwt/client/date/week/WeekPanel.java
[java] [WARN] Compilation unit 'file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/ftr-gwt-demo/src/main/java/eu/
future/earth/gwt/client/date/DefaultStringPanelRenderer.java' is
removed due to invalid reference(s):
[java] [WARN] file:/D:/Softwares/J2EE/GWT%20Samples,%20API
%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar%20Component/
ftr-gwt-library/ftr-gwt-demo/src/main/java/eu/future/earth/gwt/client/
date/DefaultWholeDayField.java
[java] [WARN] file:/D:/Softwares/J2EE/GWT%20Samples,%20API
%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar%20Component/
ftr-gwt-library/ftr-gwt-demo/src/main/java/eu/future/earth/gwt/client/
date/DefaultDayField.java
[java] [WARN] Compilation unit 'jar:file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/lib/ftr-gwt-library-
date-0.9.9.jar!/eu/future/earth/gwt/client/date/week/staend/
HourPanel.java' is removed due to invalid reference(s):
[java] [WARN] jar:file:/D:/Softwares/J2EE/GWT%20Samples,
%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar
%20Component/ftr-gwt-library/lib/ftr-gwt-library-date-0.9.9.jar!/eu/
future/earth/gwt/client/date/week/staend/BaseDayPanel.java
[java] [WARN] Compilation unit 'jar:file:/D:/Softwares/J2EE/GWT
%20Samples,%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like
%20Calendar%20Component/ftr-gwt-library/lib/ftr-gwt-library-
date-0.9.9.jar!/eu/future/earth/gwt/client/date/week/whole/
WholeDayPanelDropController.java' is removed due to invalid reference
(s):
[java] [WARN] jar:file:/D:/Softwares/J2EE/GWT%20Samples,
%20API%20etc/GWT%201.5.3/CustomGWT%20Google%20Like%20Calendar
%20Component/ftr-gwt-library/lib/ftr-gwt-library-date-0.9.9.jar!/eu/
future/earth/gwt/client/date/week/whole/DayEventpanel.java
[java] Compiling module eu.future.earth.gwt.MainDemoApp
[java] Computing all possible rebind results for
'eu.future.earth.gwt.client.MainDemoApp'
[java] Rebinding eu.future.earth.gwt.client.MainDemoApp
[java] Checking rule <generate-with
class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>
[java] [ERROR] Unable to find type
'eu.future.earth.gwt.client.MainDemoApp'
[java] [ERROR] Hint: Previous compiler errors may
have made this type unavailable
[java] [ERROR] Hint: Check the inheritance chain from
your module; it may not be inheriting a required module or a module
may not be adding its source path entries properly
[java] [ERROR] Build failed
[java] Java Result: 1

BUILD SUCCESSFUL
Total time: 12 seconds


This means application is compiled but some compiled classes are being
removed due to following error message:
"No source code is available for type
org.cobogw.gwt.user.client.ui.RoundedPanel; did you forget to inherit
a required module?"

I am not clear as to where do I define the inheritance of the required
module which is available as lib\org.cobogw.gwt.jar. Which build
script is creating the GWT project and which gwt.xml file do I need to
check to correct this reference issue in the demo project?

My second question is about missing project source code "ftr-library-
eclipse" which is supposed to be available at SVN "http://ftr-gwt-
library.googlecode.com/svn/trunk/ftr-library-eclipse/", which is not
found there. I am using TortoiseSVN on windows xp machine, does this
make any difference? Where can I get source code of "ftr-library-
eclipse" project, because I see it in the wiki article at
http://code.google.com/p/ftr-gwt-library/wiki/BuildingWithAnt I feel I
would need that project too, am I correct on this?

Please help me understand these issues.

Thanks,
Sameer.

Amit Dhingra

unread,
Apr 9, 2009, 5:40:47 AM4/9/09
to ftr-gwt...@googlegroups.com
You will need to add rounded corner thinge on your own... just google it out and you will find it easily...
Even I got stuck with this when i started. :))

Regards,
Amit Dhingra
amitdhingra.in
--
Warm Regards,
Amit Dhingra

sameer nafdey

unread,
Apr 9, 2009, 5:58:40 AM4/9/09
to ftr-gwt-library
Hi Amit,

Thanks for quick response. I know
org.cobogw.gwt.user.client.ui.RoundedPanel is a part of
org.cobogw.gwt.jar which is available in SVN but was not working for
me when I tried to "ant build jad" to ftr-gwt-library-date and ftr-gwt-
library-extra module, it was due to difference in java versions. I
solved it by downloading the source code of this org.cobogw.gwt.jar
library and compiling/packaging in correct java version (1.5) then
added to project_home\lib it helped me to compile the other modules
viz ftr-gwt-library-date and ftr-gwt-library-extra.

The problem now I see is with ftr-gwt-demo module in which when I am
trying "ant compile-cal-demo" it gives the error as I mentioned.

What I feel is that, we provide dependent libraries inside the <module-
name>.gwt.xml file in any GWT project, for example <inherits
name="com.google.gwt.user.User"/>, but is not happening in my case
with ftr-gwt-demo.

Also do you have any idea where can I find the "ftr-library-eclipse"
project's source code?

Thanks,
Sameer.

On Apr 9, 2:40 pm, Amit Dhingra <amit.dhing...@gmail.com> wrote:
> You will need to add rounded corner thinge on your own... just google it out
> and you will find it easily...
> Even I got stuck with this when i started. :))
>
> Regards,
> Amit Dhingra
> amitdhingra.in
>
> >     [java]    [WARN] Compilation unit 'jar:file:/D:/Softwares/J2EE/GWT...
>
> read more »

sameer nafdey

unread,
Apr 9, 2009, 6:28:31 AM4/9/09
to ftr-gwt-library
Ok I found the MainDemoApp.gwt.xml file which I was looking for inside
\ftr-gwt-demo\src\main\resources\eu\future\earth\gwt path. But now I
am trying to add <inherits
name="org.cobogw.gwt.user.client.ui.RoundedPanel"/> into
MainDemoApp.gwt.xml.

It now gives me different error as follows:


D:\Softwares\J2EE\GWT Samples, API etc\GWT 1.5.3\CustomGWT Google Like
Calendar Component\ftr-gwt-library\ftr-gwt-demo>ant compile-cal-demo
Buildfile: build.xml

compile-cal-demo:
[java] Loading module 'eu.future.earth.gwt.MainDemoApp'
[java] Loading inherited module
'org.cobogw.gwt.user.client.ui.RoundedPanel'
[java] [ERROR] Unable to find 'org/cobogw/gwt/user/client/
ui/RoundedPanel.gwt.xml' on your classpath; could be a typo, or maybe
you forgot to include a classpath entry for source?
[java] [ERROR] Line 8: Unexpected exception while processing
element 'inherits'
[java] com.google.gwt.core.ext.UnableToCompleteException: (see
previous log entries)
[java] at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad
(ModuleDefLoader.java:225)
[java] at com.google.gwt.dev.cfg.ModuleDefSchema
$BodySchema.__inherits_begin(ModuleDefSchema.java:194)
[java] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown
Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin
(HandlerMethod.java:223)
[java] at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.startElement(ReflectiveParser.java:257)
[java] at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
(AbstractSAXParser.java:533)
[java] at
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement
(AbstractXMLDocumentParser.java:220)
[java] at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement
(XMLDocumentFragmentScannerImpl.java:872)
[java] at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch
(XMLDocumentFragmentScannerImpl.java:1693)
[java] at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:368)
[java] at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(XML11Configuration.java:834)
[java] at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(XML11Configuration.java:764)
[java] at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
(XMLParser.java:148)
[java] at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1242)
[java] at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.parse(ReflectiveParser.java:310)
[java] at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.access$100(ReflectiveParser.java:48)
[java] at com.google.gwt.dev.util.xml.ReflectiveParser.parse
(ReflectiveParser.java:381)
[java] at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad
(ModuleDefLoader.java:243)
[java] at com.google.gwt.dev.cfg.ModuleDefLoader$1.load
(ModuleDefLoader.java:155)
[java] at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule
(ModuleDefLoader.java:269)
[java] at
com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath
(ModuleDefLoader.java:127)
[java] at
com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath
(ModuleDefLoader.java:108)
[java] at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:
562)
[java] at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:
554)
[java] at com.google.gwt.dev.GWTCompiler.main
(GWTCompiler.java:214)
[java] [ERROR] Failure while parsing XML
[java] com.google.gwt.core.ext.UnableToCompleteException: (see
previous log entries)
[java] at
com.google.gwt.dev.util.xml.DefaultSchema.onHandlerException
(DefaultSchema.java:56)
[java] at
com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:65)
[java] at
com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:65)
[java] at
com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin
(HandlerMethod.java:233)
[java] at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.startElement(ReflectiveParser.java:257)
[java] at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
(AbstractSAXParser.java:533)
[java] at
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement
(AbstractXMLDocumentParser.java:220)
[java] at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement
(XMLDocumentFragmentScannerImpl.java:872)
[java] at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch
(XMLDocumentFragmentScannerImpl.java:1693)
[java] at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:368)
[java] at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(XML11Configuration.java:834)
[java] at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(XML11Configuration.java:764)
[java] at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
(XMLParser.java:148)
[java] at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1242)
[java] at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.parse(ReflectiveParser.java:310)
[java] at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.access$100(ReflectiveParser.java:48)
[java] at com.google.gwt.dev.util.xml.ReflectiveParser.parse
(ReflectiveParser.java:381)
[java] at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad
(ModuleDefLoader.java:243)
[java] at com.google.gwt.dev.cfg.ModuleDefLoader$1.load
(ModuleDefLoader.java:155)
[java] at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule
(ModuleDefLoader.java:269)
[java] at
com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath
(ModuleDefLoader.java:127)
[java] at
com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath
(ModuleDefLoader.java:108)
[java] at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:
562)
[java] at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:
554)
[java] at com.google.gwt.dev.GWTCompiler.main
(GWTCompiler.java:214)
[java] [ERROR] Build failed
[java] Java Result: 1

BUILD SUCCESSFUL
Total time: 1 second



Now 'org/cobogw/gwt/user/client/ui/RoundedPanel.gwt.xml' file seems
missing even not available inside org.cobogw.gwt.jar.

Please help!

Thanks,
Sameer.
> > >     [java]      ...
>
> read more »

sameer nafdey

unread,
Apr 9, 2009, 7:18:25 AM4/9/09
to ftr-gwt-library
Ok I was wrong there. I read the wiki article of project cobogw at
Google Codes and found that I had to add <inherits
name='org.cobogw.gwt.user.User' /> into \ftr-gwt-demo\src\main
\resources\eu\future\earth\gwt\MainDemoApp.gwt.xml file.

Doing so helped me to got me the same error.

[ERROR] Line 22: No source code is available for type
org.cobogw.gwt.user.client.ui.RoundedPanel; did you forget to inherit
a required module?

I compared the org.cobogw.gwt.jar that I generated (to solve bad file
version issue) with the original jar org.cobogw.gwt-1.2.2.jar that I
downloaded from project site at google code. I saw that I have
excluding .java files and hence RoundedPanel.java as well while
packaging into JAR, where as in original JAR, all source code .java
files were right inside the JAR. So I repackaged it, placed inside
\lib, reexecuted "ant build jar" in all "ftr-gwt-*-*" modules and then
finally done "ant compile-cal-demo" in ftr-gwt-demo. It compiled
succesfully and now am also able to run it via ant run-cal-demo.

After this success, I was expecting the same Calendar component as
available on the link http://www.future-earth.eu/gwt/eu.future.earth.gwt.MainDemoApp/MainDemoApp.html
But I see only two rows in the calendar tab with time 0:00 - 22:00 and
two names Janine and Nettie on the left side of the two row.

Can any body tell me why do I get such calendar component instead of
the one expected is in the demo on this site.

Please help me to understand what am I doing wrong. Also please tell
me where can I find the "ftr-library-eclipse" project's source code?

Thanks,
Sameer.
> > > >     [java]       [ERROR]...
>
> read more »

Marteijn Nouwens

unread,
Apr 9, 2009, 10:19:39 AM4/9/09
to ftr-gwt-library
That would be mine fault.

We are working on new stuf and i commented out the calander to get
default the new component.

Please update. It shoudl be fixed.

Marteijn

On Apr 9, 1:18 pm, sameer nafdey <sameer.naf...@gmail.com> wrote:
> Ok I was wrong there. I read the wiki article of project cobogw at
> Google Codes and found that I had to add <inherits
> name='org.cobogw.gwt.user.User' /> into \ftr-gwt-demo\src\main
> \resources\eu\future\earth\gwt\MainDemoApp.gwt.xml file.
>
> Doing so helped me to got me the same error.
>
> [ERROR] Line 22: No source code is available for type
> org.cobogw.gwt.user.client.ui.RoundedPanel; did you forget to inherit
> a required module?
>
> I compared the org.cobogw.gwt.jar that I generated (to solve bad file
> version issue) with the original jar org.cobogw.gwt-1.2.2.jar that I
> downloaded from project site at google code. I saw that I have
> excluding .java files and hence RoundedPanel.java as well while
> packaging into JAR, where as in original JAR, all source code .java
> files were right inside the JAR. So I repackaged it, placed inside
> \lib, reexecuted "ant build jar" in all "ftr-gwt-*-*" modules and then
> finally done "ant compile-cal-demo" in ftr-gwt-demo. It compiled
> succesfully and now am also able to run it via ant run-cal-demo.
>
> After this success, I was expecting the same Calendar component as
> available on the linkhttp://www.future-earth.eu/gwt/eu.future.earth.gwt.MainDemoApp/MainDe...
> ...
>
> read more »

sameer nafdey

unread,
Apr 10, 2009, 1:20:45 AM4/10/09
to ftr-gwt-library
Hi Marteijn,

Its okay, we understand such things happen when you are continuously
working on a project. Thanks for all your efforts and providing us
such a great piece of code.

Also, I've been looking for the source code of eclipse project as
mentioned in wiki article. Can you help me find that source code.

As I said before that I am now able to compile and run the demo
application, but when I try to make use of MultiView component with
DefaultStringPanelRenderer.java, SampleEventCacheController.java etc
other default classes as provided in demo application, I get
everything working but when I add event, the event is added but only
visible in Month Panel, not in day, week panel, I'm still trying to
find out what went wrong. Any body can put some lights on the concept
as to how this multiview component works and expects then it would be
helpful.

Thanks,
Sameer.
> > > missing even not...
>
> read more »
Reply all
Reply to author
Forward
0 new messages