RE: [Nant-users] Building a non.NET C++ solution

2005-05-06 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Assuming that the solution compiles successfully in VS.NET 2003, then you should make sure that your environment variables are set correctly. Read vsvars32.bat to see what needs to be set. I've found it very difficult to set environment variables within Nant so you will likely need to set them

RE: [Nant-users] File sizes

2005-05-03 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Hi Aaron, Out of curiosity, are both versions functional? I assume they are. Have you tried to using ildasm (and similar tools) to inspect both assemblies? -- Edwin From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron ElderSent: Monday, May 02, 2005 4:07

RE: [Nant-users] File sizes

2005-05-03 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
] [mailto:[EMAIL PROTECTED] On Behalf Of Castro, Edwin Gabriel (Firing Systems Engr.) Sent: Tuesday, May 03, 2005 12:25 To: Aaron Elder; nant-users@lists.sourceforge.net Subject: RE: [Nant-users] File sizes Hi Aaron, Out of curiosity, are both versions functional? I assume

[Nant-users] exec failonerror=false outputs non-zero return codes

2005-03-04 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I'm executing a few external commands using the exec task. Some of these executions may fail. For the purposes of my build process these failures do not matter so I've been using the failonerror attribute to allow the build to continue. Unfortunately the exec task still reports such failures,

RE: [Nant-users] Re: exec string literals

2005-02-22 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Here is another alternative: exec program=ISCmdBld arg value='-p ${WorkDirInstallShield}\NWEA_MAPAdminWeb_Install.ism' / arg value='-a MAPAdminWeb_Install' / arg value='-c Release 1' / /exec -- Edwin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [Nant-users] Re: Solution problem

2005-02-03 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
No, Visual Studio ignores this. If you check a particular solution file you'll notice that the GUIDs assigned to each project are unique within that solution. The GUIDs will match the GUIDs in the project files most of the time. I believe that Visual Studio simply ignores the project GUID in the

RE: [Nant-users] vssget failed access denied

2005-01-31 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Title: vssget failed access denied Access denied errors are usually related to a lack of permissions to access the share But if everything works correctly when you do not include the version attribute then Im not sure what could be causing the problem Ive seen similar problems when I tried

[Nant-users] RE: [nant-dev] Support for global collections / referencable types

2005-01-28 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I have a suggestion. All collections should support the Composite pattern. I've had many situations where I've wanted to specify multiple filesets or divide up the namespace imports and then collect them up where they are used. Suppose I have three different namespace imports (N1, N2, and N3) and

RE: [Nant-users] Specifying a Finally target

2005-01-28 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
workaround for the edification of the uninitiated? (Me)   MArk B.   -Original Message- From: Castro, Edwin Gabriel (Firing Systems Engr.) [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 26, 2005 1:35 PM To: Butler, Mark A Mr IPI Gramm Tech; [EMAIL PROTECTED] Sourceforge. Net Subject: RE

RE: [Nant-users] Project References

2005-01-28 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I've seen this problem before and as a result I exec devenv.com to compile my master solutions. The following analysis applies to Visual Studio .NET 2003. I've not tried Visual Studio .NET 2005 and thus do not know if it differs from what I've seen with Visual Studio .NET 2003. The Visual Studio

RE: [Nant-users] Specifying a Finally target

2005-01-26 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Suppose I have a file called paths.txt with this content: [paths.txt] path\to\file1.txt path\to\file2.txt path\to\file3.txt [/paths.txt] I want to create a few filesets with these paths except the base directory changes per fileset: fileset id=green basedir=C:\green includesfile

RE: [Nant-users] Specifying a Finally target

2005-01-26 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Oops! I forgot the files! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Castro, Edwin Gabriel (Firing Systems Engr.) Sent: Wednesday, January 26, 2005 3:03 PM To: [EMAIL PROTECTED] Sourceforge. Net Subject: RE: [Nant-users] Specifying a Finally target

RE: [Nant-users] Specifying a Finally target

2005-01-26 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Title: Transactionality in NAnt Can I specify more than one target with nant.onsuccess and nant.onfailure? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Castro, Edwin Gabriel (Firing Systems Engr.) Sent: Wednesday, January 26, 2005 10:03 AM To: Gert Driesen

RE: [Nant-users] Transactionality in NAnt

2005-01-25 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Title: RE: [Nant-users] Transactionality in NAnt Seems to me NAnt is meant as a build tool not a deployment tool. A deployment tool certainly requires transactions. As a build tool NAnt does not need transactions although some of the things mentioned so far in the thread are certainly

[Nant-users] Specifying a Finally target

2005-01-25 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Title: Transactionality in NAnt Im in need to execute a target after all other targets have executed. I have an init target that does some configuration and I need a teardown target to execute after all targets scheduled to execute have done so. Id like to tell nant at runtime to add this

[Nant-users] Does nunit2 support multiple test elements?

2005-01-13 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Out of curiosity I tried the following: nunit2 formatter type=Xml / test assemblies basedir=${basedir} include name=**\bin\${config}\*.dll / /assemblies /test test testname=TestNamespace assemblyname=c:\path\to\first\test.dll / /nunit2 I found that NAnt faithfully executed

RE: [Nant-users] RE: Nant COM interop

2004-12-22 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Interestingly, I used to have this problem too. In my case I had two projects (A and B) with one project dependent on the other (A depends on B). Both projects referenced a COM assembly (C.exe via interop.c.dll) and I used to get the access errors which I think occurred because the second project

RE: [Nant-users] Creating/setting env variables

2004-12-08 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
.NET can, on the other hand, start a process with particular environment variables set. The exec task has an environment element for this purpose. I use it to call devenv.exe and set the appropriate PATH, INCLUDE, and LIB environment variable for that execution only. -Original Message-

RE: [Nant-users] Nant COM interop

2004-12-02 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
By chance, are you running NAnt with the WebUI solution open in VS.NET? The reason I ask is that VS.NET tends to lock interop libraries. I have had problems trying to clean my projects because of similar UnauthorizedAccessExceptions but never trying to build the solutions Anyways, its

RE: [Nant-users] Re: FileSet Behavior

2004-12-01 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
delete fileset basedir=${folder} include name=**\bin / include name=**\obj / /fileset /delete Unfortunately, NAnt doesn't delete the folders. I suspect that this is because the folders are not empty. Yeps The help suggests that I can specify a folder to

RE: [Nant-users] Re: FileSet Behavior

2004-11-30 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
'; Castro, Edwin Gabriel (Firing Systems Engr.); [EMAIL PROTECTED] Subject: RE: [Nant-users] Re: FileSet Behavior -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Mastracci Sent: dinsdag 30 november 2004 6:34 To: Castro, Edwin Gabriel

[Nant-users] exec output redirection

2004-11-29 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I'm trying to redirect output from exec to a file so that I can filter the output and later print only the output I want. (In essence I am trying to build a pipeline manually) Unfortunately, NAnt prints out the output from exec even when I ask it to redirect the output to a file. Obviously NAnt's

[Nant-users] fileset execution

2004-11-29 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
When is a fileset executed? Suppose I have the following build file: project name=test default=test fileset id=test.fileset include name=*.* / /fileset target name=test delete fileset refid=test.fileset / /delete /target /project Would the fileset generate the file list

RE: [Nant-users] FileSet Behavior

2004-11-29 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Message- From: [EMAIL PROTECTED] [mailto:nant-users- [EMAIL PROTECTED] On Behalf Of Castro, Edwin Gabriel (Firing Systems Engr.) Sent: Tuesday, November 23, 2004 1:19 PM To: [EMAIL PROTECTED] Subject: [Nant-users] FileSet Behavior I'm using NAnt 0.85 (Build 0.85.1783.0; nightly; 11/18

RE: [Nant-users] Trying to get NUnit task to work

2004-11-24 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
NAnt uses version 2.2 of NUnit for the nunit2 task. It looks like your NUnit tests are using version 2.1. I think its possible that it cant recognize the tests because the versions dont match. You should try to upgrade to using version 2.2. If that is not possible you could always

[Nant-users] FileSet Behavior

2004-11-23 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I'm using NAnt 0.85 (Build 0.85.1783.0; nightly; 11/18/2004) I noticed that when I use a fileset similar to the following: delete fileset basedir=${folder} include name=**\bin / include name=**\obj / /fileset /delete the fileset is matching bin and obj folders as expected but also

RE: [Nant-users] Including External Build Files

2004-11-22 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Another way to look at it is that the include task copies the contents of the included script into the main script. From NAnt's perspective there is no included script if that makes anysense... -Original Message- From: [EMAIL PROTECTED] [mailto:nant-users- [EMAIL PROTECTED] On Behalf

RE: [Nant-users] Overwriting properties

2004-11-19 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Properties specified on the command line are read-only. When NAnt sees your property line it tries to set it and it can't because it is already read-only. Use a guard to make sure that it is executed only if the property does not exist. Example: ?xml version=1.0? project name=Test property

RE: [Nant-users] bin 2 hex

2004-11-18 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I assume you mean decimal to hex Decimal (base 10) Hexadecimal (base 16) Binary (base 2) Anyway, something like this might work: static string DecToHex(int number) { return string.Format({0:X}, number); } string hex = DecToHex(108); hex would equal 6C. using {0:x} as

RE: [Nant-users] Odd solution error

2004-11-18 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
To: Castro, Edwin Gabriel (Firing Systems Engr.); nant- [EMAIL PROTECTED] Subject: RE: [Nant-users] Odd solution error Edwin, It appears as if a type library is not registered correctly. I've modified NAnt to provide a more meaningful error message. I'll upload a new nightly build in 30

RE: [Nant-users] Problem with Move task, overwrite doesn't work?

2004-11-17 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I second that motion! J Edwin From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felice Vittoria Sent: Wednesday, November 17, 2004 12:27 PM To: Gert Driesen; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [Nant-users] Problem with Move task, overwrite

RE: [Nant-users] Problem with Move task, overwrite doesn't work?

2004-11-17 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
J From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gert Driesen Sent: Wednesday, November 17, 2004 1:36 PM To: 'Felice Vittoria'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [Nant-users] Problem with Move task, overwrite doesn't work? I could ofcourse

RE: [Nant-users] Util Namespace Not Found

2004-11-17 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Although I have not been able to track down the problem I have the feeling that this is some how related to some form of ambiguity. I imagine that NAnt is somehow referencing assemblies in a way that is not consistent with VS.NET. Perhaps one of the referenced assemblies (might be a .NET

RE: NAnt Release Policies (was Re: [Nant-users] NAnt copies more files than VS.NET)

2004-11-12 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Great analysis! I totally agree. I think in the end I was trying to say the same you did here. Well done! -Original Message- From: [EMAIL PROTECTED] [mailto:nant-users- [EMAIL PROTECTED] On Behalf Of Gary Feldman Sent: Thursday, November 11, 2004 2:05 PM To: [EMAIL PROTECTED]

RE: [Nant-users] Can't access System Volume Information when a drive root is specified as basedir of a fileset

2004-11-12 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
PROTECTED] Sent: Thursday, November 11, 2004 2:12 PM To: Castro, Edwin Gabriel (Firing Systems Engr.); nant- [EMAIL PROTECTED] Subject: RE: [Nant-users] Can't access System Volume Information when a drive root is specified as basedir of a fileset Edwin, I faced a similar situation not long

RE: [Nant-users] Error trying to check out from VSS

2004-11-11 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Title: Error trying to check out from VSS This is an odd error. To me it seems like it should work. That is assuming that vssget is loaded and it appears to be loaded Have you gotten any help on this? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frinder,

RE: [Nant-users] Possible bug with property::exists

2004-11-10 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Title: Possible bug with property::exists You need to enclose the property name in single quotes when using property::exists, like this: property name=SingleBuildFile value=${property::exists(SingleBuildDirectory)} / From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

RE: [Nant-users] NAnt copies more files than VS.NET

2004-11-10 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
This raises a really important question. What constitutes a release? I feel that every new nightly build is really a release since they are made available to all. The current official release is simply a really, really old nightly build anyway. I understand projects need to find a balance between

[Nant-users] solution and COM references

2004-11-02 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I'm trying to build a solution with two C# projects. One is dependent on the other. Both projects reference a COM library. The COM library is the same in both cases. When I build the solution using solution the first project appears to build correctly (no errors and the output appears in the

RE: [Nant-users] solution and COM references

2004-11-02 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
stuck. Any help on that would be appreciated! Thanks again! -- Edwin -Original Message- From: [EMAIL PROTECTED] [mailto:nant-users- [EMAIL PROTECTED] On Behalf Of Castro, Edwin Gabriel (Firing Systems Engr.) Sent: Tuesday, November 02, 2004 12:04 PM To: [EMAIL PROTECTED] Subject: [Nant

RE: [Nant-users] solution and COM references

2004-11-02 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
] Sent: Tuesday, November 02, 2004 1:50 PM To: Castro, Edwin Gabriel (Firing Systems Engr.); nant- [EMAIL PROTECTED] Subject: RE: [Nant-users] solution and COM references Hi Edmin, Can you provide small repro's for both issues ? Thanks ! Gert -Original Message- From: [EMAIL

RE: [Nant-users] Typed Properties

2004-10-08 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I whole-heartedly agree! Although non-typing will undoubtedly add more complexity to the NAnt core code, it would, in many instances, simplify life for the user. The ultimate goal for any software should be to simplify the life of the user. Certainly, having the power to use .NET constructs as

RE: [Nant-users] IntelliSense for NAnt build files

2004-10-07 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Hi Curt, That is odd. Here is what I do. I have Nant and NantContrib installed in different locations. I have a target that loads NantContrib (and any of my custom tasks/functions/etc) via loadtasks. Then I use nantschema to output the schema to the VS.NET schema directory. This has

RE: [Nant-users] assemblyname::get-assembly-name() vs properties

2004-10-07 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
A language in which the return value of a function cannot be saved it weird. If my memory is correct pure functional languages do not save return values. Most programmers learning a pure functional language find it weird because they are used to imperative languages like C++, Java, C#, etc.

RE: [Nant-users] Document Comments

2004-10-05 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
VBCommenter is a VS.NET plug-in right? Perhaps you could write a custom task that used the VBCommenter interface directly to do the work. I don't know how difficult this would be but it seems like a possible option. Of course, if another utility already does this then you should use that instead!

RE: [Nant-users] arg value expanded prior to if test

2004-10-05 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
, 2004 5:36 PM To: Castro, Edwin Gabriel (Firing Systems Engr.); [EMAIL PROTECTED] Subject: Re: [Nant-users] arg value expanded prior to if test Edwin, In general, compilers (XML or otherwise) expand/evaluate all terms of an expression before doing the final evaluating the expression. This means

RE: [Nant-users] Regarding Cobol.net Compilation

2004-10-04 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
NAnt does not support Cobol.net out of the box. You could use the exec task to execute your Cobol.net compiler. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rajendra Mishra Sent: Thursday, September 30, 2004 3:26 AM To: [EMAIL PROTECTED] Subject: [Nant-users]

[Nant-users] arg value expanded prior to if test

2004-10-04 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I am trying pass an arg to exec depending on the existence of a property. Example: exec program=program.exe arg value=${arg} if=${property::exists('arg')} / /exec I receive an error message like the following: error Property evaluation failed. Expression: ${arg} ^^^ Property

RE: [Nant-users] Problem with VSSCheckOut Task

2004-09-29 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
The CruiseControl.NET project (or users of that project) has encountered a similar problem. They have documented it at http://confluence.public.thoughtworks.org/display/CCNET/VSS Here is the bit that sounds interesting: ccnetdoc CCNet periodically reports the following error when connecting to

RE: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
While this method is not the recommended procedure, it does have the nice property that you can use the nantschema task to produce a schema that will contain all the NAnt, NAntContrib, and Custom tasks specified in the nant.exe.config. This is very useful since there is no other way to create a

RE: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Gabriel (Firing Systems Engr.) [EMAIL PROTECTED] While this method is not the recommended procedure, it does have the nice property that you can use the nantschema task to produce a schema that will contain all the NAnt, NAntContrib, and Custom tasks specified in the nant.exe.config. This is very

[Nant-users] nant schema does not contain all valid attributes and elements

2004-09-29 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
When I create a task schema using nantschema/ and use the schema within Visual Studio for IntelliSense I see a few attributes/elements that are not recognized by Visual Studio (I get the little red squiggly underneath the text). Here are some examples: * 'if' and 'unless' attributes for target/

Re: [Nant-users] Problems with vssget

2004-09-20 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I expect spaces will not be the problem. I have NAnt and NAntContrib both in C:\Program Files. Actually, I have them set up as follows: NAnt is at C:\Program Files\DotTools\nant-0.85-nightly. NAntContrib is at C:\Program Files\DotTools\nantcontrib-0.85-nightly. In my NAnt build files I use the

RE: [Nant-users] Calling Environment functions

2004-09-20 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Try passing a string by using single quotes like: ${environment::variable-exists('temp')}. --Edwin From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Devin Grant Sent: Monday, September 20, 2004 12:16 PM To: [EMAIL PROTECTED] Subject: [Nant-users] Calling

[Nant-users] proper format for a collection of strings in custom task

2004-09-20 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Hi All, I am writing my own custom task and I would like to have a collection of strings as an element something like the following: customtask filters pattern name=pattern1 / pattern name=pattern2 / pattern name=pattern3 / /filters /customtask My code looks like this:

RE: [Nant-users] proper format for a collection of strings in custom task

2004-09-20 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
] [mailto:[EMAIL PROTECTED] On Behalf Of Castro, Edwin Gabriel (Firing Systems Engr.) Sent: Monday, September 20, 2004 3:20 PM To: [EMAIL PROTECTED] Subject: [Nant-users] proper format for a collection of strings in custom task Hi All, I am writing my own custom task and I would like to have

[Nant-users] Target depending on one of two other targets

2004-09-16 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Is there an easy way to have one target depend on one of two (or more) other targets? I have a build file similar to the following: project name=projectA target name=build / target name=rebuild / target name=test / /project I would like my test target to make sure that either

RE: [Nant-users] Target depending on one of two other targets

2004-09-16 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
/ /project The solution is not too difficult. I am more curious as to whether there is a better way to do this. Thanks! -- Edwin From: McCullough, Gary [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 9:50 AM To: Castro, Edwin Gabriel (Firing Systems Engr.); [EMAIL

RE: [Nant-users] NAnt Writing NAnt--How?

2004-09-15 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I have a similar need. I need to filter out NAnt output after the build is complete. I would like to specify a regular expression and remove any xml nodes in the Nant output whose content matches the regular expression. In particular I'd like to ignore warnings that references Microsoft Visual

RE: [Nant-users] [Fwd: Why can't NAnt seem to exec xcopy ?]

2004-09-01 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Loren, Could the problem be related to the PATH environment variable? Did you make sure you can execute your xcopy from the command line? -- Edwin G. Castro Firing Systems Engineer [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [Nant-users] Problem with the latest nightly build.

2004-08-25 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Hi Madhan, I bet if you took your concern to Microsoft they'd tell you to upgrade to .NET Framework 1.1. I'm also willing to bet that most people using NAnt with VB.NET have also upgraded to .NET Framework 1.1. That said, you could try Microsoft and see if they'll give you a special fix for the

RE: [Nant-users] Recognising xml files

2004-08-24 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Launch VS.Net. File-Open-File (Open File dialog pops up) Navigate to your .build file click on triangle next to open button, choose Open With Choose HTML/XML Editor Click Set as Default button Click Open Now when ever you open a .build file (you can double click from Explorer) VS.Net will open

RE: [Nant-users] checking nant version

2004-08-13 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I would recommend that you use the script task to create your own custom function taking two strings and returning a boolean. You can then use the System.Version class to actually do the comparison. Something like this: script language=C# code![CDATA[ [Function(version-greater-or-equal)]

[Nant-users] Filter exec output

2004-08-13 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Is there a task I can use to filter output from exec? I thought filterchain might work using replacestring to change the offending strings to empty strings but it looks like only copy and move support filterchain. Any ideas? -- Edwin G. Castro Firing Systems Engineer [EMAIL PROTECTED]

RE: [Nant-users] checking nant version

2004-08-13 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
] -Original Message- From: Jeroen Zwartepoorte [mailto:[EMAIL PROTECTED] Sent: Friday, August 13, 2004 11:21 AM To: Castro, Edwin Gabriel (Firing Systems Engr.) Cc: Gert Driesen; [EMAIL PROTECTED] Subject: RE: [Nant-users] checking nant version Hmm, nant is not recognizing the script task: Invalid

[Nant-users] fileset does not work on mapped network drive

2004-08-12 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
filesets do not seem to work when I execute nant from a mapped network drive. I get the following error: T:\Path\To\BuildFile.xml(13,5): Error creating FileSet. Access to the path T:\System Volume Information is denied. I imagine I need to change some security setting somewhere... I had to

RE: [Nant-users] fileset does not work on mapped network drive

2004-08-12 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Castro, Edwin Gabriel (Firing Systems Engr.) Sent: Thursday, August 12, 2004 2:34 PM To: [EMAIL PROTECTED] Subject: [Nant-users] fileset does not work on mapped network drive filesets do not seem to work when I execute

RE: [Nant-users] XmlLogger request

2004-08-11 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Troy, Have you reported this to the CCNet list? I'm sure they'd want to know about this. I'm not sure that these problems can be addressed by CCNet (the web app problem may actually be an ASP.NET problem that they can't fix) but it's behavior they should know about. Likewise, I'm not sure how

[Nant-users] Triggering Distributed Tests

2004-08-04 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I'm sending this message to both the NAnt and CCNet mailing lists in hopes that someone will have an idea. I'm trying to automate a build/test process but I will need to distribute some of the activities to multiple servers. Our software controls a number of PCI and USB hardware devices. We

[Nant-users] RE: [Ccnet-user] Triggering Distributed Tests

2004-08-04 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
on using the CCNet web app (and dashboard if I can't combine the results). -- Edwin G. Castro Firing Systems Engineer [EMAIL PROTECTED] -Original Message- From: Greiner, Andrew [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 04, 2004 3:40 PM To: Castro, Edwin Gabriel (Firing

RE: [Nant-users] copy task using fileset

2004-07-26 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
still doesn't work for me. -- Edwin G. Castro Firing Systems Engineer [EMAIL PROTECTED] -Original Message- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 9:29 PM To: Castro, Edwin Gabriel (Firing Systems Engr.); Nant-Users Subject: Re: [Nant-users] copy

RE: [Nant-users] copy task using fileset

2004-07-26 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
fileset - Original Message - From: Castro, Edwin Gabriel (Firing Systems Engr.) [EMAIL PROTECTED] To: Nant-Users [EMAIL PROTECTED] Sent: Saturday, July 24, 2004 1:50 AM Subject: [Nant-users] copy task using fileset I'm trying to do the following: target

RE: [Nant-users] Post-Build Events causing solution task to fail

2004-07-23 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Sounds like the solution task should know how to create (and execute) a shell script (batch file in Windows) to run build events for C++. There are 3 build events: Pre-Build, Pre-Link, and Post-Build. Then there is also a Custom Build step. My projects would fail to compile because almost all of

[Nant-users] copy task using fileset

2004-07-23 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I'm trying to do the following: target name=copyfile copy todir=C:\ToDir\Path fileset base=C:\Base\Path include name=filename.txt / /fileset /copy /target Nothing happens. The only output is get is: copyfile: and nothing

[Nant-users] Determining configurations in the solution task

2004-07-13 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I've been stepping through the solution task code and I found something interesting. The version of NAnt I'm using is: NAnt 0.85 (Build 0.85.1653.0; net-1.0.win32; nightly; 7/11/2004) On line 110 in Solution.cs a Regex is created for finding project configurations in solution files. The

RE: [Nant-users] Ftp task?

2004-07-13 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Title: Ftp task? At one point I had thought of using webdav to upload files to our site. It's not any more secure than FTP but the functionality would have allowed our team to "auto-post" build/testing results to our intranet team SharePoint website. IMHO,aftp (and/or webdav) task could be

RE: [Nant-users] csc vs. solution

2004-07-12 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
What if you are a using Nant in a situation where you do not have access to Visual Studio? You could potentially be on an OS that's not supported by Visual Studio (i.e. Linux) or you don't have the financial capacity to buy Visual Studio. In these cases you don't have the means to create

RE: [Nant-users] Project with GUID 'xxx' must be included for the build to work error

2004-07-12 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Castro, Edwin Gabriel (Firing Systems Engr.) Sent: Friday, July 09, 2004 12:30 PM To: [EMAIL PROTECTED] Subject: RE: [Nant-users] Project with GUID 'xxx' must be included for the build

RE: [Nant-users] Project with GUID 'xxx' must be included for the build to work error

2004-07-09 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
can at least have a warning about this potential problem... -- Edwin G. Castro [EMAIL PROTECTED] -Original Message- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 4:11 PM To: Castro, Edwin Gabriel (Firing Systems Engr.); Brian Yeo; [EMAIL PROTECTED

RE: [Nant-users] Project with GUID 'xxx' must be included for the build to work error

2004-07-02 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Hi Gert, Brian, I've had this problem come up when I tried to build some C++ projects I have. The projects have been upgraded from Visual Studio 6 and I thought that could be part of the problem. From what I can tell a project specified in the solution file has a different GUID than the GUID

RE: [Nant-users] Setting environment variables in the exec task

2004-07-01 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Here is an example of what you want to do: exec program=${devenv.exe} arg arg value=${devenv.sln} / arg value=/${devenv.action} / arg value=${devenv.cfg / /arg environment option name=PATH value=${devenv.path}

RE: [Nant-users] Nant and dependencied

2004-06-02 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
The only downside to this method is that you need to know the dependencies ahead of time and manually put them in the build file. One would think that a utility to do this for you would exist... Then again, most people using .NET technologies are using VB or C#. Unfortunately, this means that

RE: [Nant-users] / vs. \

2004-04-21 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I've gotten similar errors in the past when trying to use vssget. When I specify localpath it must use '\' as the directory separators otherwise it complains that the path is not a DOS path. In other situations I've noticed that either works. I think this is because .NET library objects are

RE: [Nant-users] Long path bug?

2004-04-19 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
directory structure, with maybe even longer paths. No clue From: Castro, Edwin Gabriel (Firing Systems Engr.) [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 7:35 PM To: Adrian Hara; [EMAIL PROTECTED] Subject: RE: [Nant-users] Long path bug? Adrian

RE: [Nant-users] Process Devenv.com output to change message level in XmlLogger

2004-04-17 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Of Castro, Edwin Gabriel (Firing Systems Engr.) Sent: Friday, April 16, 2004 5:32 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [Nant-users] Process Devenv.com output to change message level in XmlLogger (My apologies... I forgot a subject!) Hi All, I have spent that last few days trying

RE: [Nant-users] Long path bug?

2004-04-15 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Adrian, Im not a Nant expert, but I wonder if this is a problem with the vb.net compiler? Do you use Nant exclusively? Or have you tried compiling your projects directly using the vb.net compiler or VS.NET? Not having looked at the Nant vbc task I expect that it doesnt put a limit on

RE: [Nant-users] Access denied using copy task for ASP.Net project

2004-04-07 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I have noticed that VS.NET sometimes locks assemblies after building them. I have had problems where a build fails because the assembly could not be deleted (as in a clean operation). I don't see this problem if I'm using the command line (i.e. devenv.com). Don't know that this VS.NET behavior is

RE: [Nant-users] Slingshot Question

2004-03-31 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Hello All, Slingshot looks like a cool tool! Can I specify a different Target? Also, does it support VC++ projects? -- Edwin G. Castro Firing Systems Engineer [EMAIL PROTECTED]   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bonnett,

RE: [Nant-users] Slingshot Question

2004-03-31 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
: Wednesday, March 31, 2004 11:53 AM To: Castro, Edwin Gabriel (Firing Systems Engr.); [EMAIL PROTECTED] Subject: RE: [Nant-users] Slingshot Question Well, as I'm finding out, you can specify a target once you call the slingshot task but you have to have prior knowledge of what it generates

RE: [Nant-users] Target Templates

2004-03-18 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
: Giuseppe Greco [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 9:38 PM To: Castro, Edwin Gabriel (Firing Systems Engr.) Cc: Gert Driesen; [EMAIL PROTECTED] Subject: RE: [Nant-users] Target Templates Edwin, the latest nightly build supports wild targets and the example I sent you yesterday

[Nant-users] Target Templates

2004-03-17 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I am writing a number of targets that could be created into templates and Im not sure whether this is possible or not. What I have is a collection of identical targets where specific property names vary in predictable ways. Bellow is one example of such a case. target

RE: [Nant-users] Nant contrib and Nant nightly build

2004-03-17 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
One thing I've noticed is that NAnt can build its own sources ok, but if I always have problems building it with VS.NET. From what I can tell, there is no need to recompile NAnt, unless you change something... -- Edwin G. Castro Firing Systems Engineer [EMAIL PROTECTED] -Original

FW: [Nant-users] Target Templates

2004-03-17 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
[EMAIL PROTECTED] -Original Message- From: Giuseppe Greco [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 8:34 AM To: Castro, Edwin Gabriel (Firing Systems Engr.) Cc: [EMAIL PROTECTED] Subject: Re: [Nant-users] Target Templates What I'm wondering is if there is a way to generalize

RE: [Nant-users] Target Templates

2004-03-17 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
=get.project1 ... /target target name=build.project1 depends=get.project1 ... /target -- Edwin G. Castro Firing Systems Engineer [EMAIL PROTECTED] -Original Message- From: Giuseppe Greco [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 8:34 AM To: Castro, Edwin Gabriel (Firing Systems

RE: [Nant-users] Target Templates

2004-03-17 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
, Edwin Gabriel (Firing Systems Engr.) Cc: [EMAIL PROTECTED] Subject: RE: [Nant-users] Target Templates On Wed, 2004-03-17 at 21:32, Castro, Edwin Gabriel (Firing Systems Engr.) wrote: NAnt does not appear to allow wildcards in target names so this suggestion doesn't quite work... Any other suggestions

RE: [Nant-users] solution task will not compile my C++ project

2003-12-19 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Not a problem. Point me to anything that might help. Thanks once again! -- Edwin G. Castro Firing Systems Engineer [EMAIL PROTECTED] -Original Message- From: Scott Ford [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 11:12 AM To: Castro, Edwin Gabriel (Firing Systems Engr.) Cc

RE: [Nant-users] solution task will not compile my C++ project

2003-12-19 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
with the problem -- Edwin G. Castro Firing Systems Engineer [EMAIL PROTECTED] -Original Message- From: Scott Ford [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 11:12 AM To: Castro, Edwin Gabriel (Firing Systems Engr.) Cc: [EMAIL PROTECTED] Subject: RE: [Nant-users] solution task