[Nant-users] Wish to ask a question
nant-users@lists.sourceforge.net
[Nant-users] How to pass parameters to other build files.
If I have a master build file, how do I pass parameters to the child build files? Thanks, --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
RE: [Nant-users] How to pass parameters to other build files.
I've been doing it using properties (which are inherited by child build files). If there is a better way I'd be interested in knowing. Jonathan Evans eml: [EMAIL PROTECTED] CREDIT | First17 Columbus Courtyard tel: +44 (0) 20 7888 6145 SUISSE | Boston London fax: +44 (0) 20 7833 8490 E14 4QJ dsk: 2N10031 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jason Wisener Sent: Wednesday, September 21, 2005 5:04 PM To: nant-users@lists.sourceforge.net Subject: [Nant-users] How to pass parameters to other build files. If I have a master build file, how do I pass parameters to the child build files? Thanks, --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
RE: [Nant-users] Build target from command line without dependencies
Kelly Anderson wrote: Why wouldn't you use NAnt to do backups? For what it's worth ... And depending on what kind of backup you mean ... I do. If you mean keeping a copy of the results of a build ... ... In all my software build scripts, I have a release target that does the whole build and then archives the full results into a repository area on our network. This archive includes a full executable image (all the files in their correct directories), release notes, supporting scripts (e.g. SQL), installer etc etc. If you mean keeping a copy of the source that went into a build ... ... The deploy target that I use to migrate my website from test into production also checks the source into SubVersion and applies a label so that I know exactly what went live when. (Technically, this is an Ant script not a NAnt one, but I still feel it's a valid example). If you mean mirroring a file tree to a second location ... ... I used to use the copy task to maintain a backup of key documents and files across my home network on another machine. Worked very well at the time, but I've since moved to a different approach. Hope this helps, Bevan. ** This message (and any files transmitted with it) are confidential and may be legally privileged. If you are not the intended recipient please notify the sender immediately and delete this message from your system. This message does not necessarily reflect the views of the Reserve Bank of New Zealand. If the recipient has any concerns about the content of this message they should seek alternative confirmation from the Reserve Bank of New Zealand. ** --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
RE: [Nant-users] Build target from command line without dependencies
If you mean keeping a copy of the results of a build ... If you mean keeping a copy of the source that went into a build ... If you mean mirroring a file tree to a second location ... Yeah, that's a good example of what I'm talking about... I bet we could come up with a pile of examples of the sorts of things you could do with NAnt, aside from building programs. It's a generally useful tool. I imagine there's LOTS of other things people have done with it. -Kelly E-Mail messages may contain viruses, worms, or other malicious code. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective action against such code. Sender is not liable for any loss or damage arising from this message. The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee(s). Access to this e-mail by anyone else is unauthorized. --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [Nant-users] Build target from command line without dependencies
Anderson, Kelly wrote: If you mean keeping a copy of the results of a build ... If you mean keeping a copy of the source that went into a build ... If you mean mirroring a file tree to a second location ... Yeah, that's a good example of what I'm talking about... Well, yes, NAnt can do many of the things that scripting languages can do. After all, it has variables (properties), conditionals, some fairly primitive looping that can be hacked for more general purposes, and the ability to call out via exec. Targets are the moral equivalent to functions in other languages. That doesn't mean it's the best system for all the things that scripting languages do, but there's certainly a lot of overlap. But these items are part of what build means in the general release engineering sense. Saying that NAnt is for builds doesn't mean that it has the same functionality as the Visual Studio build solution command. It means it's useful for the systems that are commonly maintained by release engineering groups, or the individuals in small teams who take on that role. This includes all the record keeping, all the interaction with the source control system, deployment over the net, notification, archiving, etc. That's what people have been doing with scripting languages and script-level utilities for years - including make. Perhaps this thread started not because people just discovered that NAnt could do more than compiling and linking, but because people didn't realize that make can do more than compiling and linking. Or perhaps it's because the boundaries are different - make sits between the concept of dependency and the greater scripting environment, while NAnt adds a facade to the scripting environment. (And I mean scripting in the bash/Perl/Python sense, not the JavaScript sense that can be used to extend NAnt.) Gary --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[Nant-users] Reading AssemblyInfo.cs in Nant
Hi, In nant how do i read the AssemblyInfo.cs version number and label it in VSS using vsslabel. Thanks and Regards Prasad __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[Nant-users] Two map elements
Hello all, I have a solution with two nested web projects. Let it be ProjectA and ProjectB. ProjectA has a virtual folder, ProjectB is a subproject of ProjectA and has virtual directory in ProjectA virtual directory. Also, ProjectA is C# project and ProjectB is VBNet project. When I try to build my solution by following nant build file: target name=build delete failonerror=false fileset include name=ProjectA\bin\*.dll / include name=ProjectBA\ProjectB\bin\*.dll / /fileset /delete solution solutionfile=MySolution.sln configuration=release failonerror=true webmap map path=ProjectA\ProjectA.csproj url="" / map path=ProjectA\ProjectB\ProjectB.vbproj url="" / /webmap /solution /target My solution was built by in the console I see: [delete] Deleting 10 files. [solution] Starting solution build. [solution] Building 'System.Web' [Release] ... [solution] Building 'Core' [Release] ... [solution] Building 'Components' [Release] ... [solution] Building 'CoreTests' [Release] ... [solution] Skipping 'ProjectB' [Release] ... [solution] Building 'ProjectA' [Release] ... BUILD SUCCEEDED What is wrong in my build script? Or should I add some one else into target? Any advices are welcome. Regards, Dmitry
RE: [Nant-users] Error lines not written in the log file (more details)
-Original Message- From: Gert Driesen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 13, 2005 3:31 PM To: Asis Yuval; Nant-users@lists.sourceforge.net Subject: Re: [Nant-users] Error lines not written in the log file - Original Message - From: "Asis Yuval" [EMAIL PROTECTED] To: Nant-users@lists.sourceforge.net Sent: Tuesday, September 13, 2005 4:04 PM Subject: [Nant-users] Error lines not written in the log file Hello Everybody I am using record task for recording NAnt output to log-file, on failure i am sending an E-mail with attachment with this log-file , the problem is that the significant lines are not appearing in the log, the NAnt print them after closing the log-file and sending the mail. Can you send me a small repro for this issue ? Thanks Gert HiAll Some details about this issue: The Build file ... property name="nant.onfailure" value="SendFailureMail" if="${NightBuild}"/ target name="SendFailureMail" record name="${log.file}" action="" / record name="${log.file}" action="" / mail from="..." tolist="..." cclist="..." subject=" Builed failed" message=" Build Failed at ${build.datetime}" mailhost="..." attachments include name="${log.file}" / /attachments /mail /target ... The Build log --- build.Viewer: [solution] Starting solution build. [solution] Building 'GV_DAT_Data' [Debug] ... Unhandled Exception: System.DllNotFoundException: Exception from HRESULT: 0x80131524. at [EMAIL PROTECTED](Void* , UInt32 , Void* ) SendFailureMail: [mail] Sending mail to [EMAIL PROTECTED];[EMAIL PROTECTED] BUILD FAILED - 0 non-fatal error(s), 1 warning(s) Error resolving module references of 'C:\snap\Colibri_Release_view\v3\bin\MMI_General.dll'. File or assembly name AnalysisWrapper.dll, or one of its dependencies, was not found. Thanks Yuval The information contained in this communication is proprietary to Israel Aircraft Industries Ltd. and/or third parties, may contain confidential or privileged information, and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited.If you receive this communication in error, please notify the sender immediately and delete it from your computer. Thank you.This message is processed by the PrivaWall Email Security Server.