Re: :action depend for D

"Lars Ivar Igesund" <[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <06a701c39fa3$843c8430$0200000a@mesmer>
----- Original Message ----- 
From: "Bram Moolenaar" <[email protected]>
>
> There is also a problem for people that don't have an internet
> connection.  They would not get past this :assertpkg.  Adding {optional}
> is possible, but then dependency checking doesn't work...  Is giving a
> warning sufficient?  Otherwise, the file could be included in the
> distribution somehow.

Well, the license allows it :) It is about 10k, but for aap's purposes it
don't need to be that large. Maybe a reduced version could be
included in case there is no connection and it isn't present othervise?

> > > I have uploaded this, thus you can try it out with "aap --install
> > > depchkd".
> >
> > Ok, the fetching and installing works as a charm. The problem though
> > with it being installed in bindir, is that :sys don't find at since that
dir
> > isn't in PATH. :assertpkg do, though. Some possible solutions.
> >
> > 1. Have the boot.aap install it somewhere that we *knows* is in PATH.
> >    (I don't like this solution).
> >
> > 2. Instruct the user to add bindir to PATH.
> >    (Not automatic enough?)
> >
> > 3. Add bindir to PATH automatically at some time.
> >    (Shell (atleast cmd.exe) must be restarted before it works)
> >
> > 4. Let :sys check bindir too.
> >     (A possibly ugly solution?)
> >
> > 5. Let the user provide a directory during install.
> >     (It is then up to the user to make sure the dir is in PATH)
>
> The Aap way of doing this is to use:
>
> :progsearch DDEPCHECK ddepcheck
>
> And then use ":sys $DDEPCHECK ..."

Ah, of course. And this works.

Lars Ivar Igesund



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
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.