Hey Chris, Thanks for the information. It should not be the case that all of the source folders defined in the project are included on the classpath by default. It is true that all of the source files in all of your source folders will be compiled and dumped in the same output directory, and these classes will be on your runtime classpath. However, I do not believe that your source folders will ever by added to the runtime classpath for a Java launch configuration by default. Is this what you were seeing? If so, where/how was this shown?
Rajeev On Wed, Jun 24, 2009 at 4:41 PM, chris gwt <[email protected]> wrote: > > > > > In the diagram there, are "GWT", "Other", etc.. are those children of > > "MyProject (default classpath)"? > They are children of User Entries. MyProject is also a child of > User Entries and is unexpanded (+) > > If so, how did you get "GWT \MyProject\source\" and "Other > \MyProject\source\" in the list? > They were manually added by me. > > Do the entries actually say "\MyProject\source"? Did you add those to > your Java build path? > Yes. We the project has several source folders. 6 or 7 "real" > source folders, and 2 unit test folders. > > All of that aside, what you should do is create a different source folder > > for your test code. You can use the same package structure for your test > > code as you do for your source code (if you'd like). When running your > > application, make sure that the test code folder is not on the runtime > > classpath. When running unit tests, make sure that the test code folder > IS > > on the runtime classpath. > Thats precisely what I had tried to accomplish originally... The > problem is that all source folders (as defined in the project) are > included in the classpath/source path by default, and are un- > removable, as far as I can tell. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
