Bug 820915 - Version specification mismatch in quickstart examples
Summary: Version specification mismatch in quickstart examples
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: unspecified
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 6.0.0
Assignee: Tristan Tarrant
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-11 10:41 UTC by Martin Gencur
Modified: 2013-10-07 00:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Gencur 2012-05-11 10:41:17 UTC
Description of problem:

* hotrod-endpoint example contains wrong version specifications in pom.xml, these are not aligned with current release ER8
* carmart (non-transactional version) contains wrong version in README.md (mvn initialize -Pinit-repo -Ddatagrid.dist=/home/anyuser/jboss-datagrid-library-6.0.0.ER4-redhat-1) - I'd suggest replacing /home/anyuser/jboss-datagrid-library-6.0.0.ER4-redhat-1 with something like this (literally): /home/anyuser/jboss-datagrid-library-<version> so that with next releases we don't have to care about this readme - whether it contains right or wrong version. And I would do it throughout all readmes in the Quickstart distribution.

Comment 1 Martin Gencur 2012-05-11 13:22:14 UTC
I don't want to create another BZ for this... Tristan, could you please update the readme for carmart (non-transactional)? It mentions jdg-quickstart/carmart/src/main/resources/META-INF/JDG.properties but the example actually contains jdg-quickstart/carmart/src/main/resources/META-INF/datagrid.properties

Thanks

Comment 2 Tomas Sykora 2012-05-18 10:43:17 UTC
Regarding to ER9 (http://download.lab.bos.redhat.com/devel/candidates/JDG/JDG-6.0.0-ER9.1/jboss-datagrid-quickstarts-1.0.0.zip):

* carmart README.md: mvn initialize -Pinit-repo -Ddatagrid.dist=/home/anyuser/jboss-datagrid-library-$VERSION seems to be ok now

Issues:

* carmart README.md is still mentioning jdg-quickstart/carmart/src/main/resources/META-INF/JDG.properties which should be ...META-INF/datagrid.properties 


* hotrod-endpoint/pom.xml 

<datagrid.version>5.1.3.ER6-redhat-1</datagrid.version>
<jboss.logging.version>3.1.0.GA-redhat-1</jboss.logging.version>
<jboss.marshalling.version>1.3.11.GA-redhat-1</jboss.marshalling.version>

should be (according to lib directory in http://download.lab.bos.redhat.com/devel/candidates/JDG/JDG-6.0.0-ER9.1/jboss-datagrid-library-6.0.0.ER9.zip):

<datagrid.version>5.1.3."proper version here? ER9? or $VERSION?"-redhat-1</datagrid.version>
<jboss.logging.version>3.1.1.GA-redhat-1</jboss.logging.version>
<jboss.marshalling.version>1.3.14.GA-redhat-1</jboss.marshalling.version>


There are only suggestions from my side here. If it is my misunderstanding please let me know. 

Additionally I suggest to do this changes (if they are correct) here too: https://github.com/infinispan/jdg-quickstart. Otherwise it can lead into some little confusion of users.

Comment 3 Martin Gencur 2012-05-22 06:23:05 UTC
The problems that I previously spotted were fixed. There are, however, new issues, tracked under https://bugzilla.redhat.com/show_bug.cgi?id=823497


Note You need to log in before you can comment on or make changes to this bug.