I have never used Merant but have you tried quoting the switch and parameter for -pp, something like this:

<exec program=’${pcli.executable}’ commandline=’run label –id${build.user} –pr${merant.project} –z –v${new.label} "–pp${build.source}"’ failonerror=’false’ />

[EMAIL PROTECTED] wrote:

Hi,

I have a problem with a build script for a Merant Version Manager Pcli build, there’s probably a simple answer but I can’t think what it is!

I have a section of code that is intended to apply a label to a set of files within Merant, the offending snippet of code is:

<exec program=’${pcli.executable}’ commandline=’run label –id${build.user} –pr${merant.project} –z –v${new.label} –pp${build.source}’ failonerror=’false’ />

where build.source=/Products/CTI Driver/DedicatedClient

Now the problem is the space in the path above, if I put the path in double quotes:

build.source value=’” /Products/CTI Driver/DedicatedClient”’ />

This gets around the space problem but the double quotes get included in the path name and passed along to Pcli which then falls over as it can’t resolve the path.

If I put the path without double quotes:

build.source value=’ /Products/CTI Driver/DedicatedClient’ />

This then falls over as pcli splits the path at the space.

Any ideas as to how I can get this rather annoying problem?

Thanks,

Zoltan





-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to