i am a beginner to ofbiz.today i fetched code from apache svn and
tried to deploy ecommerce (with build.xml under
/applications/ecommerce/).but i  continuously got this message
BUILD FAILED
/root/workspace/applications/ecommerce/build.xml:90:
/root/workspace/framework/base/build/lib not found.
after searching i really can't find
/root/workspace/framework/base/build/lib dir.

i search through docs in ofbiz.org and find this

When building from SVN you will need to have a Java 1.4 or 1.5 series J2SDK
(NOT just the JRE, need to full SDK) as mentioned above. The build is done
using Ant, and sufficient Ant libraries are included with OFBiz. If you have
Ant installed separately just make sure you have version 1.5 or later, and
then run Ant as normal intead of as listed in the following examples.

In the directory where you want OFBiz to be, do a SVN checkout of the ofbiz
trunk. For example:

svn co http://svn.apache.org/repos/asf/ofbiz/trunk ofbiz

For information on connecting to SVN click
here<http://docs.ofbiz.org/display/OFBADMIN/Source+Repository+and+Access>
.

Now go into the "ofbiz" directory and run *"ant.bat"* (Windows), or *"./ant"
* (Linux/Unix/OSX). It will compile all modules and leave you an executable
jar (ofbiz.jar) in the "ofbiz" directory.

To load the seed and demo data, run *"ant.bat run-install"* or
*"%JAVA_HOME%\bin\java
-jar ofbiz.jar install"* (Windows), or *"./ant
run-install"*or*"$JAVA_HOME/bin/java -jar
ofbiz.jar install"* (Linux/Unix/OSX)

As an alternative to the previous step: to load the seed data only, run *"
ant.bat run-install-seed"* or *"%JAVA_HOME%\bin\java -jar ofbiz.jar install
-readers=seed"* (Windows), or *"./ant
run-install-seed"*or*"$JAVA_HOME/bin/java -jar
ofbiz.jar install -readers=seed"* (Linux/Unix/OSX)

To start the server run *"ant.bat run"* or *"%JAVA_HOME%\bin\java -jar
ofbiz.jar"* (Windows), or *"./ant run"* or *"$JAVA_HOME/bin/java -jar
ofbiz.jar"* (Linux/Unix/OSX)

Another build option in the Ant build script that is useful is *"ant.batclean"
* (Windows) or *"./ant clean"* (Linux/Unix/OSX). That will clean out all
built classes allowing you to run "ant" again to get a clean build. If you
are running into funny errors after updating from SVN in the future, give
this clean build process a try first.
but i realy  can't find  any  file ant.bat or ./ant . actualy there were no
ofbiz dir  but five other dirs instead
(applications,framework,hot-deploy,runtime and specilapurpose).

anyone can help me!

Reply via email to