Hi Thomas,

try adding this line:

<inherits name="be.thomas.jobby.jobcv" />

Your file should look s.th. like this:

<module rename-to="jobcv">                      -->
        <inherits name='com.google.gwt.user.User' />
        <inherits name="com.google.gwt.i18n.I18N" />

        <!-- my includes go here -->
        <inherits name="be.thomas.jobby.jobcv" />

                         -->
        <inherits name='com.google.gwt.user.theme.standard.Standard' />
                               -->
        <entry-point class='be.roularta.jobcv.client.JobCV' />


                        -->
        <source path='client' />
        <source path='shared' />
        <source path='test' />

        <extend-property name="locale" values="en" />
        <extend-property name="locale" values="fr" />

</module>


Thomas Van Driessche schrieb:
Hi Marcus,

I don't have a separata module for testing.

My Module looks like this:

<module rename-to="jobcv">                      -->
        <inherits name='com.google.gwt.user.User' />
        <inherits name="com.google.gwt.i18n.I18N" />
                          -->
        <inherits name='com.google.gwt.user.theme.standard.Standard' />
                               -->
        <entry-point class='be.roularta.jobcv.client.JobCV' />
                        -->
        <source path='client' />
        <source path='shared' />
        <source path='test' />

        <extend-property name="locale" values="en" />
        <extend-property name="locale" values="fr" />

</module>

i tried to compile it on the following ways:
 - mvn clean install
 - mvn gwt:compile

Both don't even recognize my test.

Must i still inherit be.thomas.jobby.jobcv? Even if i don't have a
separate gwt.xml file for testing?

It's a riddle to me why it doesn't work, and a disaster i don't find
it.

kind regards

On Jul 14, 12:24 pm, Markus <[email protected]> wrote:
Hi Thomas,

it's like an include for the GWT compiler. I don't know how maven
behaves. What does your project's gwt.xml file look like?
Did you try to just compile your project using the GWT compiler? You can
do it by hand, btw.

Maybe this ressource is 
helpful:http://code.google.com/intl/de-DE/webtoolkit/doc/latest/FAQ_Debugging...

Regards,
Markus

Thomas Van Driessche schrieb:

Hi Markus,
Why do you need to that?
I have named my module jobcv. and therefore the module xml is
jobcv.gwt.xml.
So i need to do an inherit of the module in the xml of that module?
Anyway when i try it it gives no result, the error stays the same. It's a maven - gwt 2.0.0 application, maybe that's a cause?
I started this app from the maven-gwt-spring starter app. And renamed
all the necessary stuff. (and removed the spring dependencies)
Any further ideas? This is really blocking on the project. kind regards. On Jul 13, 5:30 pm, "D.IT Development ML" <[email protected]>
wrote:
Hi Thomas,
did you inherit 'be.thomas.jobby.jobcv' in your project's .gwt.xml-File? For example in project "Foo" you should have a file 'Foo.gwt.xml'. In
this file you should
find a line
<inherits name="be.thomas.jobby.jobcv" /> Regards,
Markus
Thomas Van Driessche schrieb:
Hi,
I'm quite new to Google Web Toolkit, and i'm having a problem when i
created a test.
I inherited from GWTTestCase and overrided the getModuleName(): public String getModuleName() {
           return "be.thomas.jobby.jobby";
   }
Now when i run it it gives te following error: Loading inherited module 'be.thomas.jobby.jobcv'
   [ERROR] Unable to find 'be/thomas/jobby/jobby.gwt.xml' on your
classpath; could be a typo, or maybe you forgot to include a classpath
entry for source?
I have a package be.thomas.jobby under src/main/java and in that
package there is the jobby.gwt.xml file...
Any idea why he doesn't find it? I'm kinda stuck here. kind regards


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