Re: [NAnt-users] correct usage of depends attribute
Thanks a lot Gert, I didnt realize I was using NantContrib on my windows build. And depends as an attribute was separate from depends as a xml child element. Using depends as an attribute seems much faster as well. -Raj On Tue, Feb 10, 2009 at 2:15 PM, Gert Driesen wrote: > Raj, > > If you want to use the task, you need to download and > install/load > NAntContrib. > However, most people use the depends attribute on the target element to > define dependencies. > > The task is useful when you want to dynamically define the > dependencies. > > Gert > > -Original Message- > From: ptr2009 [mailto:ptrajku...@gmail.com] > Sent: dinsdag 10 februari 2009 19:56 > To: nant-users@lists.sourceforge.net > Subject: [NAnt-users] correct usage of depends attribute > > > hey all > > I have a target that depends on numerous other targets. On windows this > nant file works with version 0.86 beta. > > On MAC the build fails ( same version of nant) saying depends is unknown > task. Is this project file legal ? > > Can "depends" be a child xml element of a target or always need to be comma > separated attribute ? > > How is everyone dealing with lot of comma separated values particularly > when > the target names are big strings ? > > > > -Raj > > > > > > > > > > > > -- > View this message in context: > > http://www.nabble.com/correct-usage-of-depends-attribute-tp21939493p21939493 > .html > Sent from the NAnt - Users mailing list archive at Nabble.com. > > > > > -- > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK > and > Ajax docs to start building applications today- > http://p.sf.net/sfu/adobe-com > ___ > NAnt-users mailing list > NAnt-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-users > > Internal Virus Database is out of date. > Checked by AVG - http://www.avg.com > Version: 8.0.176 / Virus Database: 270.10.15/1923 - Release Date: 1/29/2009 > 7:13 AM > > -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Nant and cpp files
I would need to include a whole set of source files for compiling and link them all into a shared library. Is there preferred way to use an external makefile and fire nant with exec or write a custom task ? Raj On Thu, Feb 19, 2009 at 3:58 PM, Michael Pento wrote: > I would assume that you would have to a call to g++ or something > like that. Should be pretty easy, I think. > > > > /> > > verbose="true" /> > > > That's rough, but, you get the idea. > > Hope this helps, > Mike > > -Original Message- > From: ptr2009 [mailto:ptrajku...@gmail.com] > Sent: Thursday, February 19, 2009 2:44 PM > To: nant-users@lists.sourceforge.net > Subject: [NAnt-users] Nant and cpp files > > > hey all > > There are cl and linker tasks for compiling C++ files. But these seem > to be > using Microsoft compiler. Can one use nant to compile C++ files on > another > platform like linux/mac ? > > Is there a recommended way of doing this ? > > Thanks > Raj > -- > View this message in context: > http://www.nabble.com/Nant-and-cpp-files-tp22108239p22108239.html > Sent from the NAnt - Users mailing list archive at Nabble.com. > > > > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > ___ > NAnt-users mailing list > NAnt-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-users > > -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Problem with pkg-config finding mono
I see the same problem in the latest download of mono 2.4 on mac. Adding /Library/Frameworks/Mono.framework/Versions/2.4/bin to PATH seems to resolve the issue for me Raj On Fri, Apr 24, 2009 at 7:47 AM, Gert Driesen wrote: > Hi Ron, > > From the error it's clear that NAnt cannot start pkg-config. > Perhaps you should try to create a small test app that launches pkg-config > using the System.Diagnostics.Process class, to rule out a mono related bug. > If you have any problem creating this app, then just let me know. > > Gert > > *From:* Ron Grove > *Sent:* Friday, April 24, 2009 5:58 AM > *To:* nant-users@lists.sourceforge.net > *Subject:* Re: [NAnt-users] Problem with pkg-config finding mono > > I'm on a different OS X computer now (my wife's iMac) and I downloaded Mono > and Monobjc and get the same error from Nant. I tried the small test build > file in this post: > http://www.mail-archive.com/nant-users@lists.sourceforge.net/msg04071.html > > That recommends a small test build file containing: > > > > > > > > > But get the same error. Both computers seem to see that mono is there. > --exists mono doesn't give an error. It's in the --list-all output, etc. > The mono version seems fine: > > debora:bin Ron$ ./pkg-config --modversion mono > 2.4 > > I tried running nant with --debug and it doesn't really tell me anything > more. I'm lost. > > Thank you, > Ron > > > On Apr 23, 2009, at 4:52 PM, Ron Grove wrote: > > I'm having trouble with pkg-config when I run nant on the monobjc > project's package, but others have it working fine. The email below details > what I've done so far from a different mailing list. I really don't > understand why pkg-config says it can't find mono. When I run the command > on its own with --list-all it does list mono. I'm not sure how the --exists > switch is to be used, though. Just putting mono after it doesn't give me > anything, but when I run it with --debug it says the value of --print-errors > is 0. I expect that's good. When I use the --libs switch it gives me > plenty of info. The mono.pc file is in the > /Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig > folder. Any ideas about why it keeps failing on me with the error: > Expression: ${not pkg-config::exists('mono')} > Thank you, > Ron > > > Begin forwarded message: > > *From: *Ron Grove > *Date: *April 23, 2009 4:16:07 PM PDT > *To: *us...@lists.monobjc.net > *Subject: **Re: [us...@lists.monobjc.net] Problem building samples* > *Reply-To: *us...@lists.monobjc.net > > Interestingly I can run and run the command > > /Library/Frameworks/Mono.framework/Commands/pkg-config --list-all > > and mono is in the list it outputs. Man that's irritating... > > > On Apr 23, 2009, at 4:04 PM, Ron Grove wrote: > > I'm not completely sure what you mean by cleaning up my setup. The XCode > 3.1 tools are installed and work fine for Objective-C projects. I need > those tools so uninstalling them isn't really something I want to do unless > there's a reason. nant seems to be installed correctly: > > > ron:~ ron$ nant -help > > NAnt 0.86 (Build 0.86.2898.0; beta1; 12/8/2007) > > > ron:~ ron$ whereis nant > > /usr/bin/nant > > > ron:~ ron$ ls -l /usr/bin/nant > > lrwxr-xr-x 1 root wheel 48 Apr 10 15:11 /usr/bin/nant -> > /Library/Frameworks/Mono.framework/Commands/nant > > > Still not sure why, but it's this pkg-config::exists function that's > failing to find mono. But I can run it fine from the command line and it's > in my path. Suppose I'll have to sign up on their mailing list and ask. I > was just hoping someone else may have run into it here. > > > -Ron > > > > 2009/4/17 Ron Grove : > > I've tried to built the samples using nant and get this error message > below. > > I've never used it before and not sure what to do. This page doesn't > tell > > me much: > > > > http://nant.sourceforge.net/release/0.85-rc1/help/functions/pkg-config.exists.html > > > Where is it looking for the package? I have the latest download for OS X > > installed on the system. All the old versions are gone so far as I can > see. > > Somewhere I read to set $PKG_CONFIG_PATH > > to /Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig > which > > I've done, but that didn't help. Any ideas? > > > Thank you, > > Ron > > > --- > > > BUILD FAILED > > > Failed to initialize the 'Mono 3.5 Profile' (mono-3.5) target framework. > > > Function call failed. > > Expression: ${not pkg-config::exists('mono')} > > ^^ > > > 'pkg-config' failed to start. > > > ApplicationName='pkg-config', CommandLine='--exists mono', > > > CurrentDirectory='/Library/Frameworks/Mono.framework/Versions/2.4/share/NAnt/bin/' > > > For more information regarding the cause of the build failure, run the > build > > again in debug mode. > > > > > > > > -- > > >
[NAnt-users] building nant from SVN
hey all The nant nightly builds have not been updated since 5th May 2009. Is there an svn for nant source ? I found this but it doesn't seem to work ? http://sourceforge.net/scm/?type=svn&group_id=31650 Thanks Raj -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users