when i remove activities and steps from a project in the authoring tool the
pod tree is updated and so is the bean tree. however when i go to write the
curnit out in a "Save" it does not write the changes. the deleted
activities continue to be written out.
i pass in a rootPod to the writeCurnit with two activites deleted and one
save, i print the rootpod tree:
[EMAIL PROTECTED]
\ [EMAIL PROTECTED]
[EMAIL PROTECTED]
\ Activity: act 3
[EMAIL PROTECTED]
\ new generic
this is correct.
however when i pass that rootPod that i printed out to writeCurnit, it
writes out the original pod tree
private void saveToFile(CurnitUuid curnitId, String curnitTitle, Pod
rootPod, File outputFile) throws Exception {
SailBeanUtils.printTree(System.out, 0, rootPod);
File n = new File(outputFile.getAbsoluteFile() + ".jar");
BinaryUtils.writeCurnit(curnitId, curnitTitle, rootPod, new
FileOutputStream(n));
SailBeanUtils.printTree(System.out, 0, rootPod);
//CurnitArchive.writeArchive(curnit, new
FileOutputStream(outFile));
}
any ideas? is there a step that i need to do that i am missing??????? why
does the pod tree print out correct but written to a file incorrectly?
-Tony
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---