<target name="rmic" depends="init">

  <rmic classname="com.i2.gs.access.GSTransactionManagerImpl"
        stubVersion="1.2"
        base="${build.classes}"
        classpath="${build.classpath}"
    />

</target>

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.fillInStackTrace(Compiled Code)
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(Exception.java:42)
        at java.lang.RuntimeException.<init>(RuntimeException.java:47)
        at 
java.lang.IndexOutOfBoundsException.<init>(IndexOutOfBoundsException.java:44)
        at
java.lang.StringIndexOutOfBoundsException.<init>(StringIndexOutOfBoundsException.java:57)
        at java.lang.String.substring(Compiled Code)
        at org.apache.tools.ant.taskdefs.Rmic.shouldCompile(Compiled Code)
        at org.apache.tools.ant.taskdefs.Rmic.execute(Compiled Code)
        at org.apache.tools.ant.Target.execute(Compiled Code)
        at org.apache.tools.ant.Project.runTarget(Project.java:708)
        at org.apache.tools.ant.Project.executeTarget(Compiled Code)
        at org.apache.tools.ant.Project.executeTargets(Compiled Code)
        at org.apache.tools.ant.Main.runBuild(Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java:107)


I've tried adding ".class" to the end of the classname entry, that doesn't help.

I've tried dropping the stubVersion entry, no help.

With and without the classpath entry...

It's probably something obvious, but I've looked so long I
no longer can see it.



Reply via email to