Hi Steffan,
This is how I did it.

I had some classes in a package say x.y.z in the "source" folder of
project XYZ. I created a "abc.gwt.xml" file in the "source" folder
i.e. OUTSIDE the package (one level higher). There is only one entry
in that "abc.gwt.xml" file

<module>
<source path="x.y.z"/> <!--Your package name-->
</module>

Now you need to inherit this file into your GWT main entry class's
gwt.xml file. Lets say that class is xx, then you need to enter this
line in xx.gwt.xml

<inherits name="abc"/>

Now your GWT Compiler should be able to find those classes. I use
eclipse so I needed to include the XYZ project into the build file of
my project. Ian has already mentioned how to do it.

Hope it helps,

Regards,
Muddasser




On Mar 30, 7:03 am, [email protected] wrote:
> Hi Ian,
>
> no success, that is what I did exactly before. Again: How do you run
> and compile your GWT project? What kind of Run/Compile launch
> configuration are you using?
>
> In the last step of the instructins you mention "Click Run". What do
> you wanna run? Normally you would start the GWT hosted mode, you could
> you do that from Eclipse?
>
> -Steffen-
>
> On 29 Mrz., 22:22, Ian Bambury <[email protected]> wrote:
>
> > Hi Steffan,
> > I just did this from scratch and it works for me.
>
> > ===============================
>
> > Highlighted the using project (let's call it Master)
>
> > Alt+Enter to get up Properties
>
> > Java Build Path on the left
>
> > Projects on the tab
>
> > Add
>
> > Select the utility project (let's call it Slave)
>
> > Click OK
>
> > Click OK
>
> > Add the inherits to the gwt.xmlfile
>
> > In Eclipse...
>
> > Run | Run configurations...
>
> > Select Master (this depends on what you called your project launchfile)
>
> > Select ClassPath
>
> > Highlight User Entries
>
> > Click Advanced
>
> > Select Add Folders
>
> > Click OK
>
> > Navigate to and highlight thesourcefolder for Slave (probably 'src' under
> > 'Slave')
>
> > Click OK
>
> > Click Run
>
> > =================================================
>
> > To compile once it has run, click compile/Browse
>
> > Let me know how you get on.
>
> > Ian

--~--~---------~--~----~------------~-------~--~----~
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