diff --git a/trunk/AnaliseAcidentesTrabalho/build.xml b/trunk/AnaliseAcidentesTrabalho/build.xml index eb87f66d..877e9124 100644 --- a/trunk/AnaliseAcidentesTrabalho/build.xml +++ b/trunk/AnaliseAcidentesTrabalho/build.xml @@ -2,6 +2,11 @@ + + + + + Builds, tests, and runs the project AnaliseAcidentesTrabalho. diff --git a/trunk/AnaliseAcidentesTrabalho/nbproject/build-impl.xml b/trunk/AnaliseAcidentesTrabalho/nbproject/build-impl.xml index 780cccbc..06777b36 100644 --- a/trunk/AnaliseAcidentesTrabalho/nbproject/build-impl.xml +++ b/trunk/AnaliseAcidentesTrabalho/nbproject/build-impl.xml @@ -76,21 +76,12 @@ - - - - - - - - - @@ -102,10 +93,7 @@ - - - - + @@ -119,7 +107,7 @@ - + @@ -161,12 +149,20 @@ + + + + + + + + @@ -207,10 +203,12 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f + + - + @@ -222,11 +220,15 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - + + + - + + + @@ -237,6 +239,7 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f + @@ -260,7 +263,7 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - + @@ -268,12 +271,12 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - + - + @@ -309,6 +312,12 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f + + + + + + @@ -319,7 +328,7 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - + @@ -334,38 +343,20 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +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 +<netbeans_installation>/java<version>/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 + + - + @@ -381,7 +372,7 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - + @@ -391,7 +382,7 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - + @@ -403,7 +394,7 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - + @@ -417,13 +408,9 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f Must select some files in the IDE or set javac.includes - - - - - + - + @@ -441,7 +428,8 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - + + @@ -459,7 +447,8 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - + + @@ -509,113 +498,58 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -629,7 +563,7 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - + @@ -653,7 +587,7 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - + @@ -733,7 +667,7 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - + Must select one file in the IDE or set run.class @@ -749,10 +683,10 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - + - + @@ -788,11 +722,9 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - - - - - + + + @@ -813,7 +745,7 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - + @@ -827,13 +759,9 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f Must select some files in the IDE or set javac.includes - - - - - + - + @@ -849,7 +777,7 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - + Some tests failed; see details above. @@ -862,7 +790,7 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f Must select some files in the IDE or set test.includes - + Some tests failed; see details above. @@ -915,10 +843,13 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f + + + - + diff --git a/trunk/AnaliseAcidentesTrabalho/nbproject/genfiles.properties b/trunk/AnaliseAcidentesTrabalho/nbproject/genfiles.properties index ab3002cc..814e6850 100644 --- a/trunk/AnaliseAcidentesTrabalho/nbproject/genfiles.properties +++ b/trunk/AnaliseAcidentesTrabalho/nbproject/genfiles.properties @@ -1,8 +1,8 @@ build.xml.data.CRC32=306dea99 -build.xml.script.CRC32=82e52d07 -build.xml.stylesheet.CRC32=cfd7ba16 +build.xml.script.CRC32=97b5d0ef +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=306dea99 -nbproject/build-impl.xml.script.CRC32=8bf3a1ef -nbproject/build-impl.xml.stylesheet.CRC32=8926891b +nbproject/build-impl.xml.script.CRC32=88678294 +nbproject/build-impl.xml.stylesheet.CRC32=174458fc diff --git a/trunk/AnaliseAcidentesTrabalho/nbproject/project.properties b/trunk/AnaliseAcidentesTrabalho/nbproject/project.properties index 3eca7146..00dcec9a 100644 --- a/trunk/AnaliseAcidentesTrabalho/nbproject/project.properties +++ b/trunk/AnaliseAcidentesTrabalho/nbproject/project.properties @@ -18,6 +18,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.avalon-framework-4.2.0.jar=lib/avalon-framework-4.2.0.jar file.reference.batik.jar=lib/batik.jar @@ -27,6 +28,7 @@ file.reference.iText-2.0.8.jar=lib/iText-2.0.8.jar file.reference.jdom.jar=lib/jdom.jar file.reference.mail.jar=jars/mail.jar file.reference.postgresql-8.2-506.jdbc4.jar=jars/postgresql-8.2-506.jdbc4.jar +includes=** j2ee.platform=1.4 j2ee.server.type=Tomcat60 jar.compress=false @@ -71,23 +73,10 @@ javadoc.version=false javadoc.windowtitle= jspcompilation.classpath=${jspc.classpath}:${javac.classpath} lib.dir=${web.docbase.dir}/WEB-INF/lib -libs.jsfsupport-designtime.classpath.libfile.1=/usr/local/netbeans-6.1/visualweb2/modules/ext/jsfcl.jar -libs.jsfsupport-designtime.classpath.libfile.2=/usr/local/netbeans-6.1/visualweb2/modules/ext/appbase.jar -libs.jsfsupport-designtime.classpath.libfile.3=/usr/local/netbeans-6.1/visualweb2/modules/ext/dataprovider.jar -libs.jsfsupport-designtime.classpath.libfile.4=/usr/local/netbeans-6.1/visualweb2/modules/ext/sqlx.jar -libs.jsfsupport-runtime.classpath.libfile.1=/usr/local/netbeans-6.1/visualweb2/modules/ext/jsfcl.jar -libs.jsfsupport-runtime.classpath.libfile.2=/usr/local/netbeans-6.1/visualweb2/modules/ext/appbase.jar -libs.jsfsupport-runtime.classpath.libfile.3=/usr/local/netbeans-6.1/visualweb2/modules/ext/dataprovider.jar -libs.jsfsupport-runtime.classpath.libfile.4=/usr/local/netbeans-6.1/visualweb2/modules/ext/sqlx.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 # Property libs.rowset-ri.classpath is set here just to make sharing of project simpler. # The library definition has always preference over this property. libs.rowset-ri.classpath=../../../../.netbeans/6.0/modules/ext/rowset-1.0.1.jar -libs.webui-designtime.classpath.libfile.1=/usr/local/netbeans-6.1/visualweb2/modules/ext/webui.jar -libs.webui-designtime.classpath.libfile.2=/usr/local/netbeans-6.1/enterprise5/modules/ext/commons-fileupload-1.0.jar -libs.webui-runtime.classpath.libfile.1=/usr/local/netbeans-6.1/visualweb2/modules/ext/webui.jar -libs.webui-runtime.classpath.libfile.2=/usr/local/netbeans-6.1/enterprise5/modules/ext/commons-fileupload-1.0.jar +persistence.xml.dir=${conf.dir} platform.active=default_platform resource.dir=setup run.test.classpath=\ diff --git a/trunk/AnaliseAcidentesTrabalho/src/java/global/Global.java b/trunk/AnaliseAcidentesTrabalho/src/java/global/Global.java index f068a420..23f39469 100755 --- a/trunk/AnaliseAcidentesTrabalho/src/java/global/Global.java +++ b/trunk/AnaliseAcidentesTrabalho/src/java/global/Global.java @@ -70,7 +70,7 @@ public class Global { //public static final String PLANOS_ACTUACAO_URL = "http://localhost:8084/PlanosActuacao/faces/ListaPlanos.jsp"; //testes - //public static final String PLANOS_ACTUACAO_URL = "http://192.168.111.24:8084/PlanosActuacao/faces/ListaPlanos.jsp"; //testes portatil + //public static final String PLANOS_ACTUACAO_URL = "http://192.168.111.24:8084/PlanosActuacao/faces/ListaPlanos.jsp"; //testes portatil public static final String PLANOS_ACTUACAO_URL = "https://www.siprp.pt/PlanosActuacao/faces/ListaPlanos.jsp"; //real public static final String LOGOS_FOLDER = "/resources/images"; diff --git a/trunk/AnaliseAcidentesTrabalho/web/Acesso.jsp b/trunk/AnaliseAcidentesTrabalho/web/Acesso.jsp index 0cdecad4..ecd0d608 100644 --- a/trunk/AnaliseAcidentesTrabalho/web/Acesso.jsp +++ b/trunk/AnaliseAcidentesTrabalho/web/Acesso.jsp @@ -11,6 +11,15 @@ + + diff --git a/trunk/AnaliseAcidentesTrabalho/web/AnaliseAcidenteTrabalho.jsp b/trunk/AnaliseAcidentesTrabalho/web/AnaliseAcidenteTrabalho.jsp index c87aa014..f03d59ff 100644 --- a/trunk/AnaliseAcidentesTrabalho/web/AnaliseAcidenteTrabalho.jsp +++ b/trunk/AnaliseAcidentesTrabalho/web/AnaliseAcidenteTrabalho.jsp @@ -117,6 +117,15 @@ } + +