Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.1
-
None
Description
After finding the right parameter "conf" (which really needs more documentation), i stumbled upon a missing feature: being able to have subfolders transfered too.
This is related to TOMEE-373 i think.
this is my problem
/ my-project/ | + src/ | + test/ | + tomee/ | + conf/ | + conf.d/cxf-rs.properties
my arquillian.xml
<?xml version="1.0" encoding="UTF-8" ?> <arquillian xmlns="http://jboss.org/schema/arquillian" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd"> <engine> <property name="deploymentExportPath">${project.build.directory}/test-deployments</property> </engine> <container qualifier="tomee" default="true"> <configuration> <property name="conf">src/test/tomee/conf</property> <!-- this does not work, because i have subfolders... --> <property name="simpleLog">true</property> <property name="httpPort">${tomee.arquillian.httpPort}</property> <property name="stopPort">${tomee.arquillian.stopPort}</property> <property name="ajpPort">${tomee.arquillian.ajpPort}</property> <property name="classifier">${version.tomee.classifier}</property> <property name="dir">${project.build.directory}/apache-tomee</property> <property name="appWorkingDir">${project.build.directory}/arquillian-test-working-dir</property> <property name="catalina_opts">-Djava.awt.headless=true</property> <property name="properties"> intranetportal = new://Resource?type=DataSource intranetportal.jdbcDriver=org.hsqldb.jdbcDriver intranetportal.jdbcUrl=jdbc:hsqldb:mem:tests;DB_CLOSE_DELAY=-1 intranetportal.validationQuery = SELECT 1 FROM INFORMATION_SCHEMA.SYSTEM_USERS </property> </configuration> </container> </arquillian>
The goal i want to reach: disable CXF-RS withing testing (but i still want to use tomee-plus).
Is there another option to do this? I traced it down to this class:
http://grepcode.com/file/repo1.maven.org/maven2/org.apache.openejb/openejb-loader/4.7.1/org/apache/openejb/loader/Files.java#Files.collect%28java.io.File%2Cjava.io.FileFilter%29