geoffrey,
Do you want to update our maven stuff to do this for us?
Mark
Geoffrey De Smet wrote:
WorkingMemory.getClass().getPackage().getImplementationVersion()
But you might need to adjust the drools pom.xml and rebuild drools
because by default maven doesn't include that version in the manifest
I believe:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
<configuration>
<archive>
<manifest>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>
With kind regards,
Geoffrey De Smet
Mark Proctor wrote:
> no, sorry. Is this something that would be useful to everyone? Why
> would you need to know this at runtime, rather than
> infrastructure/build time? Which classes would you want to return
> version info?
>
> Mark
>
> Chris Barham wrote:
>> Hi,
>> Is there a method in Jboss Rules that returns the current running
>> versions of the rule engine, and the compiler?
>> Regards,
>> Chris
>> ------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users