Try this:
Noel
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Frederick
Sent: Friday, September 08, 2006
1:43 PM
To:
nant-users@lists.sourceforge.net
Subject: [NAnt-users] Excluding
files with a specific path element
Hello,
I think that the 'foreach' task would be closer to what you are looking for.
It would probably be easier to implement the 'while' task starting from
'foreach'.
Noel
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Lambrou
Sent: Tuesday, August 29, 20
Use:
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert Hanson
Sent: Thursday, August 17, 2006
1:02 PM
To:
nant-users@lists.sourceforge.net
Subject: [NAnt-users] How do I
rewrite this?
idlFile and cppTarget are
nant properties.
It suggest
In order to use the global parameters from the root build file, you must
include it in each subproject build file with:
Also, although most concepts are the same as with Ant, the implementation
and usage may be different. There is a wide difference between available
tasks.
Noel
-Original
You need to include XYZ in single quotes
because you want to pass the string to the property::exists method and not
evaluate the XYZ property.
Try:
Noel
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Frederick
Sent: Friday, July 21, 2006 2:00 PM
Properties that are being evaluated within an embedded evaluation don’t
need quotes or to have ${ }.
Noel
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Craig
Sent: Thursday, July 13, 2006
11:38 AM
To:
NAnt-users@lists.sourceforge.net
Subject:
I imagine that you'd first have to use the task to remove the
hidden attribute, the file, and use the task to put the
hidden attribute back on the file.
Noel
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sushant Goel
Sent: Thursday, March 30, 2006 1
Title: Re: [NAnt-users] Traversing Directories
Try this ---
${path::get-full-path(path::combine(dnnroot.dir,
project))}
Noel
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bryan D. Andrews
Sent: Tuesday, March 28, 2006 4:55
PM
To: Rod Ayers;
nant-users@l
Brian,
There isn't any built-in way to evaluate the properties that I could see.
I wrote the following script, a while back, to do what you're reqesting.
Call it as follows:
Where y is a property with unevaluated properties
5 is the number of times to recurse and re-evalu
Title: Differentiating .NET 2003 / 2005 solution
The only way I know of is to open the
solution file and look at the first couple of lines
Visual Studio .NET 2003 has the following:
Microsoft Visual Studio
Solution File, Format Version 8.00
Visual Studio .NET 2005 has the follow
Helmut,
Below is some code that demonstrates how to get at project settings from
within a script-task. I wanted the capability to read all of my properties
in from a file (comma separated values). The problem I had was that
properties values aren't evaluated recursively. That is, if the value in
Koen,
I see that multiple people have already
responded.
So……
The script below is another way of
accomplishing your request.
I haven’t tested it, but it should
be easy enough to get functional.
The script won’t work properly if
you use the ‘depends’ attribute on your target
Roadmap for SharpZipLib from
http://wiki.sharpdevelop.net/default.aspx/SharpZipLib.RoadMap
Says it doesn't currently support symbolic links, but is on their plate of
things to do.
SharpZipLib roadmap
Right now:
Complete refactoring of encryption code for Zip files
Rework so WINCE can be used
Malcolm or anyone else having questions about building,
I hope this helps. I do the following:
1) Install the NAnt zip into directory ( C:\Projects\NAnt-0.85-20040722 )
2) Install the NAntContrib zip into directory (
C:\Projects\NAntContrib-0.85-20040723 )
3) Build the NAnt by going to its direc
The reason that "nant.onsuccess" repeats itself is because you are manually
calling it.
"nant.onsuccess" and "nant.onfailure" will be called automatically at the
end of script processing based on the status of the script run.
Change your script as follows:
You're on the right track. You do need to double quote a path with spaces
in it.
Try this: (single quotes enclosing the double quotes on the ocx attribute)
Noel
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bert Jan
Lappenschaar
Sent: Wednesday, J
Bryan,
This is one way of resetting the readonly property on all files.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bryan D.
Andrews
Sent: Thursday, July 15, 2004 6:29 PM
To: [EMAIL PROTECTED]
Subject:[
Felice,
Below is one conversion of your request:
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Felice
Vittoria
Sent: Monday, July 12, 2004 11:3
You aren't using the most current nightly build.
Functions weren't implemented until after the 0.84 release.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, June 18, 2004 5:40 AM
To: [EMAIL PROTECTED]
Subject:
Jean-Michel,
You need to download the latest NAntContrib and copy the contents of the Bin
directory into the NAnt Bin directory.
The tasks mentioned are not part of the core NAnt tasks.
NAntContrib can be found at nantcontrib.sourceforge.net
Noel
-Original Message-
From: [EMAIL PROT
I sent this snippet as a response to one of your other requests, but here it
is again.
I originally tried the commandline attribute also.
The arg element collection seems to be easier to get correct.
Jean-Michel,
The easiest way to debug issues with build script files is to reduce the
script file to a manageable size (usually only the task that you're trying
to get to work).
Slowly enhance the build script to do more.
It looks like you're trying to run the exec task and execute devenv.exe.
Jean-Michel,
When a task fails, the entire build fails unless you specify failonerror =
"false" for the task (and then I don't know whether you get any indication
that there was a failure).
To trap the failure, set the nant.onfailure property to the target that you
want executed when the build
Do you have NAntContrib installed.
I copy the contents of the bin directory of NAntContrib into the bin
directory of NAnt.
VSS support is located in NAntContrib.
Noel
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nadine
Schlaudraff
Sent: Monday,
From
looking at it, I’d say that you need the ‘password=’ attribute
Noel
-Original
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Ding, Patty Q.
Sent: Tuesday, June 08, 2004 6:32
AM
To:
[EMAIL PROTECTED]
Subject: [Nant-users] Need help
for getting sou
The SDK is needed because the Nant tasks use the compilers and other
utilities.
Noel
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Garth Ormsby
Sent: Thursday, June 03, 2004 8:38 PM
To: 'Gert Driesen'; [EMAIL PROTECTED]
Cc: Daniel Hamilton
I didn't get a response, so I'll try sending this request again.
Specifically, I want to add my built DLL files to the FxCop configuration
file from within Nant.
I can't figure out how to accomplish this with the task.
Thanks,
Noel
-Original Message-
From: [EMAIL PROTECTED]
[mailto
All,
I have an XML file
that I want to use xmlpoke to expand to the following format
<>
if RunTarget is 'true' then all three targets are executed
if RunTarget is 'false' then First is executed because Third depends on it,
but Second is not executed
Below are the actual results of the following script:
Jeroen,
Change
this
to
The
following script shows how to use the target function:
Noel
-Original
Message-
From:
[EMAIL PROTECTED]
[ma
Sonali,
The obvious change is that the attribute to use is testname, not testcase.
I haven't tried it, so I don't know if that's the only problem.
Noel
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2
From the
documentation -- http://nant.sourceforge.net/nightly/help/tasks/cvs-update.html
Update your NAnt revision named your_favorite_revision_here in the folder c:\src\nant\replacement_for_module_directory_name.
destination="c:\src\nant\" cvsroot=":pserver:[EMAIL PROTECTED]
Sandeep,
If you just copied this code, then the issue code be that the has a left parenthesis where a left brace should be.
should be
Noel
-Original
Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Sandeep Sudheendra
Sent:
Title: biztalk
Chris,
I’m just
starting to work with biztalk and I am using Nant to build it.
I have to
devenv because the task doesn’t support BizTalk
projects yet (btproj)
Noel
-Original
Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Chr
Gert,
I'd like a parameter added to the delete task (or maybe the fileset task)
specifying whether directories should be deleted.
When I used the task I expected only the files to be removed.
Bob,
I sent this back on April 5th. Guess it didn't get through.
Bob,
The script below in
You can also use these instructions to change the default framework
http://nant.sourceforge.net/faq.html#change-targetframework
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian
Etheridge
Sent: Thursday, April 29, 2004 4:19 AM
To: 'Gert Dri
copy
On a related subject, I am seeking
to use VB6 project that happens to use SourceSafe. SourceSafe asks for a login
via a message box. How can I mechanize this using nant?
Thank you
"Noel
Gifford" <[EMAIL PROTECTED]>
Sent by:
[EMAIL PROTECTED]
04/14/2004 02
Title: Message
Jo,
The code
below shows the usage of the ‘if’ attribute in an element using
the _expression_ evaluator.
It should
work exactly the same with the element, which is what you
want.
Let me
know if you need
Noel
Gifford
-Original
Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Brian Beaudet
Sent: Thursday, April 08, 2004
10:50 AM
To:
[EMAIL PROTECTED]
Subject: [Nant-users] Class
Looking at the echo'ed output which shows
C:\morsli00_OdinFD\Odin\WebServer\WebApp\mainpage.csproj
Vs the which is
http://localhost/OdinMain/"; />
It looks like your webmap needs to pre-pend
C:\morsli00_OdinFD
Actually, since you're using ${WebAppDir} in the echo
Why don't you als
Change
your to reference the DLL in the binDebug directory
Noel
-Original
Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Brian B
Using
also works
-Original
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Brian Beaudet
Sent: Tuesday, April 06, 2004
12:54 PM
Gert,
I'd like a parameter added to the delete task (or maybe the fileset task)
specifying whether directories should be deleted.
When I used the task I expected only the files to be removed.
Bob,
The script below in target "use_foreach" will delete all files below
${DelDir} and leave the di
2004 1:09 AM
To: Noel Gifford; [EMAIL PROTECTED]
Subject:Re: [Nant-users] mkiisdir doesn't display any output
Noel,
What version of NAnt/NAntContrib are you using ? Can you try using the
latest nightly build of both NAnt and NAntContrib, and report back ?
Thanks,
Gert
:[EMAIL PROTECTED] On Behalf Of Noel Gifford
Sent: Saturday, April 03, 2004 4:43 PM
To: [EMAIL PROTECTED]
Subject:[Nant-users] mkiisdir doesn't display any output
Gert,
When doing mkiisdir, no output is generated.
Other commands output (ie: [vssget]), but I don't get any i
Gert,
When doing mkiisdir, no output is generated.
Other commands output (ie: [vssget]), but I don't get any information from
mkiisdir.
Thanks,
Noel
---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by
Taken from:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/
tdlg_ch5.asp
Don't Alter the Build Output Path
You might be tempted to alter the output paths of your projects in order to
build to a single folder and then establish file references to that folder.
Do not do t
All,
I have a slingshot generated build file that works using 0.84.1455.0.
I installed the latest nightly build - 0.85.1538.0 (20040318)
Using 0.85.1538.0, I get the following error:
An empty string is not a valid value for attribute 'Doc' of
Title: Test Cases in NAnt
There aren’t
any “common” Nunit tests to run.
You have
to create your Nunit tests manually to verify that each area of your code is
working properly.
Nunit is
designed for Test-Driven Development or Test-First Development.
In XP,
determine what task you w
Title: RE: [Nant-users] Getting Code from VSS via NAnt
Yes, you
just use the syntax.
Of course, the property will now be changed globally – not just in the
target.
Noel
-Original
Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Bonnett, Evan A
Sent:
I second the request for a 0.85 official release.
I need regular expressions and such.
My company won't let me bring the nightly builds into the environment.
I'd like to do the following, but can't figure out how to get it all to work
with the current 0.84 release
The path C:\WINDOWS\System32.shdocvw.dll should have a backslash between
System32 and Shdocvw.dll
It should be C:\WINDOWS\System32\shdocvw.dll
Noel
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jaroslaw
Kowalski
Sent: Friday, January 30, 2004 9:58 PM
T
In order to get NAntContrib to compile with the current NAnt codebase, I had
to modify Task\WsdlTask.cs and Task\XsdTask.cs. SdkExternalProgramBase is no
longer a valid NAnt base class. It looks like NAnt has changed it to just
ExternalProgramBase. I changed the two files so that their classes de
-- :pserver:[EMAIL PROTECTED]:/cvsroot/ccnet
Module -- ccnet
CVSRoot -- :pserver:[EMAIL PROTECTED]:/cvsroot/nunit
Module -- nunit20
I hope these help.
Noel Gifford
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Foley, Cash
Sent: Wednesday, Septembe
54 matches
Mail list logo