I can run ant (after an ant clean) on an XP console but I can't from Eclipse : 
I get

Buildfile: D:\workspace\ofbizRun\build.xml

build:

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


BUILD FAILED

D:\workspace\ofbizRun\build.xml:126: The following error occurred while 
executing this line:

D:\workspace\ofbizRun\framework\build.xml:22: The following error occurred 
while executing this line:

D:\workspace\ofbizRun\macros.xml:63: java.lang.NoClassDefFoundError: 
org/apache/bsf/BSFException


Total time: 140 milliseconds

Any ideas ?

From: "Adam Heath" <[EMAIL PROTECTED]>
Ray wrote:
Since my last post on this including suggested fixes that I tested and
had working on Java 1.5 & 1.6 using internal OFBiz ant I was able to get
on with stuff. Personally I didn't test those on my Ubuntu machine as it
was already working and I felt it was more an issue with OFBiz build
files not including enough jars and paths etc. so adding those was not
likely to break the Ubuntu machine.

This morning though with a clean check out from SVN on my Ubuntu machine
it doesn't work now!!! Can't test XP machine as not available at the moment!

BUILD FAILED
ofbiz_svn_clean_test/build.xml:106: The following error occurred while
executing this line:
ofbiz_svn_clean_test/specialpurpose/build.xml:22: The following error
occurred while executing this line:
ofbiz_svn_clean_test/macros.xml:63: java.lang.NoClassDefFoundError:
org/apache/bsf/BSFException

I've tested with internal ofbiz ant(./ant, but not ./ant.bat), and
external system-installed clean ant.  Did this in a brand new chroot.

I've tested with java 1.5(which doesn't have the java scripting
library), so that it can only use bsf.  It tries to use bsf first, so
using 1.6 shouldn't be an issue.

Are you *completely* clean?

Reply via email to