|
|
Re: cannot skip components during materialization [message #988552 is a reply to message #988433] |
Fri, 30 November 2012 08:23  |
Eclipse User |
|
|
|
On 11/29/2012 10:22 PM, Thomas Hallgren wrote:
> On 2012-11-29 18:11, Lorenzo Bettini wrote:
>> Hi
>>
>> I'm trying to materialize both the target platform and the projects
>> using only a cquery.
>>
>> some of the projects have optional dependencies on .rap bundles, but I
>> don't want them in the target platform, thus I have in the cquery this
>> advisor node
>>
>> <cq:advisorNode namePattern="^org\.eclipse\.rap(?:\..+)?$"
>> componentType="osgi.bundle" skipComponent="true"/>
>>
>> still, in the plugins directory of the target platform I get all these
>> bundles
>>
>> buildroot/target.platform/plugins/org.eclipse.rap.jface_1.5.1.20120917-1116.jar
>>
>> buildroot/target.platform/plugins/org.eclipse.rap.rwt_1.5.1.20120917-1116.jar
>>
>> buildroot/target.platform/plugins/org.eclipse.rap.ui_1.5.1.20120917-1116.jar
>>
>> buildroot/target.platform/plugins/org.eclipse.rap.ui.workbench_1.5.1.20120917-1116.jar
>>
>> buildroot/target.platform/plugins/org.eclipse.rap.ui.forms_1.5.1.20120917-1116.jar
>>
>> buildroot/target.platform/plugins/org.eclipse.rap.jface.databinding_1.5.1.20120917-1116.jar
>>
>>
>> am I doing anything wrong with the advisor node?
>>
>> I also have this
>>
>> <cq:advisorNode namePattern=".*" useTargetPlatform="false"/>
>>
>> but that should not disturb...
>>
> That depends on the order. The first match will be used and it becomes
> omnipotent. Any pattern following .* will be ignored.
>
> - thomas
>
Luckily I told also about the other advisor node, which was actually
before the skipComponent one... you're right they were in the wrong order :)
thanks! Now everything works as expected
cheers
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
|
|
|
Powered by
FUDForum. Page generated in 0.02515 seconds