Page 1 of 1

Stack Pet Store example

Posted: Fri Feb 04, 2011 2:49 pm
by tlmaravilla
I am trying to get the stack petstore up and running locally (via LDSTech IDE) but am unsure where to get it?

When I import the maven project:
https://icssvn/svn/Stack/stack-petstore/trunk/admin/web

I have errors:
Project build error: Non-resolvable parent POM: Could not find artifact org.lds.stack.petstore:stack-petstore-admin:pom:2.3-SNAPSHOT and 'parent.relativePath' points at wrong local POM pom.xml /stack-petstore-admin-web line 1 Maven Problem

I tried importing the entire- https://icssvn/svn/Stack/stack-petstore/trunk/admin/
but that didn't seem to work either.

any advice or a link to a writeup (I did search the forums but nothing).

Posted: Fri Feb 04, 2011 3:20 pm
by YoungstromMJ
So it appears you are trying to checkout the Stack 2.x petstore. Stack 3.x petstore is in a different repository.

Instead of checking out the trunk checkout our latest release tag here:
https://icssvn/svn/Stack/stack-petstore ... STORE-2.2/

Checkout the entire petstore project. This will import 3 projects into your ide. "admin, ui, ws". Admin is the primary petstore for Stack 2. It uses JSF and stuff. Just deploy the stack-pet-store-admin-web project to a Tomcat 6 Server and you should be good to go. You might be able to get away with just checking out the admin project (https://icssvn/svn/Stack/stack-petstore ... 2.2/admin/) but I'm not 100% sure that will work.

Otherwise let me know what it is you're hoping to get out of running the petstore and I can tell you the best way to accomplish your goal.

Mike

Posted: Mon Feb 07, 2011 9:51 am
by tlmaravilla
That worked! Thanks.

Is there a petstore for stack 3.1?

Posted: Mon Feb 07, 2011 10:40 am
by YoungstromMJ
Yup, though it is a bit trickier to set up currently.

You can check it out from https://code.lds.org/svn/stack/modules/ ... s/3.1-rc1/

You will need to install the LDSTech VM: https://tech.lds.org/wiki/Oracle_VM

Then you will need to import the pet-store schema into your Oracle VM.

To do this execute the stack-db:migrate goal in the pet-store/db directory.

Then you should be good to go.

Mike