A quick google for
"is not a Java .class file" bcel [1]
and particularly [2]
showed that at aspectwerkz.codehaus.org they have
written bcel-patch.jar for some reason. I am
investigating it.
Ivan
[1]http://www.google.com/search?hl=en&lr=&safe=off&q=%22is+not+a+Java+.class+file%22+bcel&btnG=Search
I see the same underlying exception,
I used:
} catch (InvocationTargetException t) {
throw new BuildException(t.getTargetException());
}
and saw:
.
.
.
--- Nested Exception ---
java.lang.ClassFormatError: is not a Java .class file
at org.apache.b
--- [EMAIL PROTECTED] wrote:
> I had a look into the source of -
> all exceptions are
> catched and
> a new IOEx with the message only is thrown. Maybe
> for debug purposes we
> could provide
> the complete stacktrace - especially here it could
> be useful, I think.
I added them to see what is
[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 16. Februar 2005 14:33
> An: Ant Users List
> Betreff: Re: AW: ClassConstants filterreader fails with IOException
>
> Hello, Peter and all,
>
> I am using Fedora Core 2 and does
> *not* work on my machine too. I am runn
Hello, Peter and all,
I am using Fedora Core 2 and does
*not* work on my machine too. I am running the
following ant script:
against the following class:
public class Constants {
public static final int INT_CONST = 1;
public static
the Ini.java
- test-should-pass: load Ini1 to Ini4
Jan
> -Ursprüngliche Nachricht-
> Von: Peter Reilly [mailto:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 16. Februar 2005 13:25
> An: Ant Users List
> Betreff: Re: AW: ClassConstants filterreader fails with IOException
>
Mmm,
I cannot seem to get classconstants to work at all on linux.
Has anyone seen it work in linux?
Peter
[EMAIL PROTECTED] wrote:
I could reproduce your problem and did several tests:
- no problems with datatypes (short, int, String)
- no problems with names
- no problems with values ("", "&", VAL
I could reproduce your problem and did several tests:
- no problems with datatypes (short, int, String)
- no problems with names
- no problems with values ("", "&", VALUE_OF_ANOTHER)
But it seems that there is a limit of constants on 84, but don´t know why.
I split that file into four classes and
Hello,
I'm trying to use the classconstants filterreader to read the a class file
but it fails with a IOException.
I tried removing some of the constants and at some point I found that I can
successfully read the file. Is there a limit to what classconstants can
read?
I'm using ant 1.6.0, but I a
about attachements ... (or I havent seen
that :-)
Jan
> -Ursprüngliche Nachricht-
> Von: Ronen Mashal [mailto:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 16. Februar 2005 08:32
> An: user@ant.apache.org
> Betreff: ClassConstants filterreader fails with IOException
>
Hello,
I'm trying to use the classconstants filterreader to read the following
file class file - (See attached file: Ini.class) (This its source - (See
attached file: Ini.java)) but it fails with a IOException.
I tried removing some of the constants and at some point I found that I can
successfull
11 matches
Mail list logo