[jboss-cvs] JBoss Messaging SVN: r3693 - in projects/jaio/trunk/jaio: .settings and 15 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Feb 8 19:36:40 EST 2008


Author: clebert.suconic at jboss.com
Date: 2008-02-08 19:36:40 -0500 (Fri, 08 Feb 2008)
New Revision: 3693

Added:
   projects/jaio/trunk/jaio/.classpath
   projects/jaio/trunk/jaio/.project
   projects/jaio/trunk/jaio/.settings/
   projects/jaio/trunk/jaio/.settings/org.eclipse.jdt.core.prefs
   projects/jaio/trunk/jaio/.settings/org.eclipse.jdt.ui.prefs
   projects/jaio/trunk/jaio/java/
   projects/jaio/trunk/jaio/java/build.xml
   projects/jaio/trunk/jaio/java/src/
   projects/jaio/trunk/jaio/java/src/org/
   projects/jaio/trunk/jaio/java/src/org/jboss/
   projects/jaio/trunk/jaio/java/src/org/jboss/jaio/
   projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/
   projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIOController.java
   projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIOException.java
   projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIOPackage.java
   projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIORecoveryCallback.java
   projects/jaio/trunk/jaio/java/src/org/jboss/jaio/libaioimpl/
   projects/jaio/trunk/jaio/java/src/org/jboss/jaio/libaioimpl/LibAIOController.java
   projects/jaio/trunk/jaio/java/tests/
   projects/jaio/trunk/jaio/java/tests/org/
   projects/jaio/trunk/jaio/java/tests/org/jboss/
   projects/jaio/trunk/jaio/java/tests/org/jboss/jaio/
   projects/jaio/trunk/jaio/java/tests/org/jboss/jaio/libaioimpl/
   projects/jaio/trunk/jaio/java/tests/org/jboss/jaio/libaioimpl/test/
   projects/jaio/trunk/jaio/java/tests/org/jboss/jaio/libaioimpl/test/TestInit.java
   projects/jaio/trunk/jaio/native/
   projects/jaio/trunk/jaio/native/AUTHORS
   projects/jaio/trunk/jaio/native/COPYING
   projects/jaio/trunk/jaio/native/ChangeLog
   projects/jaio/trunk/jaio/native/INSTALL
   projects/jaio/trunk/jaio/native/Makefile.am
   projects/jaio/trunk/jaio/native/NEWS
   projects/jaio/trunk/jaio/native/README
   projects/jaio/trunk/jaio/native/acinclude.m4
   projects/jaio/trunk/jaio/native/configure.ac
   projects/jaio/trunk/jaio/native/src/
   projects/jaio/trunk/jaio/native/src/JavaUtilities.cpp
   projects/jaio/trunk/jaio/native/src/JavaUtilities.h
   projects/jaio/trunk/jaio/native/src/LibAIOController.cpp
   projects/jaio/trunk/jaio/native/src/Makefile.am
   projects/jaio/trunk/jaio/native/src/org_jboss_jaio_libaioimpl_LibAIOController.h
Log:
Initial import.

Added: projects/jaio/trunk/jaio/.classpath
===================================================================
--- projects/jaio/trunk/jaio/.classpath	                        (rev 0)
+++ projects/jaio/trunk/jaio/.classpath	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="java/src"/>
+	<classpathentry kind="src" path="java/tests"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3"/>
+	<classpathentry kind="output" path="java/eclipse-bin"/>
+</classpath>

Added: projects/jaio/trunk/jaio/.project
===================================================================
--- projects/jaio/trunk/jaio/.project	                        (rev 0)
+++ projects/jaio/trunk/jaio/.project	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>jaio</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

