-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jbossHome is missing slashes using windows #19
Comments
Hmm, not sure why this would happen. The value should be resolved from here: And set on this object and validated here: I currently don't have access to a Windows machine, but if you would be willing to debug this I'm happy to help/guide/fix it. 👍 |
I have summarized the failsafe plugin execution http://pastebin.com/4KAuDwsX If you have more details how I can deliver more debug information, tell me please. |
@CSchulz are you setting jbossHome in Java like this:
? All those single backslashes will disappear because they behave as escape characters. You need to double them up:
|
@sfcoy To my understanding he only defines the chameleonTarget configuration to 'something' managed, so chameleon should extract the dist zip into some folder and set the jbossHome automatically. The extraction is done here https://github.com/arquillian/arquillian-container-chameleon/blob/master/src/main/java/org/arquillian/container/chameleon/controller/DistributionController.java#L67 and the setting of the variable is here https://github.com/arquillian/arquillian-container-chameleon/blob/master/src/main/java/org/arquillian/container/chameleon/controller/DistributionController.java#L87 All that is File/String stuff in Java so with out debugging the running code i'm not sure where the slashes are removed. Unless new File(dist.getAbsolutePath()).exists is an issue.. |
@aslakknutsen is correct. DistributionController.updateTargetConfiguration: ContainerDefImpl.overrideProperty gets the value without backslashes. So the backslashes are "forgotten" when calling The cause can be found in ContainerAdapter.resolve(String parameter, String value, String target). The replaceAll is the reason. I think it would be good to store the path escaped directly in the updateTargetConfiguration method. |
Hello,
I have tried to set up my first project and got following exception. The folder exists if you add the directory seperator. But it seems to get lost under windows.
My arquillian.xml just contains the target.
The text was updated successfully, but these errors were encountered: