Re: [abc-users] Error while using abc. Please help!

From: Pavel Avgustinov <pavel.avgustinov@magdalen.oxford.ac.uk>
Date: Wed Feb 21 2007 - 00:47:13 GMT

Hi,

This is a known "limitation" of abc -- currently, it expects any class
to be defined in a directory corresponding to its package structure.

Concretely, in your case this means that
account.OverdraftProtectionRuleAspect needs to be defined in
account\OverdraftProtectionRuleAspect.java, while in your example you
have it in the current directory.

To get around it, run the command from C:\ and refer to the java file as
account\OverdraftProtectionRuleAspect.java.

HTH,
Pavel

Fayezin wrote:

> Hello,
>
> I am trying to use the dava option in abc, but I get the following
> exception-
>
> abc: public class account.OverdraftProtectionRuleAspect cannot be
> defined in
> file OverdraftProtectionRuleAspect.java
> 1 error.
>
> The command I am using to run abc is-
> C:\account>abc.bat -dava -d C:\account\dava -cp
> c:\account;c:\account\abc-complete.jar;C:\j2sdk1.4.2_13\jre\lib\rt.jar;C:\j2sdk1.4.2_13\jre\lib\jce.jar;C:\j2sdk1.4.2_13\jre\lib\jsse.jar
> OverdraftProtectionRuleAspect.java
>
> Please help me to get it sorted.
>
> Thanks,
>
> Fayezin
>
Received on Wed Feb 21 00:47:41 2007

This archive was generated by hypermail 2.1.8 : Wed Feb 21 2007 - 15:20:09 GMT