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>
On 4/17/07, Davis Ford <[EMAIL PROTECTED]> wrote:
It says: Project child is missing required source folder: 'D:/temp/parent/conf'
Try the steps to reproduce it..easy to reproduce.
I think perhaps it has more to do with the eclipse jdt core. Can it
handle absolute paths? I've tried editing the .classpath file
manually to make it a relative path -- I really can't seem to make it
work. BTW: using eclipse 3.2.2.
Any ideas?
Regards,
davis
On 4/16/07, Haim Ashkenazi <[EMAIL PROTECTED]> wrote:
> Davis Ford wrote:
> [ .. ]
> > The .classpath file for the guide-ide-eclipse-site project contains this:
> >
> > <classpathentry kind="src" path="D:/temp/guide-ide-eclipse/conf"
> > excluding="**/*.java"/>
> >
> > This seems completely reasonable, and the directory does exist, but
> > eclipse cannot build the project....why?
> Hi
>
> I don't work on eclipse usually but when you open a project in eclipse and
> it can't build it it usually show you what's the problem in the "Problems"
> view (I'm not sure it's called like that). when I imported maven project
> into eclipse for the first time it showed an error that the project could
> not be built because I don't have an environment variables
> called "M2_REPOS". what is the error when you open your project?
>
> Bye
> --
> Haim
>
--
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]