Skip to content

Commit 5d270c2

Browse files
committed
added test case for bundles with space in filename
1 parent d46a7e5 commit 5d270c2

10 files changed

Lines changed: 27 additions & 4 deletions

File tree

.settings/org.eclipse.core.resources.prefs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ encoding//gp-res-filter/src/test/resource/resfilter/xliff/input.xlf=UTF-8
44
encoding//gp-res-filter/src/test/resource/resfilter/xliff/write-output.xlf=UTF-8
55
encoding//src/main/java=UTF-8
66
encoding//src/main/resources=UTF-8
7+
encoding/<project>=UTF-8

gp-ant-task/.classpath

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,16 @@
1717
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
1818
</attributes>
1919
</classpathentry>
20+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
21+
<attributes>
22+
<attribute name="maven.pomderived" value="true"/>
23+
</attributes>
24+
</classpathentry>
25+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
26+
<attributes>
27+
<attribute name="optional" value="true"/>
28+
<attribute name="maven.pomderived" value="true"/>
29+
</attributes>
30+
</classpathentry>
2031
<classpathentry kind="output" path="target/classes"/>
2132
</classpath>

gp-ant-task/.project

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
</arguments>
1717
</buildCommand>
1818
<buildCommand>
19-
<name>org.eclipse.m2e.core.maven2Builder</name>
19+
<name>org.eclipse.wst.validation.validationbuilder</name>
2020
<arguments>
2121
</arguments>
2222
</buildCommand>
2323
<buildCommand>
24-
<name>org.eclipse.wst.validation.validationbuilder</name>
24+
<name>org.eclipse.m2e.core.maven2Builder</name>
2525
<arguments>
2626
</arguments>
2727
</buildCommand>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
eclipse.preferences.version=1
22
encoding//src/main/java=UTF-8
3+
encoding//src/main/resources=UTF-8
34
encoding/<project>=UTF-8
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
22
<wb-module deploy-name="gp-ant-task">
33
<wb-resource deploy-path="/" source-path="/src/main/java"/>
4+
<wb-resource deploy-path="/" source-path="/src/main/resources"/>
45
</wb-module>
56
</project-modules>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
disabled=06target
2+
eclipse.preferences.version=1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
broker-url=https://gp-fakebroker-unsubscribed-ceriman.au-syd.mybluemix.net/newInstance
22
credentials=credentials.json
3-
createdbundles=com.bundle1.ResourceBundle,com.bundle2.ResourceBundle
3+
createdbundles=com.bundle1.ResourceBundle,com.bundle2.ResourceBundle,com.bundle3.Bundle_with_spaces
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
upload2.desc=description
2+
upload2.comment=comment
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"upload.desc":"description",
3+
"upload.comment":"comment",
4+
"upload.submit":"upload"
5+
}

gp-maven-plugin/src/it/t4-basic-download-success/verify.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ try {
3939
}
4040
}
4141
}
42-
assert filecount == 10
42+
assert filecount == 20
4343
} catch( Throwable t ) {
4444
t.printStackTrace()
4545
return false

0 commit comments

Comments
 (0)