-
Type:
Suggestion
-
Resolution: Won't Fix
-
None
-
Component/s: None
JIRA 4.3m1 has new source files that contain spaces in their names. JIRA 4.2 and 4.1 don't have source files with spaces in their names.
For realistic tests I guess that might be needed and spaces in filenames are valid but best practice is to avoid them. Take a look at this Coding Horror post
The first problem to come up is that everyone who develops on Unix and who uses find . | xargs grep to work with the source now has to use find -print0 | xargs -0 grep.
mdoar@mdoar2-3 atlassian-jira-4.3-m1-source]$ find . -type f | grep ' ' | more
./jira-project/jira-distribution/jira-installer-distribution/Launch JIRA in brow
ser.url
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-1/10005_Safari TPB-1.pdf
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-1/10007_thumb_Time out at 1.33.08 PM.png
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-1/10007_Time out at 1.33.08 PM.png
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-2/10010_Sample Document Template.dotx
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-2/10011_Sample Document.docx
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-2/10012_Sample Presentation (Run-Only).ppsx
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-2/10013_Sample Presentation Template.potx
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-2/10014_Sample Presentation.pptx
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-2/10015_Sample Spreadsheet Template.xltx
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-2/10016_Sample Spreadsheet.xlsx
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10020_Sample 1.0 Drawing Template.std
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10021_Sample 1.0 Drawing.sxd
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10022_Sample 1.0 Master Document.sxg
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10023_Sample 1.0 Presentation Template.sti
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10024_Sample 1.0 Presentation.sxi
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10025_Sample 1.0 Spreadsheet Template.stc
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10026_Sample 1.0 Spreadsheet.sxc
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10027_Sample 1.0 Text Document Template.stw
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10028_Sample 1.0 Text Document.sxw
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10029_Sample Database.odb
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10030_Sample Drawing Template.otg
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10031_Sample Drawing.odg
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10032_Sample Formula.odf
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10033_Sample Master Document.odm
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10034_Sample Presentation Template.otp
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10035_Sample Presentation.odp
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10036_Sample Spreadsheet Template.ots
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10037_Sample Spreadsheet.ods
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10038_Sample Text Document Template.ott
./jira-project/jira-func-tests/src/main/xml/TestBrowseZipAttachmentEntries/attac
hments/HSP/HSP-3/10039_Sample Text Document.odt
./jira-project/jira-ide-support/src/main/resources/ideaConfig/codestyles/JIRA Co
de Style.xml
./jira-project/jira-ide-support/src/main/resources/ideaConfig/fileTemplates/code
/Catch Statement Body.java
./jira-project/jira-ide-support/src/main/resources/ideaConfig/fileTemplates/code
/Implemented Method Body.java
./jira-project/jira-ide-support/src/main/resources/ideaConfig/fileTemplates/code
/New Method Body.java
./jira-project/jira-ide-support/src/main/resources/ideaConfig/fileTemplates/code
/Overridden Method Body.java
./jira-project/jira-ide-support/src/main/resources/ideaConfig/fileTemplates/incl
udes/File Header.java
./jira-project/jira-ide-support/src/main/resources/ideaConfig/fileTemplates/incl
udes/JavaDoc New.java
./jira-project/jira-ide-support/src/main/resources/ideaConfig/fileTemplates/incl
udes/Product Version.java