07/01/2009

git-svn-id: https://svn.coded.pt/svn/SIPRP@893 bb69d46d-e84e-40c8-a05a-06db0d633741
lxbfYeaa
L Luís = 17 years ago
parent 61dadc84a6
commit 59465d738d

@ -2,6 +2,11 @@
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<!-- By default, only the Clean and Build commands use this build script. -->
<!-- Commands such as Run, Debug, and Test only use this build script if -->
<!-- the Compile on Save feature is turned off for the project. -->
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
<!-- in the project's Project Properties dialog box.-->
<project name="PlanosActuacao" default="default" basedir=".">
<description>Builds, tests, and runs the project PlanosActuacao.</description>
<import file="nbproject/build-impl.xml"/>

@ -77,21 +77,12 @@
<condition property="do.compile.jsps">
<istrue value="${compile.jsps}"/>
</condition>
<condition property="enable.jsdebugger">
<and>
<isset property="debug.client.available"/>
<istrue value="${debug.client.available}"/>
</and>
</condition>
<condition property="do.debug.server">
<or>
<not>
<isset property="debug.server"/>
</not>
<istrue value="${debug.server}"/>
<not>
<isset property="enable.jsdebugger"/>
</not>
<and>
<not>
<istrue value="${debug.server}"/>
@ -103,10 +94,7 @@
</or>
</condition>
<condition property="do.debug.client">
<and>
<istrue value="${debug.client}"/>
<isset property="enable.jsdebugger"/>
</and>
<istrue value="${debug.client}"/>
</condition>
<condition property="do.display.browser">
<istrue value="${display.browser}"/>
@ -120,7 +108,7 @@
</and>
</condition>
<available file="${conf.dir}/MANIFEST.MF" property="has.custom.manifest"/>
<available file="${conf.dir}/persistence.xml" property="has.persistence.xml"/>
<available file="${persistence.xml.dir}/persistence.xml" property="has.persistence.xml"/>
<condition property="do.war.package.with.custom.manifest">
<isset property="has.custom.manifest"/>
</condition>
@ -162,12 +150,20 @@
</and>
</condition>
<property name="javadoc.encoding.used" value="${source.encoding}"/>
<property name="includes" value="**"/>
<property name="excludes" value=""/>
<condition else="" property="javac.compilerargs.jaxws" value="-Djava.endorsed.dirs='${jaxws.endorsed.dir}'">
<and>
<isset property="jaxws.endorsed.dir"/>
<available file="nbproject/jaxws-build.xml"/>
</and>
</condition>
<property name="runmain.jvmargs" value=""/>
</target>
<target depends="init" name="-init-cos" unless="deploy.on.save">
<condition property="deploy.on.save" value="true">
<istrue value="${j2ee.deploy.on.save}"/>
</condition>
</target>
<target name="-post-init">
<!-- Empty placeholder for easier customization. -->
@ -209,10 +205,12 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
<attribute default="${src.src.dir}:${src.dir}" name="srcdir"/>
<attribute default="${build.classes.dir}" name="destdir"/>
<attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="${javac.debug}" name="debug"/>
<element name="customize" optional="true"/>
<sequential>
<javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" includeantruntime="false" source="${javac.source}" srcdir="@{srcdir}" target="${javac.target}">
<javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" srcdir="@{srcdir}" target="${javac.target}">
<classpath>
<path path="@{classpath}"/>
</classpath>
@ -224,11 +222,15 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
</target>
<target name="-init-macrodef-junit">
<macrodef name="junit" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="**/*Test.java" name="includes"/>
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<sequential>
<junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true">
<batchtest todir="${build.test.results.dir}">
<fileset dir="${test.src.dir}" includes="@{includes}"/>
<fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
<filename name="@{testincludes}"/>
</fileset>
</batchtest>
<classpath>
<path path="${run.test.classpath}:${j2ee.platform.classpath}"/>
@ -239,6 +241,7 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
</syspropertyset>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<jvmarg line="${runmain.jvmargs}"/>
</junit>
</sequential>
</macrodef>
@ -262,7 +265,7 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
</sequential>
</macrodef>
</target>
<target if="enable.jsdebugger" name="-init-macrodef-nbjsdebug">
<target name="-init-macrodef-nbjsdebug">
<macrodef name="nbjsdebugstart" uri="http://www.netbeans.org/ns/web-project/1">
<attribute default="${client.url}" name="webUrl"/>
<sequential>
@ -270,12 +273,12 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
</sequential>
</macrodef>
</target>
<target name="-init-macrodef-nbjpda">
<target depends="-init-debug-args" name="-init-macrodef-nbjpda">
<macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/web-project/1">
<attribute default="${main.class}" name="name"/>
<attribute default="${debug.classpath}:${j2ee.platform.classpath}" name="classpath"/>
<sequential>
<nbjpdastart addressproperty="jpda.address" name="@{name}" transport="dt_socket">
<nbjpdastart addressproperty="jpda.address" name="@{name}" transport="${debug-transport}">
<classpath>
<path path="@{classpath}"/>
</classpath>
@ -311,6 +314,12 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
<condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
<istrue value="${have-jdk-older-than-1.4}"/>
</condition>
<condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
<os family="windows"/>
</condition>
<condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
<isset property="debug.transport"/>
</condition>
</target>
<target depends="-init-debug-args" name="-init-macrodef-debug">
<macrodef name="debug" uri="http://www.netbeans.org/ns/web-project/1">
@ -321,7 +330,7 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
<sequential>
<java classname="@{classname}" fork="true">
<jvmarg line="${debug-args-line}"/>
<jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
<jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
<jvmarg line="${runmain.jvmargs}"/>
<classpath>
<path path="@{classpath}"/>
@ -336,38 +345,20 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
</sequential>
</macrodef>
</target>
<target name="-init-macrodef-copy-ear-war">
<macrodef name="copy-ear-war">
<attribute name="file"/>
<attribute name="propname"/>
<sequential>
<basename file="@{file}" property="base_@{propname}"/>
<zipfileset id="tld.files_@{propname}" includes="META-INF/*.tld META-INF/tlds/*.tld" src="@{file}"/>
<pathconvert property="tld.files.path_@{propname}" refid="tld.files_@{propname}"/>
<condition property="hastlds_@{propname}" value="yes">
<contains casesensitive="false" string="${tld.files.path_@{propname}}" substring=".tld"/>
</condition>
<condition property="copy.to.dir_@{propname}" value="${build.web.dir}/WEB-INF/lib">
<isset property="hastlds_@{propname}"/>
</condition>
<condition property="copy.to.dir_@{propname}" value="${dist.ear.dir}">
<not>
<isset property="hastlds_@{propname}"/>
</not>
</condition>
<copy file="@{file}" todir="${copy.to.dir_@{propname}}"/>
<condition property="@{propname}" value="${base_@{propname}}">
<not>
<isset property="hastlds_@{propname}"/>
</not>
</condition>
<condition property="@{propname}" value="">
<isset property="hastlds_@{propname}"/>
</condition>
</sequential>
</macrodef>
<target name="-init-taskdefs">
<fail unless="libs.CopyLibs.classpath">
The libs.CopyLibs.classpath property is not set up.
This property must point to
org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
of NetBeans IDE installation and is usually located at
&lt;netbeans_installation&gt;/java&lt;version&gt;/ant/extra folder.
Either open the project in the IDE and make sure CopyLibs library
exists or setup the property manually. For example like this:
ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
</fail>
<taskdef classpath="${libs.CopyLibs.classpath}" resource="org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml"/>
</target>
<target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-java,-init-macrodef-nbjpda,-init-macrodef-nbjsdebug,-init-macrodef-debug,-init-macrodef-copy-ear-war" name="init"/>
<target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-java,-init-macrodef-nbjpda,-init-macrodef-nbjsdebug,-init-macrodef-debug,-init-taskdefs" name="init"/>
<!--
COMPILATION SECTION
-->
@ -383,7 +374,7 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
</target>
<target name="-copy-webdir">
<copy todir="${build.web.dir}">
<fileset dir="${web.docbase.dir}" excludes="${build.web.excludes}"/>
<fileset dir="${web.docbase.dir}" excludes="${build.web.excludes},${excludes}" includes="${includes}"/>
</copy>
<copy todir="${build.web.dir}/WEB-INF">
<fileset dir="${webinf.dir}" excludes="${build.web.excludes}"/>
@ -393,8 +384,8 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
<target depends="init, deps-jar, -pre-pre-compile, -pre-compile, -copy-manifest, -copy-persistence-xml, -copy-webdir, library-inclusion-in-archive,library-inclusion-in-manifest,-do-ws-compile" if="have.sources" name="-do-compile">
<webproject2:javac destdir="${build.classes.dir}"/>
<copy todir="${build.classes.dir}">
<fileset dir="${src.src.dir}" excludes="${build.classes.excludes}"/>
<fileset dir="${src.dir}" excludes="${build.classes.excludes}"/>
<fileset dir="${src.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
<fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
</copy>
</target>
<target if="has.custom.manifest" name="-copy-manifest">
@ -406,7 +397,7 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
<target if="has.persistence.xml" name="-copy-persistence-xml">
<mkdir dir="${build.web.dir}/WEB-INF/classes/META-INF"/>
<copy todir="${build.web.dir}/WEB-INF/classes/META-INF">
<fileset dir="${conf.dir}" includes="persistence.xml"/>
<fileset dir="${persistence.xml.dir}" includes="persistence.xml"/>
</copy>
</target>
<target name="-post-compile">
@ -420,14 +411,10 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
</target>
<target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
<webproject2:javac>
<customize>
<patternset includes="${javac.includes}"/>
</customize>
</webproject2:javac>
<webproject2:javac excludes="" includes="${javac.includes}"/>
<copy todir="${build.classes.dir}">
<fileset dir="${src.src.dir}" excludes="${build.classes.excludes}"/>
<fileset dir="${src.dir}" excludes="${build.classes.excludes}"/>
<fileset dir="${src.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
<fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
</copy>
</target>
<target name="-post-compile-single">
@ -445,7 +432,8 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
<arg value="-die1"/>
<arg value="-compilerSourceVM ${javac.source}"/>
<arg value="-compilerTargetVM ${javac.target}"/>
<classpath path="${java.home}/../lib/tools.jar:${copyfiles.classpath}:${jspcompilation.classpath}"/>
<arg value="-javaEncoding ${source.encoding}"/>
<classpath path="${java.home}/../lib/tools.jar:${jspctask.classpath}:${jspcompilation.classpath}"/>
</java>
<mkdir dir="${build.generated.dir}/classes"/>
<webproject2:javac classpath="${j2ee.platform.classpath}:${build.classes.dir}:${jspcompilation.classpath}" destdir="${build.generated.dir}/classes" srcdir="${build.generated.dir}/src"/>
@ -463,7 +451,8 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
<arg path="${jsp.includes}"/>
<arg value="-compilerSourceVM ${javac.source}"/>
<arg value="-compilerTargetVM ${javac.target}"/>
<classpath path="${java.home}/../lib/tools.jar:${copyfiles.classpath}:${jspcompilation.classpath}"/>
<arg value="-javaEncoding ${source.encoding}"/>
<classpath path="${java.home}/../lib/tools.jar:${jspctask.classpath}:${jspcompilation.classpath}"/>
</java>
<mkdir dir="${build.generated.dir}/classes"/>
<webproject2:javac classpath="${j2ee.platform.classpath}:${build.classes.dir}:${jspcompilation.classpath}" destdir="${build.generated.dir}/classes" srcdir="${build.generated.dir}/src">
@ -513,132 +502,66 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
</target>
<target depends="init,compile,compile-jsps,-pre-dist,-do-dist-with-manifest,-do-dist-without-manifest" name="do-dist"/>
<target depends="init" if="dist.ear.dir" name="library-inclusion-in-manifest">
<basename file="${libs.jsf12.classpath.libfile.6}" property="included.lib.libs.jsf12.classpath.6"/>
<basename file="${libs.jsf12.classpath.libfile.5}" property="included.lib.libs.jsf12.classpath.5"/>
<basename file="${libs.jsf12.classpath.libfile.4}" property="included.lib.libs.jsf12.classpath.4"/>
<basename file="${libs.jsf12.classpath.libfile.3}" property="included.lib.libs.jsf12.classpath.3"/>
<basename file="${libs.jsf12.classpath.libfile.2}" property="included.lib.libs.jsf12.classpath.2"/>
<basename file="${libs.jsf12.classpath.libfile.1}" property="included.lib.libs.jsf12.classpath.1"/>
<copy-ear-war file="${libs.jsf12.classpath.libfile.6}" propname="included.lib.libs.jsf12.classpath.6.X"/>
<copy-ear-war file="${libs.jsf12.classpath.libfile.5}" propname="included.lib.libs.jsf12.classpath.5.X"/>
<copy-ear-war file="${libs.jsf12.classpath.libfile.4}" propname="included.lib.libs.jsf12.classpath.4.X"/>
<copy-ear-war file="${libs.jsf12.classpath.libfile.3}" propname="included.lib.libs.jsf12.classpath.3.X"/>
<copy-ear-war file="${libs.jsf12.classpath.libfile.2}" propname="included.lib.libs.jsf12.classpath.2.X"/>
<copy-ear-war file="${libs.jsf12.classpath.libfile.1}" propname="included.lib.libs.jsf12.classpath.1.X"/>
<basename file="${libs.jstl11.classpath.libfile.2}" property="included.lib.libs.jstl11.classpath.2"/>
<basename file="${libs.jstl11.classpath.libfile.1}" property="included.lib.libs.jstl11.classpath.1"/>
<copy-ear-war file="${libs.jstl11.classpath.libfile.2}" propname="included.lib.libs.jstl11.classpath.2.X"/>
<copy-ear-war file="${libs.jstl11.classpath.libfile.1}" propname="included.lib.libs.jstl11.classpath.1.X"/>
<basename file="${libs.jsf12-support.classpath.libfile.4}" property="included.lib.libs.jsf12-support.classpath.4"/>
<basename file="${libs.jsf12-support.classpath.libfile.3}" property="included.lib.libs.jsf12-support.classpath.3"/>
<basename file="${libs.jsf12-support.classpath.libfile.2}" property="included.lib.libs.jsf12-support.classpath.2"/>
<basename file="${libs.jsf12-support.classpath.libfile.1}" property="included.lib.libs.jsf12-support.classpath.1"/>
<copy-ear-war file="${libs.jsf12-support.classpath.libfile.4}" propname="included.lib.libs.jsf12-support.classpath.4.X"/>
<copy-ear-war file="${libs.jsf12-support.classpath.libfile.3}" propname="included.lib.libs.jsf12-support.classpath.3.X"/>
<copy-ear-war file="${libs.jsf12-support.classpath.libfile.2}" propname="included.lib.libs.jsf12-support.classpath.2.X"/>
<copy-ear-war file="${libs.jsf12-support.classpath.libfile.1}" propname="included.lib.libs.jsf12-support.classpath.1.X"/>
<basename file="${libs.woodstock-components.classpath.libfile.5}" property="included.lib.libs.woodstock-components.classpath.5"/>
<basename file="${libs.woodstock-components.classpath.libfile.4}" property="included.lib.libs.woodstock-components.classpath.4"/>
<basename file="${libs.woodstock-components.classpath.libfile.3}" property="included.lib.libs.woodstock-components.classpath.3"/>
<basename file="${libs.woodstock-components.classpath.libfile.2}" property="included.lib.libs.woodstock-components.classpath.2"/>
<basename file="${libs.woodstock-components.classpath.libfile.1}" property="included.lib.libs.woodstock-components.classpath.1"/>
<copy-ear-war file="${libs.woodstock-components.classpath.libfile.5}" propname="included.lib.libs.woodstock-components.classpath.5.X"/>
<copy-ear-war file="${libs.woodstock-components.classpath.libfile.4}" propname="included.lib.libs.woodstock-components.classpath.4.X"/>
<copy-ear-war file="${libs.woodstock-components.classpath.libfile.3}" propname="included.lib.libs.woodstock-components.classpath.3.X"/>
<copy-ear-war file="${libs.woodstock-components.classpath.libfile.2}" propname="included.lib.libs.woodstock-components.classpath.2.X"/>
<copy-ear-war file="${libs.woodstock-components.classpath.libfile.1}" propname="included.lib.libs.woodstock-components.classpath.1.X"/>
<basename file="${libs.woodstock-theme-default.classpath}" property="included.lib.libs.woodstock-theme-default.classpath"/>
<copy-ear-war file="${libs.woodstock-theme-default.classpath}" propname="included.lib.libs.woodstock-theme-default.classpath.X"/>
<basename file="${file.reference.activation.jar}" property="included.lib.file.reference.activation.jar"/>
<copy-ear-war file="${file.reference.activation.jar}" propname="included.lib.file.reference.activation.jar.X"/>
<basename file="${file.reference.mail.jar}" property="included.lib.file.reference.mail.jar"/>
<copy-ear-war file="${file.reference.mail.jar}" propname="included.lib.file.reference.mail.jar.X"/>
<basename file="${file.reference.postgresql-8.0-315.jdbc3.jar}" property="included.lib.file.reference.postgresql-8.0-315.jdbc3.jar"/>
<copy-ear-war file="${file.reference.postgresql-8.0-315.jdbc3.jar}" propname="included.lib.file.reference.postgresql-8.0-315.jdbc3.jar.X"/>
<basename file="${file.reference.postgresql-8.1-407.jdbc3.jar}" property="included.lib.file.reference.postgresql-8.1-407.jdbc3.jar"/>
<copy-ear-war file="${file.reference.postgresql-8.1-407.jdbc3.jar}" propname="included.lib.file.reference.postgresql-8.1-407.jdbc3.jar.X"/>
<basename file="${file.reference.postgresql-8.2-506.jdbc4.jar}" property="included.lib.file.reference.postgresql-8.2-506.jdbc4.jar"/>
<copy-ear-war file="${file.reference.postgresql-8.2-506.jdbc4.jar}" propname="included.lib.file.reference.postgresql-8.2-506.jdbc4.jar.X"/>
<basename file="${file.reference.cayenne-server-3.0M2.jar}" property="included.lib.file.reference.cayenne-server-3.0M2.jar"/>
<copy-ear-war file="${file.reference.cayenne-server-3.0M2.jar}" propname="included.lib.file.reference.cayenne-server-3.0M2.jar.X"/>
<basename file="${file.reference.commons-collections-3.1.jar}" property="included.lib.file.reference.commons-collections-3.1.jar"/>
<copy-ear-war file="${file.reference.commons-collections-3.1.jar}" propname="included.lib.file.reference.commons-collections-3.1.jar.X"/>
<basename file="${file.reference.commons-lang-2.1.jar}" property="included.lib.file.reference.commons-lang-2.1.jar"/>
<copy-ear-war file="${file.reference.commons-lang-2.1.jar}" propname="included.lib.file.reference.commons-lang-2.1.jar.X"/>
<basename file="${file.reference.commons-logging-1.1.jar}" property="included.lib.file.reference.commons-logging-1.1.jar"/>
<copy-ear-war file="${file.reference.commons-logging-1.1.jar}" propname="included.lib.file.reference.commons-logging-1.1.jar.X"/>
<basename file="${file.reference.evolute.jar}" property="included.lib.file.reference.evolute.jar"/>
<copy-ear-war file="${file.reference.evolute.jar}" propname="included.lib.file.reference.evolute.jar.X"/>
<basename file="${file.reference.jcalendar-1.3.2.jar}" property="included.lib.file.reference.jcalendar-1.3.2.jar"/>
<copy-ear-war file="${file.reference.jcalendar-1.3.2.jar}" propname="included.lib.file.reference.jcalendar-1.3.2.jar.X"/>
<basename file="${file.reference.log4j-1.2.8.jar}" property="included.lib.file.reference.log4j-1.2.8.jar"/>
<copy-ear-war file="${file.reference.log4j-1.2.8.jar}" propname="included.lib.file.reference.log4j-1.2.8.jar.X"/>
<basename file="${file.reference.mail.jar-1}" property="included.lib.file.reference.mail.jar-1"/>
<copy-ear-war file="${file.reference.mail.jar-1}" propname="included.lib.file.reference.mail.jar-1.X"/>
<basename file="${file.reference.TableLayout.jar}" property="included.lib.file.reference.TableLayout.jar"/>
<copy-ear-war file="${file.reference.TableLayout.jar}" propname="included.lib.file.reference.TableLayout.jar.X"/>
<basename file="${file.reference.ashwood-1.1.jar}" property="included.lib.file.reference.ashwood-1.1.jar"/>
<copy-ear-war file="${file.reference.ashwood-1.1.jar}" propname="included.lib.file.reference.ashwood-1.1.jar.X"/>
<basename file="${file.reference.SIPRP.jar}" property="included.lib.file.reference.SIPRP.jar"/>
<copy-ear-war file="${file.reference.SIPRP.jar}" propname="included.lib.file.reference.SIPRP.jar.X"/>
<basename file="${file.reference.jdom.jar}" property="included.lib.file.reference.jdom.jar"/>
<copy-ear-war file="${file.reference.jdom.jar}" propname="included.lib.file.reference.jdom.jar.X"/>
<basename file="${file.reference.fop.jar}" property="included.lib.file.reference.fop.jar"/>
<copy-ear-war file="${file.reference.fop.jar}" propname="included.lib.file.reference.fop.jar.X"/>
<basename file="${file.reference.avalon-framework-4.2.0.jar}" property="included.lib.file.reference.avalon-framework-4.2.0.jar"/>
<copy-ear-war file="${file.reference.avalon-framework-4.2.0.jar}" propname="included.lib.file.reference.avalon-framework-4.2.0.jar.X"/>
<basename file="${file.reference.batik.jar}" property="included.lib.file.reference.batik.jar"/>
<copy-ear-war file="${file.reference.batik.jar}" propname="included.lib.file.reference.batik.jar.X"/>
<basename file="${file.reference.jai_imageio.jar}" property="included.lib.file.reference.jai_imageio.jar"/>
<copy-ear-war file="${file.reference.jai_imageio.jar}" propname="included.lib.file.reference.jai_imageio.jar.X"/>
<copy file="${libs.exceptionhandler-runtime.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${libs.jsf12.classpath}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.libs.jsf12.classpath" todir="${dist.ear.dir}"/>
<copyfiles files="${libs.jstl11.classpath}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.libs.jstl11.classpath" todir="${dist.ear.dir}"/>
<copyfiles files="${libs.jsf12-support.classpath}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.libs.jsf12-support.classpath" todir="${dist.ear.dir}"/>
<copyfiles files="${libs.woodstock-components.classpath}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.libs.woodstock-components.classpath" todir="${dist.ear.dir}"/>
<copyfiles files="${libs.woodstock-theme-default.classpath}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.libs.woodstock-theme-default.classpath" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.activation.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.activation.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.mail.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.mail.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.postgresql-8.0-315.jdbc3.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.postgresql-8.0-315.jdbc3.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.postgresql-8.1-407.jdbc3.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.postgresql-8.1-407.jdbc3.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.postgresql-8.2-506.jdbc4.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.postgresql-8.2-506.jdbc4.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.cayenne-server-3.0M2.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.cayenne-server-3.0M2.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.commons-collections-3.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.commons-collections-3.1.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.commons-lang-2.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.commons-lang-2.1.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.commons-logging-1.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.commons-logging-1.1.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.evolute.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.evolute.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.jcalendar-1.3.2.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.jcalendar-1.3.2.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.log4j-1.2.8.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.log4j-1.2.8.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.mail.jar-1}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.mail.jar-1" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.TableLayout.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.TableLayout.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.ashwood-1.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.ashwood-1.1.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.SIPRP.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.SIPRP.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.jdom.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.jdom.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.fop.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.fop.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.avalon-framework-4.2.0.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.avalon-framework-4.2.0.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.batik.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.batik.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.jai_imageio.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.jai_imageio.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${libs.exceptionhandler-runtime.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
<mkdir dir="${build.web.dir}/META-INF"/>
<manifest file="${build.web.dir}/META-INF/MANIFEST.MF" mode="update">
<attribute name="Class-Path" value="${included.lib.libs.jsf12.classpath.1.X} ${included.lib.libs.jsf12.classpath.2.X} ${included.lib.libs.jsf12.classpath.3.X} ${included.lib.libs.jsf12.classpath.4.X} ${included.lib.libs.jsf12.classpath.5.X} ${included.lib.libs.jsf12.classpath.6.X} ${included.lib.libs.jstl11.classpath.1.X} ${included.lib.libs.jstl11.classpath.2.X} ${included.lib.libs.jsf12-support.classpath.1.X} ${included.lib.libs.jsf12-support.classpath.2.X} ${included.lib.libs.jsf12-support.classpath.3.X} ${included.lib.libs.jsf12-support.classpath.4.X} ${included.lib.libs.woodstock-components.classpath.1.X} ${included.lib.libs.woodstock-components.classpath.2.X} ${included.lib.libs.woodstock-components.classpath.3.X} ${included.lib.libs.woodstock-components.classpath.4.X} ${included.lib.libs.woodstock-components.classpath.5.X} ${included.lib.libs.woodstock-theme-default.classpath} ${included.lib.file.reference.activation.jar} ${included.lib.file.reference.mail.jar} ${included.lib.file.reference.postgresql-8.0-315.jdbc3.jar} ${included.lib.file.reference.postgresql-8.1-407.jdbc3.jar} ${included.lib.file.reference.postgresql-8.2-506.jdbc4.jar} ${included.lib.file.reference.cayenne-server-3.0M2.jar} ${included.lib.file.reference.commons-collections-3.1.jar} ${included.lib.file.reference.commons-lang-2.1.jar} ${included.lib.file.reference.commons-logging-1.1.jar} ${included.lib.file.reference.evolute.jar} ${included.lib.file.reference.jcalendar-1.3.2.jar} ${included.lib.file.reference.log4j-1.2.8.jar} ${included.lib.file.reference.mail.jar-1} ${included.lib.file.reference.TableLayout.jar} ${included.lib.file.reference.ashwood-1.1.jar} ${included.lib.file.reference.SIPRP.jar} ${included.lib.file.reference.jdom.jar} ${included.lib.file.reference.fop.jar} ${included.lib.file.reference.avalon-framework-4.2.0.jar} ${included.lib.file.reference.batik.jar} ${included.lib.file.reference.jai_imageio.jar} "/>
<attribute name="Class-Path" value="${manifest.libs.jsf12.classpath} ${manifest.libs.jstl11.classpath} ${manifest.libs.jsf12-support.classpath} ${manifest.libs.woodstock-components.classpath} ${manifest.libs.woodstock-theme-default.classpath} ${manifest.file.reference.activation.jar} ${manifest.file.reference.mail.jar} ${manifest.file.reference.postgresql-8.0-315.jdbc3.jar} ${manifest.file.reference.postgresql-8.1-407.jdbc3.jar} ${manifest.file.reference.postgresql-8.2-506.jdbc4.jar} ${manifest.file.reference.cayenne-server-3.0M2.jar} ${manifest.file.reference.commons-collections-3.1.jar} ${manifest.file.reference.commons-lang-2.1.jar} ${manifest.file.reference.commons-logging-1.1.jar} ${manifest.file.reference.evolute.jar} ${manifest.file.reference.jcalendar-1.3.2.jar} ${manifest.file.reference.log4j-1.2.8.jar} ${manifest.file.reference.mail.jar-1} ${manifest.file.reference.TableLayout.jar} ${manifest.file.reference.ashwood-1.1.jar} ${manifest.file.reference.SIPRP.jar} ${manifest.file.reference.jdom.jar} ${manifest.file.reference.fop.jar} ${manifest.file.reference.avalon-framework-4.2.0.jar} ${manifest.file.reference.batik.jar} ${manifest.file.reference.jai_imageio.jar} "/>
</manifest>
<delete dir="${dist.ear.dir}/temp"/>
</target>
<target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir">
<copy file="${libs.jsf12.classpath.libfile.6}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.jsf12.classpath.libfile.5}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.jsf12.classpath.libfile.4}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.jsf12.classpath.libfile.3}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.jsf12.classpath.libfile.2}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.jsf12.classpath.libfile.1}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.jstl11.classpath.libfile.2}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.jstl11.classpath.libfile.1}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.jsf12-support.classpath.libfile.4}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.jsf12-support.classpath.libfile.3}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.jsf12-support.classpath.libfile.2}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.jsf12-support.classpath.libfile.1}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.woodstock-components.classpath.libfile.5}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.woodstock-components.classpath.libfile.4}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.woodstock-components.classpath.libfile.3}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.woodstock-components.classpath.libfile.2}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.woodstock-components.classpath.libfile.1}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.woodstock-theme-default.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.activation.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.mail.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.postgresql-8.0-315.jdbc3.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.postgresql-8.1-407.jdbc3.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.postgresql-8.2-506.jdbc4.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.cayenne-server-3.0M2.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.commons-collections-3.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.commons-lang-2.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.commons-logging-1.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.evolute.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.jcalendar-1.3.2.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.log4j-1.2.8.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.mail.jar-1}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.TableLayout.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.ashwood-1.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.SIPRP.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.jdom.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.fop.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.avalon-framework-4.2.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.batik.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${file.reference.jai_imageio.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copy file="${libs.exceptionhandler-runtime.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${libs.jsf12.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${libs.jstl11.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${libs.jsf12-support.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${libs.woodstock-components.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${libs.woodstock-theme-default.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.activation.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.mail.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.postgresql-8.0-315.jdbc3.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.postgresql-8.1-407.jdbc3.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.postgresql-8.2-506.jdbc4.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.cayenne-server-3.0M2.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-collections-3.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-lang-2.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-logging-1.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.evolute.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.jcalendar-1.3.2.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.log4j-1.2.8.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.mail.jar-1}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.TableLayout.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.ashwood-1.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.SIPRP.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.jdom.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.fop.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.avalon-framework-4.2.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.batik.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.jai_imageio.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${libs.exceptionhandler-runtime.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
</target>
<target depends="init,compile,compile-jsps,-pre-dist,library-inclusion-in-manifest" name="do-ear-dist">
<dirname file="${dist.ear.war}" property="dist.jar.dir"/>
@ -652,7 +575,7 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,compile,-pre-dist,do-dist,-post-dist" description="Build distribution (WAR)." name="dist"/>
<target depends="init,compile,-pre-dist,do-ear-dist,-post-dist" description="Build distribution (WAR) to be packaged into an EAR." name="dist-ear"/>
<target depends="init,-init-cos,compile,-pre-dist,do-ear-dist,-post-dist" description="Build distribution (WAR) to be packaged into an EAR." name="dist-ear"/>
<!--
EXECUTION SECTION
-->
@ -676,7 +599,7 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
<target name="-run-deploy-am">
<!-- Task to deploy to the Access Manager runtime. -->
</target>
<target depends="init,compile,compile-jsps,-do-compile-single-jsp,-pre-dist,-do-tmp-dist-with-manifest,-do-tmp-dist-without-manifest,-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 depends="init,-init-cos,compile,compile-jsps,-do-compile-single-jsp,-pre-dist,-do-tmp-dist-with-manifest,-do-tmp-dist-without-manifest,-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">
<nbjpdaappreloaded/>
</target>
<target if="netbeans.home" name="-run-deploy-nb">
@ -756,7 +679,7 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
<arg line="${browser.args} ${browse.url}"/>
</exec>
</target>
<target depends="init,compile-single" name="run-main">
<target depends="init,-init-cos,compile-single" name="run-main">
<fail unless="run.class">Must select one file in the IDE or set run.class</fail>
<webproject1:java classname="${run.class}"/>
</target>
@ -772,10 +695,10 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
<target if="do.debug.server" name="connect-debugger" unless="is.debugged">
<nbjpdaconnect address="${jpda.address}" host="${jpda.host}" name="${name}" transport="${jpda.transport}">
<classpath>
<path path="${debug.classpath}:${j2ee.platform.classpath}:${ws.debug.classpaths}"/>
<path path="${debug.classpath}:${j2ee.platform.classpath}"/>
</classpath>
<sourcepath>
<path path="${web.docbase.dir}:${ws.web.docbase.dirs}"/>
<path path="${web.docbase.dir}"/>
</sourcepath>
</nbjpdaconnect>
</target>
@ -811,14 +734,12 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
<classpath>
<path path="${javac.classpath}:${j2ee.platform.classpath}"/>
</classpath>
<sourcepath>
<pathelement location="${src.src.dir}"/>
<pathelement location="${src.dir}"/>
</sourcepath>
<packageset dir="${src.src.dir}" includes="*/**"/>
<packageset dir="${src.dir}" includes="*/**"/>
<fileset dir="${src.src.dir}" includes="*.java"/>
<fileset dir="${src.dir}" includes="*.java"/>
<fileset dir="${src.src.dir}" excludes="${excludes}" includes="${includes}">
<filename name="**/*.java"/>
</fileset>
<fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
<filename name="**/*.java"/>
</fileset>
</javadoc>
</target>
<target depends="init,javadoc-build" if="netbeans.home" name="javadoc-browse" unless="no.javadoc.preview">
@ -839,7 +760,7 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test" if="have.tests" name="-do-compile-test">
<webproject2:javac classpath="${javac.test.classpath}:${j2ee.platform.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
<copy todir="${build.test.classes.dir}">
<fileset dir="${test.src.dir}" excludes="**/*.java"/>
<fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
</copy>
</target>
<target name="-post-compile-test">
@ -853,13 +774,9 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
</target>
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
<webproject2:javac classpath="${javac.test.classpath}:${j2ee.platform.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}">
<customize>
<patternset includes="${javac.includes}"/>
</customize>
</webproject2:javac>
<webproject2:javac classpath="${javac.test.classpath}:${j2ee.platform.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" srcdir="${test.src.dir}"/>
<copy todir="${build.test.classes.dir}">
<fileset dir="${test.src.dir}" excludes="**/*.java"/>
<fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
</copy>
</target>
<target name="-post-compile-test-single">
@ -875,7 +792,7 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
<mkdir dir="${build.test.results.dir}"/>
</target>
<target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
<webproject2:junit/>
<webproject2:junit testincludes="**/*Test.java"/>
</target>
<target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
<fail if="tests.failed">Some tests failed; see details above.</fail>
@ -888,7 +805,7 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
</target>
<target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
<fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
<webproject2:junit includes="${test.includes}"/>
<webproject2:junit excludes="" includes="${test.includes}"/>
</target>
<target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
<fail if="tests.failed">Some tests failed; see details above.</fail>
@ -941,10 +858,13 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
<echo message="Warning: unable to delete some files in ${build.web.dir}/WEB-INF/lib - they are probably locked by the J2EE server. "/>
<echo level="info" message="To delete all files undeploy the module from Server Registry in Runtime tab and then use Clean again."/>
</target>
<target depends="init" if="netbeans.home" name="undeploy-clean">
<nbundeploy failOnError="false" startServer="false"/>
</target>
<target name="-post-clean">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,deps-clean,do-clean,check-clean,-post-clean" description="Clean build products." name="clean"/>
<target depends="init,undeploy-clean,deps-clean,do-clean,check-clean,-post-clean" description="Clean build products." name="clean"/>
<target depends="clean" description="Clean build products." name="clean-ear"/>
</project>

@ -1,8 +1,8 @@
build.xml.data.CRC32=78944a2b
build.xml.script.CRC32=fa3993b7
build.xml.stylesheet.CRC32=cfd7ba16
build.xml.script.CRC32=50b8b881
build.xml.stylesheet.CRC32=c0ebde35
# 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=78944a2b
nbproject/build-impl.xml.script.CRC32=5dc756a4
nbproject/build-impl.xml.stylesheet.CRC32=8926891b
nbproject/build-impl.xml.script.CRC32=20e88eee
nbproject/build-impl.xml.stylesheet.CRC32=174458fc

@ -1,24 +1,7 @@
deploy.ant.properties.file=/home/lluis/.netbeans/6.1/tomcat60.properties
deploy.ant.properties.file=/home/lluis/.netbeans/6.5/tomcat60.properties
j2ee.platform.classpath=/usr/local/apache-tomcat-6.0.16/lib/jasper.jar:/usr/local/apache-tomcat-6.0.16/lib/tomcat-i18n-ja.jar:/usr/local/apache-tomcat-6.0.16/lib/catalina.jar:/usr/local/apache-tomcat-6.0.16/lib/catalina-ant.jar:/usr/local/apache-tomcat-6.0.16/lib/tomcat-coyote.jar:/usr/local/apache-tomcat-6.0.16/lib/servlet-api.jar:/usr/local/apache-tomcat-6.0.16/lib/jsp-api.jar:/usr/local/apache-tomcat-6.0.16/lib/tomcat-i18n-es.jar:/usr/local/apache-tomcat-6.0.16/lib/jasper-el.jar:/usr/local/apache-tomcat-6.0.16/lib/annotations-api.jar:/usr/local/apache-tomcat-6.0.16/lib/catalina-ha.jar:/usr/local/apache-tomcat-6.0.16/lib/catalina-tribes.jar:/usr/local/apache-tomcat-6.0.16/lib/el-api.jar:/usr/local/apache-tomcat-6.0.16/lib/tomcat-i18n-fr.jar:/usr/local/apache-tomcat-6.0.16/lib/tomcat-dbcp.jar:/usr/local/apache-tomcat-6.0.16/bin/tomcat-juli.jar
j2ee.server.instance=tomcat60:home=/usr/local/apache-tomcat-6.0.16:base=apache-tomcat-6.0.16_base
javac.debug=true
javadoc.preview=true
jaxws.endorsed.dir=/usr/local/netbeans-6.1/java2/modules/ext/jaxws21/api
libs.jsf12-support.classpath.libfile.1=/usr/local/netbeans-6.1/visualweb2/modules/ext/jsfcl.jar
libs.jsf12-support.classpath.libfile.2=/usr/local/netbeans-6.1/visualweb2/modules/ext/appbase.jar
libs.jsf12-support.classpath.libfile.3=/home/lluis/.netbeans/6.1/modules/ext/dataprovider.jar
libs.jsf12-support.classpath.libfile.4=/home/lluis/.netbeans/6.1/modules/ext/sqlx.jar
libs.jsf12.classpath.libfile.1=/usr/local/netbeans-6.1/enterprise5/modules/ext/jsf-1_2/commons-beanutils.jar
libs.jsf12.classpath.libfile.2=/usr/local/netbeans-6.1/enterprise5/modules/ext/jsf-1_2/commons-collections.jar
libs.jsf12.classpath.libfile.3=/usr/local/netbeans-6.1/enterprise5/modules/ext/jsf-1_2/commons-digester.jar
libs.jsf12.classpath.libfile.4=/usr/local/netbeans-6.1/enterprise5/modules/ext/jsf-1_2/commons-logging.jar
libs.jsf12.classpath.libfile.5=/usr/local/netbeans-6.1/enterprise5/modules/ext/jsf-1_2/jsf-api.jar
libs.jsf12.classpath.libfile.6=/usr/local/netbeans-6.1/enterprise5/modules/ext/jsf-1_2/jsf-impl.jar
libs.jstl11.classpath.libfile.1=/usr/local/netbeans-6.1/enterprise5/modules/ext/standard.jar
libs.jstl11.classpath.libfile.2=/usr/local/netbeans-6.1/enterprise5/modules/ext/jstl.jar
libs.woodstock-components.classpath.libfile.1=/usr/local/netbeans-6.1/visualweb2/modules/ext/webui-jsf.jar
libs.woodstock-components.classpath.libfile.2=/usr/local/netbeans-6.1/enterprise5/modules/ext/commons-fileupload-1.0.jar
libs.woodstock-components.classpath.libfile.3=/usr/local/netbeans-6.1/visualweb2/modules/ext/json-2.jar
libs.woodstock-components.classpath.libfile.4=/usr/local/netbeans-6.1/visualweb2/modules/ext/jsf-extensions-common-0.1.jar
libs.woodstock-components.classpath.libfile.5=/usr/local/netbeans-6.1/visualweb2/modules/ext/jsf-extensions-dynamic-faces-0.1.jar
user.properties.file=/home/lluis/.netbeans/6.1/build.properties
jaxws.endorsed.dir=/usr/local/netbeans-6.5/java2/modules/ext/jaxws21/api:/usr/local/netbeans-6.5/ide10/modules/ext/jaxb/api
user.properties.file=/home/lluis/.netbeans/6.5/build.properties

@ -19,6 +19,7 @@ dist.dir=dist
dist.ear.war=${dist.dir}/${war.ear.name}
dist.javadoc.dir=${dist.dir}/javadoc
dist.war=${dist.dir}/${war.name}
excludes=
file.reference.activation.jar=jars/activation.jar
file.reference.ashwood-1.1.jar=../common/lib/ashwood-1.1.jar
file.reference.avalon-framework-4.2.0.jar=lib/avalon-framework-4.2.0.jar
@ -41,6 +42,7 @@ file.reference.postgresql-8.1-407.jdbc3.jar=jars/postgresql-8.1-407.jdbc3.jar
file.reference.postgresql-8.2-506.jdbc4.jar=jars/postgresql-8.2-506.jdbc4.jar
file.reference.SIPRP.jar=lib/SIPRP.jar
file.reference.TableLayout.jar=../common/lib/TableLayout.jar
includes=**
j2ee.platform=1.5
j2ee.server.type=Tomcat60
jar.compress=false
@ -96,6 +98,7 @@ javadoc.version=false
javadoc.windowtitle=
jspcompilation.classpath=${jspc.classpath}:${javac.classpath}
lib.dir=${web.docbase.dir}/WEB-INF/lib
persistence.xml.dir=${conf.dir}
platform.active=default_platform
resource.dir=setup
run.test.classpath=\

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<driver project-version="3.0" class="org.postgresql.Driver">
<!-- <url value="jdbc:postgresql://storage:5432/siprp_local"/> -->
<url value="jdbc:postgresql://localhost:5436/siprp_local_3"/>
<url value="jdbc:postgresql://localhost:5436/siprp_local_3"/>
<connectionPool min="1" max="1"/>
<login userName="postgres" password=""/>
</driver>

@ -23,8 +23,9 @@ import javax.servlet.http.HttpSession;
public class Dblocal {
//String connectionURL = "jdbc:postgresql://storage/siprp_local"; //testes
//String connectionURL = "jdbc:postgresql://storage/siprp_local_3"; //testes local_3
//String connectionURL = "jdbc:postgresql://storage/siprp_local_3"; //testes local_3
String connectionURL = "jdbc:postgresql://localhost:5436/siprp_local_3";
String User = "postgres";

@ -39,7 +39,7 @@ public class Global {
public static final String[] FASES_TEXTO = new String[]{"SIPRP(Emissão)", "Segurança Auchan(Preenchimento)", "Director de loja(Validação)", "DNS(Parecer)", "SIPRP(Verificação/Conclusão)", "Concluído"};
//public static final String ANALISE_ACIDENTES_URL = "http://localhost:8084/AnaliseAcidentesTrabalho/faces/"; //testes
//public static final String ANALISE_ACIDENTES_URL = "http://192.168.111.24:8084/AnaliseAcidentesTrabalho/faces/"; //testes portatil
//public static final String ANALISE_ACIDENTES_URL = "http://192.168.111.24:8084/AnaliseAcidentesTrabalho/faces/"; //testes portatil
public static final String ANALISE_ACIDENTES_URL = "https://www.siprp.pt/AnaliseAcidentesTrabalho/faces/"; //real

@ -454,6 +454,7 @@ FacesContext context = FacesContext.getCurrentInstance();
PlanosSeguimentoDataProvider provider = (PlanosSeguimentoDataProvider) tableRowGroup2.getSourceData();
ArrayList list = (ArrayList) provider.getList();
PlanoActuacao p = (PlanoActuacao)list.get(k);
return p;
}

@ -228,15 +228,17 @@ public class ViewPlano extends AbstractPageBean {
gridAreaContainer = new HtmlPanelGrid();
gridAreaContainer.setId("area_container" + i);
////gridAreaContainer.setStyle("border: solid 1px #000000; width: 100%;");
gridAreaContainer.setStyleClass("hidden");
//gridAreaContainer.setStyleClass("visible");
gridAreaContainer.setColumns(1);
gridAreaContainer.setColumnClasses("gridColCenter");
gridAreaContainer.setWidth("100%");
gridAreaContainer.setColumnClasses("gridColLeft");
gridAreaContainer.setWidth("100%");
st = new StaticText();
st.setEscape(false);
st.setText("&nbsp;");
gridAreaContainer.getChildren().add(st);
// st = new StaticText();
// st.setEscape(false);
// st.setText("AAAAAAAAA");
// gridAreaContainer.getChildren().add(st);
gridArea.getChildren().add(gridAreaContainer);
showRiscos(area.getRiscos());
@ -249,13 +251,17 @@ public class ViewPlano extends AbstractPageBean {
{
HtmlPanelGrid grd = new HtmlPanelGrid();
grd.setColumns(1);
grd.setColumnClasses("gridColLeft");
//grd.setStyle("border: solid 1px #0000FF; display: inline; width: 100%");
grd.setStyle("display: block; width: 100%");
grd.setWidth("100%");
//grd.setStyleClass("centerBlock");
//gridArea.getChildren().add(grd);
gridAreaContainer.getChildren().add(grd);
gridRisco = new HtmlPanelGrid();
gridRisco.setStyleClass("centerBlock");
//gridRisco.setStyleClass("centerBlock");
gridRisco.setStyle("display: block; width: 98%");
gridRisco.setWidth("98%");
gridRisco.setColumns(1);
gridRisco.setColumnClasses("gridColLeft");
@ -284,11 +290,13 @@ public class ViewPlano extends AbstractPageBean {
grd.setColumns(1);
grd.setWidth("100%");
grd.setStyleClass("centerBlock");
grd.setStyle("display: block");
//gridRisco.getChildren().add(grd);
gridValor = new HtmlPanelGrid();
gridRisco.getChildren().add(gridValor);
gridValor.setStyleClass("centerBlock");
//gridValor.setStyleClass("centerBlock");
gridValor.setStyle("display: block");
gridValor.setWidth("100%");
gridValor.setColumns(1);
gridValor.setColumnClasses("gridColLeft");
@ -317,10 +325,11 @@ public class ViewPlano extends AbstractPageBean {
grd = new HtmlPanelGrid();
grd.setColumns(1);
grd.setWidth("100%");
grd.setStyleClass("centerBlock");
//grd.setStyleClass("centerBlock");
gridValor.getChildren().add(grd);
HtmlPanelGrid gridParecer = new HtmlPanelGrid();
gridParecer.setStyleClass("centerBlock");
gridParecer.setStyleClass("centerBlock");
gridParecer.setStyle("display: block");
gridParecer.setWidth("98%");
gridParecer.setColumns(1);
gridParecer.setColumnClasses("gridColLeft");
@ -463,12 +472,12 @@ public class ViewPlano extends AbstractPageBean {
HtmlPanelGrid grd = new HtmlPanelGrid();
grd.setColumns(1);
grd.setWidth("100%");
grd.setStyleClass("centerBlock");
//grd.setStyleClass("centerBlock");
//gridRisco.getChildren().add(grd);
gridValor = new HtmlPanelGrid();
gridRisco.getChildren().add(gridValor);
gridValor.setStyleClass("centerBlock");
////gridValor.setStyleClass("centerBlock");
gridValor.setWidth("100%");
gridValor.setColumns(1);
gridValor.setColumnClasses("gridColLeft");
@ -497,7 +506,7 @@ public class ViewPlano extends AbstractPageBean {
grd = new HtmlPanelGrid();
grd.setColumns(1);
grd.setWidth("100%");
grd.setStyleClass("centerBlock");
////grd.setStyleClass("centerBlock");
gridValor.getChildren().add(grd);
HtmlPanelGrid gridParecer = new HtmlPanelGrid();
gridParecer.setStyleClass("centerBlock");
@ -645,11 +654,13 @@ public class ViewPlano extends AbstractPageBean {
HtmlPanelGrid grd = new HtmlPanelGrid();
grd.setColumns(1);
grd.setWidth("100%");
grd.setStyleClass("centerBlock");
////grd.setStyleClass("centerBlock");
grd.setStyle("display: block");
gridValor.getChildren().add(grd);
gridMedida = new HtmlPanelGrid();
gridMedida.setStyleClass("centerBlock");
////gridMedida.setStyleClass("centerBlock");
gridMedida.setStyle("display: block");
gridMedida.setWidth("98%");
gridMedida.setColumns(1);
gridMedida.setColumnClasses("gridColLeft");
@ -676,12 +687,14 @@ public class ViewPlano extends AbstractPageBean {
{
HtmlPanelGrid grd = new HtmlPanelGrid();
grd.setColumns(1);
grd.setStyle("display: block");
grd.setWidth("100%");
grd.setStyleClass("centerBlock");
////grd.setStyleClass("centerBlock");
gridMedida.getChildren().add(grd);
gridPosto = new HtmlPanelGrid();
gridPosto.setStyleClass("centerBlock");
////gridPosto.setStyleClass("centerBlock");
gridPosto.setStyle("display: block");
gridPosto.setWidth("98%");
gridPosto.setColumns(1);
gridPosto.setColumnClasses("gridColLeft");

@ -75,7 +75,7 @@
<webuijsf:form id="form1">
<webuijsf:staticText escape="false" id="staticText1" style="left: 216px; top: 240px; position: absolute" text="&amp;nbsp;"/>
<webuijsf:hyperlink binding="#{Dummy.hyperlink1}" id="hyperlink1" style="left: 744px; top: 216px; position: absolute" text="Hyperlink"/>
<h:panelGrid columns="1" id="gridPanel1" style="height: 24px; left: 96px; top: 48px; position: absolute" width="624">
<h:panelGrid columns="1" id="gridPanel1" style="height: 24px; left: 96px; top: 48px; position: relative; width: 100%">
<webuijsf:staticText id="lnkArea1" onClick="expand(this);" onMouseOut="this.style.textDecoration = &quot;none&quot;"
onMouseOver="this.style.textDecoration = &quot;underline&quot;" styleClass="fakeLink" text="Area aaaa"/>
<h:panelGrid id="gridContainer1" style="height: 24px" styleClass="hidden" width="480">

@ -150,12 +150,12 @@ body {background-color: #f8f8f0;}
.visible {
/* visibility: visible; */
display : inline;
display : block;
}
.hidden {
/* visibility: hidden; */
display : none;
display : none;
}
.fakeLink{

Loading…
Cancel
Save