On 6/6/2011 7:42 AM, stuckagain wrote:
Is there a possibility in the GWT plugin to configure a source folder NOT to be included when doing a GWT compile ?

See

http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideModuleXml

and look for "Filtering Public and Source Packages"

You can use an ant-style excludes="..." to specify classes which should be included. For example, in my projects I use a **/*Test.java which excludes all Java files in all sub-dirs which have 'Test' as the last part of their name. You can use whatever is the correct pattern in your case.

HTH

Alan



I have a separate source folder in eclipse where I put my unit tests.

These unit tests are put in the same package so that I can gain access to package private classes.

These classes do not need to be GWT compiled, it slows down the compilation and they cause many errors to be reported.

When I use DevMode I can specify the classpath to not include my test directory ... I need something similar in the GWT Compile.

David
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/a0FvLVJnaC1qOVlK.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to