Hi Barrie, I understand about create a separate resource module that
can be shared.

Let me ask a quick question though.  You mention you don't use a flat
structure.  This isn't a flat structure as far as i can tell...it is
hierarchical.

It's my understanding that a flat structure puts both parent and child
at the same directory level, but this is not the case.

I wish there were some way around this.

Thanks for looking.

Davis

On 4/17/07, Barrie Treloar <[EMAIL PROTECTED]> wrote:
On 4/17/07, Davis Ford <[EMAIL PROTECTED]> wrote:
> Hi, it appears that in order for eclipse to see relative path links
> like this, an entry needs to be made to the .project file with the
> linkeResources tag.  If you manually add a src folder in eclipse, this
> is the change it makes in .project.
>
> Is there some way to cause the maven-eclipse-plugin to do this via the 
pom.xml?
>
>         <linkedResources>
>                 <link>
>                         <name>conf</name>
>                         <type>2</type>
>                         <location>D:/temp/parent/conf</location>
>                 </link>
>         </linkedResources>

Looking at 
http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html
I can't see how to do this.

However I do know that eclipse:pde does write linkedResources.

I personally do not use a flat structure, I use the hierarchical one.

You might need to describe in more detail what ../conf contains.
If this is a shared configuration, then the usual way to do this is to
create another module project for "conf" and have your projects depend
on "conf" in the pom.xml file.

Then there is no need for eclipse linked resource trickery, everything
is on the classpath.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Zeno Consulting, Inc.
http://www.zenoconsulting.biz
248.894.4922 phone
313.884.2977 fax

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to