You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2014/12/18 17:06:13 UTC
[jira] [Comment Edited] (TOMEE-1480) make possibility to provide
conf.d-files for arquillian-tomee-remote adapter
[ https://issues.apache.org/jira/browse/TOMEE-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14251847#comment-14251847 ]
Romain Manni-Bucau edited comment on TOMEE-1480 at 12/18/14 4:05 PM:
---------------------------------------------------------------------
Hi this was designed this way (ok blame me cause this is a valid feature) just because you never need conf folder for tomee/openejb (understand you can need it for tomcat part).
All you do in tomee.xml, system.properties and conf/conf.d/*.properties can be done in properties block of tomee container in arquillian.xml. For your case cxf-rs.disabled = true should work.
was (Author: romain.manni-bucau):
Hi tihs was designed this way (ok blame me cause this is a valid feature) just because you never need conf folder for tomee/openejb (understand you can need it for tomcat part).
All you do in tomee.xml, system.properties and conf/conf.d/*.properties can be done in properties block of tomee container in arquillian.xml. For your case cxf-rs.disabled = true should work.
> 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)