Frage

I've recently started using JRebel with Eclipse and Jboss and its working perfectly fine for me. Its deploying changed files to

D:/Workspace/Project/build/classes

as I've mentioned the same in rebel.xml. However I want to change the path relative to the recently deployed war in tmp folder inside the Jboss server. Is there a way I can do so ?

War es hilfreich?

Lösung

In your case,

D:/Workspace/Project/build/classes

Is the directory where your IDE compiles the classes to. rebel.xml just specifies for JRebel where to load those classes from.

To use the relative path you can define a placeholder:

${workspace.path}/Project/build/classes

And then you can expand the placeholder by defining the placeholder value via VM arguments:

-Dworkspace.path=D:/Workspace

Unfortunately there's no way to specify the real relative path, a-la ../build/classes

My question would rather be why do you want to specify the path to JBoss's tmp folder?

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top