Skip to content

Instantly share code, notes, and snippets.

@LightGuard
LightGuard / EntityConverter.java
Created March 24, 2011 21:22
EntityConverter for Seam 3
package org.jboss.seam.faces.conversion;
import java.io.Serializable;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Member;
import java.lang.reflect.Method;
import java.util.Collections;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/*
* JBoss, Home of Professional Open Source
* Copyright 2010, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
// Go grab Groosh so we can do standard shell commands (http://groovy.codehaus.org/Groosh)
@Grapes([
@Grab(group='org.codehaus.groovy.modules', module='groosh', version='[0.3.5,)'),
@GrabConfig(systemClassLoader=true)
])
import static groosh.Groosh.groosh
def shell = groosh()
def phase1_dir = 'import-phase1'
From 95cacb6f03c3e511f3c2cc4c6f6929912e4ae2a1 Mon Sep 17 00:00:00 2001
From: LightGuard <[email protected]>
Date: Thu, 17 Jun 2010 16:45:10 -0600
Subject: [PATCH] Ant+Ivy support -- None of them resolve correctly
---
examples/junit/build.properties | 31 +++
examples/junit/build.xml | 330 ++++++++++++++++++++++++++
examples/junit/ivy-base.xml | 30 +++
examples/junit/ivy-jbossas-embedded-60.xml | 15 ++