I would assume that you would have to exec a call to g++ or something
like that. Should be pretty easy, I think.
target name=compile
property name=src.cpp value=source_file.cpp /
property name=g++.cmd value=g++ ${src.cpp} -o some-file-name-here
/
exec program=${g++.cmd} output=build.log
I've never made a custom task. The developers at my company provide me a
makefile and I launch make against that.
From: ptr [mailto:ptrajku...@gmail.com]
Sent: Thursday, February 19, 2009 4:01 PM
To: Michael Pento
Cc: nant-users@lists.sourceforge.net
Subject
Hi Bob,
I have been using 0.86 beta 1 of nant for about 3 months with the 0.85
version of nant-contrib without issue.
Still hoping they will start a 0.86 for contrib. though :-)
Thanks,
Mike
From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent:
Maybe map a drive to that machine and use that to publish to?
From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Thursday, April 16, 2009 11:12 AM
To: Suresh D.
Cc: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] How to publish remotely.
Hi Bob,
I have had to do this in the past for various reasons (binary
compatibility, setting versions to specific values, etc.) and I was
never able to find a suitable way to do it with nant alone. Ultimately,
I ended up writing a vbscript that would do the work for me and then I
would just
Why not call the second batch file from within the nant script? If the
build portion fails the batch file is never executed.
Mike
From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov]
Sent: Thursday, August 13, 2009 10:22 AM
To:
If I understand you correctly, you want the path without the filename.
get-buildfile-path() returns the path and file of the currently running
build script.
If all you need is the path portion, you could just parse that out
yourself:
!-- get the full path + build file --
property
Unless there is an option for aspnet_compiler.exe itself (I didn't see
one ...) to squelch warnings only, I don't think that the exec task can
do this.
Mike
-Original Message-
From: gmoney [mailto:g.lab...@autodata.ltd.uk]
Sent: Thursday, October 08, 2009 10:16 AM
To:
Hi Justin,
If your using the nant-contrib library you can use the record task
(http://nantcontrib.sourceforge.net/release/latest/help/tasks/record.htm
l) to save your output to a log file. It supports various output logging
levels and you will still get your output on the console.
target
Bob's right, I tried this just messing around (slow day here ...) :
property name=trainingwatermark value=lt;link
rel=quot;stylesheetquot; type=quot;text/cssquot;
href=quot;..\style\watermark.cssquot;gt; /
The output looks like this:
[echo] link rel=stylesheet type=text/css
Good Afternoon Folks,
I was just playing around with this and I was able to do it with a C#
script function in a target:
target name=getUserInput
script language=C# prefix=build
code![CDATA[
[Function(getInput)]
public static
11 matches
Mail list logo