]> source.dussan.org Git - archiva.git/commitdiff
larger fields for url/directories
authorOlivier Lamy <olamy@apache.org>
Thu, 27 Sep 2012 22:59:24 +0000 (22:59 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 27 Sep 2012 22:59:24 +0000 (22:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1391259 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html
pom.xml

index 7d867394abd639cc389aa078049e506a1dc4f714..7efcdcda4047f52bd73ee5a1ae41c6e3ac2c7336 100644 (file)
@@ -89,7 +89,7 @@ import java.util.Set;
  * before reading it from the registry.
  * </p>
  */
-@Service( "archivaConfiguration#default" )
+@Service ( "archivaConfiguration#default" )
 public class DefaultArchivaConfiguration
     implements ArchivaConfiguration, RegistryListener
 {
@@ -99,7 +99,7 @@ public class DefaultArchivaConfiguration
      * Plexus registry to read the configuration from.
      */
     @Inject
-    @Named( value = "commons-configuration" )
+    @Named ( value = "commons-configuration" )
     private Registry registry;
 
     @Inject
@@ -182,7 +182,7 @@ public class DefaultArchivaConfiguration
         return configuration;
     }
 
-    @SuppressWarnings( "unchecked" )
+    @SuppressWarnings ( "unchecked" )
     private Configuration load()
     {
         // TODO: should this be the same as section? make sure unnamed sections still work (eg, sys properties)
@@ -440,7 +440,7 @@ public class DefaultArchivaConfiguration
         return registry.getSubset( KEY );
     }
 
-    @SuppressWarnings( "unchecked" )
+    @SuppressWarnings ( "unchecked" )
     public synchronized void save( Configuration configuration )
         throws IndeterminateConfigurationException, RegistryException
     {
index 0aba8e2f299fcc578492e437239936dcff4da1a7..a18ea7b3a7ccdeab0454a1ad360b9d13fb11cbd9 100644 (file)
             {{if update}}
               <span class="uneditable-input">${$data.managedRepository.id}</span>
             {{else}}
-              <input type="text" class="xlarge required" id="id" name="id" size="50"
+              <input type="text" class="input-xlarge required" id="id" name="id" size="50"
                      data-bind="value: managedRepository.id,css:{'uneditable-input': update},readonly:update"/>
             {{/if}}
           </div>
         <div class="control-group">
           <label class="control-label" for="name">${$.i18n.prop('name')}</label>
           <div class="controls">
-            <input type="text" class="xlarge required" id="name" name="name" size="50"
+            <input type="text" class="input-xlarge required" id="name" name="name" size="50"
                    data-bind="value: managedRepository.name"/>
           </div>
         </div>
         <div class="control-group">
           <label class="control-label" for="location">${$.i18n.prop('directory')}</label>
           <div class="controls">
-            <input type="text" class="xlarge required" id="location" name="location" size="50" data-bind="value: managedRepository.location"/>
+            <input type="text" class="input-xxlarge required" id="location" name="location" size="50" data-bind="value: managedRepository.location"/>
           </div>
         </div>
         <div class="control-group">
           <label class="control-label" for="indexDirectory">${$.i18n.prop('index.directory')}</label>
           <div class="controls">
-            <input type="text" class="xlarge" id="indexDirectory" name="indexDirectory" size="50" data-bind="value: managedRepository.indexDirectory"/>
+            <input type="text" class="input-xxlarge" id="indexDirectory" name="indexDirectory" size="50" data-bind="value: managedRepository.indexDirectory"/>
           </div>
         </div>
         <div class="control-group">
             {{if update}}
               <span class="uneditable-input">${$data.remoteRepository.id}</span>
             {{else}}
-              <input type="text" class="xlarge required" id="id" name="id" size="50"
+              <input type="text" class="input-xlarge required" id="id" name="id" size="50"
                      data-bind="value: remoteRepository.id,css:{'uneditable-input': update},readonly:update"/>
             {{/if}}
           </div>
         <div class="control-group">
           <label class="control-label" for="name">${$.i18n.prop('name')}</label>
           <div class="controls">
-            <input type="text" class="xlarge required" id="name" name="name" size="50"
+            <input type="text" class="input-xlarge required" id="name" name="name" size="50"
                    data-bind="value: remoteRepository.name"/>
           </div>
         </div>
         <div class="control-group">
           <label class="control-label" for="url">${$.i18n.prop('url')}</label>
           <div class="controls">
-            <input type="text" class="xlarge required" id="url" name="location" size="50" data-bind="value: remoteRepository.url"/>
+            <input type="text" class="input-xxlarge required" id="url" name="location" size="50" data-bind="value: remoteRepository.url"/>
           </div>
         </div>
         <div class="control-group">
           <label class="control-label" for="userName">${$.i18n.prop('username')}</label>
           <div class="controls">
-            <input type="text" class="xlarge" id="userName" name="userName" size="50" data-bind="value: remoteRepository.indexDirectory"/>
+            <input type="text" class="input-xlarge" id="userName" name="userName" size="50" data-bind="value: remoteRepository.indexDirectory"/>
           </div>
         </div>
         <div class="control-group">
           <label class="control-label" for="password">${$.i18n.prop('password')}</label>
            <div class="controls">
-             <input type="password" class="xlarge" id="password" name="password" size="50" data-bind="value: remoteRepository.password"/>
+             <input type="password" class="input-xlarge" id="password" name="password" size="50" data-bind="value: remoteRepository.password"/>
           </div>
         </div>
         <div class="control-group">
         <div class="control-group">
           <label class="control-label" for="remoteIndexUrl">${$.i18n.prop('remoteIndexUrl')}</label>
           <div class="controls">
-            <input type="text" id="remoteIndexUrl" name="remoteIndexUrl" size="5" data-bind="value: remoteRepository.remoteIndexUrl"/>
+            <input type="text" class="input-xxlarge" id="remoteIndexUrl" name="remoteIndexUrl" size="5" data-bind="value: remoteRepository.remoteIndexUrl"/>
           </div>
         </div>
         <div class="control-group">
         <div class="control-group">
           <label class="control-label" for="indexDirectory">${$.i18n.prop('index.directory')}</label>
           <div class="controls">
-            <input type="text" class="xlarge" id="indexDirectory" name="indexDirectory" size="50" data-bind="value: remoteRepository.indexDirectory"/>
+            <input type="text" class="input-xlarge" id="indexDirectory" name="indexDirectory" size="50" data-bind="value: remoteRepository.indexDirectory"/>
           </div>
         </div>
         <div class="control-group">
diff --git a/pom.xml b/pom.xml
index 47076b3962c8d2965bea84544256884f25161cb1..17fcb9ea16d0f244f6ab27c4ed27daa63784015a 100644 (file)
--- a/pom.xml
+++ b/pom.xml
       <dependency>
         <groupId>commons-configuration</groupId>
         <artifactId>commons-configuration</artifactId>
-        <version>1.7</version>
+        <version>1.9</version>
         <exclusions>
           <exclusion>
             <groupId>commons-beanutils</groupId>