[rules-users] Re: Is there a method to return running jBoss Rules version
Geoffrey De Smet
ge0ffrey.spam at gmail.com
Mon Aug 6 12:13:33 EDT 2007
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 at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
More information about the rules-users
mailing list