[Mono-bugs] [Bug 692100] New: More useful error message when aresgen fails

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu May 5 17:23:29 EDT 2011



           Summary: More useful error message when aresgen fails
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: x86-64
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Tools
        AssignedTo: mkestner at novell.com
        ReportedBy: akshay at renderdragon.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML,
like Gecko) Ubuntu/10.04 Chromium/11.0.696.57 Chrome/11.0.696.57 Safari/534.24

In the event that there is a malformed patch-9 image file that is used within
one of your axml resource layout file you receive cryptic errors that indicate
you are using a drawable in your axml (all drawables, not just the bad one)
that doesn't exist in your Designer.cs file.

Reproducible: Always

Steps to Reproduce:
1. Create a default project.
2. Add a couple of images. One of which should be a malformed patch-9 image
(first row or column has a value that is other than transparent or black, alpha
pixel is easy to use to test).
3. Add images as @drawable values in your .axml layout file.
4. Compile and you will get errors about the .axml file, nothing to indicate
that the aresgen failed or there is something wrong with one of your resources.
5. You need not even use the .9 file, simply include it in your project.
Actual Results:  
build output states: "No resource found that matches the given name (at
'background' with value '@drawable/test_bkgd')"

Expected Results:  
aresgen output that states the file that is malformed.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list