Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ajdt-dev] Problem with an around advice being run "sometimes"

Did you turn on the extra output for the AJDT event trace view? (ie.
click the filter in the top right and check all the boxes) - I just
would have expected it to say why it decided to perform a full build
when AJDT asked for an incremental one.

However, you seem to be saying as I suspected, that after an
incremental build has occurred the advice doesn't run.  I really would
like to get to the bottom of this - anything you can do to narrow it
down to a small-ish testcase or if you can let me have the woven
classes when they fail and when they work - I can start to debug it.

Andy.


On 06/07/06, Jimisola Laursen <lists@xxxxxxxxxxxx> wrote:

Hi!

One learns new stuff every day... You'll find full output from the AJDT
Event Trace view at the end of this post.

I noticed a difference between working and not working in the
"INCREMENTALBUILD".

Working outputs:

11:23:09 AM      Build kind = INCREMENTALBUILD
11:23:09 AM      Project=server         kind of build requested =Incremental
AspectJ compilation
11:23:09 AM      build: Examined delta - no source file changes for project
server
11:23:10 AM      Timer event: 1210ms: Time to first compiled message
11:23:13 AM      Timer event: 3591ms: Time to first woven message
11:23:14 AM      AspectJ reports build successful, build was: FULL
11:23:14 AM      Timer event: 4503ms: Total time spent in AJDE

whileas not working outputs:

11:24:43 AM      Build kind = INCREMENTALBUILD
11:24:43 AM      Project=server         kind of build requested =Incremental
AspectJ compilation
11:24:43 AM      build: Examined delta - no source file changes for project
server
11:24:43 AM      AspectJ reports build successful, build was: INCREMENTAL
11:24:43 AM      Timer event: 205ms: Total time spent in AJDE

I will run the program from the console as well and see if it works

Regards,
Jimisola

FULL LOG:


Run worked after clean:

11:22:29 AM      Removed problems and tasks for project server
11:22:29 AM      Builder: Tidied output folder, deleted 319 .class files from
/home/jimisola/p4clients/lt/iso/main/product/server/target/classes
11:22:34 AM
===========================================================================================
11:22:34 AM      Build kind = FULLBUILD
11:22:34 AM      Project=server         kind of build requested =Full AspectJ
compilation
11:22:34 AM      Builder: Tidied output folder, deleted 0 .class files from
/home/jimisola/p4clients/lt/iso/main/product/server/target/classes
11:22:37 AM      Timer event: 2164ms: Time to first compiled message
11:22:41 AM      Timer event: 6138ms: Time to first woven message
11:22:42 AM      AspectJ reports build successful, build was: FULL
11:22:42 AM      Timer event: 7580ms: Total time spent in AJDE
11:22:42 AM      Timer event: 372ms: Create element map (82 rels in project:
server)
11:22:42 AM      Types affected during build = 259
11:22:42 AM      Timer event: 5ms: Add markers (41 markers)
11:22:42 AM      Timer event: 8083ms: Total time spent in AJBuilder.build()
11:23:02 AM      AJDTContentProvider.selectionChanged(): Marking visualiser
content as out of date
11:23:09 AM
===========================================================================================
11:23:09 AM      Build kind = INCREMENTALBUILD
11:23:09 AM      Project=server         kind of build requested =Incremental
AspectJ compilation
11:23:09 AM      build: Examined delta - no source file changes for project
server
11:23:10 AM      Timer event: 1210ms: Time to first compiled message
11:23:13 AM      Timer event: 3591ms: Time to first woven message
11:23:14 AM      AspectJ reports build successful, build was: FULL
11:23:14 AM      Timer event: 4503ms: Total time spent in AJDE
11:23:14 AM      Timer event: 415ms: Create element map (82 rels in project:
server)
11:23:14 AM      Types affected during build = 259
11:23:14 AM      Timer event: 4ms: Add markers (41 markers)
11:23:14 AM      Timer event: 5068ms: Total time spent in AJBuilder.build()

Run DID NOT work after Clean:

11:24:12 AM      Removed problems and tasks for project server
11:24:13 AM      Builder: Tidied output folder, deleted 319 .class files from
/home/jimisola/p4clients/lt/iso/main/product/server/target/classes
11:24:21 AM
===========================================================================================
11:24:21 AM      Build kind = FULLBUILD
11:24:22 AM      Project=server         kind of build requested =Full AspectJ
compilation
11:24:22 AM      Builder: Tidied output folder, deleted 0 .class files from
/home/jimisola/p4clients/lt/iso/main/product/server/target/classes
11:24:22 AM      Timer event: 873ms: Time to first compiled message
11:24:26 AM      Timer event: 4130ms: Time to first woven message
11:24:29 AM      AspectJ reports build successful, build was: FULL
11:24:29 AM      Timer event: 7146ms: Total time spent in AJDE
11:24:29 AM      Timer event: 349ms: Create element map (82 rels in project:
server)
11:24:29 AM      Types affected during build = 259
11:24:29 AM      Timer event: 5ms: Add markers (41 markers)
11:24:29 AM      Timer event: 7644ms: Total time spent in AJBuilder.build()
11:24:43 AM
===========================================================================================
11:24:43 AM      Build kind = INCREMENTALBUILD
11:24:43 AM      Project=server         kind of build requested =Incremental
AspectJ compilation
11:24:43 AM      build: Examined delta - no source file changes for project
server
11:24:43 AM      AspectJ reports build successful, build was: INCREMENTAL
11:24:43 AM      Timer event: 205ms: Total time spent in AJDE
11:24:43 AM      Timer event: 163ms: Create element map (82 rels in project:
server)
11:24:43 AM      Types affected during build = 0
11:24:43 AM      Timer event: 7ms: Add markers (41 markers)
11:24:43 AM      Timer event: 483ms: Total time spent in AJBuilder.build()

--
View this message in context: http://www.nabble.com/Problem-with-an-around-advice-being-run-%22sometimes%22-tf1895019.html#a5196649
Sent from the Eclipse Ajdt - Dev forum at Nabble.com.

_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ajdt-dev



Back to the top