Hi, 

I run into some problems in managing project dependencies as I tried to 
work with the m2eclipe plugin.

I have 2 projects, projectA and projectB, where projectB depends on 
projectA.

public static void myTestMethodB() {
        projectA.MyClassA.myTestMethodA();
}

When I do some changes in projectA, these changes are reflected in 
projectB as expected, interface changes in projectA leads to compile 
errors in projectB:

public static void myTestMethodA(Object newParam ) {
        System.out.println("myTestMethodA succeeded");
}


But when I change only the implementation in projectA, lets say to

public static void myTestMethodA() {
        if (true) 
                throw new RuntimeException( "" );

        System.out.println("myTestMethodA succeeded");
}

these changes aren´t reflected in projectB. 

When debugging projectB, I step into the changed source-code - but the 
.class file used is still the original one and I got "myTestMethodA 
succeeded".



I guess there´s a solution ?

Thanx, Torsten


Reply via email to