Page 1 of 1

Problem getting started...

Posted: Thu Aug 18, 2011 2:52 pm
by partyk1d24
So I checked out the source from subversion, what MVN commands do I have to run to get it to completely package? Do I have to run Maven AND Ant? Also is there an easy way to run the demo site from eclipse. I looked at the instructions but I couldn't really figure it out. I know it has to be something super easy. Also is there any DB configuration I have to do to run it this way? Or is it just ran on top of HSQL?

Sorry Newb

Jackie

Re: Problem getting started...

Posted: Thu Aug 18, 2011 3:01 pm
by jefffischer
"mvn install" at the same directory as the topmost pom.xml

After you install via maven:

1) Update build.properties with at least the directory for your local maven installation
2) You can go to the BroadleafCommerceDemo directory and execute "ant jetty-demo" to launch the demo with admin.

If you want to do this in Eclipse, then you'll need to make sure you have the m2eclipse plugin and mount your subversion checkout as a maven project. This will allow you to mvn install from Eclipse. You can also mount the build.xml file in the BroadleafCommerceDemo directory in your Eclipse ant view and execute the jetty-demo task from there.

You don't need to configure a db for the demo - it will run on HSQL. Of course, this is for demo purposes only.

Re: Problem getting started...

Posted: Thu Aug 18, 2011 3:03 pm
by partyk1d24
Thanks for the quick replay, where is the build.properties file?

Re: Problem getting started...

Posted: Thu Aug 18, 2011 3:05 pm
by partyk1d24
Nm. I assume you are talking about the one in the root? Or is there another one further down.

Re: Problem getting started...

Posted: Thu Aug 18, 2011 3:09 pm
by partyk1d24
Awesome got it thanks!