Closed Bug 782324 Opened 14 years ago Closed 14 years ago

Add support in JarMaker for file names that contain '@'

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla18

People

(Reporter: smichaud, Assigned: fryn)

Details

Attachments

(1 file)

I frankly don't know if this worth fixing, but it came up at bug 781327 comment #6. The build error is as follows: /usr/local/src/Mozilla/bugzilla781327/mozilla-central/toolkit/themes/pinstripe/global/jar.mn processing /usr/local/src/Mozilla/bugzilla781327/mozilla-central/toolkit/themes/pinstripe/global/jar.mn Traceback (most recent call last): File "/usr/local/src/Mozilla/bugzilla781327/mozilla-central/config/JarMaker.py", line 489, in <module> main() File "/usr/local/src/Mozilla/bugzilla781327/mozilla-central/config/JarMaker.py", line 486, in main localedirs=options.l10n_src) File "/usr/local/src/Mozilla/bugzilla781327/mozilla-central/config/JarMaker.py", line 265, in makeJars jardir=jardir) File "/usr/local/src/Mozilla/bugzilla781327/mozilla-central/config/JarMaker.py", line 204, in makeJar raise RuntimeError(l) RuntimeError: skin/classic/global/tree/folder@2x.png (tree/folder@2x.png) This error is only visible if you set MOZ_MAKE_FLAGS to "-j1" in your mozconfig file. The error goes away if you replace the '@' character with a '-' character. Which is why I assume the '@' character is the problem.
<gavin> anyone have any thoughts about bug 782324? <khuey> my first thought is "is '@' even a legal filesystem character on our tier 1 platforms?" <khuey> my second thought is that you probably just need to fiddle the regexes JarMaker.py uses <gps> khuey: it's a valid character on OS X and Windows <khuey> even on FAT? <gavin> surely those are the most restrictive? <gps> I assume valid on Linux as well. but it is a shell metacharacter, so suckiness <gps> I don't have a FAT filesystem available to test on <khuey> the internet seems to think it's allowed on FAT
Attached patch patch — — Splinter Review
We'd like to have this for bug 781327, so we can follow the naming convention for HiDPI image files on OS X.
Assignee: nobody → fryn
Status: NEW → ASSIGNED
Attachment #657255 - Flags: review?(khuey)
Summary: JarMaker chokes on files with '@' in their names → Add support in JarMaker for file names that contain '@'
Target Milestone: --- → mozilla18
Version: unspecified → Trunk
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: