3 Replies Latest reply on Jan 24, 2008 9:53 PM by bytor99999

    ManagedDeployment.removeComponent might not be working

      removeComponent doesn't seem to be working for me, I get no exceptions or anything, but the backing xml file hasn't changed in anyway.

      OK, it is possible that the ProfileServiceUnitTestCase is reporting a false positive, because it just calls removeComponent but does no assertions or try to check to make sure that the component is truly gone.

      No exceptions are occuring, but I am noticing that the component's xml file still exists.

      OK, so looking at the ManagedDeploymentImpl class the removeComponent method just removes the ManagedComponent from the Map. How does this remove get filtered down to the actual deployment file?

      Am I missing some other api that actually will remove the resource?


      Mark Spritzler