[
https://issues.apache.org/jira/browse/CONNECTORS-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shinichiro Abe updated CONNECTORS-1052:
---------------------------------------
Description:
Using ant 'test', AlfrescoConnector test is ignored. Because ant doesn't call
'mvn package' at test-materials/alfresco-war and copy the war to proper test
dir. It would be nice if we could call mvn command from ant, including compile
jars and test.
Currently, this test is skipped when we use ant.
{noformat}
$ ant make-core-deps make-deps build test
Or
$ cd connectors/alfresco
$ ant run-IT-HSQLDB
...
pretest-warn:
[echo] Alfresco Connector integration tests cannot be be performed without
alfresco.war
{noformat}
Also, it seems there is a difference between build.xml and pom.xml about test
content(alfresco war/client version).
I'm not sure what is correct.
was:
This test is skipped when we use ant.
{noformat}
$ ant make-core-deps make-deps build test
Or
$ cd connectors/alfresco
$ ant run-IT-HSQLDB
...
pretest-warn:
[echo] Alfresco Connector integration tests cannot be be performed without
alfresco.war
{noformat}
Also, it seems there is a difference between build.xml and pom.xml about test
content(alfresco war/client version).
I'm not sure what is correct.
> Invoking mvn from ant
> ---------------------
>
> Key: CONNECTORS-1052
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1052
> Project: ManifoldCF
> Issue Type: Bug
> Components: Alfresco connector
> Reporter: Shinichiro Abe
>
> Using ant 'test', AlfrescoConnector test is ignored. Because ant doesn't call
> 'mvn package' at test-materials/alfresco-war and copy the war to proper test
> dir. It would be nice if we could call mvn command from ant, including
> compile jars and test.
> Currently, this test is skipped when we use ant.
> {noformat}
> $ ant make-core-deps make-deps build test
> Or
> $ cd connectors/alfresco
> $ ant run-IT-HSQLDB
> ...
> pretest-warn:
> [echo] Alfresco Connector integration tests cannot be be performed
> without alfresco.war
> {noformat}
> Also, it seems there is a difference between build.xml and pom.xml about test
> content(alfresco war/client version).
> I'm not sure what is correct.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)