RE: [Nant-users] Labeling and Versioning

2004-04-01 Thread Nicklas Norling
Title: Message I ended up with these small snipplets to solve my problems where I use svn and ccnet and want both build number and revision from svn into the (in this case) file version attribute.                                                                     

Re: [Nant-users] VB6 Task

2004-04-01 Thread Ian MacLean
no it doesn't since you can't add a vb6 project to a vs.net solution. There is however the vb6 task in NAntContrib. You should grab a nightly as there have been some recent fixes. http://nantcontrib.sourceforge.net/nightly/help/tasks/vb6.html Ian Eric Fetzer wrote: Does the Solution task suppor

[Nant-users] Breaking out of task

2004-04-01 Thread Westbrook, Gregory
Is there any way to break out of a task? I am using to retrieve a list of files and test for specific file types. When I find the file type I would like to break out of the loop instead of continuing through the remainder of file types specified in the task. Thanks, Greg --

[Nant-users] Breaking out of task

2004-04-01 Thread Westbrook, Gregory
Is there any way to break out of a task? I am using to retrieve a list of files and test for specific file types. When I find the file type I would like to break out of the loop instead of continuing through the remainder of file types specified in the task. Thanks, Greg --

[Nant-users] VB6 Task

2004-04-01 Thread Eric Fetzer
Does the Solution task support VB6 projects? Thanks, Eric __ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ --- This SF.Net email is sponsored by: IBM

[Nant-users] Exec output attribute doesn't redirect

2004-04-01 Thread Gary Feldman
The output= attribute of the exec task is documented as redirecting the output, but that's not what it does. It does a tee. I can submit a bug report, but I'm wondering is the bug in the docs or in the code? Or in other words, what do users think it should do? Personally, I think it should redi

RE: [Nant-users] Labeling and Versioning

2004-04-01 Thread Ryan Cromwell
The NAntContrib version task will increment the version number and return the new one in a property.  You don't have to provide it the current version, it persists that to disk.  You then use the asminfo task to create a new AssemblyInfo file.  asminfo is a task in NAnt core. A couple months ago I

[Nant-users] Labeling and Versioning

2004-04-01 Thread Bonnett, Evan A
Title: Message Gert,   How do you handle getting the current version of the AssemblyInfo file for the purpose of incrementing and creating a new AssemblyInfo file?   Or do you have the version entered on the command line every time?   Thanks,     Evan A. Bonnett Reynolds and Reynolds, IT ER

RE: [Nant-users] MySQL database script inside NAnt

2004-04-01 Thread Clayton Harbour
Title: Message Hi Wilson,   This is just a guess but there might be some escaping going on with your redirection to an output file ('>').  If you try using the output attribute in the task I am guessing that this should go away.  An example (not tested) would look like this:   If th

[Nant-users] MySQL database script inside NAnt

2004-04-01 Thread Wilson Ricardo Passos Oliveira
Hi fellows, I've been trying to execute a MySQL script to create a database using NAnt, as one of some tasks the NAnt script has to execute. My database create script is in a file named Manufatura_DBCreate.sql and, when I execute this command directly from a DOS prompt, it correctly works,

RE: [Nant-users] Nant & Unit Tests From Conditional Compilation

2004-04-01 Thread Osbun, Alex
Let's say that you have a class named MyClass. You make an instance of MyClass, and it is named myObject. We want to call an instance method named PrivateMethod. PrivateMethod will just add two numbers and return the result. What you can do is get the type of myObject by calling myObject.Get