Home FAQs

SmartProducts Community

Who's Online

We have 3 guests online


Statistics

Visits today:21
Visits yesterday:48
Visits in this month:855
Visits in this year:7960
Visits total:22806
Impressions total:177915
Bots today:72

I get errors while building the platform

If you want to build the platform, you have to run ant with the build.xml file, located in the root of the SmartProducts SVN repository.

Building platform for the first time

When you checkout the platform and try to compile it for the first time by simply running ant, this will fail and you will get the error message shown below.

Error: Build Failed
1
2
3
4
5
6
7
Buildfile: SmartProductsEU\build.xml
 
BUILD FAILED
 
SmartProductsEU\build.xml:4:
Cannot find SmartProductsEU\${smartproducts-root}\build-conf\common_build.xml
imported from SmartProductsEU\build.xml

 

0-build-failed

 

This happens because the path to the SmatProduct root folder is not set. Open the folder "build-conf", duplicate  the “my.properties_default”  and rename it  to “my.properties”.

 

1-cp.my.properties

 

Set “smartproducts-root” to the path to your SmartProduct folder

 

2-my.properties

 

Save the file and use ant to build the platform.

It should work now.

Last Updated on Monday, 14 February 2011 12:16