I'm using the latest release versions of NAnt and NAnt Contrib (0.92) on a 64
bit Windows 7 box. I am using the files from Issue 54
(https://github.com/rmboggs/nant/downloads). I created the scripts on a 32
bit XP machine, which has since bit the dust.
I am using it to do some things in
I suggest you modify your build script to use MSBuild task instead of the
solution task.
BOb
From: Joao Miguel Ferreira [mailto:joao.miguel.c.ferre...@gmail.com]
Sent: Tuesday, January 07, 2014 10:33 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] nightly build Solution format
I wonder if anyone is actively working on this project. I need to be able to
build targeting .Net 4.5.1... it seems the last release stops support at 4.0.
If this is just a matter of adding some config info so Nant can find the
framework/msbuild paths (it seems MSBuild 12 is now in the SDK path
So is NAnt going to use MS Build 12 now? I'm not sure how it finds the MSBuild
path. Does it find paths based on the Framework targeting version?
I guess a more general question, is NAnt able to work with .Net 4.5.1 yet? I
don't use the SOLUTION task I use the MSBUILD Task.
BOb
Hello,
I'm working on converting an Ant script to Nant and have ran into an issue
with
joining several variables together in Nant.
Below is the original Ant script in which it pulls information from a
properties
file and uses the information to feed the build. The project starts by
Hello,
I'm working on converting an Ant script to Nant and have ran into an issue
with
joining several variables together in Nant.
Below is the original Ant script in which it pulls information from a
properties
file and uses the information to feed the build. The project starts by
-Original Message-
From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Monday, June 17, 2013 9:22 AM
To: Labout, Douglas; 'nant-users@lists.sourceforge.net'
Subject: RE: Nested variables
Hello,
I'm working on converting an Ant script to Nant and have ran into an
issue with joining
: Labout, Douglas [mailto:douglas.lab...@efirstbank.com]
Sent: Monday, June 17, 2013 2:24 PM
To: Bob Archer; 'nant-users@lists.sourceforge.net'
Subject: RE: Nested variables
Hmm,
Let's see if I can explain it better...
Here is the properties file that contains all the components to be built
Hi all,
Is it possible to use some nant task to do this:
I need delete files with specific name NameOfFile*.zip which are older then 1
month and in dir must be at least 3 files of that name.
My english is not so good so here is example.
1. I have 30 files of specific name pattern. 25 are
Nant will not start after Windows update to Win 2008 server. Get log4net
error. Tried putting name=requirePermission=false in nant and log4net
section heads, no change. Any ideas? Thanks JCH
Are you running from the command line? Try to open the cmd window as
administer and see if that solves
If you want to go FROM src TO dest, it looks like you have your code
backwards... shouldn't it be:
copy todir=${destDir}
fileset basedir=${srcDir}
include name=** /
/fileset
/copy
Also, you can (should be able to) simplify your include to ** which should
match all files and
But, is there something unique in the node that you want to update? I assume no
since you are looping through them all?
BOb
From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Friday, April 20, 2012 9:48 AM
To: Bob Archer; nant-users@lists.sourceforge.net
Subject: RE: xmlpeek
google
find this http://bgeek.net/2005/09/19/nant-xml-node-counting/
BOb
From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Friday, April 20, 2012 9:48 AM
To: Bob Archer; nant-users@lists.sourceforge.net
Subject: RE: xmlpeek and multiple nodes
That's all I want to do, find a node
For more than a simple find a node and update it I would recommend you write
you own code using the script task. Or write your own task.
BOb
From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Friday, April 20, 2012 9:02 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users]
Not really, no.
From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Friday, April 20, 2012 10:03 AM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] xmlpeek and multiple nodes
So no canned support for this?
-chris
From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Friday
I don’t think I said “don’t do that”… All I said was, out of the box xmlpoke
and xmlpeek are really designed to work with an xpath that matches a single
element in the XML. ;)
BOb
From: m...@thefrederickhome.name [mailto:m...@thefrederickhome.name]
Sent: Friday, April 20, 2012 11:44 AM
To:
Do you really have net-4.0 in there twice?
BOb
From: Chad Petersen [mailto:chad.peter...@harlandfs.com]
Sent: Thursday, March 01, 2012 1:18 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] The vendor attribute does not exist, or has no value.
Our build machine is being converted
I expect it is the return value sent from nant.exe and that you can't modify
it. What are you trying to do?
BOb
From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Wednesday, February 29, 2012 11:40 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Nant property passed to
project1_ok or project2_ok is false, I want ccnet to report a
failure.
Make sense?
-chris
From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Wednesday, February 29, 2012 11:51 AM
To: Chris Fouts; nant-users@lists.sourceforge.net
Subject: RE: Nant property passed to CC.NET for pass/fail
I think the best/only way you can do this is to create a batch file to do the
disconnect and have it always return a success return code. I have a similar
issues with a command line app that doesn't return 0 for success and there is
no way to tell Nant what return code signifies
Looks like some good changes.
Is the nunit stuff going to be version specific? Or, is it chaining out to
whatever version of nunit you have or point to in your project?
You might want to update the readme with the versions that are supported:
Windows
---
* A version of the
Properties set on the command line are always read-only.
If you want to not reset a property value if it was set from the command line
you can use overwrite=false.
Also, when you pass false from the command line you don't need to quote it.
BOb
From: Chris Fouts
property name=buildstatus value=true /
target name=buildmodule1
exec commandline=buildmodule1.bat Failonerror=false
resultproperty=module_ok /
/target
target name=buildmodule2
exec commandline=buildmodule2.bat Failonerror=false
resultproperty=module_ok /
/target
target name=buildmodule
I have found the best solution was to use msbuild to actually do the compile
called from the exec task.
BOb
From: Scott Pennington [mailto:spenning...@prosper.com]
Sent: Monday, January 23, 2012 11:23 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] using CSC for both 3.5 and 4.0
be pretty easy.
This:
property name=nant.settings.currentframework value=net-3.5 /
To this:
property name=nant.settings.currentframework value=net-4.0 /
BOb
From: Scott Pennington [mailto:spenning...@prosper.com]
Sent: Monday, January 23, 2012 1:11 PM
To: Bob Archer; nant-users
Don't you want a build of common to trigger a build of Project1 and Project2?
If so, you can set up a ccnet trigger to do that. Use a project trigger on
Project1 Project2. They will both trigger on a successful build of Common.
Now, if you have Project1 and Project2 in the same queue that will
YEA! Congrats. Time to fork-n-hack. ;)
-Original Message-
From: Ryan Boggs [mailto:rmbo...@gmail.com]
Sent: Monday, November 14, 2011 1:56 AM
To: nant-develop...@lists.sourceforge.net; nant-
us...@lists.sourceforge.net; nantcontrib-develo...@lists.sourceforge.net;
I don't put nant into program files. I put it into the lib folder of each
project I use. This way, I can upgrade the version of nant used by the project
without worrying about what everyone has installed or if it will break other
projects.
BOb
-Original Message-
From: Timotheus
I have no problem unblocking the zip. If you do provide an installer then
please continue the binary/zip distribution as well.
You might consider creating a nu-get package with the ability to run the build
from the nu-get console.
Also, are you moving the source control to git and github...
The property task documentation shows that the value element is a string. So,
I am guessing anything you put into a property is done with a ToString();
You can run this to prove that out:
?xml version=1.0 ?
project name=TestParse
property name=Item1 value=${int::parse('5')} /
Is the file in question something that you control, or it a template file or
something?
If so, you can use a filterchain during a copy or move to replace tokens with
some value.
BOb
From: Sastry, Dilip IN PUN SISL [mailto:dilip.sas...@siemens.com]
Sent: Friday, September 30, 2011 6:51 AM
To:
List mods...
Can you please unsubscribe this guy:
irfan.duhe...@de.gbs.commailto:irfan.duhe...@de.gbs.com
His out of office auto reply's are quite annoying.
BOb
--
All of the data generated in your IT infrastructure
: Tuesday, September 27, 2011 6:51 PM
To: Bob Archer
Cc: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] rename a folder
Bob:
Try the following on one or two folders as a test (make sure you create a back
up, just in case). If you do not wish to purge old empty folders (with
Company
in todir, the action will fail.
I’m not clear if you are supposed to use tofile or todir… since I don’t have
ant set up to try it.
BOb
From: Ryan Boggs [mailto:rmbo...@gmail.com]
Sent: Wednesday, September 28, 2011 12:44 PM
To: Bob Archer
Cc: Khairuddin Abdullah; nant-users@lists.sourceforge.net
Seriously, this should be easy but it is not.
I want to rename folders.. but the move doesn't seem to want to. Can move
rename a folder. Any examples?
I am doing something like this:
?xml version=1.0 ?
project name=TestRename default=info
foreach item=Folder
I have been using MSBuild for quite a while. Does the solution task have
advantages over it?
BOb
-Original Message-
From: Dominik Guder [mailto:o...@guder.org]
Sent: Friday, September 23, 2011 4:35 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] nant 0.91 alpha2
You might want to take a look at slow cheetah.
http://www.hanselman.com/blog/SlowCheetahWebconfigTransformationSyntaxNowGeneralizedForAnyXMLConfigurationFile.aspx
BOb
From: Scott Pennington [mailto:spenning...@prosper.com]
Sent: Monday, August 29, 2011 2:50 PM
To:
]
Sent: Monday, August 29, 2011 3:54 PM
To: Bob Archer; Scott Pennington; nant-users@lists.sourceforge.net
Subject: RE: xmlpoke vs token replace for Config Files
I do believe that only works for Windows applications, not web applications,
but I could be wrong.
Brian Wilson
Programmer Analyst
. I agree, this
methodology has a lot of power. I don't thing I need to add this much
complexity to the build system for this application.
Thanks Scott
From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Monday, August 29, 2011 12:52 PM
To: Scott Pennington; nant-users@lists.sourceforge.net
Two hours. Wow...
No, but you can check by using UPTODATE to see if any source is newer than the
binaires or outputs or whatever and skip stuff as needed.
I do with our sql packaging stuff. We use a tool called DbGhost packager that
is an EXE you can ship to update a database. However, the
Probably be easier to use the email and send it that way. Every wireless
provider provides an email to SMS gateway.
From: Macdiarmid, James D. [mailto:james.d.macdiar...@saic.com]
Sent: Thursday, June 09, 2011 4:48 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] sending SMS
I'm sure you'll find something to do. I know the other team who's build I
automated which used to take 1 person a day and they did it once a week has
found stuff to keep herself busy. Also, QA doesn't have to wait a week for new
builds to test.
From: Jed Padilla [mailto:jpadi...@flclerks.com]
Did you try it without passing any properties? Frankly I use the exec task to
run MSBuild.
Can you build with MSbuild from your command line? Be sure that works so you
can rule this out as an issue.
BOb
From: Jed Padilla [mailto:jpadi...@flclerks.com]
Sent: Thursday, May 26, 2011 4:01 PM
To:
CI Factory's scripts do this. IIRC he creates a text file with any changed
files to determine if the project needs to be built. While I don't use CI
Factory anymore I got several ideas from it and learned quite a few nant
tricks. Even if you don't use it, setting it up and looking at the
of ccnet.
-chris
From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Friday, May 13, 2011 9:37 AM
To: Chris Fouts; nant-users@lists.sourceforge.net
Subject: RE: Is there a template/example for this setup?
CI Factory's scripts do this. IIRC he creates a text file with any changed
files to determine
Can you send your full ccnet config or at least what is in the publishers
section. Of course, this really is a ccnet issue, not a nant issue. You could
ask for help on the CCNet google group.
No ccnet does not send a build failed email when nant calls
fail; hence I posted the question. I'm
I think modifierNotifcationTypes defaults to always. But I'm not sure
notification to groups has any default. The docs I look at don't list one. Can
you add an Allways notification type to your groups and see if that works.
That said it could be trying to send the email and failing. Are you
I expect the easiest way would be to use a command line tfs client via the EXEC
nant tag.
From: Macdiarmid, James D. [mailto:james.d.macdiar...@saic.com]
Sent: Wednesday, May 11, 2011 10:50 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Changesets included in the current build?
I've started using ccnet with NAnt, where my ccnet script calls a
NAnt script to do the actual build. However, I want ccnet to send
an e-mail, not nant, when a script fails. I have a publisher
ccnet block that I want executed that sends the e-mail.
-chris
We do that. Did you have a
If you want to set the read only attribute, wouldn't you set readonly=true ???
BOb
From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Wednesday, May 04, 2011 6:01 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Help recursively setting readonly attribute
I thought I had
, hence false. I should've said I
wanted to set the read only attribute to false.
-chris
From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Thursday, May 05, 2011 9:59 AM
To: Chris Fouts; nant-users@lists.sourceforge.net
Subject: RE: Help recursively setting readonly attribute
If you want to set
just upgraded to .NET 4.0 and NAnt 0.91 Alpha 2 and got the same
problem as others reported.
Looks like its not a problem with your .NET 4.0 install nor with
NAnt itsself.
After unpacking the zip file, all distributed .dll and .exe files
are blocked.
Right click on a single file -
Hi Folks... we rely heavily on NAnt for our builds. But, it seems that
development and activity here has really slowed down. Have people moved to MS
Build or is NAnt just at that stage where it is stable enough so people don't
have problems with it and it doesn't need a lot of changes?
BOb
.
Cc: Bob Archer; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Are people still using NAnt
Hi,
I'm trying to pick up development again. I had a big project take up much of
my time the last couple of months. Now that the project is wrapping up, I can
shift back here.
I setup
I use nant exec task to auto build script for a while.I can get
error code but I
can't get error message in property.I want to record error message
when it fail
build.Is that possible without using xmllogger log everything then
find errors
Thanks for help
Can you clarify what you want the
I want to use exec program=aaa.bat resultproperty=errorcode
output=log.txt failonerror=falsefail
if=${int::parse(errorcode)!=0}/
to get errocode if exit 0 or not,if not print out what happened in
my logfile
now I use to exec aaa.bat execute fail like there is no aaa.bat
file, output
Good Morning,
Has anyone ever used NAnt to build a windows application? If so,
is there any special steps to do? How do you handle the automatic
inclusion of a library you developed?
What do you mean by windows application? That's all I've ever used nant for.
Or do you mean windows forms
Email: brian.wil...@dhr.alabama.gov
-Original Message-
From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Friday, January 14, 2011 12:17 PM
To: Wilson, Brian; 'nant-users@lists.sourceforge.net'
Subject: RE: Using NAnt to build Windows Application
Good Morning,
Has anyone
? VS2008 does this automatically for me, so I am
not sure if there is something I need to do for a NAnt build.
Thank you,
Brian Wilson
Department of Human Resources - Administrative Services
Email: brian.wil...@dhr.alabama.gov
-Original Message-
From: Bob Archer [mailto:bob.arc
Is there anyway to get XmlPoke this to preservewhilespace?
BOb
--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact
I want to dynamic generate a nant file for nant task use. I use
echo file to
generate. But property change to value that I don't want.for
example:
echo file=test.xmllt;property name=quot;generateTimequot;
value=quot;${datetime::now()}quot;/echo
test.xml would become like
property
to login as the build
user, run psexec, accept the licese, then restart the ccnet service (to pick up
the path change). After I did that all was well.
From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Wednesday, November 17, 2010 1:11 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Exec
Did you verify they are building with the same version of .Net framework? Also,
are you doing the nant and visual studio build on the same PC for comparison?
From: Paulo Mello [mailto:paulo...@gmail.com]
Sent: Tuesday, November 23, 2010 6:19 AM
To: nant-users@lists.sourceforge.net
Subject:
Our build server crashed so I had to build a new one. It was Windows 2003 not
on Windows 2008R2 64-bit. Our build script seems to have an issue... one of the
build tools that is run with an exec task doesn't exit when run via nant.
However, if I run it at the command line it exits fine.
If I
I don't know a way to do it. But, you could just look at the log to figure it
out. The last task to run is the one that failed.
From: Macdiarmid, James D. [mailto:james.d.macdiar...@saic.com]
Sent: Monday, November 01, 2010 1:50 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users]
touch?
From: Parrish, Ken [mailto:kparr...@gomez.com]
Sent: Tuesday, October 05, 2010 2:50 PM
To: NAnt-users@lists.sourceforge.net
Subject: [NAnt-users] Copy task and file write time stamp ...
The default behavior of the copy task is that file write times for the
source file are reflected at
How about running Ant with the exec task?
BOb
From: Parrish, Ken [mailto:kparr...@gomez.com]
Sent: Wednesday, September 29, 2010 2:42 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Building Java apps from a Nant script
It looks like I am going to have to integrate some Java
Did you try Extension= ?
BOb
From: Adam Bruss [mailto:abr...@awrcorp.com]
Sent: Sunday, August 29, 2010 12:32 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] specifying a null reference
Hello,
From the nant doc change-extension function:
Extension
string
The new extension
Announcing NAnt 0.91 Alpha2
We are proud to announce the second alpha release of NAnt 0.91.
Congrats on this release. Thanks to you and all the nant devs.
BOb
--
This SF.net email is sponsored by
Make an app they
Use
arg line=-I{Import} /
instead. Value will quote the argument while line will pass it as is.
BOb
From: Pavan Vadavalli [mailto:pavan.vadava...@gmail.com]
Sent: Friday, July 16, 2010 6:07 PM
To: NAnt-users@lists.sourceforge.net
Subject: [NAnt-users] unsubscribe
2010/7/17 Andréys Guillaume
that supports .Net 4.
Thanks... BOb
-Original Message-
From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Tuesday, June 08, 2010 11:56 AM
To: Ryan Boggs
Cc: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] MbUnit not running under .Net 4.0...
Where? By use do you
Hi,
On Jun 7, 2010, at 7:31 AM, Bob Archer bob.arc...@amsi.com wrote:
YEs... that is just my test project. It is build with the system so
compiled with the .Net 4.0 compilers.
So is the project that references that assembly set to use a
specific .Net version? I ask because
What can you code without System.dll? Doesn't that have all the base types...
or are those in mscorlib?
BOb
Ron,
This was done to improve portability and readability of build scripts.
I prefer to give users more control (in this case over the assemblies they
want to reference in scripts).
I see that the nightlys are supposed to support .Net 4.0. Can I ask what is
required for that to work? Since WinSDK v7.1 hasn't yet been released (WTH are
they waiting for) is it not needed? Or are you installing VS 2010 on your build
servers? If that is the case, can I install VS 2010 Web Dev
Why are you running builds against production databases. That seems wrong to
me. Your CI builds/test should be done against a test and/or staging database
that doesn't have sensitive data in it.
In other words your development environment should include a development only
DBs.
BOb
From:
I've been using the exec task to run svn for years. nant contrib was just not
keeping up with svn changes.
From: Pento, Michael [mailto:mpe...@metratech.com]
Sent: Wednesday, April 21, 2010 10:11 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] NAntContrib seems rather dead?
As I
I think I have run into this before. I think the easiest fix is to make sure
the property always exists. Then you can check to see if it is not empty.
BOb
From: Durand Van Arnem [mailto:duran...@hotmail.com]
Sent: Tuesday, April 13, 2010 10:33 AM
To: NAnt Users
Subject: [NAnt-users] Using if
Subject: [NAnt-users] Announcing NAnt 0.90-alpha1
No, this is not an April Fool's joke. This is for real.. :)
After months of hard work by volunteer's and continuing guidance from
Gert Driesen, we finally have the first official release of NAnt in
over 2 years.
Congratulations to all
Wow... that's great news. I also want to thank everyone involved in this
project. It has enabled me to perform automated builds for several years now.
I reviewed the bug fixes and see a few things I reported fixed. That's good to
see.
One concern I have is that .Net 4.0 support is planned for
I use the latest nightly and it works ok. But, I explicity let the
targetframework property in the scripts.
I also use the msbuild task rather then the csc task.. but I assume it uses the
same mechanism to determine which to use.
BOb
From: Christopher Brandt [mailto:xtopher.bra...@gmail.com]
It's been quite a while since there has been a nant release. What are the plans
for it?
Are the primary dev's still finding time to work on it? Gert and others?
For example, any support for .Net 4 and VS 2010?
Or... have the contributors pretty much put it in legacy mode expecting that
Did you try the references node inside the script node? Look at the docs for
the script task:
http://nant.sourceforge.net/release/0.86-beta1/help/tasks/script.html
BOb
From: Lionel Morrison [mailto:lmorri...@lifeware.com]
Sent: Wednesday, March 17, 2010 11:12 AM
To:
I use nant copy in my build files.There are sometimes copy fails.It
happends different time and different files.
I can't figure out why it happend and when it happed. each files about 200
MB and there are 20 files.
it always happend afeter some exec task.Is it cause by memory or .net gc ?
task.
BOb
-Original Message-
From: netvampire.tw [mailto:netvampire...@yahoo.com.tw]
Sent: Thursday, February 04, 2010 10:46 AM
To: Bob Archer; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] nant copy sometimes fails
no.it's an auto batch job in the midnight.
zip some
The only thing I could think would be to exec a bat file that prompts for a
value and writes it to a text file or something. I pretty much think nant is
designed for non-attended use.
BOb
From: Parrish, Ken [mailto:kparr...@gomez.com]
Sent: Tuesday, November 03, 2009 9:34 AM
To:
The version nant references is different than the version that you are using in
your own app. Use the exec task instead of the nunit2 task.
http://www.hanselman.com/blog/CallingNUnitFromNAntPragmatically.aspx
BOb
-Original Message-
From: Steven Whatmore
Nope, if the DLL is in the same folder as the nant.exe then it should load it.
From: Justin Daubenmire [mailto:jus...@cboss.com]
Sent: Thursday, October 22, 2009 9:03 AM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Output console to text file
gotcha. Once the contrib assemblies
You can use the XmlLogger. Check out the doc on Loggers and Listeners.
BOb
From: Justin Daubenmire [mailto:jus...@cboss.com]
Sent: Thursday, October 22, 2009 8:22 AM
To: nant-users@lists.sourceforge.net; nant-users@lists.sourceforge.net
Subject: [NAnt-users] Output console to text file
Hey
/GetInputButtonOnLoad.js'lt;/SCRIPTgt;/
If you really need double quotes I think you can use quote;
BOb
From: Zachary B. Wheeler [mailto:zwhee...@sddmtech.com]
Sent: Thursday, October 22, 2009 1:25 PM
To: Bob Archer; nant-users@lists.sourceforge.net;
nant-users@lists.sourceforge.net
Subject: tokenizing a script
If the command line of the tool doesn't support an errors only output option
then you may have trouble with this. If that tools supports STDOUT and ERROUT
you may be able to redirect the output to a file and if you get an error return
code you can read in the error output and echo it to your
You don't not embed expressions. Write your if as follows:
property name=dir.base value=this/is/my/working/directory /
if test=${string::contains(dir.base,'working')}
echoThis is my directory/echo
/if
BOb
From: Michael Corr [mailto:mich...@aduratech.com]
Sent: Sunday,
Hi All,
I have two build files
one which I will execute with nant
project ..
target name= “def”
nant buildfile=”second.build”/
/target
target name=”copysmt”
/target
/project
second
Hi all,
I have another problem.
I have nant build script which uses subwcrev, which take revision, last
date change and so from svn and use this for replace some strings in
file.
I use this way.
I have source file named rev.source like this :
?xml version=1.0?
project
Bob Archer napsal(a):
Hi all,
I have another problem.
I have nant build script which uses subwcrev, which take revision,
last
date change and so from svn and use this for replace some strings in
file.
I use this way.
I have source file named rev.source like this :
?xml version
Archer
Cc: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Nant properties Evaluation
Yes that is what I want to do, but include is not possible to do inside
target and I cannot to do that on top of build file since the file does
not exists.
A.
Bob Archer napsal(a):
Bob
Hmm... I use C#. How complex if the function you want to write? Is
there a reason you can use C#?
BOb
OK, I was hoping to use a language that I already know. And
JScript.NET
is supposed to be supported, right?
I guess so. But since I have never used it I can't help you. Perhaps Gert
Just subscribe to the list from your new email address. See the URL below to
find directions on how to do this.
BOb
-Original Message-
From: Ales Vojacek [mailto:al...@fbl.cz]
Sent: Friday, August 28, 2009 4:08 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Mailing
I am very familiar with JScript, but not with JScript.NET or C#. I
want
to write a function in JScript.NET that I can use in my NAnt script.
I currently have:
project name=TestFunction
target name=goecho${script::testfunc()}/echo/target
script language=JS
code
Bob Archer wrote:
I am very familiar with JScript, but not with JScript.NET or C#. I
want
to write a function in JScript.NET that I can use in my NAnt script.
I currently have:
project name=TestFunction
target name=goecho${script::testfunc()}/echo/target
script
I would like to create a common include file that several of my builds
use.
It would setup a few global directorise and properties. Then my build
files
would just use the include element. However, I am trying to use the
project::get-buildfile-path() function inside my include file to get
1 - 100 of 384 matches
Mail list logo