Stack Pet Store example

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

Stack Pet Store example

Postby tlmaravilla » Fri Feb 04, 2011 2:49 pm

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: 100
Joined: Mon Mar 29, 2010 2:11 pm
Location: Utah, USA

Postby YoungstromMJ » Fri Feb 04, 2011 3:20 pm

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/tags/PETSTORE-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/tags/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

Postby tlmaravilla » Mon Feb 07, 2011 9:51 am

That worked! Thanks.

Is there a petstore for stack 3.1?

YoungstromMJ
Member
Posts: 100
Joined: Mon Mar 29, 2010 2:11 pm
Location: Utah, USA

Postby YoungstromMJ » Mon Feb 07, 2011 10:40 am

Yup, though it is a bit trickier to set up currently.

You can check it out from https://code.lds.org/svn/stack/modules/pet-store/tags/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


Return to “Java Web Project Support (Stack)”

Who is online

Users browsing this forum: No registered users and 1 guest