Dear all,
I use exec task in order to compile devenv solutions with Visual Studio
(Yes,I know about solution task).
If solution can't compile I get a error:
External Program Failed: C:\Program Files\Microsoft
Visual Studio .NET 2003\Comm
on7\IDE\\devenv.exe (return code
Thanks Gert, thanks Curtis. Devenv.com works for me.
-Original Message-
From: Curtis Zarger [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 21. Juni 2006 15:24
To: Bonio Lopez; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Get devenv output
Have you tried using devenv.com instead
Dear all,
Following line
fail unless=${property::exists('Loggers')}Usage: nant set_log
-D:Loggers=quote loger_names quote/fail
Produces exception:
NAnt.Core.BuildException: C:\XXX\default.build(32,82):
Error loading buildfile. --- System.Xml.XmlException: An error occurred
while parsing
Dear all,
With gmake it is posible to start tasks on multiple processors. Is this
functionality supported (planed) for Nant?
Best regards,
Boni
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the
Function call failed.
Expression: ${file::is-assembly(somefile.msi)}
^^
Could not load file or assembly 'somefile.msi' or one of its
dependencies. Daten mit diesem Typ werden nicht unterstü
tzt.
Dear all,
I have noticed following.
If build file A is included into build file B using include then the
project::get-base-directory() returns path to B, even if it is situated
inside of A.
But if build file A included into B using
---
nant target=${target::get-current-target()}
Dear all,
First of all, thanks for the great tool. Nant really simplified build
process for me. I have 2 questions.
1. Is it possible to declare a temp variables? I have seen no example so
far. Because of using properties as temp variables, the progs become badly
readable. Do I miss a point of
Dear software build experts,
Now we have automated release process with nant. I have a general question
about release strategy.
We need to save some files after release (i.e. debug symbols database 'pdb'
files and some other output), which we might need for debug of reported
issues and we can't
Dear all,
Just wanted to let you know that nant runs much faster on my machine, after
I have compiled nant.exe and most of nant tasks using ngen.
With best regards,
Boni
-
Using Tomcat but need to do more? Need to support
Dear all,
Following build file fails with
Expression: SOFTWARE\Microsoft\VisualStudio\${vs_version}\InstallDir
^^
Property 'vs_version' has not been set.
But if remove 'xmlns=http://nant.sf.net/schemas/nant.xsd;' then it works
Dear all,
I have following problem using solution task on com server project. Devenv
XXX.sln /build debug works. Any idea?
Thanks,
[solution] Starting solution build.
[solution] Building '' [Debug] ...
[midl] Processing
Hi Jaroslaw,
Why do you create a nant tasks manually instead of using solution task ?
Is it because VS2005 not supported so far?
Is somebody working to support VS2005 solution task?
With best regards,
Boni
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dear all,
May be make the syntax of gac-(un)install
Either
assembly name=${XXX}/
Or
include name=${XXX}/
for both?
Currently it seems to me (may be I am wrong), a bit unlogical:
gac-uninstall
assemblies
assembly name=${XXX}/
/assemblies
/gac-uninstall
Hi there,
What is the simplest way in Nant to get last directory only.
i.e. from c:\XX\YY\ZZ get ZZ
Is there any function? So far I find index of \ and then get substring.
But it is a bit ugly.
-
Take Surveys. Earn Cash.
Hi,
Meanwhile quite any machine has more then one processor (even Intel with
Dual Core and HT).
Would not it be nice to add multithreading to nant? As starting point I
could imagine to add some attribute to nant task, like
nant target=XXX max_threads_num=4
buildfiles
/
include name=p2*\default.build order=3/
/buildfiles
/nant
Hope it makes sense,
Boni
-Original Message-
From: Gary Feldman [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 20. Juli 2006 15:13
To: Bonio Lopez
Cc: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Feature request
Hi,
1.
Following code returns a error:
An empty string is not a valid value for attribute 'output' of exec ... /.
property name=test.outputfile value= overwrite=false/
exec
program=${expected.output}
commandline=${test.cmdline}
Hi,
In following example I would like to recursively call the same build file
with changing test_type property. Unfortunately test_type=-1 all the
time.
What do I do wrong?
Thanks,
Boni
project name=someprg default=build
property name=test_type value=-1 overwrite='false' /
target name=*
Hi Bob,
Still have the same problem. AFAIK delim is a list of chars (see
http://nant.sourceforge.net/release/latest/help/tasks/foreach.html, example
v)
-Original Message-
From: Bob Archer [mailto:[EMAIL PROTECTED]
Sent: Freitag, 28. Juli 2006 16:02
To: Bonio Lopez; nant-users
Hi,
I am looking for a task, which return 0 if text files are identical. (just
like a unix diff tool). Is something build in into nant or should I use GNU
diff with exec task?
Thanks,
Boni
-
Take Surveys. Earn Cash.
Hi,
Following code prints version 1.1 on my PC and ignores overwrite=false.
I use nant 0.85 rc4 on windows
Regards,
Boni
project
property name=nant.settings.currentframework value=net-2.0/
property name=nant.settings.currentframework value=net-1.1
overwrite=false/
Hi,
I am trying to use ms_build task from nant contrib.
What I need is to compile a configuration ${config} for project ${prj}
I have tried:
msbuild project=${prj}/
but where is a place for configuration.
Thanks a lot,
Boni
P.S. May we need better examples in the documentation?
Hi Gert,
Regarding your example, my feeling is that there would be very natural, if
fileset files would be empty and nothing would be copied. I would consider
this example as a logical error of the programmer, who created such file. As
we have just discussed nant is sequential. So when fileset was
Hi Gary,
I have a master build file, with default settings, which I include in all
projects.
So I needed for most projects net-1.1. If for some project I need net2.0 I
would set it in the build file of this project.
I solved the problem introducing a new property. I.e
property name=clr.version
Hi,
Supposed I have a compiler my_compiler, which converts files *.my_ext into
*.my_compiled
In the target I use currently:
exec program=my_compiler.exe
commandline= ${current}.my_ext ${current_out}.my_compiled
/
/target
Is it possible like in gmake create a target, which
do what you want. Something like: uptodate
property="isUpToDate"
sourcefiles
include name="*.my_ext" /
/sourcefile
targetfiles
include name="*.my_compiled" /
/targetfile /uptodate
exec program="my_compiler.exe" unless="${isUpToDat
Dear all,
I have a master build file with major targets. There are X targets: build,
clean, rebuild, register
Supposed I have Y project, to be build. Y-1 of them are build using ms_build
and one using my_own.exe
clean, rebuild, register ... also differs a bit for some of projects. For
example,
Feldman
Sent: Montag, 7. August 2006 13:57
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] How to overload targets
Bonio Lopez wrote:
Dear all,
...
Supposed I have Y project, to be build. Y-1 of them are build using
ms_build and one using my_own.exe clean, rebuild, register ... also
Hi,
Here is an example how to use ms_build
loadtasks assembly=${NantContribBaseDir}\NAnt.Contrib.Tasks.dll /
msbuild project=XXX.csdproj
property name=Configuration value=Release /
/msbuild
Regards,
Boni
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Yes, ms_build supports VS2005 only
-Original Message-
From: Burgess, Michael [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 8. August 2006 18:13
To: Bonio Lopez; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] Factoring out a 'devenv' call into 'csc'
Is that VS2005 only
No, either use exec and devenv or just csc tasks, and do a dependency
tracking manually using uptodate task.
-Original Message-
From: Burgess, Michael [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 8. August 2006 19:47
To: Bonio Lopez
Subject: RE: [NAnt-users] Factoring out a 'devenv' call
Hi,
1. Is it possible to read exec output into a property?
I need to compare md hashes of 2 files
exec program=md5sum.exe
commandline='my_prog1.exe'
/
exec program=md5sum.exe
commandline='my_prog2.exe'
/
What is the simplest way to do it
2.Just wanted to let nant
message=MDHash=${TempRes}/
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bonio Lopez
Sent: Montag, 14. August 2006 15:55
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] How to read program output into property
Hi,
1. Is it possible to read exec
Hi,
Following shows how to use ftp on windows machines from nant.(May be
somebody could need that. )
echo message=your_login file=ftpconfig append=false /
echo message=your_password file=ftpconfig append=true /
echo message=bin file=ftpconfig append=true /
echo
Hi James,
I would be also interested to use such task, feel free to give it out for
testing :). May be I would prefer to be able to use (test) in the way, that
does not conflict with current nant installation, if possible. As far as I
understand if you will give to the task asm_info name, it will
Hi,
You could try to set CLR version
explicitely:
property name="nant.settings.currentframework"
value="net-1.1" /
Check that you have regasm in that (or
default)clr version.
HIH,
Boni
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carl
MalikowskiSent: Dienstag, 29.
: Mittwoch, 30. August 2006
00:44To: Bonio Lopez;
nant-users@lists.sourceforge.netSubject: RE: [NAnt-users] Problem
using regasm task
Thanks to both you and
Gert for responding, but no luck .I modified the Nant.exe.config file and
changed the default to an explicit value:
It was: platform
Hi,
you can use exec task and start devenv.com yourproj.vdproj
/build release.
Regards,
Boni
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Juan
Carlos Becerra IreneSent: Freitag, 27. Oktober 2006
00:09To: nant-users@lists.sourceforge.netSubject:
[NAnt-users] .CAB files
Hi,
Has anybody managed to compile C++ projects with gcc using nant a with
header files dependency tracking?
If yes, may be you want to share the code.
Regards,
Boni
-
Using Tomcat but need to do more? Need to support web
Hi Ricardo,
try following:
1. put a small nant build file my_build.build in the directory_you_need.
2. In the top nant script write
nant target=${target::get-current-target()}
buildfiles
include name=directory_you_need//my_build.build /
/buildfiles
/nant
Now
Hi,
Compilers just need time for their work.I SUPPOSE, that nant overhead is
not crucial in your case. If some of your projects are independent, you
could try to compile in parallel. Nant natively does not support the
parallel compilation. But it could be be easily implemented on top of nant
Hi,
How long does it take with
devenv
${root.dir}\Source_Code\REIOSSolution\REIOS-ServiceLayerAndDependencies.sln
/build debug
?
IMHO the problem seems to be somehow related to the network storage/traffic.
Best regards,
Boni
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
42 matches
Mail list logo