Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Automatic aliases for repositories and packages
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Guillaume Cartier  
View profile  
 More options Mar 16, 10:15 pm
From: Guillaume Cartier <gcart...@jazzscheme.org>
Date: Mon, 16 Mar 2009 22:15:02 -0400
Local: Mon, Mar 16 2009 10:15 pm
Subject: Automatic aliases for repositories and packages
Hi everyone,

I am very happy about this new feature. An important role of packages
in to enable code location transparency. The module system makes it so
packages can be moved from repositories (for example, a package
downloaded from an internet repository to a local repository) without
having to change any code refering to them. This is great but a key
element was missing. Any filesystem reference to files or directories
contained in a package, for example the code itself or some image
resources was still going to end up hardcoding some directory
structure unless some mecanism like jazz's aliases was used, but
creating those aliases by hand was really painful.

Now, every repository and package automatically become a jazz alias so
that for example an image resource in the myorg.mypackage package can
be specified as:

{File myorg.mypackage "images" "someimage.png"}

and if myorg.mypackage is moved, all file references will still be
valid as the myorg.mypackage alias is dynamically determined by the
module system.

Also, as every file / directory created through the Jedi IDE goes
through an 'anchorize' mecanism to determine the most specific alias
available, it means that everything created by the IDE containing
filesystem references, like catalogs, will automatically use package
aliases for files located inside packages making them 100% movable
with no change.

Guillaume


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google