Danny Althoff created TOMEE-1480:
------------------------------------
Summary: make possibility to provide conf.d-files for arquillian-tomee-remote
adapter
Key: TOMEE-1480
URL: https://issues.apache.org/jira/browse/TOMEE-1480
Project: TomEE
Issue Type: Bug
Components: TomEE Arquillian Adapters
Affects Versions: 1.7.1
Reporter: Danny Althoff
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
{code}
/ my-project/
|
+ src/
|
+ test/
|
+ tomee/
|
+ conf/
|
+ conf.d/cxf-rs.properties
{code}
my arquillian.xml
{code}
<?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>
{code}
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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|