You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bsf-user@jakarta.apache.org by Rolf Schumacher <ma...@august.de> on 2004/08/15 21:24:09 UTC

bsf/js.jar won't work for me

ERROR:

BUILD FAILED
.../build.xml:34: java.lang.NoSuchFieldError: dbgmgr


Datails: Problem with bsf/js

checked out ant from cvs.
checked out bsf from cvs.
downloaded rhino 1.5R3, 1.5R4, 1.6R1,
    copied one or the other to ant/lib/optional and put it into classpath
built bsf successfully
copied bsf.jar to ant/lib/optional and put it into classpath
built ant successfully
put the following text in my application build.xml (line 34):
<script language="javascript"><![CDATA[
            pkgName = self.getProject().getProperty("ant.project.name");
            pkgPath = pkgName.replace('.', java.io.File.separatorChar);
            prjName = pkgName.substring(pkgName.lastIndexOf('.')+1);
            self.getProject().setNewProperty("project.path", pkgPath);
            self.getProject().setNewProperty("project.name", 
prjName);]]></script>

BUT: regardless of which version of js.jar I'm trying I get the error 
message

BUILD FAILED
.../build.xml:34: java.lang.NoSuchFieldError: dbgmgr

Doing by hand what the script should do: "make ${project.path} and  
${project.name}"
leads to a successful build.

Any idea what to look for next? I don't know what 'dbgmgr' stands for.

Rolf