Page 1 of 1

problem with demo

Posted: Tue Nov 23, 2010 12:42 am
by nick_tan
the demo not working on the svn trunk (same as the branch 1.1.x)

as the demo project renamed to "broadleaf-demo", (NOTE: the dash "-" here, which cause all problem)
when i run it in my eclipse with wtp, all images not displayed, even worse, page 404 while clicking any links in the home page...

after investigating, all the resource reference use "broadleaddemo" as the prefix
i modified the file below:
BroadleafCommerceDemo\
|-- .project
|-- .settings\
|-- org.eclipse.wst.common.component
replace all "broadleaf-deom" with "broadleafdemo"
all works now.

Re: problem with demo

Posted: Tue Nov 23, 2010 3:17 pm
by jefffischer
It should work fine if you launch using the demo ant launch instructions at http://www.broadleafcommerce.org/conflu ... plications (the /broadleafdemo context root is specified in the pom.xml configuration).

However, since you are running the demo via Eclipse and WTP, then you'll need to specify the context root yourself for your deployment. Take a look at step 8 in the documentation at this url:

http://www.broadleafcommerce.org/conflu ... ipse+-+WTP

Re: problem with demo

Posted: Tue Nov 23, 2010 9:10 pm
by nick_tan
ok, great, i missed this part, thanks