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
Index: tomee/tomee-myfaces/src/main/java/org/apache/tomee/myfaces/TomEEMyFacesContainerInitializer.java | |
=================================================================== | |
--- tomee/tomee-myfaces/src/main/java/org/apache/tomee/myfaces/TomEEMyFacesContainerInitializer.java (revision 1467856) | |
+++ tomee/tomee-myfaces/src/main/java/org/apache/tomee/myfaces/TomEEMyFacesContainerInitializer.java (working copy) | |
@@ -163,7 +163,8 @@ | |
// remove our internal faces-config.xml | |
final Iterator<URL> it = metaInfFacesConfigUrls.iterator(); | |
while (it.hasNext()) { | |
- if (it.next().toExternalForm().replace(File.separator, "/").contains("/openwebbeans-jsf-")) { | |
+ final String next = it.next().toExternalForm().replace(File.separator, "/"); |
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
#! /bin/bash | |
while true; do | |
inotifywait -e modify *.md | |
make | |
done |
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
all: my-slides.pdf | |
%.pdf: %.md | |
@echo "Building $@..." | |
@mkdir -p output | |
@pandoc --listings --highlight-style pygments -V theme:Custom -t beamer $^ -o output/$@ | |
@echo "Built $@." | |
clean: | |
rm output/*.pdf |
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
@ApplicationPath("/rest") | |
public class AnnotatedApplication extends Application { | |
public Set<Class<?>> getClasses() { | |
return new HashSet<Class<?>>(Arrays.asList(Echo.class)); | |
} | |
} | |
@Path("echo") | |
public class Echo { |
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
import org.jruby.Ruby; | |
import org.jruby.RubyInstanceConfig; | |
import org.jruby.RubyString; | |
import org.jruby.anno.JRubyMethod; | |
import org.jruby.ast.executable.AbstractScript; | |
import org.jruby.ast.executable.RuntimeCache; | |
import org.jruby.javasupport.util.RuntimeHelpers; | |
import org.jruby.runtime.Block; | |
import org.jruby.runtime.CallSite; | |
import org.jruby.runtime.DynamicScope; |
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.pokernuvola.core.web.bean; | |
import java.util.List; | |
import javax.ejb.EJB; | |
import javax.naming.NamingException; | |
import junit.framework.Assert; | |
import org.jboss.arquillian.junit.Arquillian; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.test</groupId> | |
<artifactId>core</artifactId> | |
<version>0.6.0</version> | |
<packaging>ejb</packaging> |
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
Index: webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java | |
=================================================================== | |
--- webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java (revision 1436220) | |
+++ webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java (working copy) | |
@@ -91,6 +91,8 @@ | |
import org.apache.webbeans.util.WebBeansUtil; | |
import org.apache.webbeans.xml.WebBeansXMLConfigurator; | |
+import static org.apache.webbeans.util.InjectionExceptionUtil.throwAmbiguousResolutionException; | |
+ |
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
Index: webbeans-impl/src/main/java/org/apache/webbeans/container/BeanCacheKey.java | |
=================================================================== | |
--- webbeans-impl/src/main/java/org/apache/webbeans/container/BeanCacheKey.java (revision 1436220) | |
+++ webbeans-impl/src/main/java/org/apache/webbeans/container/BeanCacheKey.java (working copy) | |
@@ -161,9 +161,8 @@ | |
} | |
if (qualifiers != null) | |
{ | |
- for (int i = 0; i < qualifiers.length; i++) | |
- { |
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
<plugins> | |
<plugin> | |
<groupId>org.apache.openejb.maven</groupId> | |
<artifactId>tomee-maven-plugin</artifactId> | |
<version>1.0.1-SNAPSHOT</version> | |
<configuration> | |
<args>-Xmx1024m -XX:MaxPermSize=256m</args> | |
<removeDefaultWebapps>true</removeDefaultWebapps> | |
<zip>false</zip> | |
<libs> |