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

Strong Liu stliu at hibernate.org
Thu Aug 23 09:29:18 EDT 2012


better to use "sed" to change the version number defined in the libraries.gradle

On Aug 23, 2012, at 9:15 PM, Galder Zamarreño <galder at redhat.com> wrote:

> 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
> 
> 
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev

-------------------------
Best Regards,

Strong Liu <stliu at hibernate.org>
http://about.me/stliu/bio



More information about the hibernate-dev mailing list