I missed the beginning of this thread but just want to say that I personally 
think that import is the best feature in Ant today (apart from Ant's being in 
the first place, that is)!
 
Phil :n)

        -----Original Message----- 
        From: Matt Benson [mailto:[EMAIL PROTECTED] 
        Sent: Thu 12/05/2005 21:43 
        To: Ant Developers List 
        Cc: 
        Subject: Re: [Bug 28444] - Import: Target Handling Bug
        
        

        --- Stefan Bodewig <[EMAIL PROTECTED]> wrote:
        [SNIP]
        > Turning Matt's idea around:
        >
        > (1) Target "foo" is in project "bar".
        > (2a) There already is a target "foo" from the file
        > that imported
        >      "bar", use the current code, we are ready,
        > "bar.foo" is there.
        > (2b) There is no other target "foo" yet.  Create an
        > empty placeholder
        >      target "bar.foo" that depends on "foo".
        >
        >      If then later a target "foo" is found in the
        > importing buildfile,
        >      replace the placeholder "bar.foo" with the
        > initial "foo" target.
        >
        > Wouldn't that work, stay backwards compatible and
        > hide "bar." whenever
        > possible?
        
        You confused me with the "later."  Even though this
        could theoretically happen via 3rd-party API calls, we
        wouldn't be able to detect it, would we?  Our local
        targets are known before we actually execute a
        top-level (target "") import, right?  So what I take
        away from the above is that when there is only one
        "foo", the real work lives in "foo" while "bar.foo"
        depends on "foo" (my idea turned around).  But say the
        importER explicitly depends on bar.foo .  Isn't this
        still going to pollute the log in the opposite way my
        implementation would? :) i.e.
        
        [foo]:
        
        [bar.foo]:
        
        -Matt
        >
        > Stefan
        >
        >
        ---------------------------------------------------------------------
        > To unsubscribe, e-mail:
        > [EMAIL PROTECTED]
        > For additional commands, e-mail:
        > [EMAIL PROTECTED]
        >
        >
        
        
        
                       
        Discover Yahoo!
        Find restaurants, movies, travel and more fun for the weekend. Check it 
out!
        http://discover.yahoo.com/weekend.html
        
        
        ---------------------------------------------------------------------
        To unsubscribe, e-mail: [EMAIL PROTECTED]
        For additional commands, e-mail: [EMAIL PROTECTED]
        
        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to