|
Re: Basedir for Feature incorrect [message #713825 is a reply to message #713778] |
Tue, 09 August 2011 06:30 |
|
Hi Trip,
We're using a setup that is very similar to yours but haven't seen this problem. Can you give a bit more detail? Exactly
where do you see the incorrect basedir?
- thomas
On 2011-08-09 05:22, Trip Gilman wrote:
> I've got a simple three project setup that I'm trying generate a p2 repository for:
>
>
>
> bundle project (no dependencies)
> feature project (includes bundle - no dependencies)
> update site feature (references feature - no dependencies)
>
>
> These projects are located outside of my workspace in a Git repository. They are bound into the workspace by the Import
> Projects function of the Eclipse Git tooling. The issue is that when initiating the p2.site action, it indicates that
> the feature project basedir is incorrect. It is listing the project as being rooted in the workspace. The bundle build
> that occurs just prior to the feature action works correctly and is rooted in the external location.
>
> The property of buckminster.home for the bundle is the repository path and the same property for the feature is the
> workspace. Is there a way to tell buckminster where this project should be found?
|
|
|
|
|
|
Re: Basedir for Feature incorrect [message #715292 is a reply to message #715241] |
Sat, 13 August 2011 06:21 |
|
On 2011-08-12 23:29, Trip Gilman wrote:
> This just happened again, however my workaround doesn't seem to work now. Any ideas as to why it would be looking in my
> workspace for the project even though it is located another place?
The only way I've been able to reproduce this is when EGit moves the project physically. Buckminster isn't really
prepared for that. A restart of the IDE in combination with a reset of the Buckminster meta-data should help. If all
else fails, simply try removing the metadata by removing the directory:
<workspace>/.metadata/.plugins/org.eclipse.buckminster.core
Make sure the IDE (or headless bucky) is not running when doing it.
HTH,
- thomas
|
|
|
|
Re: Basedir for Feature incorrect [message #715953 is a reply to message #715292] |
Tue, 16 August 2011 05:18 |
|
On 2011-08-14 06:50, Trip Gilman wrote:
> Looks like my last 3 responses are now part of the digital ether... Forums 3-0 Trip. Apparently the Quick Reply form at
> the bottom of the thread page no longer works.
>
> Anyways, I have confirmed that shutting down the IDE and removing the core meta-data directory resolves this issue.
> Since this is related to cached meta-data, do you think a check could be added upon action, or on start up, to compare
> the cached location against the project's registered physical location?
It could be improved for sure. I suggest you enter a bugzilla for this.
- thomas
|
|
|
Powered by
FUDForum. Page generated in 0.03368 seconds