#12 peer enhancer: allow multiple files

closed
nobody
None
5
2003-06-16
2002-11-15
brien
No

the way the peer enhancer works right now is very slow
if you're enhancing lots of files. it would be nice if there
was a mode where you could give it a list of class files
and it enhaced them all. in this mode i would prefer if it
the input and output files were the same. this way i
could integrate a peer enhancement step into my build
process every time i recompiled my peer classes.

Discussion

  • Toby Reyelts
    Toby Reyelts
    2002-11-15

    Logged In: YES
    user_id=149785

    Slow in what way? IIRC, it runs in under a second. How many
    classes are you enhancing?

    Is there something here that can't be done with a build
    script, like one for Ant?

    God bless,
    -Toby Reyelts

     
  • brien
    brien
    2002-11-16

    Logged In: YES
    user_id=647082

    the way that i'm invoking it is by executing "java" once per
    peer class. the overhead of running java is what is slow. is
    there a way to have a single invocation enhance multiple files?

     
  • Toby Reyelts
    Toby Reyelts
    2002-11-18

    Logged In: YES
    user_id=149785

    Is there some reason you just don't run the Peer enhancement
    as a <java> task from Ant? That would make it part of your
    build, and it would execute the Enhancer in the same virtual
    machine.

    God bless,
    -Toby Reyelts

     
  • Toby Reyelts
    Toby Reyelts
    2003-06-16

    Logged In: YES
    user_id=149785

    Added to Jace1.1RC1 - There is a new BatchEnhancer utility
    that allows you to enhance several peer classes in a single
    program run.

    God bless,
    -Toby Reyelts

     
  • Toby Reyelts
    Toby Reyelts
    2003-06-16

    • status: open --> closed