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

2011-12-13 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-308:


Maybe.  I *was* getting OOME's until I increased test memory to 512MB.  Maybe 
it's still not enough?


 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
Priority: Blocker
 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




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

2011-12-12 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-308:


I got past the broken maven build and managed to get an alfresco.war.  However, 
the ant tests fail still, apparently because there is a missing dependency in 
the ant test run:

{code}
compile-alfresco-tests:
[mkdir] Created dir: C:\wip\mcf\trunk\build\alfresco-tests\classes
[javac] C:\wip\mcf\trunk\build.xml:2298: warning: 'includeantruntime' was no
t set, defaulting to build.sysclasspath=last; set to false for repeatable builds

[javac] Compiling 2 source files to C:\wip\mcf\trunk\build\alfresco-tests\cl
asses
[javac] C:\wip\mcf\trunk\tests\alfresco\src\test\java\org\apache\manifoldcf\
alfresco_tests\APISanityIT.java:25: package org.alfresco.webservice.content does
 not exist
[javac] import org.alfresco.webservice.content.ContentServiceSoapBindingStub
;
[javac]   ^
[javac] C:\wip\mcf\trunk\tests\alfresco\src\test\java\org\apache\manifoldcf\
alfresco_tests\APISanityIT.java:26: package org.alfresco.webservice.repository d
oes not exist
[javac] import org.alfresco.webservice.repository.QueryResult;
[javac]  ^
[javac] C:\wip\mcf\trunk\tests\alfresco\src\test\java\org\apache\manifoldcf\
alfresco_tests\APISanityIT.java:27: package org.alfresco.webservice.repository d
oes not exist
[javac] import org.alfresco.webservice.repository.RepositoryFault;
[javac]  ^
[javac] C:\wip\mcf\trunk\tests\alfresco\src\test\java\org\apache\manifoldcf\
alfresco_tests\APISanityIT.java:28: package org.alfresco.webservice.repository d
oes not exist
[javac] import org.alfresco.webservice.repository.RepositoryServiceSoapBindi
ngStub;
[javac]  ^
[javac] C:\wip\mcf\trunk\tests\alfresco\src\test\java\org\apache\manifoldcf\
alfresco_tests\APISanityIT.java:29: package org.alfresco.webservice.repository d
oes not exist
[javac] import org.alfresco.webservice.repository.UpdateResult;
[javac]  ^
[javac] C:\wip\mcf\trunk\tests\alfresco\src\test\java\org\apache\manifoldcf\
alfresco_tests\APISanityIT.java:30: package org.alfresco.webservice.types does n
ot exist
[javac] import org.alfresco.webservice.types.CML;
[javac] ^
[javac] C:\wip\mcf\trunk\tests\alfresco\src\test\java\org\apache\manifoldcf\
alfresco_tests\APISanityIT.java:31: package org.alfresco.webservice.types does n
ot exist
[javac] import org.alfresco.webservice.types.CMLCreate;
[javac] ^
[javac] C:\wip\mcf\trunk\tests\alfresco\src\test\java\org\apache\manifoldcf\
alfresco_tests\APISanityIT.java:32: package org.alfresco.webservice.types does n
ot exist
[javac] import org.alfresco.webservice.types.CMLDelete;
[javac] ^
[javac] C:\wip\mcf\trunk\tests\alfresco\src\test\java\org\apache\manifoldcf\
alfresco_tests\APISanityIT.java:33: package org.alfresco.webservice.types does n
ot exist
[javac] import org.alfresco.webservice.types.ContentFormat;
[javac] ^
[javac] C:\wip\mcf\trunk\tests\alfresco\src\test\java\org\apache\manifoldcf\
alfresco_tests\APISanityIT.java:34: package org.alfresco.webservice.types does n
ot exist
[javac] import org.alfresco.webservice.types.NamedValue;
[javac] ^
[javac] C:\wip\mcf\trunk\tests\alfresco\src\test\java\org\apache\manifoldcf\
alfresco_tests\APISanityIT.java:35: package org.alfresco.webservice.types does n
ot exist
[javac] import org.alfresco.webservice.types.ParentReference;
[javac] ^
[javac] C:\wip\mcf\trunk\tests\alfresco\src\test\java\org\apache\manifoldcf\
...
{code}


 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: Karl Wright
