On Oct 30, 2008, at 2:10 PM, Adam Heath wrote:
Ray wrote:
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?
Often been asked! But I only have 4 or 5 files modified, most being
ftl
or java and one being general.properties, as reported by 'svn st',
certainly no build files.
Revision 709185: (Ubuntu 8.04)
'ant clean' - same error as I last reported class not found
BSFException
'./ant clean' - works OK
As I said previously in this thread, if you have a slightly modified
global ant(ant-nodeps.jar exists), then you have to go the rest of the
way, and make the bsf stuff work with it. There's nothing I can do to
fix this, unfortunately; it's a classloader scoping issue.
Is there any way to do runtime classpath manipulation in ant? Or
perhaps a groovy script that runs really early as ant is loading?
We will have the ofbiz.home variable so we can find jar files relative
to that, and if we can add them to the classpath somehow... voila!
-David