Re: conditional flatten mapping

Matt Benson <[email protected]>
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <CAE9L6G2sjkRuGBjctf54SG+1sLZsXTZbDpf+HfKkSQ_LnZe7Kg@mail.gmail.com>
I can't think of anything offhand. Instead I'd say do two pathconverts
filtering your classpath two ways and concatenate the results.

HTH,
Matt

On Thu, Feb 5, 2015 at 8:54 AM, Jason Ricles <[email protected]> wrote:
> I have the following flatten mapping in my ant file.
>
>       <path id="build.classpath" path="${deplibs}"/>
>       <pathconvert property="mf.classpath" refid="build.classpath" pathsep=" ">
>         <flattenmapper/>
>       </pathconvert>
>
> However for a couple of the paths in the deplibs variable I want to
> make these full instead of relative paths. Is there anyway to do a
> conditional in the pathconvet in ant to say make these flat but do not
> flatten these paths?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
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.