[pal-cvs 2893] [637] added advertising portlet.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2007年 10月 18日 (木) 09:22:30 JST


Revision: 637
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=637
Author:   shinsuke
Date:     2007-10-18 09:22:30 +0900 (Thu, 18 Oct 2007)

Log Message:
-----------
added advertising portlet.

Added Paths:
-----------
    advertising/trunk/.classpath
    advertising/trunk/.project
    advertising/trunk/.settings/
    advertising/trunk/.settings/org.eclipse.jdt.core.prefs
    advertising/trunk/.settings/org.eclipse.jdt.ui.prefs
    advertising/trunk/pom.xml
    advertising/trunk/src/
    advertising/trunk/src/main/
    advertising/trunk/src/main/java/
    advertising/trunk/src/main/java/jp/
    advertising/trunk/src/main/java/jp/sf/
    advertising/trunk/src/main/java/jp/sf/pal/
    advertising/trunk/src/main/java/jp/sf/pal/advertising/
    advertising/trunk/src/main/java/jp/sf/pal/advertising/entity/
    advertising/trunk/src/main/java/jp/sf/pal/advertising/entity/Advertising.java
    advertising/trunk/src/main/java/jp/sf/pal/advertising/entity/AdvertisingList.java
    advertising/trunk/src/main/java/jp/sf/pal/advertising/portlet/
    advertising/trunk/src/main/java/jp/sf/pal/advertising/portlet/AdvertisingPortlet.java
    advertising/trunk/src/main/resources/
    advertising/trunk/src/main/resources/jp/
    advertising/trunk/src/main/resources/jp/sf/
    advertising/trunk/src/main/resources/jp/sf/pal/
    advertising/trunk/src/main/resources/jp/sf/pal/advertising/
    advertising/trunk/src/main/resources/jp/sf/pal/advertising/resources/
    advertising/trunk/src/main/resources/jp/sf/pal/advertising/resources/AdvertisingResources.properties
    advertising/trunk/src/main/resources/jp/sf/pal/advertising/resources/AdvertisingResources_ja.properties
    advertising/trunk/src/main/webapp/
    advertising/trunk/src/main/webapp/WEB-INF/
    advertising/trunk/src/main/webapp/WEB-INF/ads/
    advertising/trunk/src/main/webapp/WEB-INF/ads/default/
    advertising/trunk/src/main/webapp/WEB-INF/ads/test/
    advertising/trunk/src/main/webapp/WEB-INF/ads/test/test1.html
    advertising/trunk/src/main/webapp/WEB-INF/ads/test/test2.html
    advertising/trunk/src/main/webapp/WEB-INF/ads/test/test3.html
    advertising/trunk/src/main/webapp/WEB-INF/portlet.xml
    advertising/trunk/src/main/webapp/WEB-INF/web.xml


-------------- next part --------------
Added: advertising/trunk/.classpath
===================================================================
--- advertising/trunk/.classpath	2007-10-18 00:18:12 UTC (rev 636)
+++ advertising/trunk/.classpath	2007-10-18 00:22:30 UTC (rev 637)
@@ -0,0 +1,8 @@
+<classpath>
+  <classpathentry kind="src" path="src/main/java"/>
+  <classpathentry kind="src" path="src/main/resources"/>
+  <classpathentry kind="output" path="target/classes"/>
+  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+  <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar" sourcepath="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-sources.jar"/>
+  <classpathentry kind="var" path="M2_REPO/portlet-api/portlet-api/1.0/portlet-api-1.0.jar"/>
+</classpath>
\ No newline at end of file


Property changes on: advertising/trunk/.classpath
___________________________________________________________________
Name: svn:eol-style
   + native

Added: advertising/trunk/.project
===================================================================
--- advertising/trunk/.project	2007-10-18 00:18:12 UTC (rev 636)
+++ advertising/trunk/.project	2007-10-18 00:22:30 UTC (rev 637)
@@ -0,0 +1,14 @@
+<projectDescription>
+  <name>advertising</name>
+  <comment></comment>
+  <projects/>
+  <buildSpec>
+    <buildCommand>
+      <name>org.eclipse.jdt.core.javabuilder</name>
+      <arguments/>
+    </buildCommand>
+  </buildSpec>
+  <natures>
+    <nature>org.eclipse.jdt.core.javanature</nature>
+  </natures>
+</projectDescription>
\ No newline at end of file


Property changes on: advertising/trunk/.project
___________________________________________________________________
Name: svn:eol-style
   + native

Added: advertising/trunk/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- advertising/trunk/.settings/org.eclipse.jdt.core.prefs	2007-10-18 00:18:12 UTC (rev 636)
+++ advertising/trunk/.settings/org.eclipse.jdt.core.prefs	2007-10-18 00:22:30 UTC (rev 637)
@@ -0,0 +1,259 @@
+#Thu Oct 18 06:50:26 JST 2007
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
+org.eclipse.jdt.core.formatter.blank_lines_before_method=1
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.comment.format_html=true
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
+org.eclipse.jdt.core.formatter.tabulation.size=4
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
+org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
+org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.tabulation.char=space
+org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
+org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
+org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
+org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
+org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
+org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
+org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.blank_lines_before_field=1
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
+org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
+org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
+org.eclipse.jdt.core.formatter.comment.format_block_comments=false
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
+org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
+org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
+org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
+org.eclipse.jdt.core.formatter.lineSplit=80
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.blank_lines_before_package=0
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
+org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
+org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.comment.format_header=false
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
+eclipse.preferences.version=1
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
+org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
+org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
+org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=false
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
+org.eclipse.jdt.core.formatter.indentation.size=4
+org.eclipse.jdt.core.formatter.alignment_for_assignment=0
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.blank_lines_after_package=1
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.indent_empty_lines=false
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.comment.format_line_comments=false
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
+org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
+org.eclipse.jdt.core.formatter.compact_else_if=true
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.formatter.comment.format_source_code=true
+org.eclipse.jdt.core.formatter.comment.line_length=80
+org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
+org.eclipse.jdt.core.formatter.continuation_indentation=2
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert

Added: advertising/trunk/.settings/org.eclipse.jdt.ui.prefs
===================================================================
--- advertising/trunk/.settings/org.eclipse.jdt.ui.prefs	2007-10-18 00:18:12 UTC (rev 636)
+++ advertising/trunk/.settings/org.eclipse.jdt.ui.prefs	2007-10-18 00:22:30 UTC (rev 637)
@@ -0,0 +1,4 @@
+#Sat Oct 13 05:55:20 JST 2007
+eclipse.preferences.version=1
+formatter_profile=_Seasar
+formatter_settings_version=11

Added: advertising/trunk/pom.xml
===================================================================
--- advertising/trunk/pom.xml	2007-10-18 00:18:12 UTC (rev 636)
+++ advertising/trunk/pom.xml	2007-10-18 00:22:30 UTC (rev 637)
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>jp.sf.pal</groupId>
+  <artifactId>advertising</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>war</packaging>
+  <name>Advertising Portlet</name>
+  <description/>
+  <url>http://pal.sourceforge.jp/</url>
+  <inceptionYear>2005</inceptionYear>
+  <developers>
+    <developer>
+      <id>shinsuke</id>
+      <name>Shinsuke Sugaya</name>
+      <email>shinsuke_at_yahoo.co.jp</email>
+      <url>http://d.hatena.ne.jp/shinsuke_sugaya/</url>
+      <organization/>
+      <organizationUrl/>
+      <timezone>+9</timezone>
+    </developer>
+  </developers>
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  <scm>
+    <connection>scm:cvs:pserver:anony****@cvs*****:/cvsroot/pal:advertising</connection>
+    <developerConnection>scm:cvs:pserver:anony****@cvs*****:/cvsroot/pal:advertising</developerConnection>
+    <url>http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/pal/advertising</url>
+  </scm>
+  <organization>
+    <name>Portal Application Laboratory</name>
+    <url>http://pal.sourceforge.jp/</url>
+  </organization>
+  <build>
+    <finalName>advertising</finalName>
+    <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  <dependencies>
+    <dependency>
+      <groupId>portlet-api</groupId>
+      <artifactId>portlet-api</artifactId>
+      <version>1.0</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <version>1.0.4</version>
+    </dependency>
+  </dependencies>
+</project>


Property changes on: advertising/trunk/pom.xml
___________________________________________________________________
Name: svn:eol-style
   + native

Added: advertising/trunk/src/main/java/jp/sf/pal/advertising/entity/Advertising.java
===================================================================
--- advertising/trunk/src/main/java/jp/sf/pal/advertising/entity/Advertising.java	2007-10-18 00:18:12 UTC (rev 636)
+++ advertising/trunk/src/main/java/jp/sf/pal/advertising/entity/Advertising.java	2007-10-18 00:22:30 UTC (rev 637)
@@ -0,0 +1,101 @@
+/*
+ * Copyright 2005-2007 The Portal Application Laboratory.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package jp.sf.pal.advertising.entity;
+
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.io.Serializable;
+import java.io.UnsupportedEncodingException;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+public class Advertising implements Serializable {
+
+    /**
+     * 
+     */
+    private static final long serialVersionUID = -2388949077430190511L;
+
+    /**
+     * Logger for this class
+     */
+    private static final Log log = LogFactory.getLog(Advertising.class);
+
+    private File advertisingFile;
+
+    private String content;
+
+    public Advertising(File advertisingFile) {
+        if (advertisingFile == null || !advertisingFile.isFile()) {
+            throw new IllegalArgumentException("The target file is invalid: "
+                    + advertisingFile);
+        }
+
+        this.advertisingFile = advertisingFile;
+        this.content = null;
+    }
+
+    public String getContent() {
+        if (content == null) {
+            loadContent();
+        }
+        return content;
+    }
+
+    protected void loadContent() {
+        BufferedReader br = null;
+        try {
+            br = new BufferedReader(new InputStreamReader(new FileInputStream(
+                    advertisingFile), "UTF-8"));
+            StringBuilder sb = new StringBuilder();
+            String line;
+            while ((line = br.readLine()) != null) {
+                sb.append(line).append("\n");
+            }
+            content = sb.toString();
+        } catch (UnsupportedEncodingException e) {
+            if (log.isDebugEnabled()) {
+                log.debug("Could not load the content: " + advertisingFile, e);
+            }
+            content = "";
+        } catch (FileNotFoundException e) {
+            if (log.isDebugEnabled()) {
+                log.debug("Could not load the content: " + advertisingFile, e);
+            }
+            content = "";
+        } catch (IOException e) {
+            if (log.isDebugEnabled()) {
+                log.debug("Could not load the content: " + advertisingFile, e);
+            }
+            content = "";
+        } finally {
+            if (br != null) {
+                try {
+                    br.close();
+                } catch (IOException e) {
+                    // TODO Auto-generated catch block
+                    e.printStackTrace();
+                }
+            }
+        }
+
+    }
+}


Property changes on: advertising/trunk/src/main/java/jp/sf/pal/advertising/entity/Advertising.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: advertising/trunk/src/main/java/jp/sf/pal/advertising/entity/AdvertisingList.java
===================================================================
--- advertising/trunk/src/main/java/jp/sf/pal/advertising/entity/AdvertisingList.java	2007-10-18 00:18:12 UTC (rev 636)
+++ advertising/trunk/src/main/java/jp/sf/pal/advertising/entity/AdvertisingList.java	2007-10-18 00:22:30 UTC (rev 637)
@@ -0,0 +1,94 @@
+/*
+ * Copyright 2005-2007 The Portal Application Laboratory.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package jp.sf.pal.advertising.entity;
+
+import java.io.File;
+import java.io.FilenameFilter;
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class AdvertisingList implements Serializable {
+
+    /**
+     * 
+     */
+    private static final long serialVersionUID = -3356953092082874454L;
+
+    private List<Advertising> advertisingList;
+
+    private File advertisingDirectory;
+
+    private long lastUpdated;
+
+    private long refreshTime;
+
+    private int position;
+
+    public AdvertisingList(String advertisingPath, long refreshTime) {
+        advertisingDirectory = new File(advertisingPath);
+        if (!advertisingDirectory.isDirectory()) {
+            throw new IllegalArgumentException(
+                    "Could not find the target directory: " + advertisingPath);
+        }
+
+        // set timeout
+        this.refreshTime = refreshTime;
+        this.position = 0;
+
+        // load ads
+        load();
+    }
+
+    public void load() {
+        long now = new Date().getTime();
+        if (now - lastUpdated > refreshTime * 1000) {
+            advertisingList = new ArrayList<Advertising>();
+            for (File adsFile : advertisingDirectory
+                    .listFiles(new AdvertisingFilenameFilter())) {
+                advertisingList.add(new Advertising(adsFile));
+            }
+
+            // udpate date
+            lastUpdated = now;
+        }
+    }
+
+    public Advertising getAdvertising() {
+        int size = advertisingList.size();
+        if (size > 0) {
+            Advertising ad = advertisingList.get(position);
+            position++;
+            if (position >= size) {
+                position = 0;
+            }
+            return ad;
+        }
+        return null;
+    }
+
+    protected class AdvertisingFilenameFilter implements FilenameFilter {
+
+        public boolean accept(File dir, String name) {
+            if (name.endsWith(".html")) {
+                return true;
+            }
+            return false;
+        }
+
+    }
+}


