[ 
https://issues.apache.org/jira/browse/CONNECTORS-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066858#comment-13066858
 ] 

Tobias Rübner commented on CONNECTORS-223:
------------------------------------------

Thank you. Now I run into some other problems.
Running the tests creates the databses files in the root directory of the 
module.
This depends on the test configuration defined in 
org.apache.manifoldcf.core.tests.BaseHSQLDB.
Maybe we could change that path to the test classpath
{code}
currentPath = new File(".").getCanonicalFile();
//currentPath = new 
File(this.getClass().getClassLoader().getResource(".").getPath()).getCanonicalFile();
{code}

> Tests in project hierarchy do not adhere to maven conventions
> -------------------------------------------------------------
>
>                 Key: CONNECTORS-223
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-223
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: ManifoldCF 0.1, ManifoldCF 0.2, ManifoldCF 0.3
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 0.3
>
>
> Maven expects unit tests under .../src/test/java, and root-level project 
> tests under tests/xxx/src/test/java (or equivalent, along with their own 
> pom.xml at tests and tests/xxx).  This is basically compatible with the ant 
> build except in location detail.  The proposal is to move stuff around to 
> make the tests work with maven.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to