Hi Marky,

I have the same error: Unable to find 'xml.gwt.xml' on your classpath;
I am not able to bring up even the first screen of my app.

Could you post how you fixed this issue in your project?

Thanks.

On Aug 22, 2:02 pm, marky <[EMAIL PROTECTED]> wrote:
> Thanks for your help.
> changed inherit to utils.mylib and got a bit further.
> gwt reported missing resources referenced by the inherited module,
> so I took a good look at the eclipse export page and just tried
> putting a tick against everything
> instead of just exporting compiled classes & resources. At which point
> it now runs.
> I'm backing right now cos I know I'll muck the project up by
> tommorrow.
> Thanks for your help Ian!
> And Len
>
> marky
>
> On 22 Aug, 16:32, "Ian Petersen" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Fri, Aug 22, 2008 at 5:01 AM, marky <[EMAIL PROTECTED]> wrote:
> > > I'm used eclipse ide. I create seperate project mylib with package
> > > utils.client containg one class only MyClass
> > > I then created 2nd project (testprj containg on package testprog) and
> > > trying to import utils.client into this testprj.
> > > Have got eclipse to compile by exporting mylib to mylib.jar and then
> > > adding this jar to testprj buildpath.
> > > (was this correct way to do it?)
> > > Then added
> > > inherits name=mylib.gwt.xml to testprj.gwt.xml
> > > No red lines or anything. But when I run it comes with error message
> > > in host browser of
> > > [ERROR] Unable to find 'mylib/gwt/xml.gwt.xml' on your classpath;
> > > could be a typo, or maybe you forgot to include a classpath entry for
> > > source?
>
> > > Problem is there is no file of that name anywhere in mylib. I'm not
> > > trying to inherit file called xml.gwt.xml the file I'm trying to
> > > import is called mylib.gwt.xml
>
> > I think you need to create a module file in your mylib project.
> > Module files are usually capitalized, like class names, but it's not
> > strictly necessary.
>
> > Create utils/MyLib.gwt.xml containing the following:
>
> > <module />
>
> > and make sure it gets included in your mylib JAR file.  Then, change
> > your <inherits> tag to refer to "utils.MyLib" rather than
> > "mylib.gwt.xml" and I _think_ things should "just work".  If you get
> > adventurous down the road, you may need to change MyLib.gwt.xml into a
> > non-trivial module definition.  If and when that time comes, there's
> > pretty good documentation about the module format on GWT's
> > documentation page.
>
> > Ian- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to