You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (Commented) (JIRA)" <ji...@apache.org> on 2011/12/07 04:01:43 UTC

[jira] [Commented] (CONNECTORS-308) "ant test" fails due to Alfresco test problem

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

Karl Wright commented on CONNECTORS-308:
----------------------------------------

Looking at the way this is structured, there are a couple of major problems.  (I'm referring to the "tests/alfresco-war" directory and its contents.)

First, all of the files within must have permissible copyrights in order to be included in our releases.  These look like they've been taken largely from somewhere else (Alfresco?) and modified.  Whatever the copyright was on these it must be preserved.

Second, it's not clear why we're building the war at all, and not just including a prebuilt one, especially since I think all that we do is turn around and deploy the war on Jetty when it's done.  Unless it includes GPL-licensed stuff that can't be redistributed, maybe that would be a better way to do it.  If building the war is complicated and specific in any way to MCF, then we can set up a place in the tree (not under trunk) where we have the necessary materials checked in.

Third, we really *don't* want to be building this if the alfresco connector cannot be built.  Even if we keep this under trunk, I think it should be moved to connectors/alfresco somewhere, since that build.xml is the one that knows whether the connector can be built.


                
> "ant test" fails due to Alfresco test problem
> ---------------------------------------------
>
>                 Key: CONNECTORS-308
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-308
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Alfresco connector
>    Affects Versions: ManifoldCF 0.4
>         Environment: Windows (although this shouldn't matter)
>            Reporter: Karl Wright
>            Assignee: Piergiorgio Lucidi
>             Fix For: ManifoldCF 0.4
>
>
> I get this error when I do "ant test":
> {code}
> ...
> setup-alfresco-connector-tests:
>      [copy] Copying 6 files to C:\wip\mcf\trunk\connectors\alfresco\lib
> BUILD FAILED
> C:\wip\mcf\trunk\build.xml:316: The following error occurred while executing this line:
> C:\wip\mcf\trunk\tests\alfresco-war\build.xml:25: The following error occurred while executing this line:
> C:\wip\mcf\trunk\tests\alfresco-war\tools\ant\tasks\tomcat-tasks.xml:30: C:\wip\mcf\trunk\${appserver.dir}\server\lib does not exist.
> Total time: 18 seconds
> C:\wip\mcf\trunk>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira