Hi,
Sorry for the delay but I missed these. What seems to be the issue is
that you are using the NAnt 0.84 build, which does not support the
usersharpcvslib="false" attribute. If you download one of the nightly
builds the setting should work and you can use your default cvs client.
Or as an alt
> > What does need to be kept in mind though is that Ant has
> been around
> > for a long time and has been post-1.0 for years... NAnt is still
> > pre-1.0, and there's quite a lot of work going into getting
> it to do
> > everything correctly (Which it does a remarkably good job of, all
> >
John, to reply to your email in reverse order... (most relevant first)
> Any ideas?
Currently, the only way (AFAIK) to do what you want is to duplicate the
exec task and surround it with guarding if/ifnot statements:
> I tried this (just on an off-chance):
>
>
>
> Finally the last example. This is setting a target based on
> the evaluation of . What happens if I invoke this target
> and the conditional evaluates to false? If (using the example
> below) I do nant xxx and a does not equal to b then what
> happens? Nothing?
If the test evaluates to false
> What does need to be kept in mind though is that Ant has been around for
> a long time and has been post-1.0 for years... NAnt is still pre-1.0,
> and there's quite a lot of work going into getting it to do everything
> correctly (Which it does a remarkably good job of, all told!). I fully
NAnt
>>> So can I do to test property a for equality to the string
>>> 'debug'?
Actually, test="${a=debug}" would test for the value of the property a being equal to
the value of the property debug. If you want to compare against the literal string
'debug', then use test="${a='debug'}".
Merrill
We're having some issues with NAnt and lc.exe. Specifically with Active
Reports.
My biggest problem is that I really don't understand the whole licensing
procedure.
I started out having to delete the .licenses file because the system was
blowing up if it already existed. Why I had to do this, I
Thank you for the examples. The syntax is not familiar to me. will
evaluate to true if property a equals property b. So can I do
to test property a for equality to the string 'debug'?
Finally the last example. This is setting a target based on the evaluation of .
What happens if I invoke thi
You can use the task or if attribute on targets and tasks.
For example
a)
b)
c)
Alternatively there's unless attribute which can be used instead of if.
Jarek
- Original Message -
From: "Burton, Kevin" <[EMAIL PROTECTED]>
To: "McCullough, Gary" <[EMAIL PROTECTED]>;
<[E
I use the 2nd method:
Felice
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of McCullough,
Gary
Sent: Wednesday, July 28, 2004 3:49 PM
To: Burton, Kevin; [EMAIL PROTECTED]
Subject: RE: [Nant-users] ?
That I don't know. Should be easy to test. And someo
That I don't know. Should be easy to test. And someone else here has
probably done it.
Gary McCullough
-Original Message-
From: Burton, Kevin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 4:45 PM
To: McCullough, Gary; [EMAIL PROTECTED]
Subjec
Thank you. Do you know where can be applied? For example can I do something like:
Or do I have to
-Original Message-
From: McCullough, Gary [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 2:53 PM
To: Burton, Kevin; [EMAIL PROTECTED]
Subject: RE: [Nant-users] ?
Try
Try something like this:
...
Gary McCullough
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Burton,
Kevin
Sent: Wednesday, July 28, 2004 3:45 PM
To: [EMAIL PROTECTED]
Subject: [Nant-users] ?
I have a property
I have a property build.config that is either the string "debug" or "release". I want
to test for the property being "debug" or "release" and change the compilation
appropriately. First, how do I compare a string. There doesn't seem to be a comparison
string function just index or is that what I
Madhan,
I am using in my own tasks. (That's how I knew about
them). Here is how I used them:
In my case, all of the DLLs referenced by the solution are in the directory identified
by ${qatest.dir} rather than in the directory implied by tha
Hi Merrill,
Thanks very much for your quick response
Well...actually I am using task under the
task in my build file but for some reason the build is still not able
to identify these dlls during execution. i tried adding some
messages into the task to just see if the build
process gets in
Madhan,
You can use the nested option in the task to override the
reference built into the solution definition.
Merrill
---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free cop
Hello NAnt Geeks,
I am an NAnt user trying to write a NAnt build script
to build my project.It was interesting initially but then i was caught
up with a stupid build failure error message which is really making me
go mad ...I am wondering if you can help me in this..
I have 2 microsoft applicati
Hello,
I built nant last week, and this week downloaded nantcontrib. I’m unable to build nantcontrib. Anyone seen this problem?
nant
-D:nant.dir=C:\NAnt\build\net-1.1.win32\nant-0.85-debug -f:NAntContrib.build
> build.log
NAnt 0.85 (Build 0.85.1665.0; net-1.1.w
Rick,
check this out : http://nant.sourceforge.net/faq.html#change-targetframework
Note : the -k commandline option has since been deprecated, and replaced by
a -t[argetframework] commandline option.
We also might consider deprecating the "nant.settings.currentframework"
property and replacing i
Sorry if this is a question that’s already been asked,
but I’ve been unable to find the answer in the archives, and I’m
totally new to Nant. – Is there a way to set the default framework in the
build file itself?
Here’s my build file
This
builds the Spalding WebApplication
Merrill Cornish wrote:
I think I know the problem.
.NET solution file record their references a pathnames RELATIVE to the solution file. I
think your task is using a the project's base directory, so the recorded
relative pathnames no longer lead to anywhere useful.
Try using
Yep, the order of the elements for that task has changed. Please have a
look at the schema:
http://cvs.sourceforge.net/viewcvs.py/nantcontrib/NAntContrib/src/Tasks/Msi/
MsiTask.xsd?rev=1.7&view=auto
For an msi, the order should be something like this:
properties
search
tables
directories
environ
I'm trying to upgrade my build process from NAnt 0.84 to the nightly build
of 0.85.
I'm using the following versions (both have built successfully on my machine):
NAntNant-0.85-20040722
NAntContrib nantcontrib-0.85-20040723
I've used this combination of NAnt/NAntCo
Bill,
NAnt currently includes a non-released version of NDoc, so this issue might
very well reproduce on nightly builds of NDoc.
Can you package up a small repro for this ?
Thanks,
Gert
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent
Hi Gert,
I've finally tracked down the problem I've been having below after much hair
pulling. It is caused by the inclusion of the FeedbackEmailAddress property
in the MSDN Documenter. If I exclude this, then the documentation builds
fine. Include it and I get the Nutil:Replace() exception. I
Jean-Michel,
Yes, I meant . Sorry about that. :-)
Merrill
---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?
Merrill,
If you meant the task
thanks a lot cause that worked out perfectly for me. I couldn’t find the
task but it doesn’t matter. Unless you think the report
task would best fit my situation let me know but the record task does exactly
what I want. Once again you guys came through !
Hi, all
I have an exec task which runs the Installshield command line utility to build the
installation for my app. Mostly, this is a standard task which I would like to put
into a common build file. However, each project might need to pass different
parameters. I want the task to only pass
Do you mean the task, cause
I can’t seem to find the task
Jean Michel Thériault
Configuration and Installation
Application Developer (COOP)
Cactus Commerce
http://www.cactuscommerce.com
[EMAIL PROTECTED]
From: Merrill Cornish
[mai
> > now that I think about it "*" actually implies that all
> targets would
> > be run. Maybe a different name would be clearer. In the
> ruby language
> > the top level object class has a built in method_missing
> method thats
> > called when an undefined method is called on it. So how about
Steve,
There are (at least) two ways you can split up a build file in NAnt...
One way uses the task
(http://nant.sourceforge.net/help/tasks/nant.html) to call targets in an
arbitrary buildfile.
The other uses the task
(http://nant.sourceforge.net/help/tasks/include.html) to break down a
build f
Hi all
Well I found the solution to my problem and I thought I post here in the
hope that somebody will be spared a days worth of debugging ;-)
Ok the solution was rather obvious. The problem was that I was that the
one troublesome test was loading some assemblies which blocks the
assemblies. A
Ian,
We might actually have something similar to events in build files, meaning :
I have given this about 2 seconds thought, so don't shoot ;-)
Not sure I like the "target_missing" name, but as always : don't expect me
to come up with anything better ;-)
Gert
- Ori
Paul,
I had used sspi before and got the same exception too. I then switched
to use ":pserver" and it worked.
Vince.
[EMAIL PROTECTED] wrote:
Hello -
I'm trying to use a cvs-checkout or cvs-update task and am getting an exception.
I'm running against NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32
I would like to split my large NANT build file.
Can anyone point me to an example of how to include
the sub build files in the main build file
TIA
Steve
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only
for the individual named. If you
Hello -
I'm trying to use a cvs-checkout or cvs-update task and am getting an exception.
I'm running against NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)
The .build entry is:
The stack trace from nant is:
System.NullReferenceException: Object reference not set to an insta
Vince Chan wrote:
I had used the 0.84 version before. After getting your email, I
thought I would try the latest nightly build before waiting for the
next one just to see what happens. I got the following error message
instead which is much more helpful.
I put the interop in the nant\bin directo
Gert Driesen wrote:
Also, what are "wild" targets?
I was going to ask the same thing. They seem a bit scary :)
More information is here :
http://nant.sourceforge.net/nightly/help/fundamentals/targets.html
The patch was provided by Giuseppe Grecco.
Don't you think
Hi Ian,
I had used the 0.84 version before. After getting your email, I thought
I would try the latest nightly build before waiting for the next one
just to see what happens. I got the following error message instead
which is much more helpful.
I put the interop in the nant\bin directory which r
Support for filterchains is in CVS now, so you could do something like this
:
This would replace all @VERSION@ tokens in the copied files with the value
of the "version" property.
Hope this helps,
Gert
- Original Message -
F
- Original Message -
From: "Ian MacLean" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>
Cc: "Felice Vittoria" <[EMAIL PROTECTED]>; "Nant-Users (E-mail)"
<[EMAIL PROTECTED]>
Sent: Wednesday, July 28, 2004 9:23 AM
Subject: Re: [Nant-users] release notes
> Gert Driesen wrote:
>
Gert Driesen wrote:
- Original Message -
From: "Ian MacLean" <[EMAIL PROTECTED]>
To: "Felice Vittoria" <[EMAIL PROTECTED]>
Cc: "Nant-Users (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, July 28, 2004 4:10 AM
Subject: Re: [Nant-users] release notes
Also, what are "wild" targets?
I
43 matches
Mail list logo