Because it is done like that :
- Do the compilation, by filtering assets given to a package builder, and store the
corresponding KB as a binary object
- Then, but only then, create the snapshot, by copying all resources to a
'snapshot' part of repo
So the compilation and snapshot actions are not linked at all (nor in Guvnor, nor in
implementation behind).
See here (and vote!) :
https://issues.jboss.org/browse/GUVNOR-580
----- Mail original -----
De: "sappelhans" <steven.m.appelhans(a)seagate.com>
À: rules-users(a)lists.jboss.org
Envoyé: Jeudi 29 Septembre 2011 23:28:29
Objet: [rules-users] Package snapshots in Guvnor have wrong list of rules
Using Guvnor 5.1.1, I build a package using a custom selector that filters on
a rules' status; then take a snapshot. In the Package Snapshot tab
selecting "Business rule assets" from the navigation tree shows all the
rules from the package, not the filtered subset. But I know the selector
worked because the binary version of the snapshot downloaded via the
Deployment URL includes only the filtered subset.
Why are the assets viewable in the tree not in sync with those in the
deployed binary?
--
View this message in context:
http://drools.46999.n3.nabble.com/Package-snapshots-in-Guvnor-have-wrong-...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users