|How do I selectively skip components? [message #763191]
||Fri, 09 December 2011 10:23
| Matthew Webber
Registered: December 2010
Background: We have a number of plugins which contain both java source code, and markup used to generate related documentation (not javadoc). |
Normally when we materialize such a plugin, we want all its dependencies (i.e. what's listed in the manifest, plus add additional ones in the cspex if there is one). This is absolutely standard, and buckminster handles it properly.
When we build our documentation, we need to materialize the plugin, but none of it's dependencies. I can't figure out a good way to do this, and would appreciate any suggestions.
Obviously I can have a special CQuery, with advisor nodes that explicitely list all the plugins with documentation, and skip any other components. But it would be nicer if the plugin itself could say "I contain documentation", and have the CQuery utilize that somehow. Is there something I can do with attributes and filters?
"Having documentation" is a characteristic of the plugin, so it seems more natural to declare that in the plugin rather than the CQuery.
Powered by FUDForum
. Page generated in 0.01995 seconds