-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
with requirements, but not for all locations #47
Comments
Hi Markus, Thank you for the reminder. I thought about your issue, and the DSL can be improved to help with your use case. The idea is do the resolution at generation time when the option
you want requirements for location1, but location2 is not easy resolvable (as in your use case). I can imagine to recycle the fact that <target>
<locations>
<location includeMode="planner">
<unit id="org.bundle.id1"/>
<repository location="location1"/>
</location>
<location includeMode="planner">
<unit id="org.domain.my.feature"/>
<repository location="location2"/>
</location>
<location includeMode="planner">
<repository location="location3"/>
</location>
<locations>
</target> Now with the behavior described above, we modify the
And now the generated <target>
<locations>
<location includeMode="planner">
<unit id="org.bundle.id1"/>
<unit id="org.bundle.id2"/> <!-- dependency of org.bundle.id1 -->
<repository location="location1"/>
</location>
<location includeMode="planner">
<unit id="org.domain.my.feature"/>
<repository location="location2"/>
</location>
<location includeMode="planner">
<unit id="org.bundle.id3"/> <!-- dependency of org.bundle.id1 -->
<repository location="location3"/>
</location>
<locations>
</target> Would that do the trick for you? |
That would be extremely helpful! It sounds like that would solve all our problems in that area :) |
Hey,
We have a target platform that is composed out of multiple locations. We want to go "with requirements", but there is one single site, where dependencies are not easily resolvable without a complete runtime environment. Thus we have to live without dependency resolution just because of one single stupid feature :|
I know that PDE does not support the "with requirements" per update site mode (you have it for all, or not at all), but we talked at EclipseCon and you said you might be able to come up with something - so this is your reminder :)
Cheers,
Markus
The text was updated successfully, but these errors were encountered: