Re: Regression in action selection functionality in version 1.068

Lars Ivar Igesund <[email protected]> Sun, 29 Aug 2004 20:13:06 +0100
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
That is possibly a correct patch, but the problem is still present with 
it. Most likely because I haven't changed d.aap to use the 
builddllaction and buildlibaction attributes. (which I can, I just 
haven't been told that they're needed.)

Lars Ivar Igesund

Bram Moolenaar wrote:
> Lars Ivar Igesund wrote:
> 
> 
>>>Hmm, it seems like some problems from earlier has popped up again. 
>>>This time it manifested while building a static lib (which worked 
>>>properly before I updated from CVS). After compiling my d files, it 
>>>tries to link them using the default action in default.aap instead of 
>>>heeding the buildaction attribute that was added when compiling.
> 
> 
> Your change to default.aap goes in the wrong direction.  Instead, try
> this patch to Action.py that fixes the actual problem:
> 
> *** Action.py~	Sun Jun 20 21:48:25 2004
> --- Action.py	Thu Aug 26 17:09:47 2004
> ***************
> *** 90,97 ****
>       def defer_action_name(self, source = ""):
>           """Return name of action to defer the work to."""
>           for n in self.defer_var_names:
> !             if n == "{buildaction}":
> !                 aname = RecPython.get_var_attr(source, "buildaction")
>               else:
>                   aname = get_var_val(0, Global.globals, "_no", n)
>               if aname:
> --- 90,97 ----
>       def defer_action_name(self, source = ""):
>           """Return name of action to defer the work to."""
>           for n in self.defer_var_names:
> !             if len(n) > 2 and n[0] == '{' and n[-1] == '}':
> !                 aname = RecPython.get_var_attr(source, n[1:-1])
>               else:
>                   aname = get_var_val(0, Global.globals, "_no", n)
>               if aname:
> 



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click