Priority: Blocker
 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 
 

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

2011-12-12 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-308:


r1213193 to fix the latest problem.


 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: Karl Wright
Priority: Blocker
 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




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

2011-12-12 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-308:


r1213456 to fix more issues.


 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: Karl Wright
Priority: Blocker
 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




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

2011-12-12 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-308:


I'm still left with the following problem running the tests under ant:

{code}
[junit] 2011-12-12 16:51:05.690:INFO::Extract 
../../connectors/alfresco/build/alfresco-war/alfresco.war to 
C:\Users\Karl\AppData\Local\Temp\Jetty_0_0_0_0_9090_alfresco.war__alfresco__.rv4lqp\webapp
[junit] 2011-12-12 16:51:31.297:INFO:/alfresco:Initializing Spring root 
WebApplicationContext
[junit] 2011-12-12 16:52:28.342:WARN::Failed startup of context 
org.mortbay.jetty.webapp.WebAppContext@48c46b{/alfresco,../../connectors/alfresco/build/alfresco-war/alfresco.war}
[junit] org.alfresco.error.AlfrescoRuntimeException: 11120001 Bootstrap 
failed
[junit] at 
org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:361)
[junit] at 
org.alfresco.repo.importer.ImporterBootstrap.onBootstrap(ImporterBootstrap.java:718)
[junit] at 
org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
[junit] at 
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
[junit] at 
org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:78)
[junit] at 
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
[junit] at 
org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:858)
[junit] at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:419)
[junit] at 
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
[junit] at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
[junit] at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
[junit] at org.alfresco.web.app.ContextLoaderListener.contextInitialized
{code}



 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: Karl Wright
Priority: Blocker
 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




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

2011-12-12 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-308:


There seems to be no online reference for the error 11120001 Bootstrap 
failed.  I'm going to assign this back to Piergiorgio to figure out, at this 
point.


 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: Karl Wright
Priority: Blocker
 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




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

2011-12-08 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-308:


r1211788 to move alfresco-war subproject under new test-materials directory.


 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




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

2011-12-08 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-308:


I had intended to run the alfresco tests under ant, by copying the alfresco.war 
produced by the maven build, but the maven build fails (CONNECTORS-310), so 
that's a blocker for me.


 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
Priority: Blocker
 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




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

2011-12-07 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-308:


I did a minor rearrangement of build.xml to start us toward a fix for the 
problem.

r1211348



 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




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

2011-12-07 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-308:


Some research on the alfresco.war 3.4.d community edition:  It is not 
downloadable without considerable work.  It's embedded in a zip file that can 
only be downloaded from a server protected by basic auth, whose credentials are 
supplied in Javascript in encoded form.  It's under web-server/webapps in this 
zip.

I'd therefore recommend that we put the onus on the user to supply this war 
file in order for the integration tests to run.  Any objection to this approach?

I'm not really sure what the Maven implications would be either, but clearly 
the current approach of building the war ourselves using Alfresco materials is 
certainly a concern.

 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




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

2011-12-07 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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




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

2011-12-07 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-308:


Looking further, the build.xml does not even attempt to download alfresco.war 
and unpack it. Instead you're supposed to set the location via the property 
alfresco.dir.  The only thing it does do is compile your additional classes, 
and create a new war.

It seems clear to me that we're going to have to do our own thing instead of 
using build.xml

 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




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

2011-12-07 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-308:


For the maven pom.xml, it is (luckily) already Apache licensed.  So the pom.xml 
does not have to be changed in any way.


 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




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

2011-12-07 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-308:


r1211580 to change the ant build to expect the war file in the 
connectors/alfresco/alfresco-war folder.  If it's not there, then the alfresco 
integration tests will not run.


 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




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

2011-12-07 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-308:


r1211587 to fix a backwards condition.


 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




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

2011-12-06 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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