Added: projects/jaio/trunk/jaio/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- projects/jaio/trunk/jaio/.settings/org.eclipse.jdt.core.prefs	                        (rev 0)
+++ projects/jaio/trunk/jaio/.settings/org.eclipse.jdt.core.prefs	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,264 @@
+#Fri Feb 08 13:19:53 CST 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.codeComplete.argumentPrefixes=
+org.eclipse.jdt.core.codeComplete.argumentSuffixes=
+org.eclipse.jdt.core.codeComplete.fieldPrefixes=
+org.eclipse.jdt.core.codeComplete.fieldSuffixes=
+org.eclipse.jdt.core.codeComplete.localPrefixes=
+org.eclipse.jdt.core.codeComplete.localSuffixes=
+org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
+org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
+org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_assignment=0
+org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
+org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
+org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
+org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_after_package=1
+org.eclipse.jdt.core.formatter.blank_lines_before_field=0
+org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
+org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
+org.eclipse.jdt.core.formatter.blank_lines_before_method=1
+org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
+org.eclipse.jdt.core.formatter.blank_lines_before_package=0
+org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
+org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
+org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_switch=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=next_line
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
+org.eclipse.jdt.core.formatter.comment.format_block_comments=true
+org.eclipse.jdt.core.formatter.comment.format_header=false
+org.eclipse.jdt.core.formatter.comment.format_html=true
+org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
+org.eclipse.jdt.core.formatter.comment.format_line_comments=true
+org.eclipse.jdt.core.formatter.comment.format_source_code=true
+org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
+org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
+org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
+org.eclipse.jdt.core.formatter.comment.line_length=80
+org.eclipse.jdt.core.formatter.compact_else_if=true
+org.eclipse.jdt.core.formatter.continuation_indentation=2
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
+org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_empty_lines=false
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
+org.eclipse.jdt.core.formatter.indentation.size=4
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=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_new_line_before_else_in_if_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=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_multiple_local_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
+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_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=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_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
+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_if=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_after_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=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_after_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=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_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=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_before_closing_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=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_closing_paren_in_enum_constant=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_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=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_before_closing_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=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_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=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_comma_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_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_comma_in_constructor_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=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_before_comma_in_explicitconstructorcall_arguments=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_before_comma_in_for_inits=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=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_method_invocation_arguments=do not 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_comma_in_multiple_local_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=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_comma_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=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_before_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=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_opening_paren_in_enum_constant=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_paren_in_if=insert
+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_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
+org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not 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_space_between_empty_parens_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.lineSplit=80
+org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
+org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
+org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
+org.eclipse.jdt.core.formatter.tabulation.char=space
+org.eclipse.jdt.core.formatter.tabulation.size=4
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
+org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true

Added: projects/jaio/trunk/jaio/.settings/org.eclipse.jdt.ui.prefs
===================================================================
--- projects/jaio/trunk/jaio/.settings/org.eclipse.jdt.ui.prefs	                        (rev 0)
+++ projects/jaio/trunk/jaio/.settings/org.eclipse.jdt.ui.prefs	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,10 @@
+#Fri Feb 08 13:15:41 CST 2008
+eclipse.preferences.version=1
+formatter_profile=_JBoss
+formatter_settings_version=11
+org.eclipse.jdt.ui.exception.name=e
+org.eclipse.jdt.ui.gettersetter.use.is=true
+org.eclipse.jdt.ui.javadoc=false
+org.eclipse.jdt.ui.keywordthis=false
+org.eclipse.jdt.ui.overrideannotation=true
+org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8"?><templates/>

Added: projects/jaio/trunk/jaio/java/build.xml
===================================================================
--- projects/jaio/trunk/jaio/java/build.xml	                        (rev 0)
+++ projects/jaio/trunk/jaio/java/build.xml	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+
+<project name="qpid-native-bridge" default="core">
+
+	<property name="cppoutput" value="../native/src" >
+	</property>
+
+	<path id="build.classpath">
+		<pathelement location="./output/classes"/>
+	</path>
+
+	<target name="init">
+		<mkdir dir="./output/jni"/>
+		<mkdir dir="./output/classes"/>
+	</target>
+
+	<target name="compile" depends="init">
+		<javac srcdir="./src" destdir="output/classes" classpathref="build.classpath" />
+		<javah class="org.jboss.jaio.libaioimpl.LibAIOController" classpathref="build.classpath" destdir="./output/jni">
+		</javah>
+		<copy todir="${cppoutput}">
+			<fileset dir="./output/jni" includes="*.h"/>
+		</copy>
+	</target>
+
+	<target name="core" depends="compile">
+	</target>
+
+
+</project>


Property changes on: projects/jaio/trunk/jaio/java/build.xml
___________________________________________________________________
Name: svn:keywords
   + Id LastChangedDate Author Revision

