You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juneau.apache.org by ja...@apache.org on 2016/08/01 17:30:30 UTC
[41/53] [partial] incubator-juneau git commit: Merge changes from
GitHub repo.
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.releng/lib/java2html/java2html.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.releng/lib/java2html/java2html.jar b/org.apache.juneau.releng/lib/java2html/java2html.jar
new file mode 100755
index 0000000..3d05dc5
Binary files /dev/null and b/org.apache.juneau.releng/lib/java2html/java2html.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.releng/lib/javax.servlet_2.5.0.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.releng/lib/javax.servlet_2.5.0.jar b/org.apache.juneau.releng/lib/javax.servlet_2.5.0.jar
new file mode 100755
index 0000000..20b5755
Binary files /dev/null and b/org.apache.juneau.releng/lib/javax.servlet_2.5.0.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.releng/lib/jaxrs/jsr311-api-1.1.1.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.releng/lib/jaxrs/jsr311-api-1.1.1.jar b/org.apache.juneau.releng/lib/jaxrs/jsr311-api-1.1.1.jar
new file mode 100755
index 0000000..ec8bc81
Binary files /dev/null and b/org.apache.juneau.releng/lib/jaxrs/jsr311-api-1.1.1.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.releng/lib/jaxrs/wink-common-1.2.1-incubating.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.releng/lib/jaxrs/wink-common-1.2.1-incubating.jar b/org.apache.juneau.releng/lib/jaxrs/wink-common-1.2.1-incubating.jar
new file mode 100755
index 0000000..470f630
Binary files /dev/null and b/org.apache.juneau.releng/lib/jaxrs/wink-common-1.2.1-incubating.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.releng/lib/jaxrs/wink-server-1.2.1-incubating.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.releng/lib/jaxrs/wink-server-1.2.1-incubating.jar b/org.apache.juneau.releng/lib/jaxrs/wink-server-1.2.1-incubating.jar
new file mode 100755
index 0000000..c5e61b1
Binary files /dev/null and b/org.apache.juneau.releng/lib/jaxrs/wink-server-1.2.1-incubating.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.releng/lib/jena/jena-core-2.7.1-sources.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.releng/lib/jena/jena-core-2.7.1-sources.jar b/org.apache.juneau.releng/lib/jena/jena-core-2.7.1-sources.jar
new file mode 100755
index 0000000..357a74f
Binary files /dev/null and b/org.apache.juneau.releng/lib/jena/jena-core-2.7.1-sources.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.releng/lib/jena/jena-core-2.7.1.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.releng/lib/jena/jena-core-2.7.1.jar b/org.apache.juneau.releng/lib/jena/jena-core-2.7.1.jar
new file mode 100755
index 0000000..7c3b570
Binary files /dev/null and b/org.apache.juneau.releng/lib/jena/jena-core-2.7.1.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.releng/lib/jena/jena-iri-0.9.2.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.releng/lib/jena/jena-iri-0.9.2.jar b/org.apache.juneau.releng/lib/jena/jena-iri-0.9.2.jar
new file mode 100755
index 0000000..7c8da59
Binary files /dev/null and b/org.apache.juneau.releng/lib/jena/jena-iri-0.9.2.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.releng/lib/jena/log4j-1.2.16.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.releng/lib/jena/log4j-1.2.16.jar b/org.apache.juneau.releng/lib/jena/log4j-1.2.16.jar
new file mode 100755
index 0000000..5429a90
Binary files /dev/null and b/org.apache.juneau.releng/lib/jena/log4j-1.2.16.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.releng/lib/jena/slf4j-api-1.6.4.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.releng/lib/jena/slf4j-api-1.6.4.jar b/org.apache.juneau.releng/lib/jena/slf4j-api-1.6.4.jar
new file mode 100755
index 0000000..76ef305
Binary files /dev/null and b/org.apache.juneau.releng/lib/jena/slf4j-api-1.6.4.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.releng/lib/jena/slf4j-log4j12-1.6.4.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.releng/lib/jena/slf4j-log4j12-1.6.4.jar b/org.apache.juneau.releng/lib/jena/slf4j-log4j12-1.6.4.jar
new file mode 100755
index 0000000..1517fbd
Binary files /dev/null and b/org.apache.juneau.releng/lib/jena/slf4j-log4j12-1.6.4.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.releng/lib/jena/xercesImpl-2.9.1.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.releng/lib/jena/xercesImpl-2.9.1.jar b/org.apache.juneau.releng/lib/jena/xercesImpl-2.9.1.jar
new file mode 100644
index 0000000..547f563
Binary files /dev/null and b/org.apache.juneau.releng/lib/jena/xercesImpl-2.9.1.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.releng/lib/junit/hamcrest-core-1.3.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.releng/lib/junit/hamcrest-core-1.3.jar b/org.apache.juneau.releng/lib/junit/hamcrest-core-1.3.jar
new file mode 100755
index 0000000..9d5fe16
Binary files /dev/null and b/org.apache.juneau.releng/lib/junit/hamcrest-core-1.3.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.releng/lib/junit/junit-4.12.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.releng/lib/junit/junit-4.12.jar b/org.apache.juneau.releng/lib/junit/junit-4.12.jar
new file mode 100755
index 0000000..3a7fc26
Binary files /dev/null and b/org.apache.juneau.releng/lib/junit/junit-4.12.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.releng/misc/web.xml
----------------------------------------------------------------------
diff --git a/org.apache.juneau.releng/misc/web.xml b/org.apache.juneau.releng/misc/web.xml
new file mode 100755
index 0000000..e031ac1
--- /dev/null
+++ b/org.apache.juneau.releng/misc/web.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ***************************************************************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *
+ * to you 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.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
+<web-app id="WebApp">
+</web-app>
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/.classpath
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/.classpath b/org.apache.juneau.samples/.classpath
new file mode 100755
index 0000000..44142ee
--- /dev/null
+++ b/org.apache.juneau.samples/.classpath
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry including="**/*.java" kind="src" output="target/classes" path="src/main/java">
+ <attributes>
+ <attribute name="optional" value="true"/>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry combineaccessrules="false" exported="true" kind="src" path="/org.apache.juneau.microservice"/>
+ <classpathentry combineaccessrules="false" exported="true" kind="src" path="/org.apache.juneau.server"/>
+ <classpathentry combineaccessrules="false" exported="true" kind="src" path="/org.apache.juneau"/>
+ <classpathentry combineaccessrules="false" exported="true" kind="src" path="/org.apache.juneau.client"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
+ <attributes>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="src" output="target/test-classes" path="src/test/java">
+ <attributes>
+ <attribute name="optional" value="true"/>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+ <attributes>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/.gitignore
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/.gitignore b/org.apache.juneau.samples/.gitignore
new file mode 100644
index 0000000..7a78833
--- /dev/null
+++ b/org.apache.juneau.samples/.gitignore
@@ -0,0 +1,5 @@
+bin/
+/logs/
+/.DS_Store
+/derby.log
+/target/
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/.jazzignore
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/.jazzignore b/org.apache.juneau.samples/.jazzignore
new file mode 100755
index 0000000..ba1c36a
--- /dev/null
+++ b/org.apache.juneau.samples/.jazzignore
@@ -0,0 +1,33 @@
+### Jazz Ignore 0
+# Ignored files and folders will not be committed, but may be modified during
+# accept or update.
+# - Ignore properties should contain a space separated list of filename patterns.
+# - Each pattern is case sensitive and surrounded by braces ('{' and '}').
+# - "*" matches zero or more characters.
+# - "?" matches a single character.
+# - The pattern list may be split across lines by ending the line with a
+# backslash and starting the next line with a tab.
+# - Patterns in core.ignore prevent matching resources in the same
+# directory from being committed.
+# - Patterns in core.ignore.recursive matching resources in the current
+# directory and all subdirectories from being committed.
+# - The default value of core.ignore.recursive is *.class
+# - The default value for core.ignore is bin
+#
+# To ignore shell scripts and hidden files in this subtree:
+# e.g: core.ignore.recursive = {*.sh} {\.*}
+#
+# To ignore resources named 'bin' in the current directory (but allow
+# them in any sub directorybelow):
+# e.g: core.ignore = {bin}
+#
+# NOTE: modifying ignore files will not change the ignore status of
+# Eclipse derived resources.
+
+core.ignore.recursive= \
+ {*.class} \
+ {build} \
+ {logs}
+
+core.ignore= \
+ {bin}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/.project
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/.project b/org.apache.juneau.samples/.project
new file mode 100755
index 0000000..43bdb80
--- /dev/null
+++ b/org.apache.juneau.samples/.project
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.apache.juneau.samples</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.m2e.core.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.m2e.core.maven2Nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/.settings/org.eclipse.jdt.core.prefs
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/.settings/org.eclipse.jdt.core.prefs b/org.apache.juneau.samples/.settings/org.eclipse.jdt.core.prefs
new file mode 100755
index 0000000..d10cfc0
--- /dev/null
+++ b/org.apache.juneau.samples/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,393 @@
+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.codeComplete.staticFinalFieldPrefixes=
+org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes=
+org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
+org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
+org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
+org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
+org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.doc.comment.support=enabled
+org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
+org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
+org.eclipse.jdt.core.compiler.problem.deadCode=warning
+org.eclipse.jdt.core.compiler.problem.deprecation=warning
+org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
+org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
+org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
+org.eclipse.jdt.core.compiler.problem.emptyStatement=warning
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
+org.eclipse.jdt.core.compiler.problem.fallthroughCase=warning
+org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
+org.eclipse.jdt.core.compiler.problem.fieldHiding=warning
+org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
+org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
+org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
+org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
+org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
+org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
+org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning
+org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=protected
+org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning
+org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
+org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
+org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
+org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
+org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
+org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
+org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
+org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
+org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
+org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
+org.eclipse.jdt.core.compiler.problem.nullReference=warning
+org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
+org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
+org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
+org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning
+org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
+org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
+org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning
+org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
+org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
+org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
+org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
+org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
+org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
+org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
+org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
+org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
+org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
+org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
+org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
+org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning
+org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning
+org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.unusedImport=warning
+org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
+org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
+org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning
+org.eclipse.jdt.core.compiler.problem.unusedParameter=warning
+org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
+org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
+org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
+org.eclipse.jdt.core.compiler.processAnnotations=disabled
+org.eclipse.jdt.core.compiler.source=1.6
+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_annotation=0
+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_method_declaration=0
+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_resources_in_try=80
+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.alignment_for_union_type_in_multicatch=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=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_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=do not insert
+org.eclipse.jdt.core.formatter.comment.line_length=200
+org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
+org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
+org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
+org.eclipse.jdt.core.formatter.compact_else_if=true
+org.eclipse.jdt.core.formatter.continuation_indentation=1
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=1
+org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
+org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
+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=3
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not 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=do not 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=do not 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=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=do not 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_try=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_semicolon_in_try_resources=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_try=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_try=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_semicolon_in_try_resources=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.join_lines_in_comments=true
+org.eclipse.jdt.core.formatter.join_wrapped_lines=true
+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=200
+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=tab
+org.eclipse.jdt.core.formatter.tabulation.size=3
+org.eclipse.jdt.core.formatter.use_on_off_tags=false
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
+org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
+org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/.settings/org.eclipse.jdt.ui.prefs
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/.settings/org.eclipse.jdt.ui.prefs b/org.apache.juneau.samples/.settings/org.eclipse.jdt.ui.prefs
new file mode 100755
index 0000000..7d41e3f
--- /dev/null
+++ b/org.apache.juneau.samples/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,9 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.ui.exception.name=e
+org.eclipse.jdt.ui.gettersetter.use.is=true
+org.eclipse.jdt.ui.ignorelowercasenames=true
+org.eclipse.jdt.ui.importorder=java;javax;org;com;
+org.eclipse.jdt.ui.keywordthis=false
+org.eclipse.jdt.ui.ondemandthreshold=1
+org.eclipse.jdt.ui.overrideannotation=true
+org.eclipse.jdt.ui.staticondemandthreshold=1
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/.settings/org.eclipse.m2e.core.prefs
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/.settings/org.eclipse.m2e.core.prefs b/org.apache.juneau.samples/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 0000000..f897a7f
--- /dev/null
+++ b/org.apache.juneau.samples/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/META-INF/MANIFEST.MF b/org.apache.juneau.samples/META-INF/MANIFEST.MF
new file mode 100755
index 0000000..7368cf1
--- /dev/null
+++ b/org.apache.juneau.samples/META-INF/MANIFEST.MF
@@ -0,0 +1,21 @@
+Manifest-Version: 1.0
+Main-Class: org.apache.juneau.microservice.RestMicroservice
+Rest-Resources: org.apache.juneau.server.samples.RootResources
+Main-ConfigFile: samples.cfg
+Class-Path:
+ lib/commons-codec-1.9.jar
+ lib/commons-io-1.2.jar
+ lib/commons-logging-1.1.1.jar
+ lib/httpclient-4.5.jar
+ lib/httpcore-4.4.1.jar
+ lib/httpmime-4.5.jar
+ lib/javax.servlet-api-3.0.jar
+ lib/jetty-all-8.1.0.jar
+ lib/juneau-all-5.2.jar
+ lib/org.apache.commons.fileupload_1.3.1.jar
+ lib/derby.jar
+ lib/jena-core-2.7.1.jar
+ lib/jena-iri-0.9.2.jar
+ lib/log4j-1.2.16.jar
+ lib/slf4j-api-1.6.4.jar
+ lib/slf4j-log4j12-1.6.4.jar
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/OSGI-INF/l10n/plugin.properties
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/OSGI-INF/l10n/plugin.properties b/org.apache.juneau.samples/OSGI-INF/l10n/plugin.properties
new file mode 100755
index 0000000..2c214a2
--- /dev/null
+++ b/org.apache.juneau.samples/OSGI-INF/l10n/plugin.properties
@@ -0,0 +1,18 @@
+# ***************************************************************************************************************************
+# * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *
+# * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *
+# * to you 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. *
+# ***************************************************************************************************************************
+# NLS_ENCODING=UTF-8
+# NLS_MESSAGEFORMAT_VAR
+
+# META-INF/MANIFEST.MF
+bundle.name = Juneau Cloud Tools - Samples
+bundle.vendor = IBM
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/build.properties
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/build.properties b/org.apache.juneau.samples/build.properties
new file mode 100755
index 0000000..881d866
--- /dev/null
+++ b/org.apache.juneau.samples/build.properties
@@ -0,0 +1,20 @@
+# ***************************************************************************************************************************
+# * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
+# * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
+# * to you 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.
+# *
+# ***************************************************************************************************************************
+
+source.. = src/main/java
+output.. = target/classes
+bin.includes = META-INF/,\
+ .,\
+ OSGI-INF/
+jre.compilation.profile = JavaSE-1.6
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/juneau-samples.launch
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/juneau-samples.launch b/org.apache.juneau.samples/juneau-samples.launch
new file mode 100755
index 0000000..8578fa6
--- /dev/null
+++ b/org.apache.juneau.samples/juneau-samples.launch
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/org.apache.juneau.microservice/src/main/java/org/apache/juneau/microservice/RestMicroservice.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.m2e.launchconfig.classpathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.apache.juneau.microservice.RestMicroservice"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.apache.juneau.samples"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.m2e.launchconfig.sourcepathProvider"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/lib/.jazzignore
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/lib/.jazzignore b/org.apache.juneau.samples/lib/.jazzignore
new file mode 100755
index 0000000..68fa8a3
--- /dev/null
+++ b/org.apache.juneau.samples/lib/.jazzignore
@@ -0,0 +1,30 @@
+### Jazz Ignore 0
+# Ignored files and folders will not be committed, but may be modified during
+# accept or update.
+# - Ignore properties should contain a space separated list of filename patterns.
+# - Each pattern is case sensitive and surrounded by braces ('{' and '}').
+# - "*" matches zero or more characters.
+# - "?" matches a single character.
+# - The pattern list may be split across lines by ending the line with a
+# backslash and starting the next line with a tab.
+# - Patterns in core.ignore prevent matching resources in the same
+# directory from being committed.
+# - Patterns in core.ignore.recursive matching resources in the current
+# directory and all subdirectories from being committed.
+# - The default value of core.ignore.recursive is *.class
+# - The default value for core.ignore is bin
+#
+# To ignore shell scripts and hidden files in this subtree:
+# e.g: core.ignore.recursive = {*.sh} {\.*}
+#
+# To ignore resources named 'bin' in the current directory (but allow
+# them in any sub directorybelow):
+# e.g: core.ignore = {bin}
+#
+# NOTE: modifying ignore files will not change the ignore status of
+# Eclipse derived resources.
+
+core.ignore.recursive=
+
+core.ignore= \
+ {juneau-microservice.jar}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/lib/derby.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/lib/derby.jar b/org.apache.juneau.samples/lib/derby.jar
new file mode 100755
index 0000000..a4d56f0
Binary files /dev/null and b/org.apache.juneau.samples/lib/derby.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/lib/jena-core-2.7.1.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/lib/jena-core-2.7.1.jar b/org.apache.juneau.samples/lib/jena-core-2.7.1.jar
new file mode 100755
index 0000000..7c3b570
Binary files /dev/null and b/org.apache.juneau.samples/lib/jena-core-2.7.1.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/lib/jena-iri-0.9.2.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/lib/jena-iri-0.9.2.jar b/org.apache.juneau.samples/lib/jena-iri-0.9.2.jar
new file mode 100755
index 0000000..7c8da59
Binary files /dev/null and b/org.apache.juneau.samples/lib/jena-iri-0.9.2.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/lib/log4j-1.2.16.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/lib/log4j-1.2.16.jar b/org.apache.juneau.samples/lib/log4j-1.2.16.jar
new file mode 100755
index 0000000..5429a90
Binary files /dev/null and b/org.apache.juneau.samples/lib/log4j-1.2.16.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/lib/slf4j-api-1.6.4.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/lib/slf4j-api-1.6.4.jar b/org.apache.juneau.samples/lib/slf4j-api-1.6.4.jar
new file mode 100755
index 0000000..76ef305
Binary files /dev/null and b/org.apache.juneau.samples/lib/slf4j-api-1.6.4.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/lib/slf4j-log4j12-1.6.4.jar
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/lib/slf4j-log4j12-1.6.4.jar b/org.apache.juneau.samples/lib/slf4j-log4j12-1.6.4.jar
new file mode 100755
index 0000000..1517fbd
Binary files /dev/null and b/org.apache.juneau.samples/lib/slf4j-log4j12-1.6.4.jar differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/pom.xml
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/pom.xml b/org.apache.juneau.samples/pom.xml
new file mode 100644
index 0000000..97d6920
--- /dev/null
+++ b/org.apache.juneau.samples/pom.xml
@@ -0,0 +1,28 @@
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.juneau</groupId>
+ <artifactId>org.apache.juneau.samples</artifactId>
+ <version>6.0.0-SNAPSHOT</version>
+ <name>org.apache.juneau.samples</name>
+ <description>org.apache.juneau.samples</description>
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/java</directory>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.3</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/samples.cfg
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/samples.cfg b/org.apache.juneau.samples/samples.cfg
new file mode 100755
index 0000000..cbf4f99
--- /dev/null
+++ b/org.apache.juneau.samples/samples.cfg
@@ -0,0 +1,130 @@
+#================================================================================
+# Basic configuration file for SaaS microservices
+# Subprojects can use this as a starting point.
+#================================================================================
+
+#================================================================================
+# REST settings
+#================================================================================
+[REST]
+
+port = 10000
+
+# Authentication: NONE, BASIC.
+authType = NONE
+
+# The BASIC auth username, password, and realm
+loginUser =
+loginPassword =
+authRealm =
+
+# Stylesheet to use for HTML views.
+# The default options are:
+# - styles/juneau.css
+# - styles/devops.css
+# Other stylesheets can be referenced relative to the servlet package or working
+# directory.
+stylesheet = styles/devops.css
+
+# What to do when the config file is saved.
+# Possible values:
+# NOTHING - Don't do anything.
+# RESTART_SERVER - Restart the Jetty server.
+# RESTART_SERVICE - Shutdown and exit with code '3'.
+saveConfigAction = RESTART_SERVER
+
+# Enable SSL support.
+useSsl = false
+
+#================================================================================
+# Bean properties on the org.eclipse.jetty.util.ssl.SslSocketFactory class
+#--------------------------------------------------------------------------------
+# Ignored if REST/useSsl is false.
+# Specify any of the following fields:
+# allowRenegotiate (boolean)
+# certAlias (String)
+# crlPath (String)
+# enableCRLDP (boolean)
+# enableOCSP (boolean)
+# excludeCipherSuites (String[])
+# excludeProtocols (String[])
+# includeCipherSuites (String[])
+# includeProtocols (String...)
+# keyManagerPassword (String)
+# keyStore (String)
+# keyStorePassword (String)
+# keyStorePath (String)
+# keyStoreProvider (String)
+# keyStoreType (String)
+# maxCertPathLength (int)
+# needClientAuth (boolean)
+# ocspResponderURL (String)
+# protocol (String)
+# provider (String)
+# secureRandomAlgorithm (String)
+# sessionCachingEnabled (boolean)
+# sslKeyManagerFactoryAlgorithm (String)
+# sslSessionCacheSize (int)
+# sslSessionTimeout (int)
+# trustAll (boolean)
+# trustManagerFactoryAlgorithm (String)
+# trustStore (String)
+# trustStorePassword (String)
+# trustStoreProvider (String)
+# trustStoreType (String)
+# validateCerts (boolean)
+# validatePeerCerts (boolean)
+# wantClientAuth (boolean)
+#================================================================================
+[REST-SslContextFactory]
+keyStorePath = client_keystore.jks
+keyStorePassword* = {HRAaRQoT}
+excludeCipherSuites = TLS_DHE.*, TLS_EDH.*
+excludeProtocols = SSLv3
+allowRenegotiate = false
+
+#================================================================================
+# Logger settings
+# See FileHandler Java class for details.
+#================================================================================
+[Logging]
+logDir = logs
+logFile = sample.%g.log
+dateFormat = yyyy.MM.dd hh:mm:ss
+format = [{date} {level}] {msg}%n
+append = false
+limit = 10M
+count = 5
+levels = { org.apache.juneau:'INFO' }
+useStackTraceHashes = true
+consoleLevel = WARNING
+
+#================================================================================
+# System properties
+#--------------------------------------------------------------------------------
+# These are arbitrary system properties that can be set during startup.
+#================================================================================
+[SystemProperties]
+
+# Configure Jetty for StdErrLog Logging
+org.eclipse.jetty.util.log.class = org.eclipse.jetty.util.log.StrErrLog
+
+# Jetty logging level
+org.eclipse.jetty.LEVEL = WARN
+
+#================================================================================
+# DockerRegistryResource properties
+#================================================================================
+[DockerRegistry]
+url = http://clmdocker02.ratl.swg.usma.ibm.com:5000/v1
+
+#================================================================================
+# SqlQueryResource properties
+#================================================================================
+[SqlQueryResource]
+driver = org.apache.derby.jdbc.EmbeddedDriver
+connectionUrl = jdbc:derby:C:/testDB;create=true
+allowTempUpdates = true
+includeRowNums = true
+
+
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/Address.java
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/Address.java b/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/Address.java
new file mode 100755
index 0000000..ed05dc0
--- /dev/null
+++ b/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/Address.java
@@ -0,0 +1,53 @@
+/***************************************************************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.juneau.samples.addressbook;
+
+import java.net.URI;
+
+import org.apache.juneau.annotation.*;
+import org.apache.juneau.jena.annotation.*;
+import org.apache.juneau.xml.annotation.*;
+
+/**
+ * Address bean
+ */
+@Xml(prefix="addr",name="address")
+@Rdf(prefix="addr")
+public class Address {
+
+ private static int nextAddressId = 1;
+
+ // Bean properties
+ @BeanProperty(beanUri=true) public URI uri;
+ public URI personUri;
+ public int id;
+ @Xml(prefix="mail") @Rdf(prefix="mail") public String street, city, state;
+ @Xml(prefix="mail") @Rdf(prefix="mail") public int zip;
+ public boolean isCurrent;
+
+ /** Bean constructor - Needed for instantiating on client side */
+ public Address() {}
+
+ /** Normal constructor - Needed for instantiating on server side */
+ public Address(URI addressBookUri, URI personUri, CreateAddress ca) throws Exception {
+ this.id = nextAddressId++;
+ if (addressBookUri != null)
+ this.uri = addressBookUri.resolve("addresses/" + id);
+ this.personUri = personUri;
+ this.street = ca.street;
+ this.city = ca.city;
+ this.state = ca.state;
+ this.zip = ca.zip;
+ this.isCurrent = ca.isCurrent;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/AddressBook.java
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/AddressBook.java b/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/AddressBook.java
new file mode 100755
index 0000000..65849df
--- /dev/null
+++ b/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/AddressBook.java
@@ -0,0 +1,102 @@
+/***************************************************************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.juneau.samples.addressbook;
+
+import java.net.*;
+import java.text.*;
+import java.util.*;
+
+import org.apache.juneau.xml.annotation.*;
+
+/**
+ * Address book bean
+ */
+@Xml(name="addressBook")
+public class AddressBook extends LinkedList<Person> implements IAddressBook {
+ private static final long serialVersionUID = 1L;
+
+ // The URL of this resource
+ private URI uri;
+
+ /** Bean constructor - Needed for instantiating on server side */
+ public AddressBook() {}
+
+ /** Bean constructor - Needed for instantiating on client side */
+ public AddressBook(URI uri) throws Exception {
+ this.uri = uri;
+ }
+
+ @Override /* IAddressBook */
+ public List<Person> getPeople() {
+ return this;
+ }
+
+ @Override /* IAddressBook */
+ public Person createPerson(CreatePerson cp) throws Exception {
+ Person p = new Person(uri, cp);
+ add(p);
+ return p;
+ }
+
+ @Override /* IAddressBook */
+ public Person findPerson(int id) {
+ for (Person p : this)
+ if (p.id == id)
+ return p;
+ return null;
+ }
+
+ @Override /* IAddressBook */
+ public Address findAddress(int id) {
+ for (Person p : this)
+ for (Address a : p.addresses)
+ if (a.id == id)
+ return a;
+ return null;
+ }
+
+ @Override /* IAddressBook */
+ public Person findPersonWithAddress(int id) {
+ for (Person p : this)
+ for (Address a : p.addresses)
+ if (a.id == id)
+ return p;
+ return null;
+ }
+
+ @Override /* IAddressBook */
+ public List<Address> getAddresses() {
+ Set<Address> s = new LinkedHashSet<Address>();
+ for (Person p : this)
+ for (Address a : p.addresses)
+ s.add(a);
+ return new ArrayList<Address>(s);
+ }
+
+ @Override /* IAddressBook */
+ public Person removePerson(int id) {
+ Person p = findPerson(id);
+ if (p != null)
+ this.remove(p);
+ return p;
+ }
+
+ /** Utility method */
+ public static Calendar toCalendar(String birthDate) throws Exception {
+ Calendar c = new GregorianCalendar();
+ c.setTime(DateFormat.getDateInstance(DateFormat.MEDIUM, Locale.US).parse(birthDate));
+ return c;
+ }
+}
+
+
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/CreateAddress.java
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/CreateAddress.java b/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/CreateAddress.java
new file mode 100755
index 0000000..5f1b0e0
--- /dev/null
+++ b/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/CreateAddress.java
@@ -0,0 +1,41 @@
+/***************************************************************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.juneau.samples.addressbook;
+
+import org.apache.juneau.jena.annotation.*;
+import org.apache.juneau.xml.annotation.*;
+
+/**
+ * POJO for creating a new address
+ */
+@Xml(prefix="addr",name="address")
+@Rdf(prefix="addr")
+public class CreateAddress {
+
+ // Bean properties
+ @Xml(prefix="mail") @Rdf(prefix="mail") public String street, city, state;
+ @Xml(prefix="mail") @Rdf(prefix="mail") public int zip;
+ public boolean isCurrent;
+
+ /** Bean constructor - Needed for instantiating on server side */
+ public CreateAddress() {}
+
+ /** Normal constructor - Needed for instantiating on client side */
+ public CreateAddress(String street, String city, String state, int zip, boolean isCurrent) {
+ this.street = street;
+ this.city = city;
+ this.state = state;
+ this.zip = zip;
+ this.isCurrent = isCurrent;
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/CreatePerson.java
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/CreatePerson.java b/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/CreatePerson.java
new file mode 100755
index 0000000..f2ce0ce
--- /dev/null
+++ b/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/CreatePerson.java
@@ -0,0 +1,44 @@
+/***************************************************************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.juneau.samples.addressbook;
+
+import java.util.*;
+
+import org.apache.juneau.annotation.*;
+import org.apache.juneau.jena.annotation.*;
+import org.apache.juneau.transforms.*;
+import org.apache.juneau.xml.annotation.*;
+
+/**
+ * POJO for creating a new person
+ */
+@Xml(prefix="per",name="person")
+@Rdf(prefix="per")
+public class CreatePerson {
+
+ // Bean properties
+ public String name;
+ @BeanProperty(transform=CalendarTransform.Medium.class) public Calendar birthDate;
+ public LinkedList<CreateAddress> addresses = new LinkedList<CreateAddress>();
+
+ /** Bean constructor - Needed for instantiating on server side */
+ public CreatePerson() {}
+
+ /** Normal constructor - Needed for instantiating on client side */
+ public CreatePerson(String name, Calendar birthDate, CreateAddress...addresses) {
+ this.name = name;
+ this.birthDate = birthDate;
+ this.addresses.addAll(Arrays.asList(addresses));
+ }
+}
+
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/IAddressBook.java
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/IAddressBook.java b/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/IAddressBook.java
new file mode 100755
index 0000000..fb8512c
--- /dev/null
+++ b/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/IAddressBook.java
@@ -0,0 +1,45 @@
+/***************************************************************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.juneau.samples.addressbook;
+
+import java.util.*;
+
+import org.apache.juneau.server.samples.*;
+
+/**
+ * Interface used to help illustrate proxy interfaces.
+ * See {@link SampleRemoteableServlet}.
+ */
+public interface IAddressBook {
+
+ /** Return all people in the address book */
+ List<Person> getPeople();
+
+ /** Return all addresses in the address book */
+ List<Address> getAddresses();
+
+ /** Create a person in this address book */
+ Person createPerson(CreatePerson cp) throws Exception;
+
+ /** Find a person by id */
+ Person findPerson(int id);
+
+ /** Find an address by id */
+ Address findAddress(int id);
+
+ /** Find a person by address id */
+ Person findPersonWithAddress(int id);
+
+ /** Remove a person by id */
+ Person removePerson(int id);
+}
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/Person.java
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/Person.java b/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/Person.java
new file mode 100755
index 0000000..6afdad2
--- /dev/null
+++ b/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/Person.java
@@ -0,0 +1,72 @@
+/***************************************************************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.juneau.samples.addressbook;
+
+import java.net.URI;
+import java.util.*;
+
+import org.apache.juneau.annotation.*;
+import org.apache.juneau.jena.annotation.*;
+import org.apache.juneau.transforms.*;
+import org.apache.juneau.xml.annotation.*;
+
+/**
+ * Person POJO
+ */
+@Xml(prefix="per",name="person")
+@Rdf(prefix="per")
+public class Person {
+
+ private static int nextPersonId = 1;
+
+ // Bean properties
+ @BeanProperty(beanUri=true) public URI uri;
+ public URI addressBookUri;
+ public int id;
+ public String name;
+ @BeanProperty(transform=CalendarTransform.Medium.class) public Calendar birthDate;
+ public LinkedList<Address> addresses = new LinkedList<Address>();
+
+ /** Bean constructor - Needed for instantiating on server side */
+ public Person() {}
+
+ /** Normal constructor - Needed for instantiating on client side */
+ public Person(URI addressBookUri, CreatePerson cp) throws Exception {
+ this.id = nextPersonId++;
+ this.addressBookUri = addressBookUri;
+ if (addressBookUri != null)
+ this.uri = addressBookUri.resolve("people/" + id);
+ this.name = cp.name;
+ this.birthDate = cp.birthDate;
+ for (CreateAddress ca : cp.addresses)
+ this.addresses.add(new Address(addressBookUri, uri, ca));
+ }
+
+ /** Extra read-only bean property */
+ public int getAge() {
+ return new GregorianCalendar().get(Calendar.YEAR) - birthDate.get(Calendar.YEAR);
+ }
+
+ /** Convenience method - Add an address for this person */
+ public Address createAddress(CreateAddress ca) throws Exception {
+ Address a = new Address(addressBookUri, uri, ca);
+ addresses.add(a);
+ return a;
+ }
+
+ /** Extra method (for method invocation example) */
+ public String sayHello(String toPerson, int age) {
+ return name + " says hello to " + toPerson + " who is " + age + " years old";
+ }
+}
+
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/package-info.java
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/package-info.java b/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/package-info.java
new file mode 100755
index 0000000..d079914
--- /dev/null
+++ b/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/package-info.java
@@ -0,0 +1,35 @@
+/***************************************************************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ ***************************************************************************************************************************/
+// XML namespaces used in this package
+@XmlSchema(
+ prefix="ab",
+ xmlNs={
+ @XmlNs(prefix="ab", namespaceURI="http://www.ibm.com/addressBook/"),
+ @XmlNs(prefix="per", namespaceURI="http://www.ibm.com/person/"),
+ @XmlNs(prefix="addr", namespaceURI="http://www.ibm.com/address/"),
+ @XmlNs(prefix="mail", namespaceURI="http://www.ibm.com/mail/")
+ }
+)
+@RdfSchema(
+ prefix="ab",
+ rdfNs={
+ @RdfNs(prefix="ab", namespaceURI="http://www.ibm.com/addressBook/"),
+ @RdfNs(prefix="per", namespaceURI="http://www.ibm.com/person/"),
+ @RdfNs(prefix="addr", namespaceURI="http://www.ibm.com/address/"),
+ @RdfNs(prefix="mail", namespaceURI="http://www.ibm.com/mail/")
+ }
+)
+package org.apache.juneau.samples.addressbook;
+import org.apache.juneau.jena.annotation.*;
+import org.apache.juneau.xml.annotation.*;
+
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/package.html
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/package.html b/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/package.html
new file mode 100755
index 0000000..5ac8abc
--- /dev/null
+++ b/org.apache.juneau.samples/src/main/java/org/apache/juneau/samples/addressbook/package.html
@@ -0,0 +1,27 @@
+<html>
+<head>
+ <style type="text/css">
+ /* For viewing in Page Designer */
+ @IMPORT url("../../../../../../org.apache.juneau/javadoc.css");
+
+ /* For viewing in REST interface */
+ @IMPORT url("../htdocs/javadoc.css");
+ body {
+ margin: 20px;
+ }
+ </style>
+ <script>
+ /* Replace all @code and @link tags. */
+ window.onload = function() {
+ document.body.innerHTML = document.body.innerHTML.replace(/\{\@code ([^\}]+)\}/g, '<code>$1</code>');
+ document.body.innerHTML = document.body.innerHTML.replace(/\{\@link (([^\}]+)\.)?([^\.\}]+)\}/g, '<code>$3</code>');
+ }
+ </script>
+</head>
+<body>
+<p>Javadocs for Address Book Resource Example</p>
+<p>
+ Pretend there is documentation here.
+</p>
+</body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/1b4f98a0/org.apache.juneau.samples/src/main/java/org/apache/juneau/server/samples/AdminGuard.java
----------------------------------------------------------------------
diff --git a/org.apache.juneau.samples/src/main/java/org/apache/juneau/server/samples/AdminGuard.java b/org.apache.juneau.samples/src/main/java/org/apache/juneau/server/samples/AdminGuard.java
new file mode 100755
index 0000000..b6e3d1a
--- /dev/null
+++ b/org.apache.juneau.samples/src/main/java/org/apache/juneau/server/samples/AdminGuard.java
@@ -0,0 +1,26 @@
+/***************************************************************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.juneau.server.samples;
+
+import org.apache.juneau.server.*;
+
+/**
+ * Sample guard that only lets administrators through.
+ */
+public class AdminGuard extends RestGuard {
+
+ @Override /* RestGuard */
+ public boolean isRequestAllowed(RestRequest req) {
+ return true;
+ }
+}