Announcement Announcement Module
Collapse
No announcement yet.
I need to add a classpath entry for a class to work Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • I need to add a classpath entry for a class to work

    Would aop be a good way to add a system property before the class gets created?

    thanks,

    dw

  • #2
    Possibly. What's the scenario? Does it need to be done every time? Why a system property?

    Comment


    • #3
      I have a class that requires a classpath/-D. I have aop

      methodbeforeadvice implemented and i'm trying to see if I can add create the affect of a -D by adding the entry in the System class. But the method I need aspected is private and the critical last method is performed inside the constructor!! Very frustrating.

      I don't want to have to create classpath entries everywhere this thing gets deployed.

      Any help is appreciated.

      Thanks,

      dw

      Comment

      Working...
      X