Page 1 of 1

problem withe Building&&Run the Broadleaf Commerce Admin

Posted: Fri Feb 26, 2010 6:53 am
by Maria Ag
Salam,
I'm trynig to build "Broadleaf Commerce Admin tools" following instructions in "Quick-Start Guide" ,and when i execute the line
# ant deploy-exploded-war
# ant start-tomcat-debug
in the directory :
....\Bureau\BroadleafCommerce-1.0.0-with-dependencies\src\BroadleafCommerceAdmin
i get this error
Buildfile: build.xml does not exist!
Build failed
because in the folder BroadleafCommerceAdmin there is any file "build.xml"
are there anny one hwo has the same brobleme or can help me to solve mine?


thank you

Re: problem withe Building&&Run the Broadleaf Commerce Admin

Posted: Fri Feb 26, 2010 9:35 am
by bradford.taylor
There was a small mistake in the Quick Start Guide that has now been corrected. It now reads:

* Execute the following command at the "BroadleafCommerceAdmin" directory of the BroadleafCommerce project to build the Admin Tool.
* '''mvn install'''
* Execute the following command at the "BroadleafCommerceAdminWeb" directory. These steps will build and deploy the Admin Tool to your local Tomcat instance and start Tomcat.
* '''ant deploy-exploded-war'''
* '''ant start-tomcat-debug'''

The ant commands should be executed in the BroadleafCommerceAdminWeb directory.

Thank you for bringing this to our attention.

Re: problem withe Building&&Run the Broadleaf Commerce Admin

Posted: Fri Feb 26, 2010 10:24 am
by Maria Ag
You are wellCome,thank you too for your answer .

But i still have one probleme with variable envirenement FLEX_HOME ,when i execute the commande line
ant deploy-exploded-war it gives me this error:
BUILD FAILED
C:\Documents and Settings\Administrateur\Bureau\BroadleafCommerce-1.0.0-with-dep
endencies\src\BroadleafCommerceAdminWeb\build.xml:62: FLEX_HOME does not exist.

even if i had already added this variable to the path using this command:
set FLEX_HOME=C:\Program Files\Apache Software Foundation\flex_sdk_3.4.0.9271
set PATH=%PATH%;%FLEX_HOME%\bin

Please can you give me some help to resolve this probleme.
Flex 3.4 SDK is located in: C:\Program Files\Apache Software Foundation\flex_sdk_3.4.0.9271
with the others tools(maven,ant and tomcat)

regards

Re: problem withe Building&&Run the Broadleaf Commerce Admin

Posted: Fri Feb 26, 2010 10:46 am
by bradford.taylor
The FLEX_HOME is retrieved from the flex.sdk.dir property in the build.properties file located in BroadleafCommerceAdminWeb instead of the environment variable. We retrieve it from here so that an environment variable would not have to be set.

Re: problem withe Building&&Run the Broadleaf Commerce Admin

Posted: Fri Feb 26, 2010 11:11 am
by Maria Ag
I had already changed the value of "flex.sdk.dir" in the build.properties file located in BroadleafCommerceAdminWeb .

flex.sdk.dir=C:\Program Files\Apache Software Foundation\flex_sdk_3.4.0.9271

but i still have the same error :(
here ther is tha contain of my build.properties:

appserver.home=C:\Program Files\Apache Software Foundation\Tomcat 6.0
deploy.path=${appserver.home}/webapps
flex.sdk.dir=C:\Program Files\Apache Software Foundation\flex_sdk_3.4.0.9271
mysql.db.driver=com.mysql.jdbc.Driver
mysql.db.url=jdbc:mysql://localhost:3306/broadleafcommerce?autoReconnect=true&useUnicode=true&characterEncoding=UTF8
mysql.db.user=root
mysql.db.pw=root

regards

Re: problem withe Building&&Run the Broadleaf Commerce Admin

Posted: Mon Mar 01, 2010 2:28 pm
by Ignatius
Hi! Try moving FlexSDK to a path without spaces (flex.sdk.dir=C:\flexsdk)

http://broadleafcommerce.org/forum/viewtopic.php?f=13&t=26