Announcement Announcement Module
Collapse
No announcement yet.
@Configurable and Hibernate Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • @Configurable and Hibernate

    I was finally able to get AspectJ to weave the @Configurable annotation into my domain objects by placing spring-framework-2.0-rc3\aspectj\src into my source path when I invoke iajc, as the test cases do.

    It would seem to me that just placing spring-aspects.jar into my classpath when I compile should be sufficient, but when I do that the Configurable aspect does not get weaved at build time.

    I'm missing something fundamental in my understanding of how weaving works. Should I really need to add the spring aspect sources to my project?
    Last edited by cepage; Aug 16th, 2006, 09:35 PM. Reason: Excuse the confusing thread name

  • #2
    Originally posted by cepage
    Should I really need to add the spring aspect sources to my project?
    No, you shouldn't have to do that. Try adding spring-aspects.jar to the aspectpath of iajc.

    Comment


    • #3
      Thanks, you the man!

      Comment

      Working...
      X