ant build fail

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ant build fail

ashuking
*Why the build is failed in this step ?

[root@localhost apache-ofbiz-10.04.02]# ant
Buildfile: build.xml

ofbiz-init:

build:
     [echo] [build] ========== Start Building (Compile) ==========

ofbiz-init:

dir-init:

copy-derby-props:

build:
     [echo] [build] ========== Start Building Framework (Compile) ==========

BUILD FAILED
/home/ashu/Downloads/apache-ofbiz-10.04.02/build.xml:183: The following
error occurred while executing this line:
/home/ashu/Downloads/apache-ofbiz-10.04.02/framework/build.xml:147: The
following error occurred while executing this line:
/home/ashu/Downloads/apache-ofbiz-10.04.02/macros.xml:27: The following
error occurred while executing this line:
/home/ashu/Downloads/apache-ofbiz-10.04.02/framework/start/build.xml:22:
The following error occurred while executing this line:
/home/ashu/Downloads/apache-ofbiz-10.04.02/common.xml:59:
java.lang.ClassNotFoundException:
org.apache.bsf.engines.javascript.JavaScriptEngin*
Ashutosh Verma
Reply | Threaded
Open this post in threaded view
|

Re: ant build fail

Mayank
Hi Ashutosh,

This error might be occurring because of 'bsf jar'.Look into you
ofbiz/framework/base/lib/scripting folder.
If not present put this jar into scripting folder.

You can download this jar from following link:
http://www.java2s.com/Code/Jar/b/Downloadbsfjar.htm


Regards
Mayank Sheth
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/




On 08/10/2012 07:14 PM, ashutosh verma wrote:

> *Why the build is failed in this step ?
>
> [root@localhost apache-ofbiz-10.04.02]# ant
> Buildfile: build.xml
>
> ofbiz-init:
>
> build:
>       [echo] [build] ========== Start Building (Compile) ==========
>
> ofbiz-init:
>
> dir-init:
>
> copy-derby-props:
>
> build:
>       [echo] [build] ========== Start Building Framework (Compile) ==========
>
> BUILD FAILED
> /home/ashu/Downloads/apache-ofbiz-10.04.02/build.xml:183: The following
> error occurred while executing this line:
> /home/ashu/Downloads/apache-ofbiz-10.04.02/framework/build.xml:147: The
> following error occurred while executing this line:
> /home/ashu/Downloads/apache-ofbiz-10.04.02/macros.xml:27: The following
> error occurred while executing this line:
> /home/ashu/Downloads/apache-ofbiz-10.04.02/framework/start/build.xml:22:
> The following error occurred while executing this line:
> /home/ashu/Downloads/apache-ofbiz-10.04.02/common.xml:59:
> java.lang.ClassNotFoundException:
> org.apache.bsf.engines.javascript.JavaScriptEngin*
>