Re: Tried out Agide, some bugs

Bram Moolenaar <[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Tim Hemel wrote:

> I have finally found some time to get started with Agide and tried the
> tutorial today.  I noticed the following:
> 
> * when I first saved my hello.c file, I cannot right click on the
>   hello target to select build. Instead, I have to click on the
>   main.aap recipe and select build.

I can't seem to reproduce this problem.  I created a new project,
renamed the source to "hello.c" and the target to "hello", typed some
code in hello.c and could select "Build" on the "hello" target.
What did you do differently?

> * If I create the error (i -> j) and try to double click the error message,
>   a vim pops up with "hello.c [New File]". My hello.c was in ~/aaptest, but
>   agide tried to open ~/hello.c, which did not exist, hence the New File.

Agide was looking for a directory name in double quotes, but the message
was changed a while back to use the same quoting as GCC.  I'll fix that.

> Hopefully I will find some more time to study the code, so that I can
> integrate my unit testing software with it (neunit.sourceforge.net).
> Ideally, I would like to see a TEST branch on the aap tree, similar to
> SOURCE and TARGET.  Please correct me if this is not a good idea,
> after all today is my first real encounter with Aap.

I very much welcome expanding Agide.  Not much has been going on lately.
I use it for debugging Vim myself, which works well.  But Agide could do
a lot more.

I suppose your TEST branch would have virtual targets that you can give to
Aap.  Although this would be OK to do, perhaps there is a more generic
method.  Generally a recipe would have targets you can actually build,
such as a "hello" program, and virtual targets that tell Aap to do
something, such as running a test.  I suppose actual targets and virtual
targets are different enough that they should be put separately.

-- 
hundred-and-one symptoms of being an internet addict:
240. You think Webster's Dictionary is a directory of WEB sites.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.