diff --git a/foei-components/.classpath b/foei-components/.classpath index f42fb64..e630d4e 100644 --- a/foei-components/.classpath +++ b/foei-components/.classpath @@ -4,7 +4,8 @@ - + + diff --git a/foei-components/.project b/foei-components/.project index 6989f74..061f0ef 100644 --- a/foei-components/.project +++ b/foei-components/.project @@ -15,8 +15,14 @@ + + org.eclipse.m2e.core.maven2Builder + + + + org.eclipse.m2e.core.maven2Nature org.eclipse.jdt.core.javanature org.maven.ide.eclipse.maven2Nature diff --git a/foei-components/.settings/org.eclipse.core.resources.prefs b/foei-components/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..29abf99 --- /dev/null +++ b/foei-components/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,6 @@ +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/main/resources=UTF-8 +encoding//src/test/java=UTF-8 +encoding//src/test/resources=UTF-8 +encoding/=UTF-8 diff --git a/foei-components/.settings/org.eclipse.jdt.core.prefs b/foei-components/.settings/org.eclipse.jdt.core.prefs index 2d5ddbc..60105c1 100644 --- a/foei-components/.settings/org.eclipse.jdt.core.prefs +++ b/foei-components/.settings/org.eclipse.jdt.core.prefs @@ -1,6 +1,5 @@ -#Sat Sep 25 01:02:55 CEST 2010 eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.source=1.5 +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/foei-components/.settings/org.eclipse.m2e.core.prefs b/foei-components/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/foei-components/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/foei-core/.classpath b/foei-core/.classpath index f42fb64..e630d4e 100644 --- a/foei-core/.classpath +++ b/foei-core/.classpath @@ -4,7 +4,8 @@ - + + diff --git a/foei-core/.project b/foei-core/.project index 3c54eac..14cba09 100644 --- a/foei-core/.project +++ b/foei-core/.project @@ -15,8 +15,14 @@ + + org.eclipse.m2e.core.maven2Builder + + + + org.eclipse.m2e.core.maven2Nature org.eclipse.jdt.core.javanature org.maven.ide.eclipse.maven2Nature diff --git a/foei-core/.settings/org.eclipse.core.resources.prefs b/foei-core/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..29abf99 --- /dev/null +++ b/foei-core/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,6 @@ +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/main/resources=UTF-8 +encoding//src/test/java=UTF-8 +encoding//src/test/resources=UTF-8 +encoding/=UTF-8 diff --git a/foei-core/.settings/org.eclipse.jdt.core.prefs b/foei-core/.settings/org.eclipse.jdt.core.prefs index 6ea08bf..60105c1 100644 --- a/foei-core/.settings/org.eclipse.jdt.core.prefs +++ b/foei-core/.settings/org.eclipse.jdt.core.prefs @@ -1,6 +1,5 @@ -#Sat Sep 25 01:01:17 CEST 2010 eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.source=1.5 +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/foei-core/.settings/org.eclipse.m2e.core.prefs b/foei-core/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/foei-core/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/foei-core/src/main/java/com/idcanet/foei/core/x4o/EventStepBindingHandler.java b/foei-core/src/main/java/com/idcanet/foei/core/x4o/EventStepBindingHandler.java new file mode 100644 index 0000000..29eb78b --- /dev/null +++ b/foei-core/src/main/java/com/idcanet/foei/core/x4o/EventStepBindingHandler.java @@ -0,0 +1,67 @@ +/* + * Copyright 2004-2012 x4o.org All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the + * following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and + * the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions + * and the following disclaimer in the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY X4O.ORG AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL X4O.ORG OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the authors and + * should not be interpreted as representing official policies, either expressed or implied, of X4O.ORG. + */ + +package com.idcanet.foei.core.x4o; + +import org.x4o.xml.element.AbstractElementBindingHandler; +import org.x4o.xml.element.Element; +import org.x4o.xml.element.ElementBindingHandlerException; +import org.x4o.xml.impl.steps.EventStep; +import org.x4o.xml.impl.steps.EventStepController; + + +/** + * Adds the EventStep to the EventStepController + * + * @author Willem Cazander + * @version 1.0 Apr 16, 2006 + */ +public class EventStepBindingHandler extends AbstractElementBindingHandler { + + /** + * @see org.x4o.xml.element.ElementBindingHandler#canBind(org.x4o.xml.element.Element) + */ + public boolean canBind(Element element) { + Object parent = element.getParent().getElementObject(); + Object child = element.getElementObject(); + if(!(parent instanceof EventStepController)) { + return false; + } + if(!(child instanceof EventStep)) { + return false; + } + return true; + } + + /** + * @see org.x4o.xml.element.ElementBindingHandler#doBind(org.x4o.xml.element.Element) throws org.x4o.xml.element.ElementBindingException + */ + public void doBind(Element element) throws ElementBindingHandlerException { + Object parent = element.getParent().getElementObject(); + Object child = element.getElementObject(); + ((EventStepController)parent).addEventStep((EventStep)child); + } +} \ No newline at end of file diff --git a/foei-core/src/main/java/com/idcanet/foei/event/step/AbstractEventStep.java b/foei-core/src/main/java/com/idcanet/foei/event/step/AbstractEventStep.java new file mode 100644 index 0000000..3a4ab08 --- /dev/null +++ b/foei-core/src/main/java/com/idcanet/foei/event/step/AbstractEventStep.java @@ -0,0 +1,41 @@ +/* + * Copyright 2004-2012 x4o.org All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the + * following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and + * the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions + * and the following disclaimer in the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY X4O.ORG AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL X4O.ORG OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the authors and + * should not be interpreted as representing official policies, either expressed or implied, of X4O.ORG. + */ + +package com.idcanet.foei.event.step; + +/** + * Defines an abstract EventStep + * + * @author Willem Cazander + * @version 1.0 Jan 25, 2006 + */ +abstract public class AbstractEventStep implements EventStep { + + /** + * Should be implemented by the overriding class. + */ + abstract public Object processObject(Object object) throws Exception; +} \ No newline at end of file diff --git a/foei-core/src/main/java/com/idcanet/foei/event/step/AbstractEventStepController.java b/foei-core/src/main/java/com/idcanet/foei/event/step/AbstractEventStepController.java new file mode 100644 index 0000000..23a02ef --- /dev/null +++ b/foei-core/src/main/java/com/idcanet/foei/event/step/AbstractEventStepController.java @@ -0,0 +1,100 @@ +/* + * Copyright 2004-2012 x4o.org All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the + * following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and + * the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions + * and the following disclaimer in the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY X4O.ORG AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL X4O.ORG OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the authors and + * should not be interpreted as representing official policies, either expressed or implied, of X4O.ORG. + */ +package com.idcanet.foei.event.step; + +import java.util.ArrayList; +import java.util.List; +import java.util.logging.Logger; + +/** + * An Base class for building an EventStepController. + * + * @author Willem Cazander + * @version 1.0 Jan 25, 2006 + */ +abstract public class AbstractEventStepController extends AbstractEventStep implements EventStepController { + + /** The EventStep List */ + private List eventSteps = null; + /** The Logger to log to. */ + private Logger logger = null; + + /** + * runs processEventSteps(object); + */ + public Object processObject(Object object) throws Exception { + return processEventSteps(object); + } + + /** + * Creates the list and the logger. + */ + public AbstractEventStepController() { + eventSteps = new ArrayList(); + logger = Logger.getLogger(AbstractEventStepController.class.getName()); + } + + /** + * + */ + public void addEventStep(EventStep eventStep) { + logger.finer("Adding EventStep: "+eventStep+" to: "+this); + eventSteps.add(eventStep); + } + + /** + * + */ + public void removeEventStep(EventStep eventStep) { + logger.finer("Removing EventStep: "+eventStep+" to: "+this); + eventSteps.remove(eventStep); + } + + /** + * + */ + public List getEventSteps() { + return eventSteps; + } + + /** + * Calls all EventSteps the processObject method + * until one returns null. + * @param object + * @return Returns the object process of null if process object gets null by the eventSteps + */ + public Object processEventSteps(Object object) throws Exception { + logger.finest("Processing object: "+object); + for(EventStep e:getEventSteps()) { + if(object==null) { + return null; + } + logger.finest("Processing object Step: "+e); + object = e.processObject(object); + } + return object; + } +} \ No newline at end of file diff --git a/foei-core/src/main/java/com/idcanet/foei/event/step/EventStep.java b/foei-core/src/main/java/com/idcanet/foei/event/step/EventStep.java new file mode 100644 index 0000000..3786019 --- /dev/null +++ b/foei-core/src/main/java/com/idcanet/foei/event/step/EventStep.java @@ -0,0 +1,44 @@ +/* + * Copyright 2004-2012 x4o.org All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the + * following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and + * the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions + * and the following disclaimer in the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY X4O.ORG AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL X4O.ORG OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the authors and + * should not be interpreted as representing official policies, either expressed or implied, of X4O.ORG. + */ + +package com.idcanet.foei.event.step; + +/** + * Process an object an gives an object back. + * + * @author Willem Cazander + * @version 1.0 27/02/2005 + */ +public interface EventStep { + + /** + * Process an object and gives it back. + * + * @param object The Object which need to be processed. + * @returns An object or null if not succesfull. + */ + public Object processObject(Object object) throws Exception; +} \ No newline at end of file diff --git a/foei-core/src/main/java/com/idcanet/foei/event/step/EventStepController.java b/foei-core/src/main/java/com/idcanet/foei/event/step/EventStepController.java new file mode 100644 index 0000000..8e7f2a1 --- /dev/null +++ b/foei-core/src/main/java/com/idcanet/foei/event/step/EventStepController.java @@ -0,0 +1,64 @@ +/* + * Copyright 2004-2012 x4o.org All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the + * following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and + * the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions + * and the following disclaimer in the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY X4O.ORG AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL X4O.ORG OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the authors and + * should not be interpreted as representing official policies, either expressed or implied, of X4O.ORG. + */ + +package com.idcanet.foei.event.step; + +import java.util.List; + +/** + * The implementing object of this interface.
+ * Gets the possibilty to add/remove EventSteps.
+ * + * @author Willem Cazander + * @version 1.0 28/02/2005 + */ +public interface EventStepController { + + /** + * Adds an EventStep to the object. + * @param eventStep The EventStep to be added. + */ + public void addEventStep(EventStep eventStep); + + /** + * Removes an EventStep of the object. + * @param eventStep The EventStep to be removed. + */ + public void removeEventStep(EventStep eventStep); + + /** + * Gets an List of the EventSteps which are registrated to this object. + * @return The List of EventSteps. + */ + public List getEventSteps(); + + /** + * Executes all EventSteps until there is null or we are done. + * @param object + * @return Returns the object process of null if process object gets null by the eventSteps + */ + public Object processEventSteps(Object object) throws Exception; +} diff --git a/foei-core/src/main/java/com/idcanet/foei/event/step/package.html b/foei-core/src/main/java/com/idcanet/foei/event/step/package.html new file mode 100644 index 0000000..886ea79 --- /dev/null +++ b/foei-core/src/main/java/com/idcanet/foei/event/step/package.html @@ -0,0 +1,21 @@ + + + + + + +The X4O EventStep interface.
+ +

