This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.slf4j.skunk; | |
import java.util.function.Supplier; | |
public class API { | |
public static void main(String[] args) { | |
API api = new API(); | |
Integer i0 = 0; | |
Integer i1 = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AbstractSocketAppender extends ... { | |
ConnectionRunner connectionRunner = ...: | |
public final void run() { | |
try { | |
while (!Thread.currentThread().isInterrupted()) { | |
Socket socket = connectionRunner.getSocket(); | |
if(socket == null) | |
break; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package chapters.appenders.socket; | |
import ch.qos.logback.classic.Logger; | |
import ch.qos.logback.classic.LoggerContext; | |
import ch.qos.logback.classic.net.SocketAppender; | |
import ch.qos.logback.core.status.OnConsoleStatusListener; | |
import org.slf4j.LoggerFactory; | |
import java.io.BufferedReader; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> find . -name "pom.xml"|xargs grep guice | |
./maven-settings-builder/pom.xml: <artifactId>guice-plexus-shim</artifactId> | |
./tesla-shell/pom.xml: <exclude>com.google.inject:guice</exclude> | |
./tesla-shell-osgi/pom.xml: <exclude>com.google.inject:guice</exclude> | |
./tesla-shell-osgi/tesla-shell-osgi-gshell-shim/pom.xml: !org.sonatype.guice.bean.* | |
./tesla-shell-osgi/tesla-shell-osgi-support/pom.xml: org.sonatype.guice.bean.locators |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[java] [INFO] ------------------------------------------------------------------------ | |
[java] [INFO] Reactor Summary: | |
[java] [INFO] | |
[java] [INFO] Tesla ............................................. SUCCESS [1:37.808s] | |
[java] [INFO] Maven Model ....................................... SUCCESS [46.256s] | |
[java] [INFO] Maven Settings .................................... SUCCESS [1.433s] | |
[java] [INFO] Maven Settings Builder ............................ SUCCESS [31.428s] | |
[java] [INFO] Maven Repository Metadata Model ................... SUCCESS [1.294s] | |
[java] [INFO] Maven Artifact .................................... SUCCESS [2.029s] | |
[java] [INFO] Maven Plugin API .................................. SUCCESS [6.178s] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(1.6.0) het ~/tesla-home/tesla >./bootstrap.sh | |
which: no ant in (/usr/bin:/usr/local/bin:c:\usr\bin:c:\usr\local\bin:/java/jdk1.6.0_23/bin/) | |
Using /java/apache-ant-1.8.4/bin/ant | |
Buildfile: C:\home\ceki\tesla-home\tesla\build.xml | |
clean-bootstrap: | |
initTaskDefs: | |
[echo] Building Eclipse Tesla ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(1.6.0) het ~/tesla-home/tesla >./bootstrap.sh | |
which: no ant in (/usr/bin:/usr/local/bin:c:\usr\bin:c:\usr\local\bin:/java/jdk1.6.0_23/bin/) | |
Using /java/apache-ant-1.8.4/bin/ant | |
Buildfile: C:\home\ceki\tesla-home\tesla\build.xml | |
clean-bootstrap: | |
initTaskDefs: | |
[echo] Building Eclipse Tesla ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Logback: the reliable, generic, fast and flexible logging framework. | |
* Copyright (C) 1999-2011, QOS.ch. All rights reserved. | |
* | |
* This program and the accompanying materials are dual-licensed under | |
* either the terms of the Eclipse Public License v1.0 as published by | |
* the Eclipse Foundation | |
* | |
* or (per the licensee's choosing) | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
at java.lang.reflect.Constructor.newInstance(Constructor.java:513) | |
at java.lang.Class.newInstance0(Class.java:355) | |
at java.lang.Class.newInstance(Class.java:308) | |
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:151) | |
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:751) | |
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370) | |
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284) | |
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417) | |
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265) | |
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106) |