Property changes on: advertising/trunk/src/main/java/jp/sf/pal/advertising/entity/AdvertisingList.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: advertising/trunk/src/main/java/jp/sf/pal/advertising/portlet/AdvertisingPortlet.java
===================================================================
--- advertising/trunk/src/main/java/jp/sf/pal/advertising/portlet/AdvertisingPortlet.java	2007-10-18 00:18:12 UTC (rev 636)
+++ advertising/trunk/src/main/java/jp/sf/pal/advertising/portlet/AdvertisingPortlet.java	2007-10-18 00:22:30 UTC (rev 637)
@@ -0,0 +1,138 @@
+/*
+ * Copyright 2005-2007 The Portal Application Laboratory.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package jp.sf.pal.advertising.portlet;
+
+import java.io.IOException;
+
+import javax.portlet.ActionRequest;
+import javax.portlet.ActionResponse;
+import javax.portlet.GenericPortlet;
+import javax.portlet.PortletConfig;
+import javax.portlet.PortletException;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+
+import jp.sf.pal.advertising.entity.AdvertisingList;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+/**
+ * AdvertisingPortlet is a portlet to display Ads.
+ * 
+ * @author <a href="mailto:shins****@yahoo*****">Shinsuke Sugaya</a>
+ */
+public class AdvertisingPortlet extends GenericPortlet {
+    /**
+     * Logger for this class
+     */
+    private static final Log log = LogFactory.getLog(AdvertisingPortlet.class);
+
+    public static final String SCOPE_PREFIX = "jp.sf.pal.advertising.Scope_";
+
+    public static final String ADVERTISING_SCOPE = "advertisingScope";
+
+    public static final String ADVERTISING_PATH = "advertisingPath";
+
+    public static final String REFRESH_TIME = "refreshTime";
+
+    public static final String DEFAULT_ADVERTISING_SCOPE = "default";
+
+    public static final String DEFAULT_ADVERTISING_PATH = "/WEB-INF/ads/";
+
+    public static final long DEFAULT_REFRESH_TIME = 60; // sec
+
+    private String advertisingScope;
+
+    /* (non-Javadoc)
+     * @see javax.portlet.Portlet#init(javax.portlet.PortletConfig)
+     */
+    public void init(PortletConfig config) throws PortletException {
+        if (log.isDebugEnabled()) {
+            log.debug("init() - AdvertisingPortlet: init()");
+        }
+        super.init(config);
+
+        // set scope
+        advertisingScope = config.getInitParameter(ADVERTISING_SCOPE);
+        if (advertisingScope == null) {
+            advertisingScope = DEFAULT_ADVERTISING_SCOPE;
+        }
+
+        // set path
+        String advertisingPath = config.getInitParameter(ADVERTISING_PATH);
+        if (advertisingPath == null) {
+            advertisingPath = getPortletContext().getRealPath(
+                    DEFAULT_ADVERTISING_PATH + advertisingScope);
+        } else if (!advertisingPath.endsWith("/")) {
+            advertisingPath = advertisingPath + "/";
+        }
+
+        // set refresh time
+        long refreshTime = DEFAULT_REFRESH_TIME;
+        String refreshTimeString = config.getInitParameter(REFRESH_TIME);
+        if (refreshTimeString != null) {
+            refreshTime = Long.parseLong(refreshTimeString);
+        }
+
+        // set advertising list
+        getPortletContext().setAttribute(SCOPE_PREFIX + advertisingScope,
+                new AdvertisingList(advertisingPath, refreshTime));
+    }
+
+    /* (non-Javadoc)
+     * @see javax.portlet.GenericPortlet#doView(javax.portlet.RenderRequest, javax.portlet.RenderResponse)
+     */
+    protected void doView(RenderRequest request, RenderResponse response)
+            throws PortletException, IOException {
+        //TODO content type?
+        response.setContentType("text/html");
+
+        if (log.isDebugEnabled()) {
+            log.debug("doView() - AdvertisingPortlet: doView()");
+        }
+
+        AdvertisingList advertisingList = (AdvertisingList) getPortletContext()
+                .getAttribute(SCOPE_PREFIX + advertisingScope);
+        advertisingList.load();
+        response.getWriter().print(
+                advertisingList.getAdvertising().getContent());
+        response.getWriter().flush();
+        response.getWriter().close();
+    }
+
+    /* (non-Javadoc)
+     * @see javax.portlet.Portlet#processAction(javax.portlet.ActionRequest, javax.portlet.ActionResponse)
+     */
+    public void processAction(ActionRequest request, ActionResponse response)
+            throws PortletException, IOException {
+        if (log.isDebugEnabled()) {
+            log.debug("processAction() - AdvertisingPortlet: processAction()");
+        }
+
+        // nothing to do..
+
+        return;
+    }
+
+    /* (non-Javadoc)
+     * @see javax.portlet.GenericPortlet#destroy()
+     */
+    public void destroy() {
+        super.destroy();
+    }
+
+}