Related Documentation

+None. + + + + \ No newline at end of file diff --git a/foei-ee-ejb3/.classpath b/foei-ee-ejb3/.classpath index f42fb64..e630d4e 100644 --- a/foei-ee-ejb3/.classpath +++ b/foei-ee-ejb3/.classpath @@ -4,7 +4,8 @@ - + + diff --git a/foei-ee-ejb3/.project b/foei-ee-ejb3/.project index 92f1a23..3de9227 100644 --- a/foei-ee-ejb3/.project +++ b/foei-ee-ejb3/.project @@ -15,8 +15,14 @@ + + org.eclipse.m2e.core.maven2Builder + + + + org.eclipse.m2e.core.maven2Nature org.eclipse.jdt.core.javanature org.maven.ide.eclipse.maven2Nature diff --git a/foei-ee-ejb3/.settings/org.eclipse.core.resources.prefs b/foei-ee-ejb3/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..29abf99 --- /dev/null +++ b/foei-ee-ejb3/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,6 @@ +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/main/resources=UTF-8 +encoding//src/test/java=UTF-8 +encoding//src/test/resources=UTF-8 +encoding/=UTF-8 diff --git a/foei-ee-ejb3/.settings/org.eclipse.jdt.core.prefs b/foei-ee-ejb3/.settings/org.eclipse.jdt.core.prefs index 943b47b..60105c1 100644 --- a/foei-ee-ejb3/.settings/org.eclipse.jdt.core.prefs +++ b/foei-ee-ejb3/.settings/org.eclipse.jdt.core.prefs @@ -1,6 +1,5 @@ -#Sat Sep 25 01:04:43 CEST 2010 eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.source=1.5 +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/foei-ee-ejb3/.settings/org.eclipse.m2e.core.prefs b/foei-ee-ejb3/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/foei-ee-ejb3/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/foei-ee-jca-ra/.classpath b/foei-ee-jca-ra/.classpath index 7c3d14f..7589059 100644 --- a/foei-ee-jca-ra/.classpath +++ b/foei-ee-jca-ra/.classpath @@ -5,6 +5,11 @@ + + + + + diff --git a/foei-ee-jca-ra/.project b/foei-ee-jca-ra/.project index 038341e..9d26033 100644 --- a/foei-ee-jca-ra/.project +++ b/foei-ee-jca-ra/.project @@ -5,6 +5,11 @@ + + org.eclipse.wst.common.project.facet.core.builder + + + org.eclipse.jdt.core.javabuilder @@ -15,9 +20,23 @@ + + org.eclipse.m2e.core.maven2Builder + + + + + org.eclipse.wst.validation.validationbuilder + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.eclipse.m2e.core.maven2Nature org.eclipse.jdt.core.javanature org.maven.ide.eclipse.maven2Nature + org.eclipse.wst.common.project.facet.core.nature diff --git a/foei-ee-jca-ra/.settings/org.eclipse.core.resources.prefs b/foei-ee-jca-ra/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..29abf99 --- /dev/null +++ b/foei-ee-jca-ra/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,6 @@ +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/main/resources=UTF-8 +encoding//src/test/java=UTF-8 +encoding//src/test/resources=UTF-8 +encoding/=UTF-8 diff --git a/foei-ee-jca-ra/.settings/org.eclipse.jdt.core.prefs b/foei-ee-jca-ra/.settings/org.eclipse.jdt.core.prefs index e0d583a..69c31cd 100644 --- a/foei-ee-jca-ra/.settings/org.eclipse.jdt.core.prefs +++ b/foei-ee-jca-ra/.settings/org.eclipse.jdt.core.prefs @@ -1,6 +1,8 @@ -#Mon Mar 14 23:12:39 CET 2011 eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning org.eclipse.jdt.core.compiler.source=1.6 diff --git a/foei-ee-jca-ra/.settings/org.eclipse.m2e.core.prefs b/foei-ee-jca-ra/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/foei-ee-jca-ra/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/foei-ee-jca-ra/.settings/org.eclipse.wst.common.component b/foei-ee-jca-ra/.settings/org.eclipse.wst.common.component new file mode 100644 index 0000000..0f78c5f --- /dev/null +++ b/foei-ee-jca-ra/.settings/org.eclipse.wst.common.component @@ -0,0 +1,15 @@ + + + + + + + + uses + + + uses + + + + diff --git a/foei-ee-jca-ra/.settings/org.eclipse.wst.common.project.facet.core.xml b/foei-ee-jca-ra/.settings/org.eclipse.wst.common.project.facet.core.xml new file mode 100644 index 0000000..941b017 --- /dev/null +++ b/foei-ee-jca-ra/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/foei-ee-jca/.classpath b/foei-ee-jca/.classpath index f42fb64..e630d4e 100644 --- a/foei-ee-jca/.classpath +++ b/foei-ee-jca/.classpath @@ -4,7 +4,8 @@ - + + diff --git a/foei-ee-jca/.project b/foei-ee-jca/.project index 8c98f69..03072ab 100644 --- a/foei-ee-jca/.project +++ b/foei-ee-jca/.project @@ -15,8 +15,14 @@ + + org.eclipse.m2e.core.maven2Builder + + + + org.eclipse.m2e.core.maven2Nature org.eclipse.jdt.core.javanature org.maven.ide.eclipse.maven2Nature diff --git a/foei-ee-jca/.settings/org.eclipse.core.resources.prefs b/foei-ee-jca/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..29abf99 --- /dev/null +++ b/foei-ee-jca/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,6 @@ +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/main/resources=UTF-8 +encoding//src/test/java=UTF-8 +encoding//src/test/resources=UTF-8 +encoding/=UTF-8 diff --git a/foei-ee-jca/.settings/org.eclipse.jdt.core.prefs b/foei-ee-jca/.settings/org.eclipse.jdt.core.prefs index 42226b6..60105c1 100644 --- a/foei-ee-jca/.settings/org.eclipse.jdt.core.prefs +++ b/foei-ee-jca/.settings/org.eclipse.jdt.core.prefs @@ -1,6 +1,5 @@ -#Sat Sep 25 01:04:18 CEST 2010 eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.source=1.5 +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/foei-ee-jca/.settings/org.eclipse.m2e.core.prefs b/foei-ee-jca/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/foei-ee-jca/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/foei-server/.classpath b/foei-server/.classpath index f42fb64..e630d4e 100644 --- a/foei-server/.classpath +++ b/foei-server/.classpath @@ -4,7 +4,8 @@ - + + diff --git a/foei-server/.project b/foei-server/.project index a43bba5..2a51333 100644 --- a/foei-server/.project +++ b/foei-server/.project @@ -15,8 +15,14 @@ + + org.eclipse.m2e.core.maven2Builder + + + + org.eclipse.m2e.core.maven2Nature org.eclipse.jdt.core.javanature org.maven.ide.eclipse.maven2Nature diff --git a/foei-server/.settings/org.eclipse.core.resources.prefs b/foei-server/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..29abf99 --- /dev/null +++ b/foei-server/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,6 @@ +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/main/resources=UTF-8 +encoding//src/test/java=UTF-8 +encoding//src/test/resources=UTF-8 +encoding/=UTF-8 diff --git a/foei-server/.settings/org.eclipse.jdt.core.prefs b/foei-server/.settings/org.eclipse.jdt.core.prefs index 7044376..60105c1 100644 --- a/foei-server/.settings/org.eclipse.jdt.core.prefs +++ b/foei-server/.settings/org.eclipse.jdt.core.prefs @@ -1,6 +1,5 @@ -#Sat Sep 25 01:01:41 CEST 2010 eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.source=1.5 +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/foei-server/.settings/org.eclipse.m2e.core.prefs b/foei-server/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/foei-server/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1