[NAnt-users] Get devenv output

2006-06-21 Thread Bonio Lopez
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

Re: [NAnt-users] Get devenv output

2006-06-21 Thread Bonio Lopez
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

[NAnt-users] How to add quotas to line?

2006-06-21 Thread Bonio Lopez
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

[NAnt-users] Nant and multithreading

2006-06-22 Thread Bonio Lopez
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

[NAnt-users] Function call failed (IMHO bug)

2006-07-03 Thread Bonio Lopez
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.

[NAnt-users] What is project directory

2006-07-04 Thread Bonio Lopez
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()}

[NAnt-users] Nant programming

2006-07-05 Thread Bonio Lopez
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

[NAnt-users] Releasing software

2006-07-07 Thread Bonio Lopez
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

[NAnt-users] Compile nant using ngen

2006-07-11 Thread Bonio Lopez
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

[NAnt-users] Bug or feature?

2006-07-11 Thread Bonio Lopez
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

[NAnt-users] Solution task fails

2006-07-11 Thread Bonio Lopez
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

Re: [NAnt-users] Synchronizing Visual Studio projects to NAnt build

2006-07-17 Thread Bonio Lopez
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

[NAnt-users] Syntax of gac-(un)install tasks

2006-07-19 Thread Bonio Lopez
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

[NAnt-users] Get directory name only

2006-07-19 Thread Bonio Lopez
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.

[NAnt-users] Feature request

2006-07-19 Thread Bonio Lopez
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

Re: [NAnt-users] Feature request

2006-07-20 Thread Bonio Lopez
/ 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

[NAnt-users] Evaluation of if and unless

2006-07-25 Thread Bonio Lopez
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}

[NAnt-users] Recursive call of the build file

2006-07-28 Thread Bonio Lopez
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=*

Re: [NAnt-users] Recursive call of the build file

2006-07-28 Thread Bonio Lopez
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

[NAnt-users] Diff task for nant

2006-07-28 Thread Bonio Lopez
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.

[NAnt-users] Bug in setting of nant .net version

2006-08-01 Thread Bonio Lopez
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/

[NAnt-users] How to use ms_build task of nantcontrib

2006-08-01 Thread Bonio Lopez
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?

Re: [NAnt-users] Evaluation of if and unless

2006-08-01 Thread Bonio Lopez
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

Re: [NAnt-users] Bug in setting of nant .net version

2006-08-01 Thread Bonio Lopez
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

[NAnt-users] Dependency tracking

2006-08-04 Thread Bonio Lopez
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

Re: [NAnt-users] Dependency tracking

2006-08-04 Thread Bonio Lopez
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

[NAnt-users] How to overload targets

2006-08-07 Thread Bonio Lopez
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,

Re: [NAnt-users] How to overload targets

2006-08-08 Thread Bonio Lopez
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

Re: [NAnt-users] Factoring out a 'devenv' call into 'csc'

2006-08-08 Thread Bonio Lopez
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]

Re: [NAnt-users] Factoring out a 'devenv' call into 'csc'

2006-08-08 Thread Bonio Lopez
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

Re: [NAnt-users] Factoring out a 'devenv' call into 'csc'

2006-08-08 Thread Bonio Lopez
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

[NAnt-users] How to read program output into property

2006-08-14 Thread Bonio Lopez
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

Re: [NAnt-users] How to read program output into property

2006-08-14 Thread Bonio Lopez
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

[NAnt-users] Using ftp from nant on windows

2006-08-14 Thread Bonio Lopez
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

Re: [NAnt-users] Extending asminfo Task

2006-08-22 Thread Bonio Lopez
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

Re: [NAnt-users] Problem using regasm task

2006-08-29 Thread Bonio Lopez
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.

Re: [NAnt-users] Problem using regasm task

2006-08-29 Thread Bonio Lopez
: 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

Re: [NAnt-users] .CAB files creation with NAnt

2006-10-27 Thread Bonio Lopez
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

[NAnt-users] GCC using nant

2006-11-13 Thread Bonio Lopez
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

Re: [NAnt-users] Change basedir for target

2007-02-28 Thread Bonio Lopez
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

Re: [NAnt-users] [ANN] compiling solution file is very very slowin nant

2007-03-27 Thread Bonio Lopez
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

Re: [NAnt-users] [ANN] compiling solution file is very very slowinnant

2007-03-27 Thread Bonio Lopez
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