// resources
// AFTER
// the server determines the list of missing file names.
if (applicationArchive instanceof CachingApplicationArchive) {
final CachingApplicationArchive cachingArchive = (CachingApplicationArchive) applicationArchive;
client.uploadApplication(appName, cachingArchive, new UploadStatusCallback() {
public void onProcessMatchedResources(int length) {
}
public void onMatchedFileNames(Set<String> matchedFileNames) {
cachingArchive.generatePartialWarFile(matchedFileNames);
}
public void onCheckResources() {
}
public boolean onProgress(String status) {
return false;
}
});
// Once the application has run, do a clean up of the
// sha1
// cache for deleted resources
}
else {
client.uploadApplication(appName, applicationArchive, new UploadStatusCallback() {
public void onProcessMatchedResources(int length) {
}