Stack Pet Store example

Support and Announcements for the Tech Java Web Application Platform (setup, configuration, bugs, feedback).
Locked
tlmaravilla
New Member
Posts: 25
Joined: Tue Feb 01, 2011 5:34 pm
Location: Riverton, UT

Stack Pet Store example

#1

Post 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).
YoungstromMJ
Member
Posts: 101
Joined: Mon Mar 29, 2010 3:11 pm
Location: Utah, USA

#2

Post 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
tlmaravilla
New Member
Posts: 25
Joined: Tue Feb 01, 2011 5:34 pm
Location: Riverton, UT

#3

Post by tlmaravilla »

That worked! Thanks.

Is there a petstore for stack 3.1?
YoungstromMJ
Member
Posts: 101
Joined: Mon Mar 29, 2010 3:11 pm
Location: Utah, USA

#4

Post 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
Locked

Return to “Java Web Project Support (Stack)”