]> git.mxchange.org Git - addressbook.git/commitdiff
added logger EJB
authorRoland Haeder <roland@mxchange.org>
Thu, 1 Oct 2015 08:06:17 +0000 (10:06 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 1 Oct 2015 08:06:17 +0000 (10:06 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

nbproject/build-impl.xml
nbproject/genfiles.properties
nbproject/project.properties
nbproject/project.xml

index 043bd3e71ef4fe9cf6e9e5174bbb9354aa0ae622..81cc117215f20a8c259731cdb1e8c6c3e986c626 100644 (file)
@@ -201,6 +201,10 @@ exists or setup the property manually. For example like this:
                 <isset property="build.deploy.on.save"/>
             </not>
         </condition>
+        <ant antfile="${project.jcore-logger-ejb}/build.xml" inheritall="false" target="dist-ear">
+            <property location="${build.dir}" name="dist.ear.dir"/>
+            <property name="deploy.on.save" value="${build.deploy.on.save}"/>
+        </ant>
     </target>
     <target depends="init,deps-jar,deps-j2ee-archive" name="pre-pre-compile"/>
     <target name="pre-compile">
@@ -212,7 +216,9 @@ exists or setup the property manually. For example like this:
             <fileset dir="${meta.inf}"/>
         </copy>
     </target>
-    <target depends="init,deps-jar,pre-pre-compile,pre-compile" name="-do-compile-deps"/>
+    <target depends="init,deps-jar,pre-pre-compile,pre-compile" name="-do-compile-deps">
+        <copyfiles files="${reference.jcore-logger-ejb.dist-ear}" todir="${build.dir}//"/>
+    </target>
     <target name="post-compile">
         <!-- Empty placeholder for easier customization. -->
         <!-- You can override this target in the ../build.xml file. -->
@@ -288,6 +294,7 @@ exists or setup the property manually. For example like this:
     </target>
     <target name="-run-deploy-am" unless="no.deps">
         <!-- Task to deploy to the Access Manager runtime. -->
+        <ant antfile="${project.jcore-logger-ejb}/build.xml" inheritall="false" target="-run-deploy-am"/>
     </target>
     <target depends="-init-cos,dist-directory-deploy,pre-run-deploy,-pre-nbmodule-run-deploy,-run-deploy-nb,-init-deploy-ant,-deploy-ant,-run-deploy-am,-post-nbmodule-run-deploy,post-run-deploy" name="run-deploy"/>
     <target if="netbeans.home" name="-run-deploy-nb">
@@ -612,6 +619,10 @@ exists or setup the property manually. For example like this:
                 <isset property="build.deploy.on.save"/>
             </not>
         </condition>
+        <ant antfile="${project.jcore-logger-ejb}/build.xml" inheritall="false" target="clean-ear">
+            <property location="${build.dir}" name="dist.ear.dir"/>
+            <property name="deploy.on.save" value="${build.deploy.on.save}"/>
+        </ant>
     </target>
     <target depends="init" name="do-clean">
         <delete dir="${build.dir}"/>
index b0d10e671c807c246e71776b6a09ef7aa877dfe9..365653d5a54a0a133bbd0e2da88c35e1920de0c3 100644 (file)
@@ -1,8 +1,8 @@
-build.xml.data.CRC32=896523dd
+build.xml.data.CRC32=6556a4c5
 build.xml.script.CRC32=dd3150bf
 build.xml.stylesheet.CRC32=a5d15b16@1.49.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=896523dd
-nbproject/build-impl.xml.script.CRC32=3c5c52f6
+nbproject/build-impl.xml.data.CRC32=6556a4c5
+nbproject/build-impl.xml.script.CRC32=2eec50ff
 nbproject/build-impl.xml.stylesheet.CRC32=5eea63a6@1.49.1
index a0995820f78244ccbab2c7420f22912375b89c5a..cf6ea212c18dbad17567521276ef2b118006b3f0 100644 (file)
@@ -1,7 +1,6 @@
 build.classes.excludes=**/*.java,**/*.form,**/.nbattrs
 build.dir=build
 build.generated.dir=${build.dir}/generated
-client.module.uri=
 client.urlPart=
 debug.classpath=${javac.classpath}::${jar.content.additional}:${run.classpath}
 display.browser=true
@@ -21,7 +20,8 @@ j2ee.platform.wsimport.classpath=${j2ee.server.home}/modules/webservices-osgi.ja
 j2ee.platform.wsit.classpath=
 j2ee.server.type=gfv3ee6
 jar.compress=false
-jar.content.additional=
+jar.content.additional=\
+    ${reference.jcore-logger-ejb.dist-ear}
 jar.name=addressbook.ear
 javac.debug=true
 javac.deprecation=false
@@ -30,5 +30,7 @@ javac.target=1.6
 meta.inf=src/conf
 no.dependencies=false
 platform.active=default_platform
+project.jcore-logger-ejb=../jcore-logger-ejb
+reference.jcore-logger-ejb.dist-ear=${project.jcore-logger-ejb}/dist/jcore-logger-ejb.jar
 resource.dir=setup
 source.root=.
index 9a5ad67f7f5b21721f9cedc5cfb92d40bc77736e..2cb28c3313b556eb641afb72531365a641cab5d2 100644 (file)
@@ -6,7 +6,22 @@
             <name>addressbook</name>
             <minimum-ant-version>1.6.5</minimum-ant-version>
             <web-module-libraries/>
-            <web-module-additional-libraries/>
+            <web-module-additional-libraries>
+                <library>
+                    <file>${reference.jcore-logger-ejb.dist-ear}</file>
+                    <path-in-war>/</path-in-war>
+                </library>
+            </web-module-additional-libraries>
         </data>
+        <references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
+            <reference>
+                <foreign-project>jcore-logger-ejb</foreign-project>
+                <artifact-type>j2ee_ear_archive</artifact-type>
+                <script>build.xml</script>
+                <target>dist-ear</target>
+                <clean-target>clean-ear</clean-target>
+                <id>dist-ear</id>
+            </reference>
+        </references>
     </configuration>
 </project>