I suspected as much... but if you just dump the resource in target/classes
the IDE's may not see the properties file as being _source_ and autocomplete
will be flakey

On 6 December 2010 10:33, Antonio Petrelli <[email protected]>wrote:

> 2010/12/6 Stephen Connolly <[email protected]>:
> > And the reason for adding it as a Resource in a separate folder is so
> that
> > IDE's can recognise that the file is a source file but generated source.
> >
> > For example IntelliJ IDEA will give auto-completion of property names
> from
> > .properties files if the property file is listed as a generated source
> root
> > by using the Resource mechanism
>
> M2Eclipse does it too.
>
> Antonio
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to