Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] getSourceLocation returns <unknown>:0

> I'm using the following iajc target:
>         <iajc argfiles="src\de\mgmedv\perfload\collector\duke.lst"
>             outjar="tempAOP.jar"
>             injars="temp.jar"
>             copyInjars="true">
>            <classpath>
>                 <pathelement path="lib/aspectjrt.jar"/>
>             </classpath>
>         </iajc>
>
> Where temp.jar is my application and in the duke.lst are my aspects.
>
> Does the getSourcelocation not work if I use classes as input?

I believe you need to compile temp.jar with debuging information
available. But why compile temp.jar separately anyway? Ajc can compile it
for you and that would solve your problem.

-Macneil




Back to the top