manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piergiorgio Lucidi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-236) Tests and test server needed for CMIS connector
Date Thu, 04 Aug 2011 17:34:27 GMT

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

Piergiorgio Lucidi commented on CONNECTORS-236:
-----------------------------------------------

Thanks.

Karl, 

the CMIS server webapp is in the lib directory, but this directory is outside of the Maven
module for CMIS tests.

This means that now we need to add a new property in the tests/cmis/pom.xml to set the absolute
path of the CMIS server.

In the future we will fix this, when the new version of the CMIS Server will be available
in the Maven repo, so we will not have any problem. 

But now it could be not good to leave the war artifact in the main lib directory, because
to build and run tests we need to insert the needed path as a property value.

A possible solution could be create a lib folder inside tests/cmis and move the CMIS server
webapp in this new folder. In this way we can access using Maven because we are now in the
module and we can refer to the webapp using a relative path.

With the war artifact in the following path:
{code}
tests/cmis/lib/chemistry-opencmis-server-inmemory-war-0.5.0-SNAPSHOT.war
{code}

We can refer to it using a relative path in the pom.xml:
{code}
<openCmisServerWarPath>lib/chemistry-opencmis-server-inmemory-war-0.5.0-SNAPSHOT.war</openCmisServerWarPath>
{code}

WDYT?

> Tests and test server needed for CMIS connector
> -----------------------------------------------
>
>                 Key: CONNECTORS-236
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-236
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: CMIS connector
>            Reporter: Piergiorgio Lucidi
>         Attachments: chemistry-opencmis-server-inmemory-war-0.5.0-SNAPSHOT.war, patch.txt,
patch2.txt
>
>
> The CMIS connector needs tests, and a CMIS test server to run against.

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

        

Mime
View raw message