Instead of trying to pipe, would something like this work (with regard to the structure of teh exec task) with each of the aruments as an arg value?
~RobertOn 7/20/06, Girardelli, Erin E
<[EMA
Put all of the commands in a some semblance of a
shell script file (.bat) call cmd.exe and pass the command
line parameter of shell script
M-
*This
email message and any files transmitted with it contain
confidentialinforma
Thanks for the suggestion, Chris. But, that one
didn't work for me either.
Erin
From: Chris Holt
[mailto:[EMAIL PROTECTED] Sent: Thursday, July 20, 2006 2:23
PMTo: 'Melissa Kacher'; Girardelli, Erin E;
nant-users@lists.sourceforge.netSubject: RE: [NAnt-users] Can't use
pipe (|) withi
as far as I know piping (or redirection) doesnt work from .net at all.
I seem to remember the Process class not being able to handle it a long
time ago.
Chris Holt wrote:
Actually, I'm not sure that will work either.
I think you
have to do this:
-Original
Actually, I'm not sure that will work either.
I think you have to do this:
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Melissa Kacher
Sent: Thursday, July 20, 2006 5:15 PM
To: Girardelli, Erin E; nant-users@lists.sourceforge.net
Subjec
Melissa,
I tried your suggestion, but I'm still getting the same error. Thanks
for the suggestion.
Erin
-Original Message-
From: Melissa Kacher [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 20, 2006 2:15 PM
To: Girardelli, Erin E; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-us
Your xml code has an illegal use of quotes.
Try this:
Thanks,
Melissa
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Girardelli, Erin E
Sent: Thursday, July 20, 2006 2:09 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Can't use pipe (
Hi,
When I try to use a pipe or redirecting arrow in the exec task, I get a
failure saying the program I executed has the wrong number of arguments.
Here's what it looks like within my script:
I get the same failure no matter what program I am using; it isn't
unique to my "p4.exe" progr
Hi Gert,I sent you a repro project earlier. Here is more information I found out: Threshold is the only property that gets NAnt choke. It is defined under the method section of dispinterface as:[propget, id(18), helpstring("property Threshold")] HRESULT Threshold([out, retval] short *pVal);
[proppu
We use the Updater Application Block from Microsoft for our application, and the "buildmanifest" step creates the ServerManifest.xml file that the application block uses to determine if the bootstrapper needs to download new files. The executable referenced in that step is one that I wrote which g
Thanks.
Adam Gritt wrote:
The easiest way I know of is the following:
On 7/20/06, Steve Whitley <[EMAIL PROTECTED]> wrote:
is
there an easy way (I'm really surprised there isnt already a task for
just a project) to compile a single proj
Steve Whitley wrote:
> is there an easy way (I'm really surprised there isnt already a task for
> just a project) to compile a single project?
>
For VS 2003 projects, the NAnt task is perfectly happy with a
single project file instead of a solution file.
Gary
--
Bonio Lopez wrote:
> Hi Gary,
>
>> What happens if you just make a change to p22? How would you rebuild it
>>
> without rebuilding the rest?
> I am sorry, but I don't understand where is the difference to the current
> approach. The nant will run over all projects and see that p1, p11,
Hi Larry,
Thanks for this info and it is very helpful. We are just now working on
our Windows installation process and have many questions, especially
relating to StarTeam, so it was very nice to hear from a current user.
Your script - target name="buildmanifest" - refers to an .exe and an
.xml
The easiest way I know of is the following:
On 7/20/06, Steve Whitley <[EMAIL PROTECTED]> wrote:
is there an easy way (I'm really surprised there isnt already a task forjust a project) to compile a single project?---
is there an easy way (I'm really surprised there isnt already a task for
just a project) to compile a single project?
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get t
Hi Gary,
>What happens if you just make a change to p22? How would you rebuild it
without rebuilding the rest?
I am sorry, but I don't understand where is the difference to the current
approach. The nant will run over all projects and see that p1, p11, p12,p13
are not changed. So it will not re
Bonio Lopez wrote:
> Hi Gary,
> Lets take a real example of my current project.
>
> Project with subprojects,
>
Let me be more specific. Are these .Net projects (i.e. C#, VB.Net,
etc.)? or something entirely different?
> p1, p11, p12, p13, p21, p22, p23,
>
> p11, p12, p13 depend on p1, but not
Hi Gary,
Lets take a real example of my current project.
Project with subprojects,
p1, p11, p12, p13, p21, p22, p23,
p11, p12, p13 depend on p1, but not under each other
P21, p22, p23 depend on p1x but not under each other
So I could build p11,p12,p13 in parallel after I have finished with p1 and
Evans, Jonathan (2) wrote:
> There are definitely cases where having compiled a couple of base projects
> the dependency tree then starts separating off into unrelated branches. And
> having compiled one dll it is immediatly possible to start testing or
> documenting it whilst the build process
Darren Gage wrote:
>
> I run FxCop via the command so I am sure to run the same
> Command Line version we do when running FxCop through Visual Studio.
> The Task is below:
>
> ...
>
> When I get FxCop Errors or Warnings, the build does not fail (I don't
> reach the catch block), even though I
There are definitely cases where having compiled a couple of base projects the
dependency tree then starts separating off into unrelated branches. And having
compiled one dll it is immediatly possible to start testing or documenting it
whilst the build process moves onto the next dll.
___
Bonio Lopez wrote:
> Hi,
> Meanwhile quite any machine has more then one processor (even Intel with
> Dual Core and HT).
> Would not it be nice to add multithreading to nant? As starting point I
> could imagine to add some attribute to task, like
>
>
>
Hello,
I have a query on the trycatch task.
Can I specify a particular type of exception to catch in the catch block. Like for eg in VB.NET if we want to catch a validation exception in a particular block of code we could say something like:
try
//Block of code to execute
catch ex as
I used exactly that approach but as our projects grew larger ended up with
massive files and awkward configuration. As a result we have developed a
series of custom tasks that simplify the configuration and management a lot.
We had a set of include files (global, solution, project), a solution
I certainly think this is a good way to go, but I don't
fragment to quite the level you have here.
Basically, I have a file called generictasks.build which
contains tasks such as compile, clean, assemblyinfo etc. Another
file called properties.build contains property definitions that are global
26 matches
Mail list logo