> OK looks like more than one problem!
>
> The first problem I experienced was related to missing ant-nodeps.jar,
> but then still had problems when using 1.5 jdk. Needed to add:
> bsf-2.4.0.jar
> ant-apache-bsf.jar
> to the macros.xml. patch sample below but it uses ant 1.7.1 so has a
> few
> other changes to the standard. Probably ant 1.7.0 will work its just I
> didn't have it to hand so pulled the latest.
>
> Sorry email might have changed formatting of below patch and you'll
> need
> to get the jars until someone with framework privs sorts it.
>
> Ray
>
>
>
> Index: ant.bat
> ===================================================================
> --- ant.bat (revision 708851)
> +++ ant.bat (working copy)
> @@ -19,5 +19,5 @@
> REM
> #####################################################################
> ECHO ON
>
> -"%JAVA_HOME%\bin\java" -jar framework/base/lib/ant-launcher-1.7.0.jar
> %1 %2 %3 %4 %5 %6
> +"%JAVA_HOME%\bin\java" -jar framework/base/lib/ant-launcher-1.7.1.jar
> %1 %2 %3 %4 %5 %6
>
> Index: macros.xml
> ===================================================================
> --- macros.xml (revision 708851)
> +++ macros.xml (working copy)
> @@ -36,6 +36,8 @@
> <pathelement
> location="${ofbiz.home.dir}/framework/base/lib/scripting/
> groovy-1.5.6.jar"/>
> <pathelement
> location="${ofbiz.home.dir}/framework/base/lib/scripting/
> asm-2.2.jar"/>
> <pathelement
> location="${ofbiz.home.dir}/framework/base/lib/scripting/
> antlr-2.7.6.jar"/>
> + <pathelement
> location="${ofbiz.home.dir}/framework/base/lib/scripting/
> bsf-2.4.0.jar"/>
> + <pathelement
> location="${ofbiz.home.dir}/framework/base/lib/scripting/ant-apache-
> bsf-1.7.1.jar"/>
> </path>
> <path id="local.class.path"/>
>
>
>
>
> Ray wrote:
>> Seems like a missing ant jar from ofbiz framework:
>> ant-nodeps.jar
>> so depends on your computer set up as to whether current trunk will
>> build. If you have ant installed else where and it's in your path
>> it'll
>> probably work, otherwise you'll need to get this jar from ant.
>>
>> Should probably be added to framework/base/lib
>>
>> Ray
>>
>>
>>> ----- Forwarded Message ----
>>> From: Bilgin Ibryam <
[hidden email]
>>> To:
[hidden email]
>>> Sent: Wednesday, 29 October, 2008 8:58:38 AM
>>> Subject: Re: svn commit: r708760 - in /ofbiz/trunk:
>>> framework/base/ant-scripts/ofbiz-jjtree.groovy macros.xml
>>>
>>> Hi Adam,
>>>
>>> Ant tasks (tried with clean-all run-install) don't work. The error
>>> I get
>>> is:
>>>
>>> ofbiz/macros.xml:58: Unable to load a script engine manager
>>> (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)
>>>
>>>
>>> Bilgin
>>>
>>>
>>