Skip to content
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

Support link between Download outputDirectory and arq.xml #10

Open
aslakknutsen opened this issue Mar 16, 2012 · 3 comments
Open

Support link between Download outputDirectory and arq.xml #10

aslakknutsen opened this issue Mar 16, 2012 · 3 comments

Comments

@aslakknutsen
Copy link
Member

The managed containers normally need to set some location (jbossHome, catalinaHome) in arquillian.xml

When you install a new container and answer yes to

"Do you want Arquillian to install the container?"

and

"Where do you want to install the container?" xxxx

A arquillian.xml container configuration with the correct property should be set refering to xxxx

e.g.

<container qualifier="">
  <property name="jbossHome">xxx</property>
</container>
@aslakknutsen
Copy link
Member Author

Challenge here of course is that outputDirectory is where the ZIP is extracted. Depending on the zip, the subfolder to outputDirectory is probably where you want jbossHome to be set to

@jerr
Copy link
Member

jerr commented Aug 19, 2013

Yes is a good challenge.
I think this feature is important to create a test and run it without manual file manipulation.
I volunteered for this. If you have any suggestions do not hesitate to tell to me.

Jérémie.

@aslakknutsen
Copy link
Member Author

Happy to see you take this on! :)

Since you won't know the content of the zip based on the maven configuration, and the maven build is not ran before you're suppose to know this.. Two options come to mind:

  • defer the sub folder name from the zip file. Assume x.zip will be extracted to output/x, make exception rules where this rules does not work
  • understand the maven config, download the zip file and check the content. This could trigger a 150mb download and could take some time.

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

No branches or pull requests

2 participants