ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wes Moulder" <wmoul...@axyssolutions.com>
Subject RE: RMIC
Date Fri, 29 Sep 2000 13:50:14 GMT
compile.jboss:

BUILD FAILED

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(Unknown Source)
        at org.apache.tools.ant.taskdefs.Rmic.shouldCompile(Rmic.java:327)
        at org.apache.tools.ant.taskdefs.Rmic.execute(Rmic.java:190)
        at org.apache.tools.ant.Target.execute(Target.java:127)
        at org.apache.tools.ant.Project.runTarget(Project.java:708)
        at org.apache.tools.ant.Project.executeTarget(Project.java:439)
        at org.apache.tools.ant.Project.executeTargets(Project.java:413)
        at org.apache.tools.ant.Main.runBuild(Main.java:278)
        at org.apache.tools.ant.Main.main(Main.java:107)

I did some investigating on the RMIC taskdef, and it seems to be converting
all .'s to /'s.  Shortly thereafter, it goes looking for the index of
.class, which is what throws this exception, as there is no longer a .class,
it's a /class.  I can't believe this is a problem with RMIC, as no one would
have been able to use it in 1.1.  Can anyone confirm that it works fine?

I'm hesitant about moving to 1.2 before it's stable because I don't want
anything I write to have to be rewritten because syntax, and ideas changed
before 1.2 was finalized, but if it comes down to it, could someone
recommend a good stable build date?


> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@bost.de]
> Sent: Friday, September 29, 2000 4:58 AM
> To: ant-user@jakarta.apache.org
> Subject: Re: RMIC
>
>
> >>>>> "WM" == Wes Moulder <wmoulder@axyssolutions.com> writes:
>
>  WM> I'm still using Ant 1.1,
>
> rmic has change somewhat since then ...
>
> Could you send the complete stack trace of the exception, this would
> probably help a lot.
>
> Stefan
>


Mime
View raw message