Yeah, the resourcesOnPath is there because we went back and forth on this
about six ways from sunday. The question is, if you have external
JavaScript/CSS/Images/Whatever on the resource path (as is my habit) failing
to put them ahead of the target/classes or target/webapp/WEB-INF/classes on
the hosted mode profile means you can't edit them and refresh the browser
from your IDE.

On Tue, Feb 3, 2009 at 3:46 PM, Brian Cribbs <[email protected]> wrote:

> put this line in the plugin configuration element and see if that fixes it
> <resourcesOnPath>false</resourcesOnPath>
>
>
> On Tue, Feb 3, 2009 at 3:33 PM, Matt Raible <[email protected]> wrote:
>
>>
>> I've added an issue for this in the issue tracker:
>>
>> http://code.google.com/p/gwt-maven/issues/detail?id=193
>>
>> Matt
>>
>> On Mon, Feb 2, 2009 at 5:29 PM, Matt Raible <[email protected]> wrote:
>> > I'm using 2.0-beta26.
>> > On Feb 2, 2009, at 5:22 PM, Brian Cribbs wrote:
>> >
>> > What version of the plugin are you using?  I'm pretty sure this got
>> fixed in
>> > beta26.
>> >
>> > On Mon, Feb 2, 2009 at 6:42 PM, Matt Raible <[email protected]> wrote:
>> >>
>> >> I have a ProxyServlet in my GWT project that allows me to call RESTful
>> >> services running on a different host and port. I'd like to have a
>> >> config.properties file in src/main/resources that contains the host/
>> >> port information. I've got all this working.
>> >>
>> >> However, I'd like to allow developers to change the host/port locally.
>> >> In a normal Maven project, I can use variable names in my properties
>> >> file and filtering to replace the properties with those from pom.xml.
>> >>
>> >> pom.xml
>> >> --------------
>> >> <properties>
>> >>  <services.host>servername</services.host>
>> >>  <services.port>8080</services.port>
>> >> </properties>
>> >>
>> >> config.properties
>> >> ---------------------
>> >> services.host=${services.host}
>> >> services.port=${services.port}
>> >>
>> >> This allows developers to override the property from the command line
>> >> or in their settings.xml. However, the GWT Plugin seems to read the
>> >> properties file from src/main/resources rather than target/classes.
>> >>
>> >> Is it possible to modify the plugin's configuration so the filtered
>> >> property file is read?
>> >>
>> >> Thanks,
>> >>
>> >> Matt
>> >>
>> >
>> >
>> > >
>> >
>> >
>>
>>
>>
>> --
>> http://raibledesigns.com
>>
>>
>>
>
> >
>


-- 
:Robert "kebernet" Cooper
::[email protected]
Alice's cleartext
Charlie is the attacker
Bob signs and encrypts
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9E8759F8

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

Reply via email to