Matthias and Wouter,

I added the ability to ignore namespaces and properties tonight.  So now if
you happen to have a cartridge on your classpath for some reason and its too
much work to remove it....you can just ignore it by adding the 'ignore'
attribute to the namespace.  For example in the car rental system, there are
two targets, one for hibernate and one for ejb, they both use the same
classpath and don't need to generate from the same cartridges, so to ignore
the hibernate namespace in the ejb target you just add: <namespace
name="hibernate" ignore="true"/> and that cartridge will be skipped.  Same
thing with properties within the namespace (Matthias was asking for
something like this), if you want to ignore a property in a namespace, you
just do something like: <property name="myIgnoredProperty"
ignore="true"/>...so if you're using the property to configure outlets, and
you want to skip an outlet in a cartridge (i.e. you want to generate
everything except for one) you just need to add the 'ignore=true' to the
property with the outlet name you want to ignore.  Make sense?  Matthias
this should work for what you wanted to do.

Thanks,

Chad




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to