diff --git a/client/src/com/apm/client/commands/packages/OutdatedCommand.as b/client/src/com/apm/client/commands/packages/OutdatedCommand.as index a91bf59..d9536bc 100644 --- a/client/src/com/apm/client/commands/packages/OutdatedCommand.as +++ b/client/src/com/apm/client/commands/packages/OutdatedCommand.as @@ -173,7 +173,8 @@ package com.apm.client.commands.packages APM.io.writeLine( padTo( "identifier", maxIdentifierLength + 3 ) + padTo( "installed", 15 ) + - padTo( "available", 15 ) + padTo( "available", 15 ), + IOColour.LIGHT_BLUE ); for each (var packageData:InstallPackageData in _queryData.packagesToInstall) @@ -184,7 +185,7 @@ package com.apm.client.commands.packages padTo( packageData.request.packageIdentifier, maxIdentifierLength + 3 ) + padTo( cachedPackage == null ? "null" : cachedPackage.version.toString(), 15 ) + packageData.packageVersion.toString(), - (updateAvailable ? IOColour.LIGHT_BLUE : null) + (updateAvailable ? IOColour.GREEN : null) ); } diff --git a/client/src/com/apm/client/commands/packages/processes/QueryPackageProcess.as b/client/src/com/apm/client/commands/packages/processes/QueryPackageProcess.as index 8cb877c..b622ea2 100644 --- a/client/src/com/apm/client/commands/packages/processes/QueryPackageProcess.as +++ b/client/src/com/apm/client/commands/packages/processes/QueryPackageProcess.as @@ -13,21 +13,16 @@ */ package com.apm.client.commands.packages.processes { - import com.apm.SemVer; import com.apm.SemVerRange; import com.apm.client.APM; import com.apm.client.commands.packages.data.InstallData; import com.apm.client.commands.packages.data.InstallRequest; - import com.apm.client.commands.packages.utils.ProjectDefinitionValidator; import com.apm.client.logging.Log; import com.apm.client.processes.ProcessBase; import com.apm.client.repositories.PackageResolver; import com.apm.data.packages.PackageDefinition; import com.apm.data.packages.PackageDependency; import com.apm.data.packages.PackageVersion; - import com.apm.utils.PackageFileUtils; - - import flash.filesystem.File; /** @@ -93,11 +88,11 @@ package com.apm.client.commands.packages.processes null, function ( success:Boolean, packageDefinition:PackageDefinition ):void { + Log.d( TAG, "getPackageVersion(): success=" + success + " package:" + packageDefinition.toString() ); var foundVersion:Boolean = success && packageDefinition.versions.length > 0; - APM.io.stopSpinner( foundVersion, - foundVersion ? "Found package: " + packageDefinition.toString() : - "No package found matching : " + _request.description() - ); + var message:String = foundVersion ? "Found package: " + packageDefinition.toString() : + "No package found matching : " + _request.description(); + APM.io.stopSpinner( foundVersion, message, foundVersion ); try { if (foundVersion)