-build.xml.data.CRC32=46935672
+build.xml.data.CRC32=f043d149
build.xml.script.CRC32=82213886
build.xml.stylesheet.CRC32=651128d4@1.68.1.1
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
file.reference.jcore.jar=lib/jcore.jar
file.reference.jcore-ejb.jar=lib/jcore-ejb.jar
file.reference.jshop-core.jar=lib/jshop-core.jar
+file.reference.jshop-ejb.jar=lib/jshop-ejb.jar
file.reference.jshop.jar=lib/jshop.jar
file.reference.log4j-api-2.3.jar=lib/log4j-api-2.3.jar
file.reference.log4j-core-2.3.jar=lib/log4j-core-2.3.jar
${file.reference.log4j-api-2.3.jar}:\
${file.reference.log4j-core-2.3.jar}:\
${file.reference.log4j-web-2.3.jar}:\
- ${file.reference.jshop-core.jar}
+ ${file.reference.jshop-core.jar}:\
+ ${reference.PizzaService-lib.jar}:\
+ ${file.reference.jshop-ejb.jar}
# Space-separated list of extra javac options
javac.compilerargs=
javac.debug=true
lib.dir=${web.docbase.dir}/WEB-INF/lib
persistence.xml.dir=${conf.dir}
platform.active=default_platform
+project.PizzaService-lib=../pizzaservice-lib
+reference.PizzaService-lib.jar=${project.PizzaService-lib}/dist/PizzaService-lib.jar
resource.dir=setup
run.test.classpath=\
${javac.test.classpath}:\
source.reference.jcore.jar=../jcore/src/
source.reference.jcore-ejb.jar=../jcore-ejb/src/
source.reference.jshop-core.jar=../jshop-core/src/
+source.reference.jshop-ejb.jar=../jshop-ejb/src/
source.reference.jshop.jar=../jshop-ejb/src/
source.root=src
src.dir=${source.root}/java
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
- <file>${file.reference.jshop-ejb.jar}</file>
- <path-in-war>WEB-INF/lib</path-in-war>
+ <file>${file.reference.jshop.jar}</file>
</library>
<library dirs="200">
<file>${file.reference.cdi-api.jar}</file>
<file>${file.reference.jshop-core.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
+ <library dirs="200">
+ <file>${reference.PizzaService-lib.jar}</file>
+ <path-in-war>WEB-INF/lib</path-in-war>
+ </library>
+ <library dirs="200">
+ <file>${file.reference.jshop-ejb.jar}</file>
+ <path-in-war>WEB-INF/lib</path-in-war>
+ </library>
</web-module-libraries>
<web-module-additional-libraries/>
<source-roots>
<libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
<definitions>.\lib\nblibraries.properties</definitions>
</libraries>
- <references xmlns="http://www.netbeans.org/ns/ant-project-references/1"/>
+ <references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
+ <reference>
+ <foreign-project>PizzaService-lib</foreign-project>
+ <artifact-type>jar</artifact-type>
+ <script>build.xml</script>
+ <target>jar</target>
+ <clean-target>clean</clean-target>
+ <id>jar</id>
+ </reference>
+ </references>
</configuration>
</project>
import javax.inject.Named;
import org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException;
import org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException;
+import org.mxchange.jshopcore.model.category.Category;
+import org.mxchange.jshopcore.model.product.Product;
import org.mxchange.jshopejb.beans.BaseFrameworkBean;
-import org.mxchange.jshopejb.model.category.Category;
-import org.mxchange.jshopejb.model.product.Product;
/**
* Main application class
import javax.faces.FacesException;
import org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException;
import org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException;
+import org.mxchange.jshopcore.model.category.Category;
+import org.mxchange.jshopcore.model.product.Product;
import org.mxchange.jshopejb.beans.FrameworkBean;
-import org.mxchange.jshopejb.model.category.Category;
-import org.mxchange.jshopejb.model.product.Product;
/**
*
import javax.enterprise.context.SessionScoped;
import javax.inject.Named;
import org.mxchange.jcore.model.contact.gender.Gender;
+import org.mxchange.jshopcore.model.customer.Customer;
+import org.mxchange.jshopcore.model.customer.ShopCustomer;
import org.mxchange.jshopejb.beans.BaseFrameworkBean;
-import org.mxchange.jshopejb.model.customer.Customer;
-import org.mxchange.jshopejb.model.customer.ShopCustomer;
/**
* A customer bean which hides the customer instance
package org.mxchange.pizzaapplication.beans.enums;
import java.text.MessageFormat;
-import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.enterprise.context.ApplicationScoped;
this.getLogger().trace("CALLED!"); //NOI18N
// Init array
- List<Gender> genders = new ArrayList<>(this.getGenders().length - 1);
-
- // Debug message
- this.getLogger().debug(MessageFormat.format("genders.size()={0}", genders.size()));
-
- // Return it
- for (final Gender gender : Gender.values()) {
- // Debug message
- this.getLogger().debug(MessageFormat.format("gender={0}", gender));
-
- // Is it unknown?
- if (!gender.equals(Gender.UNKNOWN)) {
- // Debug message
- this.getLogger().debug(MessageFormat.format("gender={0} - adding ...", gender));
-
- // Not, then add it
- boolean added = genders.add(gender);
-
- // Debug message
- this.getLogger().debug(MessageFormat.format("added={0}", added));
- }
- }
+ // TODO Call EJB here?
+ List<Gender> genders = null;
// Trace message
this.getLogger().trace(MessageFormat.format("genders={0} - EXIT!", genders)); //NOI18N