Added: projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIOController.java
===================================================================
--- projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIOController.java	                        (rev 0)
+++ projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIOController.java	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,28 @@
+package org.jboss.jaio.api;
+
+/**
+ * 
+ * @author clebert.suconic at jboss.com
+ *
+ */
+public interface AIOController
+{
+    
+    void close();
+    
+    void open(String fileName);
+
+    /** 
+     * Warning: This function will perform a synchronous IO, probably translating to a fstat call
+     * */
+    long size();
+    
+    void append(AIOPackage aioPackage);
+    
+    void write(long position, AIOPackage aioPackage);
+    
+    void read(long position, AIOPackage aioPackage);
+    
+    void recoverContent(AIORecoveryCallback callbackRecover);
+    
+}


Property changes on: projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIOController.java
___________________________________________________________________
Name: svn:keywords
   + Id LastChangedDate Author Revision

Added: projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIOException.java
===================================================================
--- projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIOException.java	                        (rev 0)
+++ projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIOException.java	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,34 @@
+package org.jboss.jaio.api;
+
+/**
+ * TODO: Can't we just use RuntimeException?
+ * @author clebert
+ *
+ */
+public class AIOException extends Exception
+{
+    private static final long serialVersionUID = 4760418137560501848L;
+
+    public AIOException()
+    {
+        super();
+    }
+
+    public AIOException(String message, Throwable cause)
+    {
+        super(message, cause);
+    }
+
+    public AIOException(String message)
+    {
+        super(message);
+    }
+
+    public AIOException(Throwable cause)
+    {
+        super(cause);
+    }
+    
+    
+
+}


Property changes on: projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIOException.java
___________________________________________________________________
Name: svn:keywords
   + Id LastChangedDate Author Revision

Added: projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIOPackage.java
===================================================================
--- projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIOPackage.java	                        (rev 0)
+++ projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIOPackage.java	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,19 @@
+package org.jboss.jaio.api;
+
+import java.nio.ByteBuffer;
+
+
+
+/**
+ * 
+ * @author clebert.suconic at jboss.com
+ *
+ */
+public interface AIOPackage
+{
+    int encodeSize(int size);
+
+    void encode(ByteBuffer buffer);
+
+    void decode(int length, ByteBuffer buffer);
+}


Property changes on: projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIOPackage.java
___________________________________________________________________
Name: svn:keywords
   + Id LastChangedDate Author Revision

Added: projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIORecoveryCallback.java
===================================================================
--- projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIORecoveryCallback.java	                        (rev 0)
+++ projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIORecoveryCallback.java	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,13 @@
+package org.jboss.jaio.api;
+
+import java.nio.ByteBuffer;
+
+/**
+ * 
+ * @author clebert.suconic at jboss.com
+ *
+ */
+public interface AIORecoveryCallback
+{
+    void callbackRead(int bytes, ByteBuffer buffer);
+}


Property changes on: projects/jaio/trunk/jaio/java/src/org/jboss/jaio/api/AIORecoveryCallback.java
___________________________________________________________________
Name: svn:keywords
   + Id LastChangedDate Author Revision

Added: projects/jaio/trunk/jaio/java/src/org/jboss/jaio/libaioimpl/LibAIOController.java
===================================================================
--- projects/jaio/trunk/jaio/java/src/org/jboss/jaio/libaioimpl/LibAIOController.java	                        (rev 0)
+++ projects/jaio/trunk/jaio/java/src/org/jboss/jaio/libaioimpl/LibAIOController.java	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,83 @@
+package org.jboss.jaio.libaioimpl;
+
+import org.jboss.jaio.api.AIOController;
+import org.jboss.jaio.api.AIOPackage;
+import org.jboss.jaio.api.AIORecoveryCallback;
+
+/**
+ * 
+ * @author clebert.suconic at jboss.com
+ *
+ */
+public class LibAIOController implements AIOController
+{
+
+    // Warning: Beware of the C++ pointer! It will bite you! :-) 
+    private long handler;
+    
+    public static void main(String arg[])
+    {
+        LibAIOController io = new LibAIOController();
+        io.open("/tmp/lixo.log");
+    }
+    
+    static
+    {
+        try
+        {
+            System.out.println("Jaio being loaded");
+            System.loadLibrary("Jaio");
+        }
+        catch (Throwable e)
+        {
+            e.printStackTrace();
+            throw new RuntimeException (e.toString(), e);
+        }
+    }
+
+    public void open(String fileName)
+    {
+        handler = openInternal (fileName);
+    }
+    
+    public void close()
+    {
+        //closeInternal(handler);
+        handler = 0;
+    }
+    
+    
+    public void append(AIOPackage aioPackage)
+    {
+        //append(handler, aioPackage);
+        
+    }
+
+    public void read(long position, AIOPackage aioPackage)
+    {
+        // TODO Auto-generated method stub
+        
+    }
+
+    public void recoverContent(AIORecoveryCallback callbackRecover)
+    {
+        // TODO Auto-generated method stub
+        
+    }
+
+    public long size()
+    {
+        // TODO Auto-generated method stub
+        return 0;
+    }
+
+    public void write(long position, AIOPackage aioPackage)
+    {
+        // TODO Auto-generated method stub
+        
+    }
+
+    private static native long openInternal(String fileName);
+    //private static native void closeInternal(long handler);
+    //private static native void append(long handler, AIOPackage aioPackage);
+}


