[
https://issues.apache.org/jira/browse/CONNECTORS-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164488#comment-13164488
]
Karl Wright commented on CONNECTORS-308:
----------------------------------------
A conversation with Piergiorgio clarified a few things. First, the purpose of
the alfresco-war build process is to take a downloaded alfresco war and add in
h2 support. Basically this unpacks the war, adds some jars, and repacks it.
Second, the tomcat reference is "optional", even though it is currently getting
triggered for some reason.
So, the first order of business is to find out what the license actually is for
the pom.xml and build.xml that came from Alfresco. If GPL or LGPL, we can't
use them, and will have to write our own equivalents.
If it does turn out we can use them, we'll want to modify at least the
build.xml file in the following ways:
(1) Separate out the download of the unmodified alfresco.war, so that this can
happen at download-dependencies time, not at test time.
(2) Disable the optional tomcat stuff.
> "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