Skip to content

Commit 239fb33

Browse files
committed
Added ftpKeyFile config.
1 parent 5def0d8 commit 239fb33

File tree

7 files changed

+33
-11
lines changed

7 files changed

+33
-11
lines changed

.classpath

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<classpath>
33
<classpathentry kind="src" path="src"/>
44
<classpathentry kind="src" path="assets"/>
5-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
5+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
66
<attributes>
77
<attribute name="module" value="true"/>
88
</attributes>
@@ -19,6 +19,6 @@
1919
<classpathentry exported="true" kind="lib" path="libs/jsonbeans-0.8.jar"/>
2020
<classpathentry kind="lib" path="libs/h2-1.4.197.jar"/>
2121
<classpathentry kind="lib" path="libs/jna-5.8.0.jar"/>
22-
<classpathentry kind="lib" path="libs/scar-1.11b.jar"/>
22+
<classpathentry kind="lib" path="libs/scar-1.11-all.jar"/>
2323
<classpathentry kind="output" path="bin"/>
2424
</classpath>

.settings/org.eclipse.jdt.core.prefs

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,34 @@
11
eclipse.preferences.version=1
22
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3-
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
4-
org.eclipse.jdt.core.compiler.compliance=1.7
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4+
org.eclipse.jdt.core.compiler.compliance=1.8
55
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
66
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7-
org.eclipse.jdt.core.compiler.source=1.7
7+
org.eclipse.jdt.core.compiler.release=enabled
8+
org.eclipse.jdt.core.compiler.source=1.8
89
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
10+
org.eclipse.jdt.core.formatter.alignment_for_additive_operator=16
911
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
1012
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
1113
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
1214
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
1315
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
1416
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
1517
org.eclipse.jdt.core.formatter.alignment_for_assignment=0
16-
org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
18+
org.eclipse.jdt.core.formatter.alignment_for_bitwise_operator=16
1719
org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
1820
org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
1921
org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
2022
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
23+
org.eclipse.jdt.core.formatter.alignment_for_logical_operator=16
2124
org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
2225
org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
26+
org.eclipse.jdt.core.formatter.alignment_for_multiplicative_operator=16
2327
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
2428
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
2529
org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
2630
org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
31+
org.eclipse.jdt.core.formatter.alignment_for_string_concatenation=16
2732
org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
2833
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
2934
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
@@ -109,11 +114,12 @@ org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
109114
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
110115
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
111116
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
117+
org.eclipse.jdt.core.formatter.insert_space_after_additive_operator=insert
112118
org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
113119
org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
114120
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
115121
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
116-
org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
122+
org.eclipse.jdt.core.formatter.insert_space_after_bitwise_operator=insert
117123
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
118124
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
119125
org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
@@ -144,6 +150,8 @@ org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
144150
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
145151
org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
146152
org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert
153+
org.eclipse.jdt.core.formatter.insert_space_after_logical_operator=insert
154+
org.eclipse.jdt.core.formatter.insert_space_after_multiplicative_operator=insert
147155
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
148156
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
149157
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
@@ -168,13 +176,17 @@ org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
168176
org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
169177
org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
170178
org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
179+
org.eclipse.jdt.core.formatter.insert_space_after_relational_operator=insert
171180
org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
172181
org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
182+
org.eclipse.jdt.core.formatter.insert_space_after_shift_operator=insert
183+
org.eclipse.jdt.core.formatter.insert_space_after_string_concatenation=insert
173184
org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
185+
org.eclipse.jdt.core.formatter.insert_space_before_additive_operator=insert
174186
org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
175187
org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
176188
org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
177-
org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
189+
org.eclipse.jdt.core.formatter.insert_space_before_bitwise_operator=insert
178190
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
179191
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
180192
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
@@ -222,6 +234,8 @@ org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do no
222234
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
223235
org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
224236
org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert
237+
org.eclipse.jdt.core.formatter.insert_space_before_logical_operator=insert
238+
org.eclipse.jdt.core.formatter.insert_space_before_multiplicative_operator=insert
225239
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
226240
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
227241
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
@@ -258,9 +272,12 @@ org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not inser
258272
org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
259273
org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
260274
org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
275+
org.eclipse.jdt.core.formatter.insert_space_before_relational_operator=insert
261276
org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
262277
org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
263278
org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
279+
org.eclipse.jdt.core.formatter.insert_space_before_shift_operator=insert
280+
org.eclipse.jdt.core.formatter.insert_space_before_string_concatenation=insert
264281
org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
265282
org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
266283
org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
@@ -286,6 +303,10 @@ org.eclipse.jdt.core.formatter.tabulation.char=tab
286303
org.eclipse.jdt.core.formatter.tabulation.size=3
287304
org.eclipse.jdt.core.formatter.use_on_off_tags=true
288305
org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
289-
org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
306+
org.eclipse.jdt.core.formatter.wrap_before_additive_operator=true
307+
org.eclipse.jdt.core.formatter.wrap_before_bitwise_operator=true
308+
org.eclipse.jdt.core.formatter.wrap_before_logical_operator=true
309+
org.eclipse.jdt.core.formatter.wrap_before_multiplicative_operator=true
290310
org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
311+
org.eclipse.jdt.core.formatter.wrap_before_string_concatenation=true
291312
org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true

libs/scar-1.11-all.jar

842 KB
Binary file not shown.

libs/scar-1.11b.jar

-594 KB
Binary file not shown.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<artifactId>clippy</artifactId>
1010
<version>1.0-SNAPSHOT</version>
1111

12-
<name>spine-launcher</name>
12+
<name>clippy</name>
1313

1414
<properties>
1515
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

src/com/esotericsoftware/clippy/Config.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public class Config {
8888
public int ftpPort;
8989
public String ftpUser;
9090
public String ftpPassword;
91+
public String ftpKeyFile;
9192
public String ftpDir;
9293
public String ftpUrl;
9394

src/com/esotericsoftware/clippy/Upload.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ protected String upload (final File file) throws Exception {
214214
}
215215
if (TRACE) trace("Uploading to SFTP: " + file);
216216
sftpUpload(clippy.config.ftpServer, clippy.config.ftpPort, clippy.config.ftpUser, clippy.config.ftpPassword,
217-
clippy.config.ftpDir, path(file.getAbsolutePath()), new ProgressMonitor() {
217+
clippy.config.ftpKeyFile, clippy.config.ftpDir, path(file.getAbsolutePath()), new ProgressMonitor() {
218218
public void progress (float fileProgress, float totalProgress) {
219219
setProgress(file, totalProgress);
220220
}

0 commit comments

Comments
 (0)