[zi-cvs] packages/com.zzoss.installer.lib Registry.php,1.7,1.8
[email protected] Wed, 28 Jan 2004 03:41:37 -0800
| Newsgroups | gmane.comp.php.zzoss.installer.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/zzossinstaller/packages/com.zzoss.installer.lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27119/com.zzoss.installer.lib
Modified Files:
Registry.php
Log Message:
progress bar shows download process
Index: Registry.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.installer.lib/Registry.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Registry.php 21 Jan 2004 18:16:14 -0000 1.7
--- Registry.php 28 Jan 2004 11:41:35 -0000 1.8
***************
*** 1114,1118 ****
}
! function getPackageRemoteInfoById($id, $application = NULL, $distribution = NULL)
{
if(!is_null($distribution)){
--- 1114,1118 ----
}
! function getPackageRemoteInfo($application = NULL, $distribution = NULL)
{
if(!is_null($distribution)){
***************
*** 1122,1138 ****
$this->setApplication($application);
}
- $this->unsetPackageRemoteInfo();
$file = $this->application_path.'installer'.DIRECTORY_SEPARATOR.'remote_package.xml';
- $package = $this->getPackageById($id);
- ZZOSS_InstallerUtils::downloadFile(
- $package["filelist"]["descriptor"]["#"],
- $file
- );
if(file_exists($file)) {
$package_config = new ZZOSS_Config(array('cache' => true, 'numeric' => array('dep','file', 'build', 'maintainer')));
$package_config->setFile($file);
- //$package_config->setCacheDir($this->application_path.'cache'.DIRECTORY_SEPARATOR);
return $package_config->query('/package');
}
--- 1122,1131 ----
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn