Skip to content

PoetryHack/PoetryHookExamples

Repository files navigation

PoetryHookExamples

this repo contains examples for PoetryHook

to compile everything, run

mvn package -Pbuild-app
mvn package -Pbuild-agent
mvn package -Pbuild-injector

to run the application, run

java -jar target/PoetryHookExampleApp.jar

to inject the agent, run

java -jar target/PoetryHookExampleInjector.jar <agent-path> inject <pid>

with <agent-path> being the path to the agent (a good default is target/PoetryHookExampleAgent-1.0.0.jar) and <pid> being the process id on your system of the running example app. it is printed on startup by the app.

to eject the agent, run

java -jar target/PoetryHookExampleInjector.jar <agent-path> eject <pid>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages