I have a java jar I want to invoke when a class is compiled using the Eclipse IDE :
java -jar myjar.jar args1 args2
Is there a java lib I can use for this or perhaps use a Scala macro ?
I have a java jar I want to invoke when a class is compiled using the Eclipse IDE :
java -jar myjar.jar args1 args2
Is there a java lib I can use for this or perhaps use a Scala macro ?
Copyright © 2021 Jogjafile Inc.
you can right click your project select properties / builders / new. this will add an external program to be run. after project compilation. (it will only be once per compile, not once per compilation unit, which is what i think you are referring to). however its easy enough to keep track of that by your external program, and run something for every updated compilation unit (or newly generated class file)