Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

change location of generated rebel.xml #4

Open
erikkaplun opened this issue Jan 1, 2015 · 1 comment
Open

change location of generated rebel.xml #4

erikkaplun opened this issue Jan 1, 2015 · 1 comment

Comments

@erikkaplun
Copy link

I'm not entirely sure how to take advantage of the rebel.xml generated at target/scala-2.11/resource_managed/main/rebel.xml but the way I use JRebel with my project is that I generate a start script in target/start and then programmatically modify it to include -javaagent:... to activate JRebel. This unfortunately does not pick up rebel.xml from where sbt-jrebel-plugin puts it and instead I need to manually move it to project root.

Is there a way to set jrebelRebelXml or equivalent to change the output path of the generated rebel.xml file? If not, could one be added?

@Gekkio
Copy link
Owner

Gekkio commented Jan 2, 2015

The default location of rebel.xml ends up in the classpath, so it should be picked up automatically (this is also why there's a warning in README about rebel.xml ending up in published artifacts).

If you are sure this doesn't work with your use case, you can change the rebel.xml path by setting jrebel.rebelXml to something else.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants