[hibernate-dev] Running Gradle build against an Infinispan version passed as command line parameter?

Galder Zamarreño galder at redhat.com
Thu Aug 23 09:15:34 EDT 2012


That doesn't seem to work. It's still using the version defined in the configuration file.

On Aug 23, 2012, at 3:08 PM, Steve Ebersole wrote:

> Try -P instead of -D.  Not sure it will work, but -P is the means to set project variables.
> 
> On Thu 23 Aug 2012 08:02:28 AM CDT, Galder Zamarreño wrote:
>> Hi,
>> 
>> I'd like to have a CI job that tests Hibernate Infinispan integration against the latest Infinispan 5.1.
>> 
>> So, I'm wondering if there's a way in which you can define the Infinispan version to use via command line. Something like:
>> 
>> ./gradlew clean build -DinfinispanVersion=5.1.7-SNAPSHOT
>> 
>> The above command does not currently work, but wondered if there's a way to achieve something like that?
>> 
>> Cheers,
>> --
>> Galder Zamarreño
>> Sr. Software Engineer
>> Infinispan, JBoss Cache
>> 
>> 
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev

--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache




More information about the hibernate-dev mailing list