Commit e46b057ea2d5d0ffb17a592a224f64bf8d26700e
1 parent
a59611cf
Exists in
master
Teste #3330: Campos Obrigatórios
git-svn-id: https://svn.bento.ifrs.edu.br/default/ASES/e-selo@9836 c2178572-b5ca-4887-91d2-9e3a90c7d55b
Showing
8 changed files
with
63 additions
and
91 deletions
Show diff stats
Desenvolvimento/Codificacao/e-Selo/.classpath
1 | -<?xml version="1.0" encoding="UTF-8"?> | |
2 | -<classpath> | |
3 | - <classpathentry kind="src" output="target/classes" path="src/main/java"> | |
4 | - <attributes> | |
5 | - <attribute name="optional" value="true"/> | |
6 | - <attribute name="maven.pomderived" value="true"/> | |
7 | - </attributes> | |
8 | - </classpathentry> | |
9 | - <classpathentry including="**/*.java" kind="src" path="src/main/resources"/> | |
10 | - <classpathentry kind="src" output="target/test-classes" path="src/test/java"> | |
11 | - <attributes> | |
12 | - <attribute name="optional" value="true"/> | |
13 | - <attribute name="maven.pomderived" value="true"/> | |
14 | - </attributes> | |
15 | - </classpathentry> | |
16 | - <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> | |
17 | - <attributes> | |
18 | - <attribute name="maven.pomderived" value="true"/> | |
19 | - <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/> | |
20 | - </attributes> | |
21 | - </classpathentry> | |
22 | - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"> | |
23 | - <attributes> | |
24 | - <attribute name="owner.project.facets" value="java"/> | |
25 | - </attributes> | |
26 | - </classpathentry> | |
27 | - <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v7.0 (2)"/> | |
28 | - <classpathentry kind="output" path="target/classes"/> | |
29 | -</classpath> | |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<classpath> | |
3 | + <classpathentry kind="src" output="target/classes" path="src/main/java"> | |
4 | + <attributes> | |
5 | + <attribute name="optional" value="true"/> | |
6 | + <attribute name="maven.pomderived" value="true"/> | |
7 | + </attributes> | |
8 | + </classpathentry> | |
9 | + <classpathentry including="**/*.java" kind="src" path="src/main/resources"/> | |
10 | + <classpathentry kind="src" output="target/test-classes" path="src/test/java"> | |
11 | + <attributes> | |
12 | + <attribute name="optional" value="true"/> | |
13 | + <attribute name="maven.pomderived" value="true"/> | |
14 | + </attributes> | |
15 | + </classpathentry> | |
16 | + <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> | |
17 | + <attributes> | |
18 | + <attribute name="maven.pomderived" value="true"/> | |
19 | + <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/> | |
20 | + </attributes> | |
21 | + </classpathentry> | |
22 | + <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v7.0"/> | |
23 | + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"> | |
24 | + <attributes> | |
25 | + <attribute name="maven.pomderived" value="true"/> | |
26 | + </attributes> | |
27 | + </classpathentry> | |
28 | + <classpathentry kind="output" path="target/classes"/> | |
29 | +</classpath> | ... | ... |
Desenvolvimento/Codificacao/e-Selo/.project
... | ... | @@ -26,6 +26,11 @@ |
26 | 26 | </arguments> |
27 | 27 | </buildCommand> |
28 | 28 | <buildCommand> |
29 | + <name>org.hibernate.eclipse.console.hibernateBuilder</name> | |
30 | + <arguments> | |
31 | + </arguments> | |
32 | + </buildCommand> | |
33 | + <buildCommand> | |
29 | 34 | <name>org.eclipse.m2e.core.maven2Builder</name> |
30 | 35 | <arguments> |
31 | 36 | </arguments> |
... | ... | @@ -38,5 +43,6 @@ |
38 | 43 | <nature>org.eclipse.wst.common.project.facet.core.nature</nature> |
39 | 44 | <nature>org.eclipse.jdt.core.javanature</nature> |
40 | 45 | <nature>org.eclipse.wst.jsdt.core.jsNature</nature> |
46 | + <nature>org.hibernate.eclipse.console.hibernateNature</nature> | |
41 | 47 | </natures> |
42 | 48 | </projectDescription> | ... | ... |
Desenvolvimento/Codificacao/e-Selo/.settings/org.eclipse.jdt.core.prefs
1 | 1 | eclipse.preferences.version=1 |
2 | 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
3 | -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 | |
4 | -org.eclipse.jdt.core.compiler.compliance=1.6 | |
3 | +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 | |
4 | +org.eclipse.jdt.core.compiler.compliance=1.7 | |
5 | 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
6 | 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
7 | 7 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning |
8 | -org.eclipse.jdt.core.compiler.source=1.6 | |
8 | +org.eclipse.jdt.core.compiler.source=1.7 | ... | ... |
Desenvolvimento/Codificacao/e-Selo/.settings/org.eclipse.wst.common.component
1 | -<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0"> | |
2 | - <wb-module deploy-name="e-Selo"> | |
3 | - <wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/> | |
4 | - <wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/> | |
5 | - <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/> | |
6 | - <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/> | |
7 | - <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/test/java"/> | |
8 | - <property name="java-output-path" value="/e-Selo/build/classes"/> | |
9 | - <property name="context-root" value="e-Selo"/> | |
10 | - </wb-module> | |
11 | -</project-modules> | |
1 | +<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0"> | |
2 | + <wb-module deploy-name="e-Selo"> | |
3 | + <wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/> | |
4 | + <wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/> | |
5 | + <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/> | |
6 | + <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/> | |
7 | + <property name="java-output-path" value="/e-Selo/build/classes"/> | |
8 | + <property name="context-root" value="eselo"/> | |
9 | + </wb-module> | |
10 | +</project-modules> | ... | ... |
Desenvolvimento/Codificacao/e-Selo/.settings/org.eclipse.wst.common.project.facet.core.xml
1 | -<?xml version="1.0" encoding="UTF-8"?> | |
2 | -<faceted-project> | |
3 | - <fixed facet="wst.jsdt.web"/> | |
4 | - <fixed facet="jst.web"/> | |
5 | - <fixed facet="java"/> | |
6 | - <installed facet="jst.web" version="3.0"/> | |
7 | - <installed facet="wst.jsdt.web" version="1.0"/> | |
8 | - <installed facet="jst.jaxrs" version="1.0"/> | |
9 | - <installed facet="java" version="1.6"/> | |
10 | -</faceted-project> | |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<faceted-project> | |
3 | + <fixed facet="wst.jsdt.web"/> | |
4 | + <fixed facet="jst.web"/> | |
5 | + <fixed facet="java"/> | |
6 | + <installed facet="jst.web" version="3.0"/> | |
7 | + <installed facet="wst.jsdt.web" version="1.0"/> | |
8 | + <installed facet="jst.jaxrs" version="1.0"/> | |
9 | + <installed facet="java" version="1.7"/> | |
10 | +</faceted-project> | ... | ... |
Desenvolvimento/Codificacao/e-Selo/pom.xml
... | ... | @@ -157,5 +157,10 @@ |
157 | 157 | <artifactId>poi</artifactId> |
158 | 158 | <version>3.10.1</version> |
159 | 159 | </dependency> |
160 | + <dependency> | |
161 | + <groupId>javax.transaction</groupId> | |
162 | + <artifactId>jta</artifactId> | |
163 | + <version>1.1</version> | |
164 | + </dependency> | |
160 | 165 | </dependencies> |
161 | 166 | </project> |
162 | 167 | \ No newline at end of file | ... | ... |
Desenvolvimento/Codificacao/e-Selo/target/classes/hibernate.cfg.xml
... | ... | @@ -1,38 +0,0 @@ |
1 | -<?xml version="1.0" encoding="UTF-8"?> | |
2 | - | |
3 | -<!DOCTYPE hibernate-configuration PUBLIC | |
4 | -"-//Hibernate/Hibernate Configuration DTD 3.0//EN" | |
5 | -"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> | |
6 | - | |
7 | -<hibernate-configuration> | |
8 | - <session-factory> | |
9 | - <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property> | |
10 | - <property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/eselo2</property> | |
11 | - <property name="hibernate.connection.driver_class">org.postgresql.Driver</property> | |
12 | - <property name="hibernate.connection.username">postgres</property> | |
13 | - <property name="hibernate.connection.password">postgres</property> | |
14 | - <property name="hibernate.connection.CharSet">utf8</property> | |
15 | - <property name="hibernate.connection.characterEncoding">utf8</property> | |
16 | - <property name="hibernate.connection.useUnicode">true</property> | |
17 | - | |
18 | - <property name="hibernate.hbm2ddl.auto">update</property> | |
19 | - <property name="hibernate.format_sql">true</property> | |
20 | - <property name="hibernate.show_sql">true</property> | |
21 | - <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property> | |
22 | - | |
23 | - <mapping class="br.com.eselo.model.Usuario" /> | |
24 | - <mapping class="br.com.eselo.model.Avaliacao" /> | |
25 | - <mapping class="br.com.eselo.model.ParametroCalculo" /> | |
26 | - <mapping class="br.com.eselo.model.Permissao" /> | |
27 | - <mapping class="br.com.eselo.model.Faixa" /> | |
28 | - <mapping class="br.com.eselo.model.Grupo" /> | |
29 | - <mapping class="br.com.eselo.model.ResultadoRecomendacao" /> | |
30 | - <mapping class="br.com.eselo.model.ResultadoCriterio" /> | |
31 | - <mapping class="br.com.eselo.model.Criterio" /> | |
32 | - <mapping class="br.com.eselo.model.Recomendacao" /> | |
33 | - <mapping class="br.com.eselo.model.TipoTeste" /> | |
34 | - <mapping class="br.com.eselo.model.Url" /> | |
35 | - <mapping class="br.com.eselo.model.ResultadoRecomendacao" /> | |
36 | - <mapping class="br.com.eselo.model.ResultadoCriterio" /> | |
37 | - </session-factory> | |
38 | -</hibernate-configuration> | |
39 | 0 | \ No newline at end of file |
Desenvolvimento/Codificacao/e-Selo/target/emag-checker-1.0.jar
No preview for this file type