Note that there are some explanatory texts on larger screens.

plurals
  1. POUnderstanding symbolic links to Android library projects in Eclipse/ADT
    primarykey
    data
    text
    <p>When referencing a library project with the current version of the ADT, an Eclipse <code>linkedResource</code> will be created in the .project file. I have a few questions about this.</p> <ol> <li>Why an Eclipse link at all? Why not simply add the src/ folder of the library directly using a relative path? You have to set a relative path to it in default.properties anyway, for aapt to see its resource files.</li> <li>This is more an Eclipse question, but I couldn't find an answer to this. The link that will be created has <code>type</code> 2. What does that mean? Which types are there?</li> <li>The link does not use the <code>location</code> attribute, but <code>locationURI</code>, having this format: <code>_android_&lt;lib_name&gt;_5deb8a74/src/main/java</code> What is that, and where does it point? Does the 5deb8a74 part carry any special meaning, or is it just a random string generated to avoid name clashes?</li> </ol> <p><strong>UPDATE</strong> I found the documentation on link definition syntax:</p> <blockquote> <p>link - the definition of a single linked resource.</p> <p>name - the project-relative path of the linked resource as it appears in the workspace.</p> <p>type - the resource type. Value values are: "1" for a file, or "2" for a folder.</p> <p>location - the local file system path of the target of the linked resource. Either an absolute path, or a relative path whose first segment is the name of a workspace path variable.</p> <p>locationURI - if the file is not in the local file system, this attribute contains the absolute URI of the resource in some backing file system.</p> </blockquote> <p>Still not sure why the ADT would use a locationURI, and I still haven't found where these URIs are defined (i.e. where they point to).</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload