Skip to content

Instantly share code, notes, and snippets.

View eduardocl's full-sized avatar

Eduardo eduardocl

View GitHub Profile
import org.jboss.weld.environment.se.Weld;
import org.jboss.weld.environment.se.WeldContainer;
import org.junit.runner.notification.RunNotifier;
import org.junit.runners.BlockJUnit4ClassRunner;
import org.junit.runners.model.FrameworkMethod;
import org.junit.runners.model.InitializationError;
public class ECLRunner extends BlockJUnit4ClassRunner {
private Integer testsLeft;
mvn install:install-file -Dfile=./lib/axis.jar -DgroupId=local-deps -DartifactId=axis -Dversion=local -Dpackaging=jar -DlocalRepositoryPath=./lib/repo
mvn install:install-file -Dfile=./lib/commons-logging-1.0.2.jar -DgroupId=local-deps -DartifactId=commons-logging -Dversion=local -Dpackaging=jar -DlocalRepositoryPath=./lib/repo
mvn install:install-file -Dfile=./lib/ejb3-persistence.jar -DgroupId=local-deps -DartifactId=ejb3-persistence -Dversion=local -Dpackaging=jar -DlocalRepositoryPath=./lib/repo
@eduardocl
eduardocl / Log Programatico
Last active December 3, 2018 19:22
Classe para Criar um Log programaticamente
Adicionar no pom:
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>