Hi Kevin> Can anyone share with me how you've dynamically
created nant.build files on the fly?can you describe a bit more what you want to achieve ?(apart from that you could use xslt as suggested, or a codesmith template...)Thibaut--
[blog] http://www.dotnetguru2.org/tbarrere
Hi
depending on your company security policy you may not be able to run a
.net program which sits on a network drive (that's the case for my
current customer)...
also C++ compilation can be quite slow so if you can compile on a local
drive then copy the binaries on the network share (what I do h
Hi Mike
if you can't find an easy way and if you know how to program in c# or
vb.net, I found out that it's sometimes better to write a custom
function (using the script tag) to achieve what you need.
hope this helps
Thibaut Barrère-- [blog] http://www.dotnetguru2.org/tbarrere
Well. I *almost* read your mail properly :)
Maybe you can try to keep the name constant, but change the value of the fileset by redeclaring it before your operation ?
hope this helps
Thibaut
On 20/01/06, Thibaut Barrère <[EMAIL PROTECTED]> wrote:
It works for me. I have a first tar
It works for me. I have a first target to declare the file sets
then I use it that way :
Are you doing something a bit different ?
kind regards
Thiba
Hi Robert
I'm likely to proceed to the same kind of switch in the forthcoming months, unfortunately I can't say much more for the moment.
If this can be of any help, the NAntContrib task available to deal with
Seapine Surround seem to have been contributed by Matt Harp from
Seapine Software, so I
Hi Koen
use " inside " (ie :
OriginalValue="value="true""). The double quote is a
special character in XML and must be escaped. See this page
http://www.mountaindragon.com/html/iso.htm for more informations.
cheers
Thibaut--
[blog] http://www.dotnetguru2.org/tbarrere
2005/11/30, Koen Mayens <[EM
Hi Filip
could you try to define the property with overwrite set to false in
your slave script ? I'm using this from the command line but it may
also work when invoking a slave script (to be tested)
see http://nant.sourceforge.net/nightly/latest/help/tasks/property.html
iv. Define a property, bu
Well, same approach for me ( http://www.dotnetguru2.org/tbarrere/?p=229&more=1&c=1&tb=1&pb=1 ).
I'd be happy to see such a thing added to StringUtils or some other standard package in NAnt... Things I'm thinking about:
- support for c++ version (the _expression_ is slightly different in my
case bu
Hi Kelly
because I wanted a seamless build process for developers (they should
not be required to learn nant), I've set up a CCNet server which
invokes NAnt. The solution task didn't work out well in my context (I
met to many cases of failure, mainly because of managed c++ projects ),
so I backed
Hi Ales,
just a quick guess but I think what is happening is that VS.Net stores non-xml-compliant data in the .csproj project files. I had a similar issue with some post build events. Check out the line where you get the error and maybe you could try to make the content more xml compliant (such a
/lists/listinfo/nant-users-- Thibaut Barrère
LoGeek[tel] +33 6 85 33 40 88[mail] [EMAIL PROTECTED][blog] http://www.dotnetguru2.org/tbarrere
Select the build file then right click and select "open with". VS.Net
will prompt the editor you wish to use, pick up the html/xml editor.
Then check the properties area (F4), the nant schema should appear in
the targetSchema property (drop down list).
T.2005/9/22, Wilson, Glenn <[EMAIL PROTECTED]
Hi Prasad,
one think you could do is extract the version from the AssemblyInfo.cs
using a regular _expression_ for instance, then label it using VSS
NAntContrib tasks. I'm using the following _expression_ to retrieve the
version from AssemblyInfo to do this :
Regex regex = new Regex(@"AssemblyVers
While I see many advantages (and disadvantages) in NAnt, I can't thinkof anything off the top of my head that it can do, but that can't be
done with ordinary make/bash (or other scripting language). NAntbenefits from having a centralized repository of tasks, so that we don'teach have to build our
/release/latest/help/functions/string.replace.html
with a call like :
cheers
Thibaut Barrère
http://www.dotnetguru2.org/tbarrere
Hi Pat
Maybe calling the vcvars32.bat script in C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat before starting your script will solve the issue.
This should add the required folders to the PATH to ensure later calls to cl.exe are successful.
regards
Thibaut
Ok I get your point... We're using direct calls to devenv.exe instead of compiling everything ourselves... This leads to a couple of issues (one is scalability!) but for us it was finally the best option.
In your situation would it be acceptable to have two separate targets in one build script ?
ty name="commandLine"
value="${solutionFile} /build ${configuration} /out ${logfile}"/>
As a sidenote I'll add that we are going to stop building the debug builds here (c++ projects are taking the biggest amount of build time, and most people tend to compile locally wh
Hi
what about gathering forces ? (adding your addin functionalities to
nantrunner ?)
note : I'm not the author of nantrunner ;)
regards
Thibaut
2005/6/10, Jim Geurts <[EMAIL PROTECTED]>:
> Yeah, I realize that project exists... it's a nice project and I'm happy
> that someone took on that chal
> Amen. Which means the server is carefully monitored for things which
> appear magically, it's backed up, and there's an as-built document so it
> can be recreated/verified should the need arise.
>
> Too anal? Not if you want reproducibility regardless of the catastrophic
> event (like installing
Hi Todd,
just a few bits to reply to you, hoping this will help.
a metaphor which I found useful in situations like yours is that nant
is a precious tool when ones want to switch from craftsman way of work
to industrial way of work.
to me using only visual studio for builds makes it very difficu
Hi Glenn,
try to throw a BuildException (NAnt.Core.BuildException). I'm doing
this inside custom nant tasks to have the build fail, I suppose it
should work just the same under a script block.
kind regards
Thibaut
2005/6/1, Wilson, Glenn <[EMAIL PROTECTED]>:
>
>
> Hi,
>
> I have a target
Hi Bill and Rido
I've just posted the code for an updateversion task which allows to
update the AssemblyVersion attribute in existing assembly info files,
for both managed c++ and c#. Guess it could be useful to other NAnt
users also...
Full entry on my blog:
http://www.dotnetguru2.org/tbarrere?t
Hi Timothy
you could load sensitive information from a file which would not be
stored under version control (instead, store a .sample version of it,
with foo values, to help remember what's needed).
Under Ant you could achieve this with:
This loads some properties from the user folder (c:\docume
> thanks for that. While CruiseControl and automated testing are some way off
> on our radar, I hope to find the time to investigate them, especially the
> latter. In that respect, I would appreciate if you could possible provide a
> small sample build file outlining the structure required to carry
Oops, forgot about your "static".
It's the same : if one of your tests modifies the static, then for the
same reason, in next test the value should be kept...
On Tue, 7 Dec 2004 13:18:57 +0100, Thibaut BarrÃre
<[EMAIL PROTECTED]> wrote:
> Hi Steve
>
> did you intented to post this to NUnit rat
Hi Steve
did you intented to post this to NUnit rather than NAnt-Users ?
Afaik in a nunit testfixture, isolation between tests in the same
testfixture is not achieved by the framework, which means if you have
another test which initialize your hashtable and do not set back the
hashtable to null i
Hi Hamza,
> I want to use name filesets and there are no examples on how to do so.
> What I am trying to do is create one Fileset and reference it again
> later in multiple places.
you can use the id attribute when declaring a fileset :
then reference it where you need using the refi
Hi Roman
You have to pass the property name as a string :
use
instead of
check out http://nant.sourceforge.net/nightly/help/functions/property.exists.html
nb : maybe a real example should be added in the manual.
cheers
Thibaut
On Fri, 5 Nov 2004 09:48:19 -0600, Roman Semenov <[EMAIL
Hi Gert,
I don't have a repro for this yet on my side (I'm not at my workplace,
where it happened).
I opened a bug here :
http://sourceforge.net/tracker/index.php?func=detail&aid=1056010&group_id=31650&atid=402868
altogether with the details provided by Rutger.
cheers
Thibaut
On Thu, 28 Oct 20
Same for me; it's as "stable" in terms of robustness as the previous
one, plus a lot more new features. I try to upgrade to the latest
nightly from times to times.
regards
On Thu, 21 Oct 2004 07:51:00 -0500, Felice Vittoria
<[EMAIL PROTECTED]> wrote:
>
> Sanjay,
>
> How stable is 0.85? In m
Things to write today.
I'm using a foreach over a fileset of projects to generate ndoc for
each of these projects.
I override a property inside the loop (as a temporary variable). I'm
displaying it just after to check if it was properly set and it's
working fine
But when I pass this property to
More info; part of the script I use below :
-
-
The beginning of the must-publish-project function :
--
Hi again,
did anyone had issues with current path (ie the place where you are
when a task is finished) in their script after a recent upgrade of
nant ?
I did not investigate much already as I don't have time for this now
(I used a simple workaround), but after upgrading nant (previous
release was
Hi,
I've been struggling around a while after updating a 5 month old nant
to the latest version.
I've been confused about what I get when overriding a property from
the command-line (which we use a lot for instance with cruisecontrol) :
"Read-only property "xxx" cannot be overwritten."
Don't re
Hi Bart,
are you using the latest nightly build ?
with it you should be able to test with
...
http://nant.sourceforge.net/nightly/help/fundamentals/expressions.html#numeric-operators
Thibaut
On Fri, 15 Oct 2004 14:56:57 +0100, Bart Read <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
>
> I'm
Hi,
the documentation states that asminfo only support C#, JScript or VB.
I'd be interested into generation of a c++ version (AssemblyInfo.cpp).
Did anyone extend asminfo for this purpose ? (or is there a need for
contribution here ?)
thanks
Thibaut
Hi Felice,
I suspect the style task of relying upon System.Xml.Xsl.XslTransform,
which support only XSLT 1.0.
Have a look here :
http://blogs.msdn.com/dareobasanjo/archive/2004/05/13/131166.aspx
hope this helps.
Thibaut
On Wed, 6 Oct 2004 10:26:00 -0500, Felice Vittoria
<[EMAIL PROTECTED]> wro
I can't tell if there is an fxcop task being cooked right now.
It seems that many of us are using the exec task to achieve this.
cheers
Thibaut
On Tue, 5 Oct 2004 17:35:09 -0700, Manish Jain <[EMAIL PROTECTED]> wrote:
> Is someone working on FxCop task? How soon it will be available?
> Thanks M
<[EMAIL PROTECTED]> wrote:
> I don't like replacing distribution folders with new versions. I keep tools in
> separate >folders with version names.(Certainly you've never had an updated tool
> with bugs >which required a rollback!!)
The rollback support is provided by the SCM, which is qui
Most of the time for the tools I use (ie CCNet, Nant, NantContrib,
fxcop and so on), I try not to modify the distribution folder, so I
can upgrade more easily (just replace the folder, unzipped).
That's why I prefer not to modify a config file somewhere.
my 0.02â
Thibaut
On Wed, 29 Sep 2004 13:
Hi Brandon,
please give more details :
- are you using the latest nightly build ?
- what kind of project (c++, c#, web, other ?) make the build fail ?
- does it build properly under vs.net ?
regards,
Thibaut
- Original Message -
From: Brandon Lonac <[EMAIL PROTECTED]>
Date: Wed, 29 Sep 2
Hi Dan
>Is there a NAnt, NAntContrib, or other task that can
>parse the VS.Net Project file and use the information to
generate a list of >Content files that should be copied into the
archive
>Any pointer would be appreciated
You can parse the project file using a custom function and xpath
quer
+1! this release deserve *at least* 0.90
Thibaut
On Fri, 24 Sep 2004 09:51:45 -0500 (GMT-05:00), Merrill Cornish
<[EMAIL PROTECTED]> wrote:
> Gert,
>
> Considering the wide range of new functionality in upcoming release, perhaps it
> should be call 0.90 rather than 0.84, since it's a _lot_ more
Hi Tim,
What I've seen until today is that most people use the AssemblyInfo.cs
AssemblyVersion attribute for that purpose, the natural way of handling
(assemblies) versions in .net. That's relevant only if you build .Net
project with NAnt of course, I assumed you are in that case.
I'm starting to
rosoft.com/default.aspx?scid=kb;EN-US;154753
I'm just curious as well : what are your motivations for choosing to use
cl/link rather than a solution task ?
regards,
Thibaut Barrère
http://blogs.dotnetguru.org/tbarrere
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTE
47 matches
Mail list logo