From: Roland Haeder Date: Thu, 1 Oct 2015 12:51:19 +0000 (+0200) Subject: Continued rewriting: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a6605b5817ed0a79b1ec7cab45ae85093b7867e4;p=pizzaservice-war.git Continued rewriting: - added jcontacts-lib - updated jars - fixed imports Signed-off-by:Roland Häder --- diff --git a/lib/jcontacts-lib.jar b/lib/jcontacts-lib.jar new file mode 100644 index 00000000..60591263 Binary files /dev/null and b/lib/jcontacts-lib.jar differ diff --git a/lib/jcore.jar b/lib/jcore.jar index 848bebf4..197b9734 100644 Binary files a/lib/jcore.jar and b/lib/jcore.jar differ diff --git a/lib/jshop-core.jar b/lib/jshop-core.jar index 85cbf70f..a82aaf80 100644 Binary files a/lib/jshop-core.jar and b/lib/jshop-core.jar differ diff --git a/nbproject/build-impl.xml b/nbproject/build-impl.xml index db322733..39dfa930 100644 --- a/nbproject/build-impl.xml +++ b/nbproject/build-impl.xml @@ -1033,6 +1033,7 @@ exists or setup the property manually. For example like this: + @@ -1048,6 +1049,7 @@ exists or setup the property manually. For example like this: + diff --git a/nbproject/genfiles.properties b/nbproject/genfiles.properties index a1054df4..e66827a6 100644 --- a/nbproject/genfiles.properties +++ b/nbproject/genfiles.properties @@ -3,6 +3,6 @@ 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. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. -nbproject/build-impl.xml.data.CRC32=e3c82207 -nbproject/build-impl.xml.script.CRC32=90c15c7c +nbproject/build-impl.xml.data.CRC32=c43d6e6b +nbproject/build-impl.xml.script.CRC32=8bd8b36f nbproject/build-impl.xml.stylesheet.CRC32=99ea4b56@1.68.1.1 diff --git a/nbproject/project.properties b/nbproject/project.properties index 0dc6d2ea..3dbba6c0 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -38,6 +38,7 @@ endorsed.classpath=\ excludes= file.reference.cdi-api.jar=lib/cdi-api.jar file.reference.gf-client.jar=lib/gf-client.jar +file.reference.jcontacts-lib.jar=lib/jcontacts-lib.jar file.reference.jcore-logger-lib.jar=lib/jcore-logger-lib.jar file.reference.jcore.jar=lib/jcore.jar file.reference.jcoreee.jar=lib/jcoreee.jar @@ -63,6 +64,7 @@ javac.classpath=\ ${file.reference.jcore.jar}:\ ${file.reference.jcore-logger-lib.jar}:\ ${file.reference.jcoreee.jar}:\ + ${file.reference.jcontacts-lib.jar}:\ ${file.reference.jshop-core.jar}:\ ${file.reference.jshop-ee-lib.jar}:\ ${reference.PizzaService-lib.jar}:\ @@ -110,6 +112,7 @@ run.test.classpath=\ # (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value): runmain.jvmargs= source.encoding=UTF-8 +source.reference.jcontacts-lib.jar=../jcontacts-lib/src/ source.reference.jcore-logger-lib.jar=../jcore-logger-lib/src/ source.reference.jcore.jar=../jcore/src/ source.reference.jcoreee.jar=../jcoreee/src/ diff --git a/nbproject/project.xml b/nbproject/project.xml index 183d8993..f2c64593 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -1,76 +1,80 @@ - org.netbeans.modules.web.project - - - PizzaService-war - 1.6.5 - - - ${file.reference.jcore.jar} - WEB-INF/lib - - - ${file.reference.jcore-logger-lib.jar} - WEB-INF/lib - - - ${file.reference.jcoreee.jar} - WEB-INF/lib - - - ${file.reference.jshop-core.jar} - WEB-INF/lib - - - ${file.reference.jshop-ee-lib.jar} - WEB-INF/lib - - - ${reference.PizzaService-lib.jar} - WEB-INF/lib - - - ${file.reference.cdi-api.jar} - WEB-INF/lib - - - ${file.reference.gf-client.jar} - WEB-INF/lib - - - ${file.reference.log4j-api-2.3.jar} - WEB-INF/lib - - - ${file.reference.log4j-core-2.3.jar} - WEB-INF/lib - - - ${file.reference.log4j-web-2.3.jar} - WEB-INF/lib - - - - - - - - - - - - .\lib\nblibraries.properties - - - - PizzaService-lib - jar - - jar - clean - jar - - - + org.netbeans.modules.web.project + + + PizzaService-war + 1.6.5 + + + ${file.reference.jcore.jar} + WEB-INF/lib + + + ${file.reference.jcore-logger-lib.jar} + WEB-INF/lib + + + ${file.reference.jcoreee.jar} + WEB-INF/lib + + + ${file.reference.jcontacts-lib.jar} + WEB-INF/lib + + + ${file.reference.jshop-core.jar} + WEB-INF/lib + + + ${file.reference.jshop-ee-lib.jar} + WEB-INF/lib + + + ${reference.PizzaService-lib.jar} + WEB-INF/lib + + + ${file.reference.cdi-api.jar} + WEB-INF/lib + + + ${file.reference.gf-client.jar} + WEB-INF/lib + + + ${file.reference.log4j-api-2.3.jar} + WEB-INF/lib + + + ${file.reference.log4j-core-2.3.jar} + WEB-INF/lib + + + ${file.reference.log4j-web-2.3.jar} + WEB-INF/lib + + + + + + + + + + + + .\lib\nblibraries.properties + + + + PizzaService-lib + jar + + jar + clean + jar + + + diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java index ff541c69..445ab65c 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java @@ -22,9 +22,9 @@ import javax.inject.Named; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; -import org.mxchange.jcore.model.contact.Contact; -import org.mxchange.jcore.model.contact.UserContact; -import org.mxchange.jcore.model.contact.gender.Gender; +import org.mxchange.jcontacts.contact.Contact; +import org.mxchange.jcontacts.contact.UserContact; +import org.mxchange.jcontacts.contact.gender.Gender; import org.mxchange.jshopcore.model.customer.Customer; import org.mxchange.jshopcore.model.customer.CustomerSessionBeanRemote; import org.mxchange.jshopcore.model.customer.ShopCustomer; diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebController.java b/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebController.java index 8db9fd76..c9ef58b3 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebController.java @@ -17,7 +17,7 @@ package org.mxchange.pizzaapplication.beans.customer; import java.io.Serializable; -import org.mxchange.jcore.model.contact.gender.Gender; +import org.mxchange.jcontacts.contact.gender.Gender; import org.mxchange.jshopcore.model.customer.Customer; /** diff --git a/src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebBean.java index 8203582c..66d22c80 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebBean.java @@ -19,8 +19,8 @@ package org.mxchange.pizzaapplication.beans.gender; import java.util.List; import javax.enterprise.context.ApplicationScoped; import javax.inject.Named; -import org.mxchange.jcore.model.contact.gender.Gender; -import org.mxchange.jcore.model.contact.gender.GenderUtils; +import org.mxchange.jcontacts.contact.gender.Gender; +import org.mxchange.jcontacts.contact.gender.GenderUtils; /** * A customer bean which hides the customer instance diff --git a/src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebController.java b/src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebController.java index e75f2330..722033d1 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebController.java @@ -18,7 +18,7 @@ package org.mxchange.pizzaapplication.beans.gender; import java.io.Serializable; import java.util.List; -import org.mxchange.jcore.model.contact.gender.Gender; +import org.mxchange.jcontacts.contact.gender.Gender; /** * An interface for data beans