[JBoss JIRA] Created: (ARQ-212) Create export directory if it doesn't exist
by Dan Allen (JIRA)
Create export directory if it doesn't exist
-------------------------------------------
Key: ARQ-212
URL: https://jira.jboss.org/browse/ARQ-212
Project: Arquillian
Issue Type: Bug
Components: Configuration
Affects Versions: 1.0.0.Alpha2
Reporter: Dan Allen
Priority: Minor
Fix For: 1.0.0.Alpha3
Arquillian supports exporting the archive to a directory when the test is run using the following configuration:
<engine>
<deploymentExportPath>/tmp/</deploymentExportPath>
</engine>
However, if this directory doesn't exist, Arquillian fails. Instead, Arquillian should attempt to create the directory (and any parent directory).
Also, the user should not be required to add a trailing slash. Be sure to add a test to verify that it's not required.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 5 months
[JBoss JIRA] Created: (ARQ-161) Weld Extension doesn't fire ProcessAnnotatedType when importDirecyory is used.
by alberto Gori (JIRA)
Weld Extension doesn't fire ProcessAnnotatedType when importDirecyory is used.
------------------------------------------------------------------------------
Key: ARQ-161
URL: https://jira.jboss.org/browse/ARQ-161
Project: Arquillian
Issue Type: Bug
Affects Versions: 1.0.0.Alpha2
Reporter: alberto Gori
The deployment code is this:
Archive<?> archive = ShrinkWrap.create("test.jar", JavaArchive.class);
archive.as(ExplodedImporter.class).importDirectory("target/classes");
archive.as(ExplodedImporter.class).importDirectory("target/test-classes");
If I pack classes using this technique, then my CDI Extension doesn't fire the ProcessAnnotatedType for classes that are not my test class.
On IRC aslak commented the following:
"it's due to a 'hack' in the WeldEmbedded deployer, it assumes it will get a Archive with ClassAssets.. but when you do import, it wil be FileAssets, so they are ignored"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 5 months