Property changes on: advertising/trunk/src/main/java/jp/sf/pal/advertising/portlet/AdvertisingPortlet.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: advertising/trunk/src/main/resources/jp/sf/pal/advertising/resources/AdvertisingResources.properties
===================================================================
--- advertising/trunk/src/main/resources/jp/sf/pal/advertising/resources/AdvertisingResources.properties	2007-10-18 00:18:12 UTC (rev 636)
+++ advertising/trunk/src/main/resources/jp/sf/pal/advertising/resources/AdvertisingResources.properties	2007-10-18 00:22:30 UTC (rev 637)
@@ -0,0 +1,18 @@
+# 2005-2007 The Portal Application Laboratory.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# $Id: HelloWorldResources.properties,v 1.1 2006/11/11 01:06:56 shinsuke Exp $
+#
+
+


Property changes on: advertising/trunk/src/main/resources/jp/sf/pal/advertising/resources/AdvertisingResources.properties
___________________________________________________________________
Name: svn:eol-style
   + native

Added: advertising/trunk/src/main/resources/jp/sf/pal/advertising/resources/AdvertisingResources_ja.properties
===================================================================
--- advertising/trunk/src/main/resources/jp/sf/pal/advertising/resources/AdvertisingResources_ja.properties	2007-10-18 00:18:12 UTC (rev 636)
+++ advertising/trunk/src/main/resources/jp/sf/pal/advertising/resources/AdvertisingResources_ja.properties	2007-10-18 00:22:30 UTC (rev 637)
@@ -0,0 +1,23 @@
+# 2005-2007 The Portal Application Laboratory.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# $Id: HelloWorldResources_ja.properties,v 1.1 2006/11/11 01:06:56 shinsuke Exp $
+#
+
+# portlet info
+javax.portlet.title=\u5e83\u544a
+javax.portlet.short-title=\u5e83\u544a
+javax.portlet.keywords=\u5e83\u544a
+
+


Property changes on: advertising/trunk/src/main/resources/jp/sf/pal/advertising/resources/AdvertisingResources_ja.properties
___________________________________________________________________
Name: svn:eol-style
   + native