Property changes on: projects/jaio/trunk/jaio/java/src/org/jboss/jaio/libaioimpl/LibAIOController.java
___________________________________________________________________
Name: svn:keywords
   + Id LastChangedDate Author Revision

Added: projects/jaio/trunk/jaio/java/tests/org/jboss/jaio/libaioimpl/test/TestInit.java
===================================================================
--- projects/jaio/trunk/jaio/java/tests/org/jboss/jaio/libaioimpl/test/TestInit.java	                        (rev 0)
+++ projects/jaio/trunk/jaio/java/tests/org/jboss/jaio/libaioimpl/test/TestInit.java	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,14 @@
+package org.jboss.jaio.libaioimpl.test;
+
+import org.jboss.jaio.libaioimpl.LibAIOController;
+
+import junit.framework.TestCase;
+
+public class TestInit extends TestCase
+{
+    public void testOpen()throws Exception
+    {
+        LibAIOController controller = new LibAIOController();
+        controller.open("/tmp/libaio.log");
+    }
+}


Property changes on: projects/jaio/trunk/jaio/java/tests/org/jboss/jaio/libaioimpl/test/TestInit.java
___________________________________________________________________
Name: svn:keywords
   + Id LastChangedDate Author Revision

Added: projects/jaio/trunk/jaio/native/AUTHORS
===================================================================

Added: projects/jaio/trunk/jaio/native/COPYING
===================================================================

Added: projects/jaio/trunk/jaio/native/ChangeLog
===================================================================

