cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco SDK is missing spring-test.jar

amitev
Champ in-the-making
Champ in-the-making
Hi all! I just tried to implement the example shown here http://wiki.alfresco.com/wiki/Custom_Actions. I installed the latest SDK (alfresco-community-sdk-3.4.d) and tried to code unit test extending BaseSpringTest class. But Eclipse yielded that the hierarchy is  inconsistent because the parent of BaseSpringTest (which is org.springframework.test.AbstractTransactionalDataSourceSpringContextTests) is missing. I downloaded spring-test jar manually and added it to the classpath and it works now. My question is - why spring-test is missing in the SDK and is it intentional?
2 REPLIES 2

mikeh
Star Contributor
Star Contributor
Please raise in JIRA.

Thanks,
Mike

amitev
Champ in-the-making
Champ in-the-making
Also i saw that BaseSpringTest  uses depdecated class org.springframework.test.AbstractSingleSpringContextTests. Is there something newer for testing than BaseSpringTest?
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.