I'm filtering a properties file in order to load remote servlets from
a GWT-RPC call. I'm using
this.getClass().getClassLoader().getResourceAsStream("file.name"); and
the application is picking up the unfiltered version of the file.
If I run mvn gwt:gwt -X I get this output
[DEBUG] SCRIPT INJECTION CLASSPATH LIST
[DEBUG] C:\.m2\repository\com\google\gwt\gwt-user\1.5.3\gwt-
user-1.5.3.jar
[DEBUG] C:\.m2\repository\com\google\gwt\gwt-dev\1.5.3\gwt-
dev-1.5.3-windows.jar
[DEBUG] C:\projects\hermes\trunk\admin-web\src\main\java
[DEBUG] C:\projects\hermes\trunk\admin-web\src\main\resources
[DEBUG] C:\projects\hermes\trunk\admin-web\classes
[DEBUG] C:\projects\hermes\trunk\admin-web\target\classes
[DEBUG] C:\.m2\repository\com\thoughtworks\xstream\xstream
\1.2.2\xstream-1.2.2.jar
[DEBUG] C:\.m2\repository\xpp3\xpp3_min\1.1.3.4.O
\xpp3_min-1.1.3.4.O.jar
[DEBUG] C:\.m2\repository\commons-httpclient\commons-httpclient
\3.0.1\commons-httpclient-3.0.1.jar
[DEBUG] C:\.m2\repository\commons-logging\commons-logging
\1.0.3\commons-logging-1.0.3.jar
[DEBUG] C:\.m2\repository\commons-codec\commons-codec\1.2\commons-
codec-1.2.jar
[DEBUG] C:\.m2\repository\com\extjs\gxt\1.1.2\gxt-1.1.2.jar
[DEBUG] C:\.m2\repository\org\codehaus\jettison\jettison
\1.0\jettison-1.0.jar
[DEBUG] C:\.m2\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar
which leads me to believe it's the plugin adding src/main/resources to
the classpath which is causing the above problem. Is there any way to
tell the plugin to NOT use this directory on the classpath?
Thanks,
Brian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"gwt-maven" 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/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---