felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1746432 - in /felix/trunk/gogo/jline: pom.xml src/main/java/org/apache/felix/gogo/jline/Shell.java src/main/resources/gosh_profile
Date Wed, 01 Jun 2016 11:20:34 GMT
Author: gnodet
Date: Wed Jun  1 11:20:34 2016
New Revision: 1746432

URL: http://svn.apache.org/viewvc?rev=1746432&view=rev
Log:
[FELIX-5272] Upgrade to jline 3.0.0.M1

Modified:
    felix/trunk/gogo/jline/pom.xml
    felix/trunk/gogo/jline/src/main/java/org/apache/felix/gogo/jline/Shell.java
    felix/trunk/gogo/jline/src/main/resources/gosh_profile

Modified: felix/trunk/gogo/jline/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/gogo/jline/pom.xml?rev=1746432&r1=1746431&r2=1746432&view=diff
==============================================================================
--- felix/trunk/gogo/jline/pom.xml (original)
+++ felix/trunk/gogo/jline/pom.xml Wed Jun  1 11:20:34 2016
@@ -33,39 +33,6 @@
         <animal.sniffer.skip>true</animal.sniffer.skip>
         <felix.java.version>8</felix.java.version>
     </properties>
-    <repositories>
-        <repository>
-            <id>temp-sshd</id>
-            <url>https://repository.apache.org/content/repositories/orgapachemina-1021/</url>
-            <releases>
-                <enabled>true</enabled>
-            </releases>
-            <snapshots>
-                <enabled>false</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>ossrh.sonatype.snapshots.deploy</id>
-            <name>OSSRH snapshot repository</name>
-            <url>https://oss.sonatype.org/content/groups/public/</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>fusesource.snapshots</id>
-            <url>https://repository.jboss.org/nexus/content/repositories/fs-snapshots</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-    </repositories>
     <dependencies>
         <dependency>
             <groupId>org.osgi</groupId>
@@ -87,7 +54,7 @@
         <dependency>
             <groupId>jline</groupId>
             <artifactId>jline</artifactId>
-            <version>3.0.0-SNAPSHOT</version>
+            <version>3.0.0.M1</version>
             <optional>true</optional>
         </dependency>
         <dependency>

Modified: felix/trunk/gogo/jline/src/main/java/org/apache/felix/gogo/jline/Shell.java
URL: http://svn.apache.org/viewvc/felix/trunk/gogo/jline/src/main/java/org/apache/felix/gogo/jline/Shell.java?rev=1746432&r1=1746431&r2=1746432&view=diff
==============================================================================
--- felix/trunk/gogo/jline/src/main/java/org/apache/felix/gogo/jline/Shell.java (original)
+++ felix/trunk/gogo/jline/src/main/java/org/apache/felix/gogo/jline/Shell.java Wed Jun  1
11:20:34 2016
@@ -296,6 +296,7 @@ public class Shell {
                     .parser(new Parser())
                     .expander(new Expander(newSession))
                     .build();
+            reader.setOpt(LineReader.Option.AUTO_FRESH_LINE);
             newSession.put(Shell.VAR_READER, reader);
             newSession.put(Shell.VAR_COMPLETIONS, new HashMap());
         } else {

Modified: felix/trunk/gogo/jline/src/main/resources/gosh_profile
URL: http://svn.apache.org/viewvc/felix/trunk/gogo/jline/src/main/resources/gosh_profile?rev=1746432&r1=1746431&r2=1746432&view=diff
==============================================================================
--- felix/trunk/gogo/jline/src/main/resources/gosh_profile (original)
+++ felix/trunk/gogo/jline/src/main/resources/gosh_profile Wed Jun  1 11:20:34 2016
@@ -46,6 +46,7 @@ try {
   # set prompt
   prompt = 'g! '
   \#rprompt = { (new java.text.SimpleDateFormat \'$'\u001B\\[90m'\'HH:mm:ss) format (new
Date) }
+  secondary-prompt-pattern = '%M%P > '
   # could also be written
   #  \#rprompt = { ${(qq)$(date +$'\u001B\[90m%T')} }
 



Mime
View raw message