cancel
Showing results for 
Search instead for 
Did you mean: 

Ant : Running tests with module dependencies

zomurn
Champ in-the-making
Champ in-the-making
Hi,

I integrated a second module for my alfresco.
The development of the 1st module is under my Eclipse project and test were running until my model now depends of another model located in the 2nd module.
The module deploy well through .amp.
But when running test under eclipse, amp are not installed. Only the Spring context needs to be initialized.
And when I run tests, the 2nd module is not under my project classpath so I get the error : can't find alfresco/module/2nd_module_id/module.properties.
How to put the 2nd module config files into my project so I can run Junit tests from my 1st module project under eclipse directly ?

Thanks you.
1 REPLY 1

mrogers
Star Contributor
Star Contributor
You should be able to configure your project 1 to depend on project 2.

In Eclipse Right Click on Project 1.   Select Properties and then java build path.