Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ajdt-dev] AspectJ AJDT, multiproject problems

hello all,
 i  m experiencing problems in defining abstract aspects in different projects

i have following project (both AJ projects)

Common

EJB

in Common, i have defined an AbstractTestAspect which contains an abstract pointcut

in  EJB, i have defined an EJBTestAspect which extends AbstractTestAspect and contains 'implementation' of abstract pointcut


but whenever i compile EJB project, i got an error saying that the EJBTestAspect does not provide a concrete pointcut for the pointcut defined
in AbstractTestAspect

Common project is a dependency fo EJB project, so i have not set any AspectPath or aspectInPath.

i managed in the past to write an abstract and a concrete aspect, but only when they were in the same project


is this a bug, or a limitiation of AJDT?

or am  i missing something?

here's a sample
public  abstract aspect BaseOwnerViewAspect {

    private void filterOwners(Collection existingCollection) {
    
    }
   
    /**
     * @return true if the ownerRef passed as input
     *            parameter belongs to CurrentUser's
     *         owner list. false otherwise
     */
    protected static boolean isAllowedOwner(String ownerRef) {
        ... some logic here....
    }
   
}mple



Back to the top