Subject: RE: Logging problems...
From: Paul Freeman (pfreeman@ccs.neu.edu)
Date: Wed Dec 11 2002 - 19:35:54 EST
You need to add a period at the beginning of your classpath. so it is as
follows
.:/home/cdideles/classes/com3205/command_line_aplib/aspectjrt.jar:/home/cdideles/classes/com3205/command_line_aplib/rt.jar:/home/cdideles/classes/com3205/command_line_aplib/log4j-1.2.7.jar:/home/cdideles/classes/com3205/command_line_aplib/
That way you specify the current directory as the first place to look
for the compiled files. Right now you are using the aplib which is a
part of your classpath in the software file.
Let me know if it works.
Paul
****************
Hi Paul,
I'm trying to do part 2a (command line option) using the computers at
school. I couldn't seem to make the Logging aspect work because it doesn't
produce any log files. I've set the MaxFileSize = 20000KB for the
LoDLogger.lcf, but it still doesn't produce any logs.
Here's my $CLASSPATH:
/home/cdideles/classes/com3205/command_line_aplib/aspectjrt.jar:/home/cdideles/classes/com3205/command_line_aplib/rt.jar:/home/cdideles/classes/com3205/command_line_aplib/log4j-1.2.7.jar:/home/cdideles/classes/com3205/command_line_aplib/
So I just compile with:
ajc -verbose -argfile LoDCheckerBuild.lst
And I run with:
java edu.neu.ccs.demeter.aplib.APLibTest "test.cd" "test.sg"
The output on the screen is:
APLibTest "test.cd" "test.sg"
AP Library version 0.8.4
Expanded class graph:
A : B | C.
B = <d> D extends A.
C = <e> E extends A.
D = .
E = .
Expanded strategy graph:
{
source: A -> C
C -> target: E
} with { }
Traversal graph: (77ms)
Copy 0:
Nodes:
A
Edges:
Edges to other copies:
1: => A,C
Copy 1:
Nodes:
A
C
E
Edges:
-> C,e,E
Edges to other copies:
Traversal subgraph:
A : C .
C = <e> E .
E = .
Am I doing it right? Can you help me find out what I'm missing?
Thanks so much,
Myra
This archive was generated by hypermail 2b28 : Wed Dec 11 2002 - 19:39:38 EST