Target platform not materializing [message #1725152] |
Tue, 01 March 2016 09:45  |
Vlad Dumitrescu Messages: 431 Registered: July 2009 Location: Gothenburg |
Senior Member |
|
|
Hi,
I am creating a simple Xtext project with the wizard and add the Buckminster build support, also from the wizard, as outlined in http://www.lorenzobettini.it/2012/11/building-xtext-projects-with-buckminster/ and as I did many times before.
The only local change is that we have a local mirror of the eclipse repositories (and no internet access). The problem in this case is that the target platform remains empty, no matter what I do, both when running headless and from the IDE. The 'resolve' command succeeds (bundles are found in the p2 catalog), but then the build fails because the target is empty.
I tried <cq:advisorNode namePattern=".*" useTargetPlatform="false"/> and most of the other values (just to make sure).
This is with Mars and Bucky 1.7.0.
I think i tried all alternatives, to no avail. Either I am missing a silly obvious detail, or something is wrong somewhere...
best regards,
Vlad
|
|
|
Re: Target platform not materializing [message #1725256 is a reply to message #1725152] |
Wed, 02 March 2016 07:47   |
|
On 01/03/2016 10:45, Vlad Dumitrescu wrote:
> Hi,
>
> I am creating a simple Xtext project with the wizard and add the
> Buckminster build support, also from the wizard, as outlined in
> http://www.lorenzobettini.it/2012/11/building-xtext-projects-with-buckminster/
> and as I did many times before.
>
> The only local change is that we have a local mirror of the eclipse
> repositories (and no internet access). The problem in this case is that
> the target platform remains empty, no matter what I do, both when
> running headless and from the IDE. The 'resolve' command succeeds
> (bundles are found in the p2 catalog), but then the build fails because
> the target is empty.
>
> I tried <cq:advisorNode namePattern=".*" useTargetPlatform="false"/> and
> most of the other values (just to make sure).
> This is with Mars and Bucky 1.7.0.
>
> I think i tried all alternatives, to no avail. Either I am missing a
> silly obvious detail, or something is wrong somewhere...
>
Hi
Do you get any specific error/warning during target resolution?
could you please increase the log level just to have an idea of why it
is not resolving anything?
cheers
Lorenzo
--
Prof. Lorenzo Bettini, Computer Science, DISIA, Univ. Firenze
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
HOME: http://www.lorenzobettini.it
TDD Book: https://leanpub.com/tdd-buildautomation-ci
Xtext Book: https://www.packtpub.com/application-development/implementing-domain-specific-languages-xtext-and-xtend-second-edition
|
|
|
|
|
Re: Target platform not materializing [message #1725417 is a reply to message #1725413] |
Thu, 03 March 2016 11:33   |
Vlad Dumitrescu Messages: 431 Registered: July 2009 Location: Gothenburg |
Senior Member |
|
|
org.eclipse.platform:eclipse.feature: Rejecting provider local(target): Target platform disabled in query
I interpreted that as an effect of using useTargetPlatform="false" . The bundles are found in the p2 repo, but nothing happens after that.
Thanks anyway. Hopefully someone has some idea about what might be going on.
regards,
Vlad
[Updated on: Thu, 03 March 2016 11:34] Report message to a moderator
|
|
|
Re: Target platform not materializing [message #1725522 is a reply to message #1725417] |
Fri, 04 March 2016 07:38   |
|
Hi Vlad,
I can think of two things.
1. Buckminster uses the default target platform for some reason. It will then create a .buckminster directory in your
workspace where all the TP contents that it doesn't find in the current runtime (IDE or Headless) will end up.
2. It uses some other TP.
Did you try starting with an empty workspace? Can you see that it grows (as in consume more disk space)?
- thomas
On 2016-03-03 12:33, Vlad Dumitrescu wrote:
> Quote:
>> org.eclipse.platform:eclipse.feature: Rejecting provider local(target):
>> Target platform disabled in query
>
>
> I interpreted that as an effect of using useTargetPlatform="false". The bundles are found in the p2 repo, but nothing
> happens after that.
>
> Thanks anyway. Hopefully someone has some idea about what might be going on.
>
> regards,
> Vlad
>
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04603 seconds