Hi All,

Im trying to use classes from a package inside /src but outside the /
src/<project_name>/client folder. Until now i didnt had much sucess, i
get the following error: "No source code is available for type
test.Test; did you forget to inherit a required module?"

This is what i did:

created the folder "test" at /src

--------------------------------------

then the file /src/test/Test.java

package test;

import com.google.gwt.user.client.Window;

public class Test {
        public Test() {
                Window.alert("hello");
        }
}

--------------------------------------

inside my application i have:

import test.Test;

(...)

public void onModuleLoad() {

Test test = new Test();

}

--------------------------------------

Could someone please point me in the right direction? :)

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