From: Roland Haeder Date: Fri, 4 Sep 2015 13:10:25 +0000 (+0200) Subject: Better compatibility to Linux/MacOS + updated jcore (towards EJBs) and added some... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=97da69aabfb1323688490caa8dfe3524be059866;p=pizzaservice-core.git Better compatibility to Linux/MacOS + updated jcore (towards EJBs) and added some clients (still the license files are needed to locate) Signed-off-by:Roland Häder --- diff --git a/PizzaService-war/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar b/PizzaService-war/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar new file mode 100644 index 0000000..eaf6790 Binary files /dev/null and b/PizzaService-war/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar differ diff --git a/PizzaService-war/lib/cdi-api.jar b/PizzaService-war/lib/cdi-api.jar new file mode 100644 index 0000000..1fa239e Binary files /dev/null and b/PizzaService-war/lib/cdi-api.jar differ diff --git a/PizzaService-war/lib/gf-client.jar b/PizzaService-war/lib/gf-client.jar new file mode 100644 index 0000000..2f369f3 Binary files /dev/null and b/PizzaService-war/lib/gf-client.jar differ diff --git a/PizzaService-war/lib/nblibraries.properties b/PizzaService-war/lib/nblibraries.properties new file mode 100644 index 0000000..d9714fb --- /dev/null +++ b/PizzaService-war/lib/nblibraries.properties @@ -0,0 +1,11 @@ +libs.CopyLibs.classpath=\ + ${base}/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar +libs.CopyLibs.displayName=CopyLibs Task +libs.CopyLibs.prop-version=2.0 +libs.javaee-endorsed-api-6.0.classpath=\ + ${base}/javaee-endorsed-api-6.0/javax.annotation.jar;\ + ${base}/javaee-endorsed-api-6.0/jaxb-api-osgi.jar;\ + ${base}/javaee-endorsed-api-6.0/webservices-api-osgi.jar +libs.javaee-endorsed-api-6.0.displayName=Java EE 6 Endorsed API Library +libs.javaee-endorsed-api-6.0.javadoc=\ + ${base}/javaee-endorsed-api-6.0/javaee-doc-api.jar diff --git a/PizzaService-war/nbproject/build-impl.xml b/PizzaService-war/nbproject/build-impl.xml index 327afc7..7c7566e 100644 --- a/PizzaService-war/nbproject/build-impl.xml +++ b/PizzaService-war/nbproject/build-impl.xml @@ -37,18 +37,43 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + @@ -233,7 +258,7 @@ - + Must set src.dir Must set test.src.dir Must set build.dir @@ -848,16 +873,18 @@ exists or setup the property manually. For example like this: - + - + + + - - + + @@ -1003,10 +1030,17 @@ exists or setup the property manually. For example like this: + + + - + + + + + @@ -1419,7 +1453,7 @@ exists or setup the property manually. For example like this: CLEANUP SECTION --> - + diff --git a/PizzaService-war/nbproject/genfiles.properties b/PizzaService-war/nbproject/genfiles.properties index 80e2421..d4e8376 100644 --- a/PizzaService-war/nbproject/genfiles.properties +++ b/PizzaService-war/nbproject/genfiles.properties @@ -1,8 +1,8 @@ -build.xml.data.CRC32=2c0f0a33 +build.xml.data.CRC32=dda72f05 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=2c0f0a33 -nbproject/build-impl.xml.script.CRC32=8ab119d1 +nbproject/build-impl.xml.data.CRC32=dda72f05 +nbproject/build-impl.xml.script.CRC32=06b680e3 nbproject/build-impl.xml.stylesheet.CRC32=99ea4b56@1.68.1.1 diff --git a/PizzaService-war/nbproject/project.properties b/PizzaService-war/nbproject/project.properties index 0562182..8f87762 100644 --- a/PizzaService-war/nbproject/project.properties +++ b/PizzaService-war/nbproject/project.properties @@ -28,6 +28,8 @@ dist.war=${dist.dir}/${war.name} endorsed.classpath=\ ${libs.javaee-endorsed-api-6.0.classpath} excludes= +file.reference.cdi-api.jar=lib/cdi-api.jar +file.reference.gf-client.jar=lib/gf-client.jar includes=** j2ee.compile.on.save=true j2ee.copy.static.files.on.save=true @@ -42,7 +44,9 @@ j2ee.platform.wsit.classpath= j2ee.server.type=gfv3ee6 jar.compress=false javac.classpath=\ - ${reference.PizzaService-ejb.dist} + ${reference.jshop.jar}:\ + ${file.reference.cdi-api.jar}:\ + ${file.reference.gf-client.jar} # Space-separated list of extra javac options javac.compilerargs= javac.debug=true @@ -69,11 +73,10 @@ javadoc.use=true javadoc.version=false javadoc.windowtitle= lib.dir=${web.docbase.dir}/WEB-INF/lib -no.dependencies=false persistence.xml.dir=${conf.dir} platform.active=default_platform -project.PizzaService-ejb=../PizzaService-ejb -reference.PizzaService-ejb.dist=${project.PizzaService-ejb}/dist/PizzaService-ejb.jar +project.jshop=../../jshop +reference.jshop.jar=${project.jshop}/dist/jshop.jar resource.dir=setup run.test.classpath=\ ${javac.test.classpath}:\ diff --git a/PizzaService-war/nbproject/project.xml b/PizzaService-war/nbproject/project.xml index e574a6f..954eb02 100644 --- a/PizzaService-war/nbproject/project.xml +++ b/PizzaService-war/nbproject/project.xml @@ -6,26 +6,38 @@ PizzaService-war 1.6.5 - - ${reference.PizzaService-ejb.dist} + + ${reference.jshop.jar} + WEB-INF/lib + + + ${file.reference.cdi-api.jar} + WEB-INF/lib + + + ${file.reference.gf-client.jar} + WEB-INF/lib - + - + + + .\lib\nblibraries.properties + - PizzaService-ejb + jshop jar - dist + jar clean - dist + jar diff --git a/PizzaService-war/web/WEB-INF/web.xml b/PizzaService-war/web/WEB-INF/web.xml index fe867e3..e66ce27 100644 --- a/PizzaService-war/web/WEB-INF/web.xml +++ b/PizzaService-war/web/WEB-INF/web.xml @@ -84,6 +84,5 @@ faces/index.xhtml -