Ignore:
Timestamp:
09/21/11 16:46:58 (8 months ago)
Author:
delmitz
Branch:
default
Convert:
svn:7c3792e6-d75b-4784-96a6-b298f655ee64/trunk@2791
Message:
  • modified script name timestamps to timestamp.
  • modified bundle update.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kraken-core/src/main/java/org/krakenapps/bundle/BundleScript.java

    r210 r357  
    119119                        @ScriptArgument(name = "url", type = "string", description = "the url of bundle repository"), 
    120120                        @ScriptArgument(name = "trust store alias", type = "string", description = "the alias of truststore"), 
    121                         @ScriptArgument(name = "key store alias", type = "string", description = "the alias of keystore. if provided, client authentication will be used", optional = true) }) 
     121                        @ScriptArgument(name = "key store alias", type = "string", 
     122                                        description = "the alias of keystore. if provided, client authentication will be used", 
     123                                        optional = true) }) 
    122124        public void addSecureRepository(String[] args) { 
    123125                try { 
     
    139141        } 
    140142 
    141         @ScriptUsage(description = "Remove maven repository", arguments = { @ScriptArgument(name = "alias", type = "string", description = "alias of the maven repository") }) 
     143        @ScriptUsage(description = "Remove maven repository", arguments = { @ScriptArgument(name = "alias", 
     144                        type = "string", description = "alias of the maven repository") }) 
    142145        public void removeRepository(String[] args) { 
    143146                try { 
     
    166169        } 
    167170 
    168         @ScriptUsage(description = "Reset credential for repository http authentication", arguments = { @ScriptArgument(name = "alias", type = "string", description = "alias of the maven repository") }) 
     171        @ScriptUsage(description = "Reset credential for repository http authentication", arguments = { @ScriptArgument( 
     172                        name = "alias", type = "string", description = "alias of the maven repository") }) 
    169173        public void resetHttpAuth(String[] args) { 
    170174                Preferences prefs = getRepositoryPreferences(Kraken.getContext()); 
     
    293297        } 
    294298 
    295         @ScriptUsage(description = "update all locally-installed bundle(s). before use this method, stop ipojo bundle first.", arguments = { @ScriptArgument(name = "isForced", description = "use 'force' to run this method.", optional = false, type = "force or not") }) 
     299        @ScriptUsage( 
     300                        description = "update all locally-installed bundle(s). before use this method, stop ipojo bundle first.", 
     301                        arguments = { @ScriptArgument(name = "isForced", description = "use 'force' to run this method.", 
     302                                        optional = false, type = "force or not") }) 
    296303        public void updateAll(String[] args) { 
    297304                if (args.length < 1 || !args[0].equals("force")) { 
     
    329336        } 
    330337 
    331         @ScriptUsage(description = "list all bundles", arguments = { @ScriptArgument(name = "filter", type = "string", description = "filter text for bundle symbolic name", optional = true) }) 
     338        @ScriptUsage(description = "list all bundles", arguments = { @ScriptArgument(name = "filter", type = "string", 
     339                        description = "filter text for bundle symbolic name", optional = true) }) 
    332340        public void list(String[] args) { 
    333341                String filterText = null; 
     
    357365        } 
    358366 
    359         @ScriptUsage(description = "print bundle location", arguments = { @ScriptArgument(name = "bundle id", description = "the bundle id") }) 
     367        @ScriptUsage(description = "print bundle location", arguments = { @ScriptArgument(name = "bundle id", 
     368                        description = "the bundle id") }) 
    360369        public void location(String[] args) { 
    361370                try { 
     
    432441        } 
    433442 
    434         public void timestamps(String[] args) { 
     443        public void timestamp(String[] args) { 
    435444                int bundleId = -1; 
    436445                String filterText = null; 
Note: See TracChangeset for help on using the changeset viewer.