* path was not found.
*/
protected String prepareTempJar(String path, String pathPrefix)
{
UniversalFile source= UniversalFileCreator.createDirectory(path);
if (source == null || !source.exists())
{
Log.debug(TAG, "Couldn't find library path: " + path);
return null;
}
long lastModified= lastModifiedRecursive(source);
String tempFileName= createTempFileName(path, lastModified);
// Check whether the temp jar already exists with the given time stamp.
if (exists(tempFileName))
{
return tempFileName;
}
Log.debug(TAG, "Preparing temp JAR for '" + path + "' at '" + tempFileName + "'.");
source.archiveTo(tempFileName, pathPrefix);
return tempFileName;
}