I'm trying to create a mixin inside an AJ project in MyEclipse:

public interface IDaoMixin {

        public static aspect Impl {
                ....
        }

        public void setJdbcTemplate(JdbcTemplate template);

}

and it gives me the following:

Multiple markers at this line
        - Syntax error on token "aspect", class
         expected
        - aspect cannot be resolved to a type
        - The interface IDaoMixin cannot define an
         initializer

What ccould be a problem here?  What's interesting, is that the Problems view 
in Eclipse doesn't register a problem, it only appears inside the editor.

Here's the .project file:

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
        <name>GlobalMarketAnalytics</name>
        <comment></comment>
        <projects>
        </projects>
        <buildSpec>
                <buildCommand>
                        <name>org.eclipse.ajdt.core.ajbuilder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
                <buildCommand>
                        
<name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
                <buildCommand>
                        
<name>com.genuitec.eclipse.springframework.springbuilder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
        </buildSpec>
        <natures>
                <nature>org.eclipse.ajdt.ui.ajnature</nature>
                
<nature>com.genuitec.eclipse.springframework.springnature</nature>
                
<nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
                <nature>org.eclipse.jdt.core.javanature</nature>
        </natures>
</projectDescription>

Thank you in advance.
Simeon
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to