our jars are produced with maven. So you can try the pom.properties, which is 
in all our jars.

Mark
On 29 Dec 2012, at 22:46, Ansgar Konermann <[email protected]> 
wrote:

> Hi,
> 
> I'd like to determine at runtime which version of Drools is in use/on
> the classpath. I cannot use reflection on the Drools classes itself, as
> this will not work in the intended runtime environment (Google App Engine).
> 
> The following code works in a normal Java VM, but not in GAE:
> 
>    Package droolsCorePackage = KnowledgePackageImp.class.getPackage();
>    String implementationTitle = droolsCorePackage.getImplementationTitle();
>    String implementationVersion =
> droolsCorePackage.getImplementationVersion();
> 
> In GAE, the getImplementation{Title|Version} methods both return null.
> 
> Is there another, maybe more "official" way of determining the Drools
> version? I'd like to support Drools 5.x.y starting at x >= 3.
> 
> Best regards
> 
> Ansgar
> 
> _______________________________________________
> rules-users mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to