Closed
Bug 983946
Opened 10 years ago
Closed 10 years ago
CppEclipse fails if objdir is under tree
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1057986
People
(Reporter: BenWa, Unassigned)
References
Details
Andrew was getting eclipse failures opening the src tree external resources (eclipse symlink) because his objdir/workspace was inside the source external link.
Comment 1•10 years ago
|
||
I can confirm this. The message is: '/Users/me/code/gecko-dev' is not a valid location for linked resources. Which searching leads me to discover: http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fcore%2Fresources%2FIWorkspace.html --- [...] a link location must also obey the following rules: must not overlap with the platform's metadata directory must not be the same as or a parent of the root directory of the project the linked resource is contained in --- It's trivial to work around by moving $OBJDIR and maybe that's the best solution here. Shame that this is the (easy) default for mach.
Reporter | ||
Comment 2•10 years ago
|
||
Have you checked if https://bugzilla.mozilla.org/show_bug.cgi?id=981495 part 1 is sufficient? We can properly filter on the obj directory.
Comment 3•10 years ago
|
||
(In reply to Benoit Girard (:BenWa) from comment #2) > Have you checked if https://bugzilla.mozilla.org/show_bug.cgi?id=981495 part > 1 is sufficient? We can properly filter on the obj directory. It is not sufficient. That fix is in my tree and .project file.
Reporter | ||
Comment 4•10 years ago
|
||
Roc you added a filter for this. Have you ran into this error? Andrew Overholt also ran into this. I'm wondering if we're missing something or perhaps I should make an external object dir a pre-req to using eclipse (and check it when generating the project).
Flags: needinfo?(roc)
I imported the generated projects into a workspace that is not under my srcdir.
Flags: needinfo?(roc)
Reporter | ||
Comment 6•10 years ago
|
||
Ahh, that might be a problem since I store some settings in the workspace x_X.
Reporter | ||
Comment 7•10 years ago
|
||
Patch in bug 1057986
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•