manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CONNECTORS-1060) Write IT test for Alfresco webscript connector
Date Sun, 19 Oct 2014 22:12:34 GMT

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

Karl Wright edited comment on CONNECTORS-1060 at 10/19/14 10:12 PM:
--------------------------------------------------------------------

Hi Maurizio,

When you run "ant build", connector-build.xml is copied to the "dist" directory.  It then
can be used for all the connector builds.

If you do not see connector-build.xml under dist, then you did not execute "ant build".  If
you *do* see it, then the problem is that you are setting MCFDISTPATH.  You should be leaving
MCFDISTPATH empty; all connector build.xml files will detect a missing MCFDISTPATH and use
../../dist/ instead in that case.

For example:

{code}
C:\wip\mcf\CONNECTORS-1060>dir dist
 Volume in drive C has no label.
 Volume Serial Number is 002E-D1F0

 Directory of C:\wip\mcf\CONNECTORS-1060\dist

10/19/2014  11:40 AM    <DIR>          .
10/19/2014  11:40 AM    <DIR>          ..
10/19/2014  11:40 AM            65,275 connector-build.xml
10/19/2014  11:40 AM    <DIR>          connector-lib
...
{code}

I don't have MCFDISTPATH set:

{code}
C:\wip\mcf\CONNECTORS-1060\connectors\alfresco-webscript>echo %MCFDISTPATH%
%MCFDISTPATH%
{code}

... and your code executes fine:

{code}
C:\wip\mcf\CONNECTORS-1060\connectors\alfresco-webscript>ant run-IT-HSQLDB
Buildfile: C:\wip\mcf\CONNECTORS-1060\connectors\alfresco-webscript\build.xml

calculate-condition:

precompile-warn:

precompile-check:

has-stubs-check:

has-proprietary-materials-check:

...

    [junit] ------------- ---------------- ---------------
    [junit] [Thread-172] INFO org.eclipse.jetty.server.ServerConnector - Stopped
 ServerConnector@555bbc6{HTTP/1.1}{0.0.0.0:9090}

BUILD SUCCESSFUL
Total time: 13 seconds
{code}


Thanks.


was (Author: kwright@metacarta.com):
Hi Maurizio,

When you run "ant build", connector-build.xml is copied to the "dist" directory.  It then
can be used for all the connector builds.

If you do not see connector-build.xml under dist, then you did not execute "ant build".  If
you *do* see it, then the problem is that you are setting MCFDISTPATH.  You should be leaving
MCFDISTPATH empty; all connector build.xml files will detect a missing MCFDISTPATH and use
../../dist/ instead in that case.

Thanks.

> Write IT test for Alfresco webscript connector
> ----------------------------------------------
>
>                 Key: CONNECTORS-1060
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1060
>             Project: ManifoldCF
>          Issue Type: Task
>          Components: Alfresco webscript connector
>    Affects Versions: ManifoldCF 2.0
>            Reporter: Karl Wright
>            Assignee: Maurizio Pillitu
>             Fix For: ManifoldCF 2.0
>
>
> The only thing really needed for this work to begin is to include the indexer 0.6.2 plugin
in the Alfresco war that is built under test-materials.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message