Added: projects/jaio/trunk/jaio/native/INSTALL
===================================================================
--- projects/jaio/trunk/jaio/native/INSTALL	                        (rev 0)
+++ projects/jaio/trunk/jaio/native/INSTALL	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,234 @@
+Installation Instructions
+*************************
+
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
+2006 Free Software Foundation, Inc.
+
+This file is free documentation; the Free Software Foundation gives
+unlimited permission to copy, distribute and modify it.
+
+Basic Installation
+==================
+
+Briefly, the shell commands `./configure; make; make install' should
+configure, build, and install this package.  The following
+more-detailed instructions are generic; see the `README' file for
+instructions specific to this package.
+
+   The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation.  It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions.  Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, and a
+file `config.log' containing compiler output (useful mainly for
+debugging `configure').
+
+   It can also use an optional file (typically called `config.cache'
+and enabled with `--cache-file=config.cache' or simply `-C') that saves
+the results of its tests to speed up reconfiguring.  Caching is
+disabled by default to prevent problems with accidental use of stale
+cache files.
+
+   If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release.  If you are using the cache, and at
+some point `config.cache' contains results you don't want to keep, you
+may remove or edit it.
+
+   The file `configure.ac' (or `configure.in') is used to create
+`configure' by a program called `autoconf'.  You need `configure.ac' if
+you want to change it or regenerate `configure' using a newer version
+of `autoconf'.
+
+The simplest way to compile this package is:
+
+  1. `cd' to the directory containing the package's source code and type
+     `./configure' to configure the package for your system.
+
+     Running `configure' might take a while.  While running, it prints
+     some messages telling which features it is checking for.
+
+  2. Type `make' to compile the package.
+
+  3. Optionally, type `make check' to run any self-tests that come with
+     the package.
+
+  4. Type `make install' to install the programs and any data files and
+     documentation.
+
+  5. You can remove the program binaries and object files from the
+     source code directory by typing `make clean'.  To also remove the
+     files that `configure' created (so you can compile the package for
+     a different kind of computer), type `make distclean'.  There is
+     also a `make maintainer-clean' target, but that is intended mainly
+     for the package's developers.  If you use it, you may have to get
+     all sorts of other programs in order to regenerate files that came
+     with the distribution.
+
+Compilers and Options
+=====================
+
+Some systems require unusual options for compilation or linking that the
+`configure' script does not know about.  Run `./configure --help' for
+details on some of the pertinent environment variables.
+
+   You can give `configure' initial values for configuration parameters
+by setting variables in the command line or in the environment.  Here
+is an example:
+
+     ./configure CC=c99 CFLAGS=-g LIBS=-lposix
+
+   *Note Defining Variables::, for more details.
+
+Compiling For Multiple Architectures
+====================================
+
+You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory.  To do this, you can use GNU `make'.  `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script.  `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'.
+
+   With a non-GNU `make', it is safer to compile the package for one
+architecture at a time in the source code directory.  After you have
+installed the package for one architecture, use `make distclean' before
+reconfiguring for another architecture.
+
+Installation Names
+==================
+
+By default, `make install' installs the package's commands under
+`/usr/local/bin', include files under `/usr/local/include', etc.  You
+can specify an installation prefix other than `/usr/local' by giving
+`configure' the option `--prefix=PREFIX'.
+
+   You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files.  If you
+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
+PREFIX as the prefix for installing programs and libraries.
+Documentation and other data files still use the regular prefix.
+
+   In addition, if you use an unusual directory layout you can give
+options like `--bindir=DIR' to specify different values for particular
+kinds of files.  Run `configure --help' for a list of the directories
+you can set and what kinds of files go in them.
+
+   If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+
+Optional Features
+=================
+
+Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System).  The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+   For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+Specifying the System Type
+==========================
+
+There may be some features `configure' cannot figure out automatically,
+but needs to determine by the type of machine the package will run on.
+Usually, assuming the package is built to be run on the _same_
+architectures, `configure' can figure that out, but if it prints a
+message saying it cannot guess the machine type, give it the
+`--build=TYPE' option.  TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name which has the form:
+
+     CPU-COMPANY-SYSTEM
+
+where SYSTEM can have one of these forms:
+
+     OS KERNEL-OS
+
+   See the file `config.sub' for the possible values of each field.  If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the machine type.
+
+   If you are _building_ compiler tools for cross-compiling, you should
+use the option `--target=TYPE' to select the type of system they will
+produce code for.
+
+   If you want to _use_ a cross compiler, that generates code for a
+platform different from the build platform, you should specify the
+"host" platform (i.e., that on which the generated programs will
+eventually be run) with `--host=TYPE'.
+
+Sharing Defaults
+================
+
+If you want to set default values for `configure' scripts to share, you
+can create a site shell script called `config.site' that gives default
+values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists.  Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Defining Variables
+==================
+
+Variables not defined in a site shell script can be set in the
+environment passed to `configure'.  However, some packages may run
+configure again during the build, and the customized values of these
+variables may be lost.  In order to avoid this problem, you should set
+them in the `configure' command line, using `VAR=value'.  For example:
+
+     ./configure CC=/usr/local2/bin/gcc
+
+causes the specified `gcc' to be used as the C compiler (unless it is
+overridden in the site shell script).
+
+Unfortunately, this technique does not work for `CONFIG_SHELL' due to
+an Autoconf bug.  Until the bug is fixed you can use this workaround:
+
+     CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
+
+`configure' Invocation
+======================
+
+`configure' recognizes the following options to control how it operates.
+
+`--help'
+`-h'
+     Print a summary of the options to `configure', and exit.
+
+`--version'
+`-V'
+     Print the version of Autoconf used to generate the `configure'
+     script, and exit.
+
+`--cache-file=FILE'
+     Enable the cache: use and save the results of the tests in FILE,
+     traditionally `config.cache'.  FILE defaults to `/dev/null' to
+     disable caching.
+
+`--config-cache'
+`-C'
+     Alias for `--cache-file=config.cache'.
+
+`--quiet'
+`--silent'
+`-q'
+     Do not print messages saying which checks are being made.  To
+     suppress all normal output, redirect it to `/dev/null' (any error
+     messages will still be shown).
+
+`--srcdir=DIR'
+     Look for the package's source code in directory DIR.  Usually
+     `configure' can determine that directory automatically.
+
+`configure' also accepts some other, not widely useful, options.  Run
+`configure --help' for more details.
+

Added: projects/jaio/trunk/jaio/native/Makefile.am
===================================================================
--- projects/jaio/trunk/jaio/native/Makefile.am	                        (rev 0)
+++ projects/jaio/trunk/jaio/native/Makefile.am	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1 @@
+SUBDIRS = src

Added: projects/jaio/trunk/jaio/native/NEWS
===================================================================

Added: projects/jaio/trunk/jaio/native/README
===================================================================

Added: projects/jaio/trunk/jaio/native/acinclude.m4
===================================================================
--- projects/jaio/trunk/jaio/native/acinclude.m4	                        (rev 0)
+++ projects/jaio/trunk/jaio/native/acinclude.m4	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,33 @@
+AC_DEFUN([AC_JNI_INCLUDE_DIR],
+[
+   JNI_INCLUDE_DIRS=""
+
+test -f $JAVA_HOME/include/jni.h || \
+     AC_MSG_ERROR([JAVA_HOME=$JAVA_HOME does not appear to be a valid java home.])
+
+
+JNI_INCLUDE_DIRS="$JAVA_HOME/include"
+case "$OSTYPE" in
+bsdi*)                  _JNI_INC_SUBDIRS="dos";;
+linux*)                 _JNI_INC_SUBDIRS="linux";;
+mingw32*|cygwin*)       _JNI_INC_SUBDIRS="win32";;
+osf*)                   _JNI_INC_SUBDIRS="alpha";;
+solaris*)               _JNI_INC_SUBDIRS="solaris";;
+*)                      _JNI_INC_SUBDIRS="genunix";;
+esac
+
+# add any subdirectories that are present
+for JINCSUBDIR in $_JNI_INC_SUBDIRS
+do
+       echo tttt $JINCSUBDIR
+        if test -d "$JAVA_HOME/include/$JINCSUBDIR"; then
+                JNI_INCLUDE_DIRS="$JNI_INCLUDE_DIRS $JAVA_HOME/include/$JINCSUBDIR"
+        fi
+done
+
+# add it to the CPPFLAGS, for convenience
+for JNI_INCLUDE_DIR in $JNI_INCLUDE_DIRS
+do
+        CPPFLAGS="$CPPFLAGS -I$JNI_INCLUDE_DIR"
+done
+])

Added: projects/jaio/trunk/jaio/native/configure.ac
===================================================================
--- projects/jaio/trunk/jaio/native/configure.ac	                        (rev 0)
+++ projects/jaio/trunk/jaio/native/configure.ac	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,43 @@
+#                                               -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ(2.61)
+AC_INIT([jboss-profiler-jvmti], [1.0.Alpha],[clebert.suconic at jboss.org])
+AC_CONFIG_AUX_DIR([build-aux])
+
+AM_INIT_AUTOMAKE([dist-bzip2])
+
+# Minimum Autoconf version required.
+AC_PREREQ(2.59)
+
+AC_JNI_INCLUDE_DIR
+AC_CONFIG_HEADERS([config.h:config.in])
+AC_CONFIG_SRCDIR([src/LibAIOController.cpp])
+
+
+# Checks for programs.
+AC_PROG_CXX
+AC_PROG_CC
+AC_PROG_CPP
+
+AC_DISABLE_STATIC
+AC_PROG_LIBTOOL
+
+# Checks for libraries.
+
+# Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS([stdlib.h string.h sys/time.h unistd.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_C_CONST
+AC_C_INLINE
+AC_HEADER_TIME
+AC_HEADER_STDBOOL
+
+# Checks for library functions.
+AC_FUNC_MALLOC
+AC_CHECK_FUNCS([gettimeofday memset strstr])
+
+AC_CONFIG_FILES([Makefile ./src/Makefile])
+AC_OUTPUT

Added: projects/jaio/trunk/jaio/native/src/JavaUtilities.cpp
===================================================================
--- projects/jaio/trunk/jaio/native/src/JavaUtilities.cpp	                        (rev 0)
+++ projects/jaio/trunk/jaio/native/src/JavaUtilities.cpp	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,31 @@
+#include <stdio.h>
+#include <iostream>
+#include <string>
+#include "JavaUtilities.h"
+
+void throwException(JNIEnv * env,const char * clazz, const char * message)
+{
+  jclass exceptionClass = env->FindClass(clazz);
+  if (exceptionClass==NULL) 
+  {
+     exceptionClass = env->FindClass("java/lang/RuntimeException");
+     if (exceptionClass==NULL) 
+     {
+    	std::cerr << "Couldn't throw exception " << clazz << " message:= " << message << "\n";
+        return;
+     }
+  }
+  
+  env->ThrowNew(exceptionClass,message);
+  
+}
+
+std::string convertJavaString(JNIEnv * env, jstring& jstr)
+{
+	const char * valueStr = env->GetStringUTFChars(jstr, NULL);
+	std::string data(valueStr);
+	//data+=valueStr;
+	env->ReleaseStringUTFChars(jstr, valueStr);
+	return data;
+}
+


Property changes on: projects/jaio/trunk/jaio/native/src/JavaUtilities.cpp
___________________________________________________________________
Name: svn:keywords
   + Id LastChangedDate Author Revision

Added: projects/jaio/trunk/jaio/native/src/JavaUtilities.h
===================================================================
--- projects/jaio/trunk/jaio/native/src/JavaUtilities.h	                        (rev 0)
+++ projects/jaio/trunk/jaio/native/src/JavaUtilities.h	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,9 @@
+#ifndef JAVAUTILITIES_H_
+#define JAVAUTILITIES_H_
+#include <string>
+#include <jni.h>
+
+void throwException(JNIEnv * env,const char * clazz, const char * message);
+std::string convertJavaString(JNIEnv * env, jstring& jstr);
+
+#endif /*JAVAUTILITIES_H_*/

Added: projects/jaio/trunk/jaio/native/src/LibAIOController.cpp
===================================================================
--- projects/jaio/trunk/jaio/native/src/LibAIOController.cpp	                        (rev 0)
+++ projects/jaio/trunk/jaio/native/src/LibAIOController.cpp	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,13 @@
+
+#include <jni.h>
+#include <iostream>
+#include "org_jboss_jaio_libaioimpl_LibAIOController.h"
+
+
+
+JNIEXPORT jlong JNICALL Java_org_jboss_jaio_libaioimpl_LibAIOController_openInternal
+  (JNIEnv *, jclass, jstring)
+{
+    std::cout << "open internal $$$\n";
+    return 0;
+}


Property changes on: projects/jaio/trunk/jaio/native/src/LibAIOController.cpp
___________________________________________________________________
Name: svn:keywords
   + Id LastChangedDate Author Revision

Added: projects/jaio/trunk/jaio/native/src/Makefile.am
===================================================================
--- projects/jaio/trunk/jaio/native/src/Makefile.am	                        (rev 0)
+++ projects/jaio/trunk/jaio/native/src/Makefile.am	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,4 @@
+#AM_CXXFLAGS = $(JVM_CXXFLAGS)
+lib_LTLIBRARIES = libJaio.la
+
+libJaio_la_SOURCES = LibAIOController.cpp

Added: projects/jaio/trunk/jaio/native/src/org_jboss_jaio_libaioimpl_LibAIOController.h
===================================================================
--- projects/jaio/trunk/jaio/native/src/org_jboss_jaio_libaioimpl_LibAIOController.h	                        (rev 0)
+++ projects/jaio/trunk/jaio/native/src/org_jboss_jaio_libaioimpl_LibAIOController.h	2008-02-09 00:36:40 UTC (rev 3693)
@@ -0,0 +1,21 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class org_jboss_jaio_libaioimpl_LibAIOController */
+
+#ifndef _Included_org_jboss_jaio_libaioimpl_LibAIOController
+#define _Included_org_jboss_jaio_libaioimpl_LibAIOController
+#ifdef __cplusplus
+extern "C" {
+#endif
+/*
+ * Class:     org_jboss_jaio_libaioimpl_LibAIOController
+ * Method:    openInternal
+ * Signature: (Ljava/lang/String;)J
+ */
+JNIEXPORT jlong JNICALL Java_org_jboss_jaio_libaioimpl_LibAIOController_openInternal
+  (JNIEnv *, jclass, jstring);
+
+#ifdef __cplusplus
+}
+#endif
+#endif




More information about the jboss-cvs-commits mailing list