Added: advertising/trunk/src/main/webapp/WEB-INF/ads/test/test1.html
===================================================================
--- advertising/trunk/src/main/webapp/WEB-INF/ads/test/test1.html	2007-10-18 00:18:12 UTC (rev 636)
+++ advertising/trunk/src/main/webapp/WEB-INF/ads/test/test1.html	2007-10-18 00:22:30 UTC (rev 637)
@@ -0,0 +1,2 @@
+<span style="color:red;">Advertising 1</span>
+


Property changes on: advertising/trunk/src/main/webapp/WEB-INF/ads/test/test1.html
___________________________________________________________________
Name: svn:eol-style
   + native

Added: advertising/trunk/src/main/webapp/WEB-INF/ads/test/test2.html
===================================================================
--- advertising/trunk/src/main/webapp/WEB-INF/ads/test/test2.html	2007-10-18 00:18:12 UTC (rev 636)
+++ advertising/trunk/src/main/webapp/WEB-INF/ads/test/test2.html	2007-10-18 00:22:30 UTC (rev 637)
@@ -0,0 +1,2 @@
+<span style="color:green;">Advertising 2</span>
+


Property changes on: advertising/trunk/src/main/webapp/WEB-INF/ads/test/test2.html
___________________________________________________________________
Name: svn:eol-style
   + native

Added: advertising/trunk/src/main/webapp/WEB-INF/ads/test/test3.html
===================================================================
--- advertising/trunk/src/main/webapp/WEB-INF/ads/test/test3.html	2007-10-18 00:18:12 UTC (rev 636)
+++ advertising/trunk/src/main/webapp/WEB-INF/ads/test/test3.html	2007-10-18 00:22:30 UTC (rev 637)
@@ -0,0 +1,2 @@
+<span style="color:blue;">Advertising 3</span>
+


Property changes on: advertising/trunk/src/main/webapp/WEB-INF/ads/test/test3.html
___________________________________________________________________
Name: svn:eol-style
   + native

Added: advertising/trunk/src/main/webapp/WEB-INF/portlet.xml
===================================================================
--- advertising/trunk/src/main/webapp/WEB-INF/portlet.xml	2007-10-18 00:18:12 UTC (rev 636)
+++ advertising/trunk/src/main/webapp/WEB-INF/portlet.xml	2007-10-18 00:22:30 UTC (rev 637)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2005-2007 The Portal Application Laboratory.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
+  <portlet>
+    <description>This portlet displays advertisings for testing.</description>
+    <portlet-name>AdvertisingTestPortlet</portlet-name>
+    <display-name>Advertising for Test</display-name>
+    <portlet-class>jp.sf.pal.advertising.portlet.AdvertisingPortlet</portlet-class>
+    <init-param>
+      <name>advertisingScope</name>
+      <value>test</value>
+    </init-param>
+    <expiration-cache>0</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+    </supports>
+    <supported-locale>en</supported-locale>
+    <supported-locale>ja</supported-locale>
+    <resource-bundle>jp.sf.pal.advertising.resources.AdvertisingResources</resource-bundle>
+    <portlet-info>
+      <title>Advertising</title>
+      <short-title>Advertising</short-title>
+      <keywords>Advertising</keywords>
+    </portlet-info>
+  </portlet>
+</portlet-app>


Property changes on: advertising/trunk/src/main/webapp/WEB-INF/portlet.xml
___________________________________________________________________
Name: svn:eol-style
   + native

Added: advertising/trunk/src/main/webapp/WEB-INF/web.xml
===================================================================
--- advertising/trunk/src/main/webapp/WEB-INF/web.xml	2007-10-18 00:18:12 UTC (rev 636)
+++ advertising/trunk/src/main/webapp/WEB-INF/web.xml	2007-10-18 00:22:30 UTC (rev 637)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2005-2007 The Portal Application Laboratory.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+  <display-name>Advertising Portlet</display-name>
+  <description>Advertising Portlet</description>
+</web-app>


Property changes on: advertising/trunk/src/main/webapp/WEB-INF/web.xml
___________________________________________________________________
Name: svn:eol-style
   + native


pal-cvs メーリングリストの案内
Back to archive index