Re: AW: AW: ClassConstants filterreader fails with IOException

2005-02-16 Thread Ivan Ivanov
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

Re: AW: AW: ClassConstants filterreader fails with IOException

2005-02-16 Thread Peter Reilly
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

Re: AW: AW: ClassConstants filterreader fails with IOException

2005-02-16 Thread Ivan Ivanov
--- [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

AW: AW: ClassConstants filterreader fails with IOException

2005-02-16 Thread Jan . Materne
[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

Re: AW: ClassConstants filterreader fails with IOException

2005-02-16 Thread Ivan Ivanov
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

AW: AW: ClassConstants filterreader fails with IOException

2005-02-16 Thread Jan . Materne
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 >

Re: AW: ClassConstants filterreader fails with IOException

2005-02-16 Thread Peter Reilly
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

AW: ClassConstants filterreader fails with IOException

2005-02-16 Thread Jan . Materne
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

AW: ClassConstants filterreader fails with IOException

2005-02-15 Thread Jan . Materne
Your attachements didnt come through. I think class files are blocked, not sure about java and xml. But the latter two you could post inline. Maybe you can send a zip as attachement. Can we put these infos on http://ant.apache.org/mail.html? Neither there nor in the Jakarta Guidelines is a hint