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]

Reply via email to