XPDL uploading problem: Use of uploadPackage

David Simón <[email protected]> Tue, 20 Sep 2005 11:33:18 +0200
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
Hello,

Since now, we have always been working with the same version of XPDL and
when we have tried to load a new version, we have faced the next
problem.

We used the uploadPackage method from the RepositoryManager to load the
XPDL file into the repository external and after this we used
openPackage from PackageAdministration to open the package. Now, when we
want to update the XPDL to a new version, we use the method
updatePackage from PackageAdministration and it seems to work. But
later, when we check it, the version has been changed but the content of
the XPDL file is the same that in the previous version and the XPDL file
in the repository external has not been changed. In order to fix this we
have tried to call uploadPackage before updatePackage but it throws an
Exception because the file already exists in the repository external.
What are we supposed to do? Do we have to put the new XPDL manually in
the repository external in combination with the call to updatePackage?
Should not it be automatic?

Please, we need your help. Thank you so much.


Best regards.

David.
message-footer.txt (text/plain, 271 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws