From 470d8c3c3fd3750b2b13c78f64dd32b2ffec2c38 Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 19 Jan 2011 21:01:59 -0300 Subject: [PATCH] Initial commit --- .classpath | 10 ++++++ .gitignore | 1 + .project | 23 ++++++++++++ .settings/org.eclipse.core.resources.prefs | 3 ++ .settings/org.eclipse.core.runtime.prefs | 3 ++ .settings/org.eclipse.jdt.core.prefs | 13 +++++++ .settings/org.eclipse.jdt.ui.prefs | 55 +++++++++++++++++++++++++++++ .settings/org.maven.ide.eclipse.prefs | 8 +++++ pom.xml | 37 +++++++++++++++++++ src/main/java/facafestas/Item.java | 8 +++++ src/main/resources/META-INF/persistence.xml | 12 +++++++ 11 files changed, 173 insertions(+) create mode 100644 .classpath create mode 100644 .gitignore create mode 100644 .project create mode 100644 .settings/org.eclipse.core.resources.prefs create mode 100644 .settings/org.eclipse.core.runtime.prefs create mode 100644 .settings/org.eclipse.jdt.core.prefs create mode 100644 .settings/org.eclipse.jdt.ui.prefs create mode 100644 .settings/org.maven.ide.eclipse.prefs create mode 100644 pom.xml create mode 100644 src/main/java/facafestas/Item.java create mode 100644 src/main/resources/META-INF/persistence.xml diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..845a6b5 --- /dev/null +++ b/.classpath @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/.project b/.project new file mode 100644 index 0000000..76bd7d3 --- /dev/null +++ b/.project @@ -0,0 +1,23 @@ + + + facafestas + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.maven.ide.eclipse.maven2Builder + + + + + + org.eclipse.jdt.core.javanature + org.maven.ide.eclipse.maven2Nature + + diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..e0f7e79 --- /dev/null +++ b/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,3 @@ +#Wed Jan 19 19:56:21 GMT-03:00 2011 +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/.settings/org.eclipse.core.runtime.prefs b/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000..a6d8adc --- /dev/null +++ b/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,3 @@ +#Wed Jan 19 19:56:21 GMT-03:00 2011 +eclipse.preferences.version=1 +line.separator=\n diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..d9bf56b --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,13 @@ +#Wed Jan 19 19:59:43 GMT-03:00 2011 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/.settings/org.eclipse.jdt.ui.prefs b/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 0000000..d7019da --- /dev/null +++ b/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,55 @@ +#Wed Jan 19 20:00:21 GMT-03:00 2011 +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +sp_cleanup.add_default_serial_version_id=true +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=true +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=true +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=false +sp_cleanup.format_source_code=false +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=true +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=true +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=true +sp_cleanup.on_save_use_additional_actions=false +sp_cleanup.organize_imports=true +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=true +sp_cleanup.remove_trailing_whitespaces=false +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=false +sp_cleanup.remove_unused_imports=false +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=true +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=true +sp_cleanup.remove_unused_private_types=true +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true diff --git a/.settings/org.maven.ide.eclipse.prefs b/.settings/org.maven.ide.eclipse.prefs new file mode 100644 index 0000000..57b6267 --- /dev/null +++ b/.settings/org.maven.ide.eclipse.prefs @@ -0,0 +1,8 @@ +#Wed Jan 19 19:54:01 GMT-03:00 2011 +activeProfiles= +eclipse.preferences.version=1 +fullBuildGoals=process-test-resources +resolveWorkspaceProjects=true +resourceFilterGoals=process-resources resources\:testResources +skipCompilerPlugin=true +version=1 diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..21d8a09 --- /dev/null +++ b/pom.xml @@ -0,0 +1,37 @@ + + 4.0.0 + facafestas + facafestas + 0.0.1-SNAPSHOT + war + + + org.apache.tomcat + tomcat-jsp-api + 7.0.5 + jar + provided + + + org.apache.tomcat + tomcat-servlet-api + 7.0.5 + jar + provided + + + org.hibernate + hibernate-entitymanager + 3.4.0.GA + jar + compile + + + org.hsqldb + hsqldb + 2.0.0 + jar + compile + + + \ No newline at end of file diff --git a/src/main/java/facafestas/Item.java b/src/main/java/facafestas/Item.java new file mode 100644 index 0000000..3202b03 --- /dev/null +++ b/src/main/java/facafestas/Item.java @@ -0,0 +1,8 @@ +package facafestas; + +import javax.persistence.Entity; + +@Entity +public class Item { + +} diff --git a/src/main/resources/META-INF/persistence.xml b/src/main/resources/META-INF/persistence.xml new file mode 100644 index 0000000..1ea7261 --- /dev/null +++ b/src/main/resources/META-INF/persistence.xml @@ -0,0 +1,12 @@ + + + + org.hibernate.ejb.HibernatePersistence + + + + + + + + \ No newline at end of file -- 2.11.4.GIT