<!--
COMPILATION SECTION
-->
- <target depends="init" if="no.dist.ear.dir" name="-deps-module-jar" unless="no.deps"/>
- <target depends="init" if="dist.ear.dir" name="-deps-ear-jar" unless="no.deps"/>
+ <target depends="init" if="no.dist.ear.dir" name="-deps-module-jar" unless="no.deps">
+ <ant antfile="${project.jcore-logger-lib}/build.xml" inheritall="false" target="jar">
+ <property name="deploy.on.save" value="false"/>
+ </ant>
+ </target>
+ <target depends="init" if="dist.ear.dir" name="-deps-ear-jar" unless="no.deps">
+ <ant antfile="${project.jcore-logger-lib}/build.xml" inheritall="false" target="jar">
+ <property name="deploy.on.save" value="false"/>
+ </ant>
+ </target>
<target depends="init, -deps-module-jar, -deps-ear-jar" name="deps-jar"/>
<target depends="init,deps-jar" name="-pre-pre-compile">
<mkdir dir="${build.classes.dir}"/>
</target>
<target depends="compile,-library-inclusion-in-archive-weblogic,-library-inclusion-in-archive-by-user" name="library-inclusion-in-archive"/>
<target if="is.jars.in.ejbjar" name="-library-inclusion-in-archive-by-user">
- <copyfiles files="${file.reference.jcore-logger-lib.jar}" todir="${build.classes.dir}"/>
+ <copyfiles files="${reference.jcore-logger-lib.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${file.reference.cdi-api.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${libs.Apache_Log4J.classpath}" todir="${build.classes.dir}"/>
</target>
<target if="is.server.weblogic" name="-library-inclusion-in-archive-weblogic">
- <basename file="${file.reference.jcore-logger-lib.jar}" property="manifest.file.reference.jcore-logger-lib.jar"/>
+ <basename file="${reference.jcore-logger-lib.jar}" property="manifest.reference.jcore-logger-lib.jar"/>
<basename file="${file.reference.cdi-api.jar}" property="manifest.file.reference.cdi-api.jar"/>
<basename file="${libs.Apache_Log4J.classpath}" property="manifest.libs.Apache_Log4J.classpath"/>
<manifest file="${build.ear.classes.dir}/META-INF/MANIFEST.MF" mode="update">
<attribute name="Extension-List" value="jar-1 jar-2 jar-3 "/>
- <attribute name="jar-1-Extension-Name" value="${manifest.file.reference.jcore-logger-lib.jar}"/>
+ <attribute name="jar-1-Extension-Name" value="${manifest.reference.jcore-logger-lib.jar}"/>
<attribute name="jar-2-Extension-Name" value="${manifest.file.reference.cdi-api.jar}"/>
<attribute name="jar-3-Extension-Name" value="${manifest.libs.Apache_Log4J.classpath}"/>
</manifest>
</target>
<target depends="compile" name="library-inclusion-in-manifest">
- <copyfiles files="${file.reference.jcore-logger-lib.jar}" todir="${dist.ear.dir}/lib"/>
+ <copyfiles files="${reference.jcore-logger-lib.jar}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.cdi-api.jar}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${libs.Apache_Log4J.classpath}" todir="${dist.ear.dir}/lib"/>
<manifest file="${build.ear.classes.dir}/META-INF/MANIFEST.MF" mode="update"/>
<!--
CLEANUP SECTION
-->
- <target depends="init" name="deps-clean" unless="no.deps"/>
+ <target depends="init" name="deps-clean" unless="no.deps">
+ <ant antfile="${project.jcore-logger-lib}/build.xml" inheritall="false" target="clean"/>
+ </target>
<target depends="init" name="-do-clean">
<delete dir="${build.dir}"/>
<delete dir="${dist.dir}"/>
endorsed.classpath=
excludes=
file.reference.cdi-api.jar=lib/cdi-api.jar
-file.reference.jcore-logger-lib.jar=lib/jcore-logger-lib.jar
includes=**
j2ee.compile.on.save=true
j2ee.deploy.on.save=true
jar.name=jcore-logger-ejb.jar
jars.in.ejbjar=false
javac.classpath=\
- ${file.reference.jcore-logger-lib.jar}:\
+ ${reference.jcore-logger-lib.jar}:\
${file.reference.cdi-api.jar}:\
${libs.Apache_Log4J.classpath}
javac.compilerargs=-Xlint:unchecked -Xlint:deprecation
meta.inf=${source.root}/conf
meta.inf.excludes=sun-cmp-mappings.xml
platform.active=default_platform
+project.jcore-logger-lib=../jcore-logger-lib
project.license=agpl30
+reference.jcore-logger-lib.jar=${project.jcore-logger-lib}/dist/jcore-logger-lib.jar
resource.dir=setup
run.test.classpath=\
${javac.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.jcore-logger-lib.jar=../jcore-logger-lib/src/
source.root=src
src.dir=${source.root}/java
test.src.dir=test
<data xmlns="http://www.netbeans.org/ns/j2ee-ejbjarproject/3">
<name>jcore-logger-ejb</name>
<minimum-ant-version>1.6.5</minimum-ant-version>
- <included-library dirs="200">file.reference.jcore-logger-lib.jar</included-library>
+ <included-library dirs="200">reference.jcore-logger-lib.jar</included-library>
<included-library dirs="200">file.reference.cdi-api.jar</included-library>
<included-library dirs="200">libs.Apache_Log4J.classpath</included-library>
<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>jcore-logger-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>