Re: [NAntC-Dev] Copying files from one folder to other folder

2009-03-12 Thread Gert Driesen
Santosh,

 

You should use a fileset for pattern matching:

 











 

You may want to check out the online help:

http://nant.sourceforge.net/release/latest/help/

 

Best regards,

 

Gert

 

From: Santosh A - TLS, Chennai. [mailto:santo...@hcl.in] 
Sent: donderdag 12 maart 2009 13:30
To: nantcontrib-developer@lists.sourceforge.net
Subject: [NAntC-Dev] Copying files from one folder to other folder

 

Hi,

 

I am new to Nant. Need to write a script to do builds.

 

What code should be written to copy files from one folder to other folder?

 

I tried the following code.

 



 

It is giving error.

 

Please let me know the correct way of doing this.

 

With Regards,

Santosh.A

Extn:2723

 


DISCLAIMER:

---

The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its
affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect
the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail
is strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. Before opening any mail and 
attachments please check them for viruses and defect.


---

Internal Virus Database is out of date.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.11.8/1985 - Release Date: 3/5/2009
7:54 AM

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] MS StyleCop task

2008-10-14 Thread Gert Driesen
Hi David,

As I haven't seen the sources for this task, can you tell me if it makes heavy 
usage of the StyleCop API?

The reason I'm asking this is because you could implement wrappers classes that 
use reflection to access the StyleCop API.

That way we don't have to introduce a compile-time dependency.

Of course, this is only recommended if the StyleCop API is stable.

Gert


From: David Williams 
Sent: Tuesday, October 14, 2008 1:16 PM
To: nantcontrib-developer@lists.sourceforge.net 
Subject: [NAntC-Dev] MS StyleCop task


Hi

I have developed a Nant task to run Microsoft's new StyleCop C# code analyser 
and would like to contribute it.

However, I am concious this introduces a 3rd party library dependency as 
StyleCop ships as assembly dlls rather than a command line exe.

In order for my task to run, the .Net runtime must locate the main StyleCop 
assembly.  To achieve this, I currently:

1. Install StyleCop under Nant's folder: nant-0.85\bin\lib\StyleCop\4.3\
2. Modify the assembly probing path in nant.exe.config: 

At runtime, the steps above are only required if my task is actually called.  
NantContrib users who are not interested in StyleCop would not need to install 
it or modify anything.

At compile time, however, the steps are required (plus a reference added within 
nantcontrib.build) otherwise my task will break the build.

What do you think ?

Regards
David Williams







-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/ 





___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] NANT - MSI and MSM task

2008-08-29 Thread Gert Driesen
Fabricio,

Can you send me a small repro for this issue?

Thanks!

Gert


From: [EMAIL PROTECTED] 
Sent: Friday, August 29, 2008 3:58 AM
To: [EMAIL PROTECTED] ; [EMAIL PROTECTED] ; 
nantcontrib-developer@lists.sourceforge.net 
Subject: RE: [NAntC-Dev] NANT - MSI and MSM task


Gert,

 

I think I am running in a new issue.

 

My package task that build the .msm file is generating a file with 195 kb

Looks like the msm task is not reading the files defined on my workdir.

I have had-coded it to make sure that source dir is right.

 

If I copy and paste the cabarc command generated it generate a msm much bigger 
with all files.

 

Attached you can find the build log.

 

Any advice will be appreciated.

 

Thanks in advance.

 

At.

Fabricio Santana

 

 




From: Santana, Fabricio 
Sent: segunda-feira, 25 de agosto de 2008 11:13
To: 'Gert Driesen'; nantcontrib-developer@lists.sourceforge.net
Subject: RE: [NAntC-Dev] NANT - MSI and MSM task

 

Hi Gert,

 

I have got Nant nightly build from 2008-08-18 and NantContrib from 2008-08-22

msm task is working just good now.

 

Thanks for your help.

 

At.

Fabricio Santana

 


----

From: Gert Driesen [mailto:[EMAIL PROTECTED] 
Sent: sexta-feira, 22 de agosto de 2008 15:16
To: Santana, Fabricio; nantcontrib-developer@lists.sourceforge.net
Subject: RE: [NAntC-Dev] NANT - MSI and MSM task

 

Fabricio,

 

Can you try using the latest nightly build of NAntContrib (and NAnt)?

 

That issue should be fixed now.

 

Let me know if it works for you.

 

Gert

 

PS. Your issue is not the same as the one described in bug #1996737.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: vrijdag 22 augustus 2008 15:58
To: [EMAIL PROTECTED]; nantcontrib-developer@lists.sourceforge.net
Subject: RE: [NAntC-Dev] NANT - MSI and MSM task

 

Thanks for the quick response.

 

Yes, cabarc is already in the path.

 

Attached you can find the build log

 

The only target that I am running in my build process is in package.txt file

 

At the end of the build process I can see this line

 

[exec] Starting 'cabarc (-r N 
C:\UBSIT\repos\svn-stm\ESS\TOOL\BUILD\SISTEM~1\..\_BUILD\WORKDIR\SISTEM~1\MergeModule.CABinet
 *)' in

'C:\Documents and Settings\santanfa\Local Settings\Temp\tmp7F9.tmp'

 

If I copy and past this line into the prompt ('cabarc (-r N 
C:\UBSIT\repos\svn-stm\ESS\TOOL\BUILD\SISTEM~1\..\_BUILD\WORKDIR\SISTEM~1\MergeModule.CABinet
 *))

Removing the two parentheses the merge module is built successfully.

I mean, If I run this line cabarc -r N 
C:\UBSIT\repos\svn-stm\ESS\TOOL\BUILD\SISTEM~1\..\_BUILD\WORKDIR\SISTEM~1\MergeModule.CABinet
 * into prompt the package is built.

 

Thanks for your help.

 

Regards,

Fabricio Santana

 

 


--------

From: Gert Driesen [mailto:[EMAIL PROTECTED] 
Sent: sexta-feira, 22 de agosto de 2008 03:53
To: Santana, Fabricio; nantcontrib-developer@lists.sourceforge.net
Subject: RE: [NAntC-Dev] NANT - MSI and MSM task

 

Hey Fabricio,

 

First make sure the directory holding 'cabarc.exe' is in your PATH.

 

If that does not help, then send us a verbose or debug log of a failing build 
run.

 

Gert

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: vrijdag 22 augustus 2008 0:30
To: [EMAIL PROTECTED]; nantcontrib-developer@lists.sourceforge.net
Subject: [NAntC-Dev] NANT - MSI and MSM task

 

 

I am having the same problem describe on ticket 1996737 
(http://sourceforge.net/tracker/index.php?func=detail&aid=1996737&group_id=54790&atid=474851)

 

Does anyone have any workaround for this?

 

Regards,

Fabricio Santana

 






Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mails are not encrypted and cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses.  The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission.  
If verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities 
or related financial instruments.
--

Re: [NAntC-Dev] NANT - MSI and MSM task

2008-08-22 Thread Gert Driesen
Fabricio,

 

Can you try using the latest nightly build of NAntContrib (and NAnt)?

 

That issue should be fixed now.

 

Let me know if it works for you.

 

Gert

 

PS. Your issue is not the same as the one described in bug #1996737.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: vrijdag 22 augustus 2008 15:58
To: [EMAIL PROTECTED]; nantcontrib-developer@lists.sourceforge.net
Subject: RE: [NAntC-Dev] NANT - MSI and MSM task

 

Thanks for the quick response.

 

Yes, cabarc is already in the path.

 

Attached you can find the build log

 

The only target that I am running in my build process is in package.txt file

 

At the end of the build process I can see this line

 

[exec] Starting 'cabarc (-r N
C:\UBSIT\repos\svn-stm\ESS\TOOL\BUILD\SISTEM~1\..\_BUILD\WORKDIR\SISTEM~1\Me
rgeModule.CABinet *)' in

'C:\Documents and Settings\santanfa\Local Settings\Temp\tmp7F9.tmp'

 

If I copy and past this line into the prompt ('cabarc (-r N
C:\UBSIT\repos\svn-stm\ESS\TOOL\BUILD\SISTEM~1\..\_BUILD\WORKDIR\SISTEM~1\Me
rgeModule.CABinet *))

Removing the two parentheses the merge module is built successfully.

I mean, If I run this line cabarc -r N
C:\UBSIT\repos\svn-stm\ESS\TOOL\BUILD\SISTEM~1\..\_BUILD\WORKDIR\SISTEM~1\Me
rgeModule.CABinet * into prompt the package is built.

 

Thanks for your help.

 

Regards,

Fabricio Santana

 

 

  _____  

From: Gert Driesen [mailto:[EMAIL PROTECTED] 
Sent: sexta-feira, 22 de agosto de 2008 03:53
To: Santana, Fabricio; nantcontrib-developer@lists.sourceforge.net
Subject: RE: [NAntC-Dev] NANT - MSI and MSM task

 

Hey Fabricio,

 

First make sure the directory holding 'cabarc.exe' is in your PATH.

 

If that does not help, then send us a verbose or debug log of a failing
build run.

 

Gert

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: vrijdag 22 augustus 2008 0:30
To: [EMAIL PROTECTED];
nantcontrib-developer@lists.sourceforge.net
Subject: [NAntC-Dev] NANT - MSI and MSM task

 

 

I am having the same problem describe on ticket 1996737
(http://sourceforge.net/tracker/index.php?func=detail
<http://sourceforge.net/tracker/index.php?func=detail&aid=1996737&group_id=5
4790&atid=474851> &aid=1996737&group_id=54790&atid=474851)

 

Does anyone have any workaround for this?

 

Regards,

Fabricio Santana

 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] NANT - MSI and MSM task

2008-08-21 Thread Gert Driesen
Hey Fabricio,

 

First make sure the directory holding 'cabarc.exe' is in your PATH.

 

If that does not help, then send us a verbose or debug log of a failing
build run.

 

Gert

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: vrijdag 22 augustus 2008 0:30
To: [EMAIL PROTECTED];
nantcontrib-developer@lists.sourceforge.net
Subject: [NAntC-Dev] NANT - MSI and MSM task

 

 

I am having the same problem describe on ticket 1996737
(http://sourceforge.net/tracker/index.php?func=detail
 &aid=1996737&group_id=54790&atid=474851)

 

Does anyone have any workaround for this?

 

Regards,

Fabricio Santana

 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] The checksum task

2008-08-12 Thread Gert Driesen
Mike,

 

This seems more like a candidate for a function.

 

For example:

 



 

Gert

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mike Frederick
Sent: maandag 11 augustus 2008 22:15
To: nantcontrib-developer@lists.sourceforge.net
Subject: [NAntC-Dev] The checksum task

 

Hello,

I am developing a rather complex set of web server deployment scripts and
one of the tasks that has been assigned to me is to maintain some sort of
checksums of the files that are deployed so that at any time I can verify
that deployed files are exactly as they were when they were deployed.  I was
relieved to find the NAntContrib checksum task.

However, I *really* don't like the way that it does its work.  This task
requires write access to the folder in which the files to be checksummed
reside.  The task writes the checksum values into small text files "next to"
the file to be checksummed.  This is kind of kludgy; it is also undesirable
when you are doing checksums of files that are in production web folders.
When I am perfoming this operation I want READ-ONLY access to all of the
files.

Well, I'm not a C# guy, but I have managed to throw something together that
simplifies the checksum task and returns the checksum value in a NAnt
property (which is what I was going to eventually need anyway!).  I didn't
modify the checksum task; I just created a new one named checksum1.

I know I have missed a bunch of stuff, but is this worth giving to someone
as a submission?  Usage looks like:





and you end up with the md5 checksum of the file abc.dat in the property
md5.value. 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] NAntContrib Developer Request

2008-01-03 Thread Gert Driesen
Hey Matthew,
 
No problem.
 
Just send the patch to the NAntContrib developer mailing list
(nantcontrib-developer@lists.sourceforge.net).
 
Gert

  _  

From: Matthew Thomas Krzan [mailto:[EMAIL PROTECTED] 
Sent: donderdag 3 januari 2008 20:09
To: 'Gert Driesen'
Subject: RE: [NAntC-Dev] NAntContrib Developer Request



Gert,

 

Thanks for taking the time to give me an overview of the
contribution process.

 

Your alternative implementation is really good.  I'm going to implement it
that way, post a patch, and hopefully get some more feedback on it.  I'm
always game for constructive feedback.

 

In addition to the diff and patch, I was hoping to add some unit tests for
the original task (and my changes).

 

I didn't see any direct way to reference the original feature request I put
in, looking at the submit new patch in source forge, so I guess I just need
to put that in the details, correct?

 

This could also benefit honkster, who added patch "[1648001] VB6
Task fails to rebuild projects with designers", in that someone could do a
rebuild incase the ProjectNeedsCompiling method was unable to detect
changes, and they didn't have access/expertise to modify the source.

 

Thanks again!

 

Matthew Krzan,
(NT4 & 2k) MCP, MCSE
(NT4) MCP+I, MCSE+I
MCDBA (7.0, 2000), MCTS: SQL 2005
ACISS Systems, Inc.

 

From: Gert Driesen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 03, 2008 12:13 PM
To: 'Matthew Thomas Krzan'
Subject: RE: [NAntC-Dev] NAntContrib Developer Request

 

Hey Matthew,

 

I certainly welcome new contributors. The normal procedure for NAntContrib
(and most, if not all, open-source projects) is to have new contributors
first post (a few) patches to the developer list.

 

Normally patches are created as a unified diff (cvs diff -u), but it that's
a problem for you the full source file is ok too (for the first few
patches).

 

To implement the feature you requested, I would not add a force option but
instead would go for something like a "buildmode" option (although there
surely are better names for this), which takes the following values (as
defined by an enum):

 

Build (which would be default)

Rebuild (would match your "force" option)

Clean: (removes the expected output file(s))

 

What do you think?

 

Now, I'm sure there will be some (or perhaps even a lot of) remarks from me
(other other developers) on your first patches, but you should not take this
as negative critics.

 

I for one appreciate constructive feedback any time, and a good discussion
can only lead to better results.

 

Gert

 

  _  

From: Matthew Thomas Krzan [mailto:[EMAIL PROTECTED] 
Sent: donderdag 3 januari 2008 17:51
To: 'Gert Driesen'
Subject: RE: [NAntC-Dev] NAntContrib Developer Request

Gert,

 

Thanks for the email, sorry about the broadcast.  I added a
simple feature request "[1845763] vb6 task force build option" for the vb6
task.  I have already implemented it local and would like to contribute to
the project.  I have CVS working with the annon user, so I think I could
publish it easily (once made a dev), however this is my first time actually
attempting to contribute to SF so any additional guidance you could provide
would be appreciated.  Thanks!

 

Matthew Krzan,
(NT4 & 2k) MCP, MCSE
(NT4) MCP+I, MCSE+I
MCDBA (7.0, 2000), MCTS: SQL 2005
ACISS Systems, Inc.

 

From: Gert Driesen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 02, 2008 12:45 PM
To: [EMAIL PROTECTED]; nantcontrib-developer@lists.sourceforge.net
Subject: RE: [NAntC-Dev] NAntContrib Developer Request

 

Hey Matthew,

 

You've been contacting the right people, well I'm kind of the only active
admin.

 

I probably missed your emails, or perhaps they were blocked by my spam
filter.

 

What area would you like to contribute to ?

 

Gert

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Matthew Krzan
Sent: woensdag 2 januari 2008 17:56
To: nantcontrib-developer@lists.sourceforge.net
Subject: [NAntC-Dev] NAntContrib Developer Request

Hello All,

   I have made a couple attempts to the admins to contribute to the project.
It's been about a month and I'm not sure if they are away for the holidays,
my request has been eaten by a spam filter or I'm just not asking the right
people (drieseng, ianm74 & skot).  Any ideas?  Thanks!

Matthew Krzan,
(NT4 & 2k) MCP, MCSE
(NT4) MCP+I, MCSE+I
MCDBA (7.0, 2000), MCTS: SQL 2005
ACISS Systems, Inc.

 

  _  

i'm is proud to present Cause Effect, a series about real people making a
difference. Learn more
<http://im.live.com/Messenger/IM/MTV/?source=text_Cause_Effect>  

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://

Re: [NAntC-Dev] NAntContrib Developer Request

2008-01-02 Thread Gert Driesen
Hey Matthew,
 
You've been contacting the right people, well I'm kind of the only active
admin.
 
I probably missed your emails, or perhaps they were blocked by my spam
filter.
 
What area would you like to contribute to ?
 
Gert

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Matthew Krzan
Sent: woensdag 2 januari 2008 17:56
To: nantcontrib-developer@lists.sourceforge.net
Subject: [NAntC-Dev] NAntContrib Developer Request


Hello All,

   I have made a couple attempts to the admins to contribute to the project.
It's been about a month and I'm not sure if they are away for the holidays,
my request has been eaten by a spam filter or I'm just not asking the right
people (drieseng, ianm74 & skot).  Any ideas?  Thanks!


Matthew Krzan,
(NT4 & 2k) MCP, MCSE
(NT4) MCP+I, MCSE+I
MCDBA (7.0, 2000), MCTS: SQL 2005
ACISS Systems, Inc.

  _  

i'm is proud to present Cause Effect, a series about real people making a
difference. Learn more
  
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] svn-* tasks

2007-07-22 Thread Gert Driesen
Matt,

Can you send me your build log through direct email ? I'm no longer
monitoring the mailing list emails that require manual intervention, since
I'd have to filter through thousands of junkmails :(

Gert

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Matt Trentini
Sent: zondag 22 juli 2007 15:41
To: Daniel Blendea
Cc: nantcontrib-developer@lists.sourceforge.net
Subject: Re: [NAntC-Dev] svn-* tasks

Hello Daniel,

I've had plans to overhaul the svn tasks for awhile.  However I'm currently
stuck, unable to build NAntContrib (see http://tinyurl.com/36f7xr).  If I
can get past that issue I'll take a look at adding a revision element.

Cheers,
Matt

On 7/13/07, Daniel Blendea <[EMAIL PROTECTED]> wrote:
> Hello,
> is there anybody still working on svn-* tasks?
>
> Because at this moment, svn-update and svn tasks cannot update a 
> certain "revision" and this is very important, i think for many 
> developers.
>
>
> svn.update:
>
>  [echo] updating from revision: 1133
>
> BUILD FAILED
>
> D:\MyProject\common.build(60,4):
> Unexpected attribute "revision" on element .
>
>
> svn.update:
>
>  [echo] updating from revision: 1133
>
> BUILD FAILED
>
> D:\MyProject\common.build(69,4):
> Unexpected attribute "revision" on element .
>
>
> Thanks,
> Daniel
>
> --
> --- This SF.net email is sponsored by DB2 Express Download DB2 Express 
> C - the FREE version of DB2 express and take control of your XML. No 
> limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> NAntContrib-Developer mailing list
> NAntContrib-Developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer
>

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Contributing to NAnt or NAnt Contrib

2007-07-13 Thread Gert Driesen
Hi Kevin,
 
There are indeed no clear instructions or guidelines on how to contribute to
either NAnt or NAntContrib ... but feel free to take this task upon you ;-)
 
I'll give a small summary to guide you:
 
* all contributions must be under the license of the individual project.
* follow the existing coding guidelines (which are not well documented, so
just follow the style of the existing source)
* commit access is granted after you're supplied a few patches
* until you actual get commit access, patches should be sent to the
developer mailing list
* patches that are accompanied by unit tests will be easier accepted
* adding dependencies on new third-party libraries is discouraged
* avoid unsafe code
* ...
 
Gert

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Kevin Hurwitz
Sent: vrijdag 13 juli 2007 17:31
To: nantcontrib-developer@lists.sourceforge.net
Subject: [NAntC-Dev] Contributing to NAnt or NAnt Contrib



I posted this on the NAnt Developers list, but am repeating it here because
it may be a better forum to solicit feedback - my apologies to anybody on
both lists.

 

 

All,

 

Is there any documentation on the process a developer can follow to
contribute functionality to NAnt or NAnt Contrib.  I have a task which I've
used on several projects to greatly simplify and automate database schema
change management.  I've never contributed to an open-source project, but I
think it's a great piece of software that others would benefit from.  Maybe
it's just because I'm not a seasoned open source developer, but I wasn't
able to locate the information I needed on the NAnt or NAnt Contrib websites
to guide me through the code contribution process.

 

Any direction would be greatly appreciated,

 

Kevin Hurwitz

 

Senior Solutions Architect

Headspring Systems

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Licensing of NAnt vs. NAntContrib

2007-06-26 Thread Gert Driesen
Hi Justin,

I never really paid attention to the license NAntContrib was using, but on
SF it indeed says LGPL (to my surprise).

Regardless of that, the NAnt license includes the following:

"As a special exception, the copyright holders of this software give you
permission to link the assemblies with independent modules to produce new
assemblies, regardless of the license terms of these independent modules,
and to copy and distribute the resulting assemblies under terms of your
choice, provided that you also meet, for each linked independent module, the
terms and conditions of the license of that module. An independent module is
a module which is not derived from or based on these assemblies. If you
modify this software, you may extend this exception to your version of the
software, but you are not obligated to do so. If you do not wish to do so,
delete this exception statement from your version."

This clearly states that you're free to choose the license for modules that
just "link" the NAnt assemblies.

Gert

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: dinsdag 26 juni 2007 4:11
To: nantcontrib-developer@lists.sourceforge.net
Subject: [NAntC-Dev] Licensing of NAnt vs. NAntContrib

I wasn't sure whether to post this to the NAnt dev list or the NAntContrib
dev list, so forgive the dupe posting.



I am working on a library of tasks
for NAnt and am looking to set up the licensing correctly so I can
distribute it.  I would prefer to release under the LGPL but I am under the
impression that since NAnt is GPL, and my library necessarily references the
NAnt binaries, I am *required* to release my library as GPL, if I choose to
release it.



However, looking at the NAntContrib source, it seems that it is released as
LGPL.  So how is that NAntContrib can be released as LGPL when it is linking
to a GPL library (NAnt)?  Can I release my library as LGPL or am I required
to use GPL?



Sorry if the answer is obvious; this is the first thing I've ever tried to
release as open source.



Thanks for ending my confusion,



~ Justin Kohlhepp

-
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the
FREE version of DB2 express and take control of your XML. No limits. Just
data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] New task to create an IIS website

2007-04-17 Thread Gert Driesen
Hi David,
 
I'd be happy to help out with testing. 
 
You might also want to use a different approach than the one taken by
mkiisdir, and specify the different properties as nested property elements
(instead of numerous attributes).
 
Gert

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
David Keaveny
Sent: dinsdag 17 april 2007 7:35
To: nantcontrib-developer@lists.sourceforge.net
Subject: [NAntC-Dev] New task to create an IIS website


Has anyone done any work on either of the following?

https://sourceforge.net/tracker/?func=detail
 &atid=474853&aid=1109824&group_id=54790 
https://sourceforge.net/tracker/?func=detail
 &atid=474851&aid=1284206&group_id=54790

They are essentially requests for a task similar to MkIisDir, but for
creating websites. For a project that I'm working on, I've been looking into
implementing this, and was wondering if:

a) anyone had already done one, and/or 
b) anyone would be interested in helping me out, particularly with thinks
like testing.

I'm doing all my development on IIS6 on W2K3 Server, so if there were people
who could test on W2K Server or betas of Longhorn Server (or whatever it is
called these days), then that would be very useful. 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Msi / Msm tasks and cabarc

2007-02-26 Thread Gert Driesen

- Original Message - 
From: "Christopher Brandt" <[EMAIL PROTECTED]>
Cc: 
Sent: Tuesday, February 27, 2007 12:38 AM
Subject: Re: [NAntC-Dev] Msi / Msm tasks and cabarc


> Thanks. That did the trick.
>
> Did I need to download the cab sdk? Or is cabarc included in some other MS
> sdks?

AKAIK it's only included in the Cabinet SDK.

Gert 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Msi / Msm tasks and cabarc

2007-02-26 Thread Gert Driesen
Christopher,

 

The directory containing cabarc must be in your PATH environment variable.

 

Hope this helps,

 

Gert

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christopher Brandt
Sent: maandag 26 februari 2007 22:50
To: nantcontrib-developer@lists.sourceforge.net
Subject: [NAntC-Dev] Msi / Msm tasks and cabarc

 

I'm trying to get a simple (baseline) msm built using the msm task. But I
get an error that I can't decypher. The error simply states that cabarc
couldn't start because the system couldn't find a file. But there is no
indication of what file. Not knowing if I even have cabarc on my machine
(would I normally?) I downloaded the cab sdk and put the binaries in the
NAntContrib bin folder. Obviously this didn't help. 

So I'm lost. What file can't it find?

Here is my task call:

 

   NWire Framework
   Ernex.core
   Moneris Solutions 



  
  
 
 
 
  
   
 
 

and here is the output when I run it:

build:

  [msm] Building Installer Database 'NWire'.
  [msm] Add Files:
  [msm]  C:\Ernex\Build\Ernex.Core\Latest\NWire.dll 
  [msm]  C:\Ernex\Build\Ernex.Core\Latest\NWire.Serialization.dll
  [msm]  C:\Ernex\Build\Ernex.Core\Latest\NWireAttributes.dll
  [msm] Storing Module Signature:
  [msm]  Id:  NWire
  [msm]  Version: 2007.1.0.0
  [msm]  Language: 1033
  [msm] Dropping unused tables
  [msm] Compressing Files...
 [exec] Starting 'cabarc (-r N
C:\Ernex\Build\ERNEX~1.COR\Latest
\MergeModule.CABinet *)' in 'C:\Documents and Settings\chrisb\Local
Settings\Tem 
p\tmpF86.tmp'

BUILD FAILED

C:\Ernex\src\Moneris.Ernex\NWire\NWireMergeModule.build(17,11):
Unable to build Installer database 'NWire'.
C:\Ernex\src\Moneris.Ernex\NWire\NWireMergeModule.build(17,11): 
Error creating cab file.
'cabarc' failed to start.
The system cannot find the file specified

Thanks.

-- 
X 

-- 
X 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] How do we set a property with the result of the msbuild task ?

2007-02-07 Thread Gert Driesen
 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Stephane Hamel
Sent: woensdag 7 februari 2007 17:54
To: nantcontrib-developer@lists.sourceforge.net
Subject: [NAntC-Dev] How do we set a property with the result of the msbuild
task ?

 

Hello,

 

Is it possible to set a property with the result of the msbuild task
execution?

Is it possible to redirect the output?

 

For example, with the exec task, you can redirect the output and set a
property for the result.

 

My goal is to continue the execution of my script conditionally to the
msbuild result.

 

One possible solution would be to use NAntContrib's  task.

 

Gert

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


[NAntC-Dev] NAntContrib 0.85 is released

2006-10-15 Thread Gert Driesen
Announcing NAntContrib 0.85.  
 
Binary and source distributions are available for immediate download from:  
http://sourceforge.net/project/showfiles.php?group_id=54790  
 
About NAntContrib:  
NAntContrib is the project for tasks and tools that haven't made it into the
main NAnt distribution yet or for whatever reason don't belong there.  
 
Release notes and a user manual are available here:  
http://nantcontrib.sourceforge.net/release/0.85/  
 
Discussion of NAntContrib occurs on the mailing list at
[EMAIL PROTECTED]  
Bugs can be reported using the Bug Tracker at
http://sourceforge.net/projects/nantcontrib.  
Check the NAntContrib homepage for additional info at
http://nantcontrib.sourceforge.net.

Enjoy!

Gert


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Bugs in Perforce Nant Tasks

2006-09-19 Thread Gert Driesen
David,

I don't recall who originally contributed the perforce tasks (and I don't 
have the sources available right now to check).

Problem is that I don't have a perforce repository available to test 
against.

Could you review the source code of these tasks, and perhaps provide patches 
for it ?

I'll contact the orignal author and ask him to review your changes.

What do you think?

Gert

- Original Message - 
From: "Weintraub, David" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, September 19, 2006 11:54 PM
Subject: [NAntC-Dev] Bugs in Perforce Nant Tasks


>I am having trouble with some of the Nant Perforce tasks.
>
> First problem is with "p4change". I am doing this:
>
>  
>client="${p4Client}"
>  port="${p4Port}"
>  user="${p4User}"
>  verbose="${isDebug}"/>
>
> This is attempting to bring up a text file for me to edit which it
> shouldn't be doing in the middle of a nant build.
>
> ===
> Here's the other problem.
>
> I manually create a changelist, and put in my description
> "test_test_test". Perforce numbers this changelist as 1001:
>
> Now if I do this:
>
>   
>  view="${assemblyInfoFile}"
>   changelist="${p4Changelist}"
>   client="${p4Client}"
>   port="${p4Port}"
>   user="${p4User}"
>   verbose="${isDebug}"
>   failonerror="false"/>
>
> The file ${assemblyInfoFile} is checked out against the changelist 1001
> and not the default changelist.
>
> And, if I do this:
>
>   
>  changelist="${p4Changelist}"
>   client="${p4Client}"
>   port="${p4Port}"
>   user="${p4User}"
>   verbose="${isDebug}"/>
>
> The submit is done against changelist 1001 and not the default
> changelist.
>
> However, if I do this:
>
>   
>  changelist="${p4Changelist}"
>   client="${p4Client}"
>   port="${p4Port}"
>   user="${p4User}"
>   verbose="${isDebug}"/>
>
> I get the following error:
>
> [p4revert] Usage: revert [ -a -n -k -c changelist# ] files...
> [p4revert] Missing/wrong number of arguments.
>
> Even worse, If I do this:
>
> 
>   
>  view="${assemblyInfoFile}"
>   changelist="${p4Changelist}"
>   client="${p4Client}"
>   port="${p4Port}"
>   user="${p4User}"
>   verbose="${isDebug}"
>   failonerror="false"/>
>
> Nant creates a new changelist with a description of "1001" instead of
> using Changelist #1001! At least this:
>
>   
>  changelist="${p4Changelist}"
>   client="${p4Client}"
>   port="${p4Port}"
>   user="${p4User}"
>   verbose="${isDebug}"/>
>
> Is using the same changelist as my original p4edit task (even its not
> the one I specified).
>
> However, this:
>
>   
>  changelist="${p4Changelist}"
>   client="${p4Client}"
>   port="${p4Port}"
>   user="${p4User}"
>   verbose="${isDebug}"/>
>
> Still gives me the following error:
>
> [p4revert] Usage: revert [ -a -n -k -c changelist# ] files...
> [p4revert] Missing/wrong number of arguments.
>
> I really don't mind if p4submit, p4edit, and other Perforce Nant tasks
> use the Changelist description and not the changelist number. It is also
> rather convenient that these tasks seem to create the changelist if one
> doesn't already exist with that description. However, the p4revert task
> is out of sync with the rest of the Perforce tasks, and the p4change
> task is pretty useless. Also, the "p4label" task doesn't work as
> documented. In the "p4label" task, you must have a "view" parameter
> while the documentation says it is optional.
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share 
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> NAntContrib-Developer mailing list
> NAntContrib-Developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer
> 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] nant.msi...

2006-07-25 Thread Gert Driesen
Hi John,

I haven't looked into it for a while.

Actually, I was thinking of using WiX instead, but I haven't found time for 
it...

Gert

- Original Message - 
From: "John Cole" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, July 25, 2006 5:31 PM
Subject: [NAntC-Dev] nant.msi...


> Has anyone been able to get the msi target working in the nantcontrib 
> build?
> (not the task, I want to create an msi of nant/nantcontirb).  I haven't 
> been
> able to get it to work lately.
>
> If so, what steps did you follow?
>
> Thanks,
>
> John Cole
> This email and any files transmitted with it are confidential and intended 
> solely for the use of the individual or entity to whom they are addressed. 
> If you have received this email in error please notify the sender. This 
> message contains confidential information and is intended only for the 
> individual named. If you are not the named addressee you should not 
> disseminate, distribute or copy this e-mail.
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share 
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> NAntContrib-Developer mailing list
> NAntContrib-Developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer
> 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Contribution information.

2006-07-17 Thread Gert Driesen
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> On Behalf Of Ramya Niranjan
> Sent: maandag 17 juli 2006 6:11
> To: nantcontrib-developer@lists.sourceforge.net
> Subject: [NAntC-Dev] Contribution information.
> 
> Hello,
>  
> I have created a custom task in NAnt using VB.NET. I need to 
> post the same for contribution. Please let me know where I am 
> supposed to submit them.

You can post it to this mailing list.

Make sure to include inline documentation, and unit tests (if possible).

Gert



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] c/c++ tasks

2006-07-11 Thread Gert Driesen

- Original Message - 
From: "Lieven" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, July 11, 2006 11:14 AM
Subject: Re: [NAntC-Dev] c/c++ tasks


> On Sat, 08 Jul 2006 12:02:52 +0200, Lieven van der Heide
> <[EMAIL PROTECTED]> wrote:
>
> Come on, anybody with write access alive?

Barely (lol), but I'll try to find time to look into your contribution this 
weekend.

I hope you don't mind adding it to NAntContrib first.

But before we get there we need to split up NAntContrib into separate 
modules (read: assemblies), and get it to build on Mono.

If someone could make a proposal, we can get a discussion started.

Gert 



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Compiling under VS2005

2006-07-09 Thread Gert Driesen
 

> -Original Message-
> From: Shmarya Rubenstein [mailto:[EMAIL PROTECTED] 
> Sent: zaterdag 8 juli 2006 21:44
> To: Gert Driesen
> Cc: nantcontrib-developer@lists.sourceforge.net
> Subject: Re: [NAntC-Dev] Compiling under VS2005
> 
> Hi,
> 
> If you add the following as a pre-build event, everything is 
> hanky-dory:
> 
> "$(DevEnvDir)..\..\SDK\v2.0\Bin\xsd.exe" 
> "$(ProjectDir)Tasks\Msi\Msitask.xsd" /c /l:CS 
> /n:NAnt.Contrib.Schemas.Msi  
> /uri:NAnt.Contrib.Tasks.Msi.MsiTask /o:$(ProjectDir)Tasks\Msi\

Yeah, but that won't work when targeting .NET 1.0 or 1.1, or when the SDK is
installed in another directory.

Not sure how we should proceed with this.

Gert



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Compiling under VS2005

2006-07-07 Thread Gert Driesen
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> On Behalf Of Shmarya Rubenstein
> Sent: vrijdag 7 juli 2006 13:27
> To: nantcontrib-developer@lists.sourceforge.net
> Subject: [NAntC-Dev] Compiling under VS2005
> 
> Hello all,
> 
> I'm trying to get NAntContrib (CVS Head) to compile in VS.NET 
> 2005 without a lot of success. There seem to be a bunch of 
> dependencies missing
> 
> Anyone had any success with this? 

You should build it using the supplied build scripts. 

The VS.NET project needs references to:

- NAnt.Core
- NAnt.DotNetTasks

But it also needs to include sources that built from MsiTask.xsd (using
xsd.exe).

Gert


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


[NAntC-Dev] NAntContrib 0.85 Release Candidate 4 available

2006-06-02 Thread Gert Driesen
Announcing NAntContrib 0.85 Release Candidate 4.  
 
Binary and source distributions are available for immediate download from:  
 
http://sourceforge.net/project/showfiles.php?group_id=54790  
 
About NAntContrib:  
NAntContrib is the project for tasks and tools that haven't made it into the
main NAnt distribution yet or for whatever reason don't belong there.  
 
Release notes and a user manual are available here:  
 
http://nantcontrib.sourceforge.net/release/0.85-rc4/  
 
Discussion of NAntContrib occurs on the mailing list at
[EMAIL PROTECTED]  
Bugs can be reported using the Bug Tracker at
http://sourceforge.net/projects/nantcontrib. 

Check the NAntContrib homepage for additional info at
http://nantcontrib.sourceforge.net. 

Gert



___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


RE: [NAntC-Dev] ClearCase tasks for NAnt Contrib

2006-04-13 Thread Gert Driesen
Matt,

A few questions:

- Does "viewpath" always refer to a file/directory path ? If so, we should
have it backed by FileInfo instead of string.  NAnt will automatically
resolve paths to absolute paths if the attribute is backed by FileInfo.

- Are there other attributes that always refer to a file/directory ? I
already modified CommentFile from string to FileInfo.

- We should probably quote more commandline arguments. Can you look into
this after I've committed your tasks to cvs ?

- Can you add documentation for the TypeKind enum (which I've added) after
the changes are committed to cvs ?

- Can you test the changes I made to ensure I did not introduce regression ?

I'll commit to cvs tomorrow, and will upload a new nightly build after that.

Gert


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Matt Trentini
> Sent: woensdag 12 april 2006 8:50
> To: NAntContrib-Developer@lists.sourceforge.net
> Subject: [NAntC-Dev] ClearCase tasks for NAnt Contrib
> 
> Hello folks,
> 
> I've written some tasks to add ClearCase support to NAnt Contrib. 
> I've submitted a ticket:
> 
>   [ 1467519 ] Adding ClearCase commands to NAntContrib
>   
> https://sourceforge.net/tracker/?func=detail&aid=1467519&group
_id=54790&atid=474854
> 
> I'm just making sure that someone notices it and rolls it in to the
> build at some point.  :)
> 
> Thanks,
> Matt
> 
> 
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking 
> scripting language
> that extends applications into web and mobile media. Attend 
> the live webcast
> and join the prime developer group breaking into this new 
> coding territory!
> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
> ___
> NAntContrib-Developer mailing list
> NAntContrib-Developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer
> 



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


RE: [NAntC-Dev] ClearCase tasks for NAnt Contrib

2006-04-13 Thread Gert Driesen
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Matt Trentini
> Sent: woensdag 12 april 2006 8:50
> To: NAntContrib-Developer@lists.sourceforge.net
> Subject: [NAntC-Dev] ClearCase tasks for NAnt Contrib
> 
> Hello folks,
> 
> I've written some tasks to add ClearCase support to NAnt Contrib. 
> I've submitted a ticket:
> 
>   [ 1467519 ] Adding ClearCase commands to NAntContrib
>   
> https://sourceforge.net/tracker/?func=detail&aid=1467519&group
_id=54790&atid=474854
> 
> I'm just making sure that someone notices it and rolls it in to the
> build at some point.  :)

Thanks a lot for your contribution !!

I'll integrate it into NAntContrib in the next days (with some minor
changes).

Gert



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


RE: [NAntC-Dev] contrinbution to project

2006-03-17 Thread Gert Driesen
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of John Teague
> Sent: dinsdag 14 maart 2006 18:20
> To: nantcontrib-developer@lists.sourceforge.net
> Subject: [NAntC-Dev] contrinbution to project
> 
> I just created a custom task to create projects in sourcesafe.  I was
> wondering if you would like me to contribute this to the project.
> 
> It works, but will need some cleaning up and integration with 
> existing vss 
> tasks, but you are welcome to it.

Can you do the clean-up and integration ?

Gert



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Nant with Nunit 2.2.7

2006-03-02 Thread Gert Driesen
Hi Yuriy,

Thanks for the "patch", but I'm already looking into this.

I have it working fine locally, but there's still a small NUnit issue (which
has to do with the EventListener implementation) that I'd like to see fixed
before we switch.

I'll hold off on committing my updates to cvs until I get an idea from the
NUnit team when this issue might be fixed.

Gert

- Original Message - 
From: <[EMAIL PROTECTED]>
To: 
Sent: Monday, February 27, 2006 4:57 PM
Subject: [NAntC-Dev] Nant with Nunit 2.2.7


Dear All,

I have found that current version of Nant is for Nunit 2.2.0.0.
Unfortunately for me Nunit team have changed some interfaces, so I was
unable to upgrade Nant to Nunit  2.2.7 without making changes into
sources.
So please find proposed source changes enclosed (.Net 1.1 only).
You may use it anyway as you want.

Thank you very much.

Yours sincerely,
Yuriy


P.S. Sourcefrorge filter my zip file, so just two cs-files from
src\NAnt.NUnit\NUnit2

 <>  <>


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] (no subject)

2005-10-20 Thread Gert Driesen
Robert,

I'll look into this later.

Gert

- Original Message - 
From: "Robert Schneider" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, October 20, 2005 4:58 PM
Subject: [NAntC-Dev] (no subject)


Hi,

does the svn-task works correctly? I'm trying to commit a file but to
achieve this I have to abuse the task:







I just want to commit the file myfile.txt that is placed in
c:\workingcopy which is under control of subversion. The attributes
command and uri doesn't work. The commandline attribute seems not work
as well. All information is within the arg-elements.

I'm using rc3. Should I use anything different? 
Since I don't want to leave the script with this workaround would you
recommend to use exec instead?

Thanks,
Robert



---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


[NAntC-Dev] Re: Labeling Vss Project using Nant

2005-09-21 Thread Gert Driesen

- Original Message - 
From: "nbl prasad" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 21, 2005 2:42 PM
Subject: Labeling Vss Project using Nant


> Gert,
> 
> We are using nant for building the visual studio.net
> project, we are able to do check in and check out 
> using Vss.
> 
> My question is how to Label the root Vss Directory
> with comments added to Label after building the DLls
> 
> For Example
> I have 2 folder under
> Project
> --Project1
> --Project2
> 
> I need to label Project.
> 
> Please help me.

Have you tried using the  task:

http://nantcontrib.sourceforge.net/nightly/latest/help/tasks/vsslabel.html

Gert


---
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
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


RE: [NAntC-Dev] rc3 build failure

2005-07-26 Thread Gert Driesen
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Dean Hiller
> Sent: dinsdag 26 juli 2005 17:52
> To: Gert Driesen; nantcontrib-developer@lists.sourceforge.net
> Subject: RE: [NAntC-Dev] rc3 build failure
> 
> I downloaded the rc3 zip file from the site.  I did not check out
> source.  Can someone please verify that the rc3 zip file does not
> build(or if I am just on crack and there is something wrong 
> in my env)?
> And if that doesn't build, I am assuming the binary does not 
> match that
> source?

The NAntContrib rc3 zip file does not contain binaries for NAnt, only for
NAntContrib itself.

Try downloading both NAnt and NAntContrib 0.85 rc3, and use NAnt 0.85 rc3 to
build NAntContrib.

Gert



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] rc3 build failure

2005-07-26 Thread Gert Driesen
Dean,

You must be building NAntContrib with an older version of NAnt.

Gert

- Original Message - 
From: "Dean Hiller" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, July 26, 2005 5:15 PM
Subject: [NAntC-Dev] rc3 build failure


I checkout out rc3 and got the following build failureI am assuming
this doesn't build out of the box then and am missing a dll..what do
I need and where do I put it?



  [csc]
c:\AROOT\views\sfviews\nantcontrib-0.85-rc3\src\Tasks\Msi\InstallerC

reationCommand.cs(2326,48): error CS0117: 'NAnt.Core.Element' does not
contain a

 definition for 'InitializeBuildElement'





thanks,

dean


The information contained in this e-mail and any attachments hereto are for
the exclusive use of the addressee and may contain confidential, privileged
and nondisclosable information. If the recipient of this e-mail is not the
addressee, or a person responsible for delivering this e-mail to the
addressee, such recipient is strictly prohibited from reading, printing,
photocopying, distributing or otherwise using this e-mail or any attachments
hereto in any way. If the recipient has received this e-mail in error,
please send return e-mail immediately notifying us of your receipt of this
e-mail and delete the e-mail from your inbox. Thank you.


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


RE: [NAntC-Dev] Failed to build NAnt msi.

2005-06-23 Thread Gert Driesen
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Murali
> Sent: zaterdag 11 juni 2005 17:19
> To: nantcontrib-developer@lists.sourceforge.net
> Subject: [NAntC-Dev] Failed to build NAnt msi.
> 
> Hello All,
> 
> I am trying to build an msi for NAnt using NAntContrib msi task. But I
> am failing with the following error.
> 
> 
> D:\src\NAntContrib\NAntContribInstall.include(111,10):
> Unable to build Installer database 'NAnt.msi'.
>   COM object with CLSID {F94985D5-29F9-4743-9805-99BC3F35B678} is
> either not valid or not registered.
> 
> I am also attaching the complete build log. Any kind of help 
> is greatly
> appreciated.

Apparently, this is the "MSM Merge Module COM Object". I'm not sure if that
library is part of the Windows Installer SDK, or if its installed as part of
the MSI redistributable.

Gert



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] DeleteRegistry and WriteRegistry tasks (with unit tests)

2005-06-01 Thread Gert Driesen

> - Original Message - 
> From: "Marcin Hoppe" <[EMAIL PROTECTED]>
> To: "Gert Driesen" <[EMAIL PROTECTED]>
> Cc: 
> Sent: Wednesday, June 01, 2005 1:23 PM
> Subject: Re: [NAntC-Dev] DeleteRegistry and WriteRegistry tasks (with unit
tests)
>

> On 6/1/05, Gert Driesen <[EMAIL PROTECTED]> wrote:
> > I have no problem with adding the   and 
> > tasks to NAntContrib, but for the NAnt distribution I'd prefer something
> > like the  task:
> >
> > 
> >
> >
> >
> > 
> >
> > where each child element can be repeated a number of times.
>
> So maybe it is more reasonable to create something like this instead
> of putting  and  tasks into
> NAntContrib. What about creating equivalents of those proprietary Ant
> registry tasks and incubating them in NAntContrib. After a few weeks
> or months of development they can perhaps be moved to NAnt 0.8x, where
> x > 5. What about such a solution?

That would ofcourse be great !

Guess we do need to think about it a little more, like:

- do we want if/unless/failonerror attributes on each individual "subtask"
or only on the  task itself ?
- do we want a subkey attribute on these subtasks like the Ant task has ?
- do we only support string type values ?
- if we get rid of support for mulitple hives, then can this task eventually
replace  too, or would people consider this to be a less of
functionality (they can still use a foreach task to accomplish the same) ?

and last but not least: do "we" have time to work on this ;-)

Gert



---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] DeleteRegistry and WriteRegistry tasks (with unit tests)

2005-06-01 Thread Gert Driesen

> - Original Message - 
> From: "Marcin Hoppe" <[EMAIL PROTECTED]>
> To: "Gert Driesen" <[EMAIL PROTECTED]>
> Cc: 
> Sent: Wednesday, June 01, 2005 8:48 AM
> Subject: Re: [NAntC-Dev] DeleteRegistry and WriteRegistry tasks (with unit
tests)
>

> On 5/31/05, Gert Driesen <[EMAIL PROTECTED]> wrote:
> > I just googled for "Ant registry", and came up with this:
> >
> > http://www.roxes.com/produkte/rat.html
> >
> > This company offers a "win32.registry" task that allows
> > getting/setting/deleting/... registry rentries.  This looks like an even
> > better idea to implement.
> >
> > BTW. they use "entry" as name for the registry value ;-)
>
> Ok, I had a look at their website (documentation, in particular). My
> new proposal would be:
>
> 1. 
> 2. 
>
> Attributes enclosed in [] brackets are of course optional. If no entry
> attribute is provided, the key is created/deleted.

:

- what do you do if an empty "entry" is provided (an empty string is set in
the build file) and no value is set ? Should we then clear the default value
of the specified key, or do you just try to create the key ?
- what if no entry is set (attribute not specified in build file), but a
value is set ? Do you then report a build error, or do you set the default
value of the specified key ?

:

- we should not allow an empty string (StringValidator(AllowEmpty=false))
here as the default value cannot be removed

> We can of course go for only one hive, because it makes it easier to cope
with when user
> can access, for example, only one of the hives he/she has specified.

Yeah, sure. we can always relax it later.

I have no problem with adding the   and 
tasks to NAntContrib, but for the NAnt distribution I'd prefer something
like the  task:







where each child element can be repeated a number of times.

Gert


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] DeleteRegistry and WriteRegistry tasks (with unit tests)

2005-05-31 Thread Gert Driesen
> - Original Message - 
> From: "Marcin Hoppe" <[EMAIL PROTECTED]>
> To: "Gert Driesen" <[EMAIL PROTECTED]>
> Cc: 
> Sent: Tuesday, May 31, 2005 8:43 AM
> Subject: Re: [NAntC-Dev] DeleteRegistry and WriteRegistry tasks (with unit
tests)
>

> On 5/30/05, Gert Driesen <[EMAIL PROTECTED]> wrote:
> > Don't have time to have a close look at your contribution today, but I
do
> > have a few remarks on the  task (hope you don't mind):
>
> Ok, that's no problem.
>
> > - Do we need to be able to specify multiple hives in the "hive"
attribute ?
>
> It's an little extra benefit that doesn't cost much, both in terms of
> code complexity and runtime performance. Besides, it works like this
> in  right now.

Yeah, I know. If we retain support for multiple hives, then I guess we
should remove the specified key/value from all specified hives.

Should  fail if the key/value does not exist (for one of the
specified hives) ?

> > - Should we add a "value" attribute to allow only a specific value to be
> > removed ?
>
> I've been thinking about it, but there is one thing that makes me
> worried: in  there is a "value" attribute to specify a
> string that should be written to the registry. If we make an agreement
> on do we want it go this way, then your proposal is perfectly fine.

I didn't have a look at the  task, but I agree that it does
not make sense in that case to use the same attribute name with a different
meaning in the  task.

Does  also support just creating keys ?  I think we should
also have a "valuename" (or whatever you wanna call it) attribute in
.

> My alternative proposal would be:
>
> a) in  we preserve "value" with its current meaning,
> b) in  we introduce a "valuename" attribute that
> describes a name of registry value that should be removed.
>
> > - Would it be ok to always remove the key and the complete subtree (if
no
> > value is specified) ?
>
> If we introduce a "valuename" attribute or something similar, then
> it's perfectly fine to implement it this way.

Ok

>
> I will also refactor this code a little bit and probably extract an
> abstract AbstractRegistryTask. Amount of redundant code makes it a
> reasonable idea, IMHO. What do you think about it?

I just googled for "Ant registry", and came up with this:

http://www.roxes.com/produkte/rat.html

This company offers a "win32.registry" task that allows
getting/setting/deleting/... registry rentries.  This looks like an even
better idea to implement.

BTW. they use "entry" as name for the registry value ;-)

Gert


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


RE: [NAntC-Dev] DeleteRegistry and WriteRegistry tasks (with unit tests)

2005-05-30 Thread Gert Driesen
Hi Marcin,

Don't have time to have a close look at your contribution today, but I do
have a few remarks on the  task (hope you don't mind):

- Do we need to be able to specify multiple hives in the "hive" attribute ?

- Should we add a "value" attribute to allow only a specific value to be
removed ?

- Would it be ok to always remove the key and the complete subtree (if no
value is specified) ?

(Just thinking out loud here)

Gert

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Marcin Hoppe
> Sent: maandag 30 mei 2005 15:26
> To: NAntContrib-Developer@lists.sourceforge.net
> Cc: Gert Driesen
> Subject: [NAntC-Dev] DeleteRegistry and WriteRegistry tasks 
> (with unit tests)
> 
> Hi!
> 
> I have managed to write those two tasks we've been talking about today
> in the morning and create some accompanying unit test.
> 
> I attach four files:
> + WriteRegistryTask.cs (I have put it in 
> NAntContrib\src\Tasks\Win32 folder),
> + WriteRegistryTaskTest.cs (I have put it in
> NAntContrib\tests\Tasks\Win32 folder),
> + DeleteRegistryTask.cs (I have put it in 
> NAntContrib\src\Tasks\Win32 folder),
> + DeleteRegistryTaskTest.cs (I have put it in
> NAntContrib\tests\Tasks\Win32 folder).
> 
> I hope you'll find it useful :).
> 
> Best regards!
> Marcin
> 



---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] New task

2005-05-30 Thread Gert Driesen

> - Original Message - 
> From: "Marcin Hoppe" <[EMAIL PROTECTED]>
> To: "Gert Driesen" <[EMAIL PROTECTED]>
> Cc: 
> Sent: Monday, May 30, 2005 10:57 AM
> Subject: Re: [NAntC-Dev] New  task
>

> On 5/30/05, Gert Driesen <[EMAIL PROTECTED]> wrote:
> > I'll look into that. We can use NUnit categories.
>
> Ok. I'll also look for some solution. Another questions: should these
> tasks go to NAntContrib or to main NAnt distribution?
>
> I think we should put it into contrib, but the  taks
> lives in NAnt. What do you think about it?

There's no real rule for this, but I recommend to first add new tasks to
NAntContrib.

That way new tasks can stabilize (both API & build interface) before moving
them to NAnt.

Gert


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] New task

2005-05-30 Thread Gert Driesen

> - Original Message - 
> From: "Marcin Hoppe" <[EMAIL PROTECTED]>
> To: "Gert Driesen" <[EMAIL PROTECTED]>
> Cc: 
> Sent: Monday, May 30, 2005 10:45 AM
> Subject: Re: [NAntC-Dev] New  task
>

> On 5/30/05, Gert Driesen <[EMAIL PROTECTED]> wrote:
> > Yeah, you might wanna go for that.
>
> Ok. I'll try to write it, it should be pretty straightforward.
>
> > HKCU\Software\NAnt-Test
> > HKLM\Software\NAnt-Test
>
> Ok. They seem to be quite safe.
>
> > Ofcourse there's always a chance that these tests will fail on some
user's
> > system (because of the lack of access).
>
> Sure. Is there a way to disable some test in NAnt's or NAntContrib's build
file?

I'll look into that. We can use NUnit categories.

Gert



---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] New task

2005-05-30 Thread Gert Driesen

> - Original Message - 
> From: "Marcin Hoppe" <[EMAIL PROTECTED]>
> To: "Gert Driesen" <[EMAIL PROTECTED]>
> Cc: 
> Sent: Monday, May 30, 2005 10:16 AM
> Subject: Re: [NAntC-Dev] New  task
>

> On 5/30/05, Gert Driesen <[EMAIL PROTECTED]> wrote:
> > Can you also create a set of unit tests ?
>
> Sure I can :). I hope I will be able to provide you with a bunch of
> them by the end of this week.

Great !

> I'll have to think about cleaning up after such a test. It is easy to
> write something to the registry using , read it using
>  and compare. But it leaves garbarge in the registry.
> Creating  task might be an answer :).

Yeah, you might wanna go for that.

> Another concern of mine is what registry branch to choose. I'd really
> love to be pretty sure that those unit tests won't break anyone's
> system...

HKCU\Software\NAnt-Test
HKLM\Software\NAnt-Test

(or something like that)

Ofcourse there's always a chance that these tests will fail on some user's
system (because of the lack of access).

Gert


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] New task

2005-05-30 Thread Gert Driesen
Marcin,

Can you also create a set of unit tests ?

Thanks !

Gert
- Original Message - 
From: "Marcin Hoppe" <[EMAIL PROTECTED]>
To: 
Cc: "Gert Driesen" <[EMAIL PROTECTED]>
Sent: Monday, May 30, 2005 9:53 AM
Subject: [NAntC-Dev] New  task


Hi!

I have authored a simple task that allows the user to write a string
to the registry. Is anyone interested in getting this task and putting
it into NAntContrib?

I attach the code (WriteRegistryTask.cs). It was primarily put into
NAnt itself (into NAnt.Win32 project).

Best regards!
Marcin


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


[NAntC-Dev] If, then, else construct

2005-05-22 Thread Gert Driesen
Hi,

For those of you that have been begging for an "if, then, else" construct in
NAnt:

I've just added a  task to NAntContrib cvs that does just that:

http://nantcontrib.sourceforge.net/nightly/latest/help/tasks/choose.html

Note: the expression in the "test" attribute of the example contains a typo.
This has been corrected since in cvs.

Gert



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


RE: [NAntC-Dev] CodeStats - Incorrect Comment Count

2005-05-20 Thread Gert Driesen
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Morris, Jason
> Sent: vrijdag 20 mei 2005 16:49
> To: nantcontrib-developer@lists.sourceforge.net
> Subject: RE: [NAntC-Dev] CodeStats - Incorrect Comment Count
> 
> Good find and thanks for providing the fix.
> 
> I use this task a lot and would like to see the issue fixed in CVS.
> 
> I think it would help Gert and the other committers if you 
> would file a
> bug in the bug tracker on SF and then attach the patch of the fix to
> that issue.  I would think that it would a) cause the issue not to get
> lost and b) make it easier to apply the fix and commit it into CVS.

Thanks for giving me a break, but I've already fixed it and added a unit
test for it.

Gert



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


RE: [NAntC-Dev] Subversion tasks quiet attribute and generated output

2005-04-17 Thread Gert Driesen
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Marcin Hoppe
> Sent: zondag 17 april 2005 14:37
> To: NAntContrib-Developer@lists.sourceforge.net
> Subject: [NAntC-Dev] Subversion tasks quiet attribute and 
> generated output
> 
> Hi!
> 
> I have recently found some time to hack Subversion tasks and followed
> Clayton Harbour's suggestions to add those tasks a feature to save
> their output to some specified file (following  task's
> implementation) and finally implemented the quiet attribute.

I'm not sure if this is really necessary. Users can always use NAntContrib's
 task to cpature output of specific tasks to file.

> Things introduced:
>  * AbstractSvnTask.Quiet property added. I have some doubts about this
> idea, because not all Svn commands obey the --quiet parameter (e.g.
> svn log). Nevertheless,  and  do work with
> this parameter.

If not all svn tasks support this attribute, then it does not make sense to
add this to the base class.

>  * The default Quiet attribute value for SvnCheckoutTask and
> SvnUpdateTask is false. I think it makes some sense (previously
> SvnCheckoutTask had this option turned on by default). Now it is more
> consistent. Should it be moved to AbstractSvnTask constructor,
> perhaps?
>  * AbstractSvnTask.Output and AbstractSvnTask.OutputAppend were added
> (both overriding ExternalProgramBase properties). Their implementation
> is directly taken from ExecTask.

Again, not really sure we need this.

Gert



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


[NAntC-Dev] NAntContrib 0.85 Release Candidate 3 available

2005-04-16 Thread Gert Driesen
Announcing NAntContrib 0.85 Release Candidate 3. 
 
Binary and source distributions are available for immediate download from: 
 
http://sourceforge.net/project/showfiles.php?group_id=54790 
 
About NAntContrib:  
NAntContrib is the project for tasks and tools that haven't made it into the
main NAnt distribution yet or for whatever reason don't belong there.  
 
Release notes containing the changes since NAntContrib 0.85 Release
Candidate 2, a user manual and SDK documentation are available here: 
 
http://nantcontrib.sourceforge.net/release/0.85-rc3/ 
 
Discussion of NAntContrib occurs on the mailing list at
mailto:[EMAIL PROTECTED] 
Bugs can be reported using the Bug Tracker at
http://sourceforge.net/projects/nantcontrib. 
Check the NAntContrib homepage for additional info at
http://nantcontrib.sourceforge.net.



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


RE: [NAntC-Dev] Vb6task or VB6 strange behavior

2005-04-16 Thread Gert Driesen
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Dominik Guder
> Sent: zaterdag 16 april 2005 12:07
> To: nantcontrib-developer@lists.sourceforge.net
> Subject: Re: [NAntC-Dev] Vb6task or VB6 strange behavior
> 
> > 
> > Hi,
> > I investigated a little bit more on this issue and I think I have a
> > solution (Hope I'm not to late for RC3):
> > 
> > The numbering scheme in vbp is different at Objects(OCX) and
> > References(DLL).
> > 
> > The version number for DLLs seems to be a HEX value like the
> > corresponding registry typelib entry. At OCX the version 
> number seems to
> > be a DEC value. Therefore converting the VBP entries must 
> be adjusted.
> > The Typelib entries in registry are HEX values for both.
> > 
> > Patch summary:
> > changed: Regex for References/Objects to get the hex major version
> > changed: use the appropriate Converter
> > changed: store filename in tempvar to add on logging output
> > changed: some variables names, stripped 16
> > 
> > I'll include the patch here. If I should file a bug or 
> patch entry then
> > drop me a note.
> > 
> 
> My last patch for this, including everything above:
> changed: logging will show numbers from VBP rather than hex converted
> numbers

Thanks for the patch, but I'm afraid you're too late for RC3.

Can you submit a bug report and attach a small repro for this issue ?

Thanks !!

Gert



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


[NAntC-Dev] NAntContrib 0.85 RC3

2005-04-13 Thread Gert Driesen
Hi,

I'm planning to release NAntContrib 0.85 RC3 some time this weekend. 

Any reported bugs for which additional information is required (eg. a repro)
will not be fixed, so consider this to be the last call if you want to get a
specific bug fixed in time for RC3.

Best regards,

Gert



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


RE: [NAntC-Dev] bug in msm/msi directory creation?

2005-04-08 Thread Gert Driesen
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of John Cole
> Sent: woensdag 6 april 2005 20:55
> To: nantcontrib-developer@lists.sourceforge.net; 'Jim Geurts'
> Subject: [NAntC-Dev] bug in msm/msi directory creation?
> 
> Jim,
>   I'm creating a msm of a bunch of directories:  Here is my component
> section
> 
> --
> 
>  id="{05CA6732-CFAF-40f1-BA7A-E73E60907FEE}" 
>   attr="0" 
>   directory="D__UANET"
>   keepsubdirs="true"
>   feature="eProducts">
>   
>   
>   
>   
>   
>   
> 
> --
> 
> My problem is that some of my sub directories have a hyphen 
> "-" in them
> which is being incorporated as part of the directory table name
> "D__UANET_EDISPATCH_MENU-IMAGES".  Apparently this isn't 
> allowed (orca has
> this as an error) and my merge module is dying on 
> installation with a 2711
> error.
> 
> Another issue, when creating a msm, the components are put in the
> FeatureComponents table instead of the ModuleComponents 
> table, and Orca is
> flagging these as an error, even though things seem to work 
> ok with that.
> 
> And lastly, I have a patch for
> http://sourceforge.net/tracker/index.php?func=detail&aid=11654
16&group_id=54
> 790&atid=474851

I've commit the patch.

Jim, can you have a look at the other issues (and those reported in the
NAntContrib bug tracker) ?

Thanks !

Gert



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] InstallerCreationCommand.AddFiles Error

2005-04-05 Thread Gert Driesen
Christopher,

You should use a version of NAnt that matches the version of NAntContrib
that you're using.

Gert

- Original Message - 
From: "Cuadras, Christopher (P&C, PL)" <[EMAIL PROTECTED]>
To: "'Jim Geurts'" <[EMAIL PROTECTED]>
Cc: 
Sent: Tuesday, April 05, 2005 5:33 PM
Subject: RE: [NAntC-Dev] InstallerCreationCommand.AddFiles Error


> Jim,
>
> I created a directory named msi_test and unzipped the archive you attached
> below into it.
> The subdirectories are there under msi_test w/ the required files.
>
> The error with addfiles occurs with these files as well.
> Attached is the command file I used to run NAnt(run.txt- a cmd file, txt
so
> it will mail), the build file(default.build), and the build
output(out.txt).
>
> Any idea why addFiles is failing?
>
> Thanks very much in advance for your help,
>
> Chris.
>
>
> -Original Message-
> From: Jim Geurts [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 05, 2005 9:45 AM
> To: Cuadras, Christopher (P&C, PL)
> Cc: nantcontrib-developer@lists.sourceforge.net
> Subject: Re: [NAntC-Dev] InstallerCreationCommand.AddFiles Error
>
>
> Hi Chris,
>
> What version of NAntContrib are you using?  To generate an install w/ the
> sample from the wiki, you should use a 0.85 RC release or newer...
>
> I've included a zip that I used to verify that the sample (with minor
> directory edits) works with the latest code... Just rename the file
> extension to .zip
>
> Jim
>
>
>
> On Apr 5, 2005 8:24 AM, Cuadras, Christopher (P&C, PL) <
> [EMAIL PROTECTED]
>  > wrote:
>
>
> I have been experiencing problems running this example msi task from the
> wiki:
> http://nant.sourceforge.net/wiki/index.php/sample%20build%20file
> 
>
> The problem is, when I run I get this error when the components element is
> being processed (addFiles):
>
> C:\TypeFinder\build\NAnt\samp.xml(37,10):
> Unable to build Installer database 'MyCompany.MyProduct.msi'.:
> NAnt.Core.BuildException: C:\TypeFinder\build\NAnt\samp.xml(37,10):
> Unable to build Installer database 'MyCompany.MyProduct.msi'. --->
> System.MissingMethodException: Method not found: NAnt.Core.Element
> NAnt.Core.Element.InitializeBuildElement(NAnt.Core.Element,
> System.Xml.XmlNode, NAnt.Core.Element, System.Type).
>at
> NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.AddFiles(InstallerDatabase
> database, InstallerTable directoryTable, MSIComponent Component,
> InstallerTable fileTable, String ComponentDirectory, String ComponentName,
> Int32& Sequence, InstallerTable msiAssemblyTable, InstallerTable
> msiAssemblyNameTable, InstallerTable componentTable, InstallerTable
> featureComponentTable, InstallerTable classTable, InstallerTable
> progIdTable, InstallerTable selfRegTable, InstallerTable
modComponentTable)
>at
>
NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.LoadComponents(InstallerData
> base database, Int32& LastSequence) in
>
d:\Source\nantcontrib-20050322T055212Z\src\Tasks\Msi\InstallerCreationComman
> d.cs:line 2718
>at
>
NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.LoadCommonDataFromTask(Insta
> llerDatabase database, Int32& fileSequenceNumber) in
>
d:\Source\nantcontrib-20050322T055212Z\src\Tasks\Msi\InstallerCreationComman
> d.cs:line 2844
>at NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.Execute() in
>
d:\Source\nantcontrib-20050322T055212Z\src\Tasks\Msi\InstallerCreationComman
> d.cs:line 2814
>--- End of inner exception stack trace ---
>at NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.Execute() in
>
d:\Source\nantcontrib-20050322T055212Z\src\Tasks\Msi\InstallerCreationComman
> d.cs:line 2825
>at NAnt.Contrib.Tasks.Msi.MsiTask.ExecuteTask() in
> d:\Source\nantcontrib-20050322T055212Z\src\Tasks\Msi\MsiTask.cs:line 385
>at NAnt.Core.Task.Execute()
>at NAnt.Core.Target.Execute()
>at NAnt.Core.Project.Execute(String targetName, Boolean
> forceDependencies)
>at NAnt.Core.Project.Execute()
>at NAnt.Core.Project.Run()
>
> I made two changes to the original
>
> 1) Added: 
assembly="C:/nantcontrib-0.85-nightly-2005-03-31/bin/NAnt.Contrib.Tasks.dll"
> />
> To load the contrib task
>
> 2) Changed the source.dir property value to c:/TypeFinder/Source
>
> Any and all help would be greatly appreciated.
> Chris.
>
> *
> PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is
> for the exclusive use of addressee and may contain proprietary,
> confidential and/or privileged information.  If you are not the intended
> recipient, any use, copying, disclosure, dissemination or distribution is
> strictly prohibited.  If you are not the intended recipient, please notify
> the sender immediately by return e-mail, delete this communication and
> destroy all copies.
> *
>
> 

RE: [NAntC-Dev] MSI - System.IO.DirectoryNotFoundException - \Temp

2005-03-31 Thread Gert Driesen
Christopher,

Recently nightly builds no longer create a Temp directory in the sourcedir,
but instead create a unique temporary directory.

Can you try using a recent nightly build
(http://nantcontrib.sourceforge.net/nightly/latest)?

Thanks,

Gert

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Cuadras, Christopher (P&C, PL)
> Sent: donderdag 31 maart 2005 22:49
> To: 'nantcontrib-developer@lists.sourceforge.net'
> Subject: [NAntC-Dev] MSI - 
> System.IO.DirectoryNotFoundException - \Temp
> 
> > I am working on a simple NAnt build in which the msi tasks fails.
> > The error states that the process "Could not find a part of 
> the path" for
> > a directory named "Temp".
> > 
> > The directory specified in the error message is 
> "c:/TypeFinder/bin/Temp",
> > the first part before "Temp" is the output directory for 
> the vbc compile.
> > TypeFinder is a sample app from the .NET SDK samples with 1 vb file.
> > 
> > I tried creating a "Temp" directory off of 
> "c:/TypeFinder/bin" but the
> > directory gets deleted by the msi task when it runs.
> > 
> > Does anyone know:
> > 
> > 1) Why is a directory named "Temp" being created off of the 
> directory I
> > specify for the msi "sourcedir" attribute?
> > 2) Why is this "Temp" directory not created by msi if it 
> needs it to run?
> > 3) Why, if the directory is created before running the 
> build, does msi
> > delete "Temp"?
> > 4) Is there a solution to this problem? It would seem there 
> is simply
> > something missing in my configuration in terms of a setting or maybe
> > another nested element is required within msi to resolve.
> > 
> > Any and all information would be greatly appreciated.
> > Thanks very much in advance,
> > 
> > Here is the target that invokes the msi task:
> > (note the template attribute did not have any effect on the 
> outcome, fails
> > with or without)
> > 
> > Version info (problem occurs w/ both rc1 and rc2 of 0.85): 
> > nant-0.85-rc1 / nant-0.85-rc2
> > nantcontrib-0.85-rc1 / nantcontrib-0.85-rc2
> > 
> > 
> > 
> >  >  output="${msidir}${basename}.msi" 
> >  template="C:\nantcontrib-0.85-rc1\bin\MSITaskTemplate.msi" 
> >  verbose="true">
> > 
> > 
> >  value="Prototype" />
> > 
> >  value="The Hartford."
> > />
> >  > value="{6FF45A48-BD4D-4AD8-9EB0-B71EF712D930}" />
> >  
> > 
> > 
> > 
> >  >  title="Prototype"
> >  display="0"
> >  typical="true"
> >  directory="${targetdir}" >
> > 
> > Prototype
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> > 
> > 
> > Here is the build output:
> > 
> > C:\TypeFinder\build\NAnt\build.xml(75,4):
> > Unable to build MSI database 'c:/TypeFinder/deploy/TypeFinder.msi'.:
> > NAnt.Core.BuildException: C:\TypeFinder\build\NAnt\build.xml(75,4):
> > Unable to build MSI database 
> 'c:/TypeFinder/deploy/TypeFinder.msi'. --->
> > System.IO.DirectoryNotFoundException: Could not find a part 
> of the path
> > "c:/TypeFinder/bin/Temp".
> >at System.IO.__Error.WinIOError(Int32 errorCode, String str)
> >at 
> System.IO.Directory.InternalGetFileDirectoryNames(String fullPath,
> > String userPath, Boolean file)
> >at System.IO.Directory.InternalGetFiles(String path, 
> String userPath,
> > String searchPattern)
> >at System.IO.Directory.GetFiles(String path, String 
> searchPattern)
> >at
> > 
> NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.ReorderFiles(I
> nstallerData
> > base database, Int32& LastSequence)
> >at
> > 
> NAnt.Contrib.Tasks.Msi.MsiCreationCommand.LoadTypeSpecificData
> FromTask(Ins
> > tallerDatabase database, Int32 lastSequence)
> >at NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.Execute()
> >--- End of inner exception stack trace ---
> >at NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.Execute()
> >at NAnt.Contrib.Tasks.Msi.MsiTask.ExecuteTask()
> >at NAnt.Core.Task.Execute()
> >at NAnt.Core.Target.Execute()
> >at NAnt.Core.Project.Execute(String targetName, Boolean
> > forceDependencies)
> >at NAnt.Core.Project.Execute()
> >at NAnt.Core.Project.Run()
> > 
> > Christopher W. Cuadras
> > Architect, eB&T CTO Service Management
> > [EMAIL PROTECTED]
> > 860.547.5707
> 
> 
> **
> ***
> PRIVILEGED AND CONFIDENTIAL: This communication, including 
> attachments, is
> for the exclusive use of addressee and may contain proprietary,
> confidential and/or privileged information.  If you are not 
> the intended
> recipient, any use, copying, disclosure, dissemination or 
> distribution is
> strictly prohibited.  If you are not the intended recipient, 
> please notify
> the sender immediately by return e-mail, delete this c

[NAntC-Dev] NAntContrib 0.85 Release Candidate 2 available

2005-02-12 Thread Gert Driesen
Announcing NAntContrib 0.85 Release Candidate 2.

Binary and source distributions are available for immediate download from:

http://sourceforge.net/project/showfiles.php?group_id=54790

About NAntContrib: 
NAntContrib is the project for tasks and tools that haven't made it into 
the main NAnt distribution yet or for whatever reason don't belong there. 

Release notes containing the changes since NAntContrib 0.85 Release
Candidate 1, a user manual and SDK documentation are available here:

http://nantcontrib.sourceforge.net/release/0.85-rc2/

Discussion of NAntContrib occurs on the mailing list at
mailto:[EMAIL PROTECTED]
Bugs can be reported using the Bug Tracker at
http://sourceforge.net/projects/nantcontrib.
Check the NAntContrib homepage for additional info at
http://nantcontrib.sourceforge.net.



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


RE: [NAntC-Dev] Schema for NAntContrib tasks

2005-01-17 Thread Gert Driesen
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Vagmi Mudumbai
> Sent: dinsdag 18 januari 2005 5:38
> To: nantcontrib-developer@lists.sourceforge.net
> Subject: [NAntC-Dev] Schema for NAntContrib tasks
> 
> Hi,
> 
> Is there a XSD schema for the NAnt contrib tasks. It would be a lot
> easier to code .build files in VS.NET 2003 than in notepad. :-)

Nope, right now there's only a XML Schema for NAnt.

I'll look into this asap, but won't make promises...

Gert



---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


[NAntC-Dev] NAntContrib 0.85 Release Candidate 1 available

2004-11-28 Thread Gert Driesen
Announcing NAntContrib 0.85 Release Candidate 1.

Binary and source distributions are available for immediate download from:

http://sourceforge.net/project/showfiles.php?group_id=54790

About NAntContrib: 
NAntContrib is the project for tasks and tools that haven't made it into 
the main NAnt distribution yet or for whatever reason don't belong there. 

Release notes containing the changes since NAntContrib 0.84, a user manual 
and SDK documentation are available here:

http://nantcontrib.sourceforge.net/release/0.85-rc1/

Discussion of NAntContrib occurs on the mailing list at
[EMAIL PROTECTED]  Bugs can be reported using 
the Bug Tracker at http://sourceforge.net/projects/nantcontrib.
Check the NAntContrib homepage for additional info at
http://nantcontrib.sourceforge.net.

--
Gert Driesen



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


RE: [NAntC-Dev] Patch for J# support in solution tasks ...

2004-11-27 Thread Gert Driesen
Hi Laurent,

I committed most of your changes to CVS. However, I did not commit your
changes to ProjectReference, as I fail to see why you would have a
ProjectReference without a project to refer to.

Thanks !

Gert

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Laurent ARNAL
> Sent: woensdag 24 november 2004 18:21
> To: [EMAIL PROTECTED]
> Subject: [NAntC-Dev] Patch for J# support in solution tasks ...
> 
>Hi,
> 
> I begin to write support for JSharp project in the solution task.
> I test this patch against a big solution (about 20 project, each 
> contains >100 files),
> with csharp and jsharp project inside, and it seems to work 
> quite well.
> 
> Here is the patch against the today (24/11/2004) cvs :
> 
> 
>  Laurent.
> 
> ===
> 
> diff -ruN nant.org/src/NAnt.VSNet/ConfigurationSettings.cs 
> nant.mine/src/NAnt.VSNet/ConfigurationSettings.cs
> --- nant.org/src/NAnt.VSNet/ConfigurationSettings.cs2004-11-24 
> 18:00:30.471088200 +0100
> +++ nant.mine/src/NAnt.VSNet/ConfigurationSettings.cs2004-11-24 
> 16:59:24.172659400 +0100
> @@ -88,6 +88,11 @@
>  htStringSettings["NoWarn"] = "/nowarn:{0}";
>  htBooleanSettings["IncrementalBuild"] = 
> "/incremental";
>  break;
> +case ProjectType.JSharp:
> +htStringSettings["WarningLevel"] = "/warn:{0}";
> +htStringSettings["NoWarn"] = "/nowarn:{0}";
> +htBooleanSettings["IncrementalBuild"] = 
> "/incremental";
> +break;
>  case ProjectType.VB:
>  htStringSettings["DefineDebug"] = "/d:DEBUG={0}";
>  htStringSettings["DefineTrace"] = "/d:TRACE={0}";
> diff -ruN nant.org/src/NAnt.VSNet/JSharpProject.cs 
> nant.mine/src/NAnt.VSNet/JSharpProject.cs
> --- nant.org/src/NAnt.VSNet/JSharpProject.cs1970-01-01 
> 01:00:00.0 +0100
> +++ nant.mine/src/NAnt.VSNet/JSharpProject.cs2004-11-24 
> 17:29:20.850519200 +0100
> @@ -0,0 +1,145 @@
> +// NAnt - A .NET build tool
> +// Copyright (C) 2001-2004 Gerry Shaw
> +//
> +// This program is free software; you can redistribute it 
> and/or modify
> +// it under the terms of the GNU General Public License as 
> published by
> +// the Free Software Foundation; either version 2 of the License, or
> +// (at your option) any later version.
> +//
> +// This program is distributed in the hope that it will be useful,
> +// but WITHOUT ANY WARRANTY; without even the implied warranty of
> +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> +// GNU General Public License for more details.
> +//
> +// You should have received a copy of the GNU General Public License
> +// along with this program; if not, write to the Free Software
> +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  
> 02111-1307  USA
> +//
> +// Gert Driesen ([EMAIL PROTECTED])
> +
> +using System;
> +using System.CodeDom.Compiler;
> +using System.Diagnostics;
> +using System.Globalization;
> +using System.IO;
> +using System.Xml;
> +
> +using NAnt.Core;
> +using NAnt.Core.Util;
> +
> +using NAnt.VSNet.Tasks;
> +
> +namespace NAnt.VSNet {
> +public class JSharpProject : ManagedProjectBase {
> +#region Public Instance Constructors
> +
> +public JSharpProject(SolutionBase solution, string 
> projectPath, 
> XmlElement xmlDefinition, SolutionTask solutionTask, 
> TempFileCollection 
> tfc, GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo 
> outputDir) : base(solution, projectPath, xmlDefinition, solutionTask, 
> tfc, gacCache, refResolver, outputDir) {
> +// ensure the specified project is actually supported by 
> this class
> +if (!IsSupported(xmlDefinition)) {
> +throw new 
> BuildException(string.Format(CultureInfo.InvariantCulture,
> +"Project '{0}' is not a valid J# project.", 
> ProjectPath),
> +Location.UnknownLocation);
> +}
> +}
> +
> +#endregion Public Instance Constructors
> +
> +#region Override implementation of ProjectBase
> +
> +/// 
> +/// Gets the type of the project.
> +/// 
> +/// 
> +/// The type of the project.
> +/// 
> +public override ProjectType Type {
> +get 

RE: [NAntC-Dev] StarTeam error

2004-11-26 Thread Gert Driesen



Hi Thomas,
 
I think the problem here is that the CLSID is not 
consistent between versions of StarTeam. I think it would be best to rewrite the 
starteam tasks as wrappers for a command line tool.
 
Gert

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Thomas P MorganSent: woensdag 24 november 2004 
  16:25To: 
  [EMAIL PROTECTED]Subject: [NAntC-Dev] 
  StarTeam error
  I am getting this error when 
  trying to run the stlist task: list: BUILD 
  FAILED INTERNAL ERROR 
  System.Runtime.InteropServices.COMException (0x80040154): COM object 
  with CLSID {58697520-56AB-11D5-B316-0800209CC2CE} is either not valid or not 
  registered.    at 
  NAnt.Contrib.Tasks.StarTeam.StarTeamTask.openView() in 
  d:\Source\nantcontr ib-20041103T210313Z\src\Tasks\StarTeam\StarTeamTask.cs:line 205 
     at 
  NAnt.Contrib.Tasks.StarTeam.TreeBasedTask.ExecuteTask() in 
  d:\Source\nantc ontrib-20041103T210313Z\src\Tasks\StarTeam\TreeBasedTask.cs:line 
  172    at 
  NAnt.Core.Task.Execute() in 
  d:\Source\nant-20041122T160358Z\src\NAnt.Core\ Task.cs:line 177    at NAnt.Core.Target.Execute() in 
  d:\Source\nant-20041122T160358Z\src\NAnt.Cor e\Target.cs:line 249   
   at NAnt.Core.Project.Execute(String targetName, Boolean 
  forceDependencies) in  d:\Source\nant-20041122T160358Z\src\NAnt.Core\Project.cs:line 
  882    at 
  NAnt.Core.Project.Execute() in 
  d:\Source\nant-20041122T160358Z\src\NAnt.Co re\Project.cs:line 839   
   at NAnt.Core.Project.Run() in 
  d:\Source\nant-20041122T160358Z\src\NAnt.Core\P roject.cs:line 908 Please send bug report to [EMAIL PROTECTED] 
  Total time: 0.1 seconds. 
  I have installed the SDK, and registered 
  Stargate.NET.dll in the GAC.  I am using Version 6 of StarTeam. 
  Tom 
Morgan


RE: [NAntC-Dev] IIS Application roots

2004-11-24 Thread Gert Driesen
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of kevin baribeau
> Sent: dinsdag 23 november 2004 20:26
> To: [EMAIL PROTECTED]
> Subject: [NAntC-Dev] IIS Application roots
> 
> Hi all.
> 
> I've made a small change to the mkiisdir task to support creating
> application roots on virtual directories.  Here is a patch (created
> with cvs diff -c) and a summary of the changes.
> 
> 
> 1. Add a boolean attribute appcreate.  If true, create an application
> root on this directory, otherwise do nothing special.
> 
> 2. Remove line setting "AppRoot" property.  This is wrong according to
> the documentation here (it was causing weird behaviour on iis 5):
> 
> 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-
> us/iissdk/iis/ref_mb_approot.asp
> 
> The appropriate quote is: "Important Because this property is
> internally configured by IIS, you should consider it to be read-only.
> Do not configure this property."
> 
> 3. Add an if statement creating application root if the "AppCreate"
> attribute is set to True.
> 
> 
> I would appreciate it greatly if this change would be accepted into
> the main development branch (nightly builds, cvs etc.).  Also any
> feedback and suggested changes / improvements are welcome.

Kevin, can you add docs for the new "appcreate" ?

Can someone else review this patch ?

Gert



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


RE: [NAntC-Dev] NantContrib Build failure...

2004-11-15 Thread Gert Driesen
Hi John,

We are aware of this. I've asked Clayton to look into this.

Gert

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of John Cole
> Sent: maandag 15 november 2004 22:03
> To: [EMAIL PROTECTED]
> Subject: [NAntC-Dev] NantContrib Build failure...
> 
> NantContrib is failing to build from CVS today...
> 
> Thanks,
> 
> John Cole
> 
> 
> C:\src\NAntContrib>..\nant\build\net-1.1.win32\nant-0.85-debug
> \bin\nant
> -D:nant.dir="..\nant\build\net-1.1.win32\nant-0.85-debug"
> -f:NAntContrib.build msi 
> NAnt 0.85 (Build 0.85.1780.0; dev; 11/15/2004)
> Copyright (C) 2001-2004 Gerry Shaw
> http://nant.sourceforge.net
> 
> Buildfile: file:///C:/src/NAntContrib/NAntContrib.build
> Target(s) specified: msi 
> 
> 
> init:
> 
> 
> debug:
> 
> 
> set-framework-configuration:
> 
> 
> set-net-1.1-framework-configuration:
> 
>  [echo] Using nant files from
> ..\nant\build\net-1.1.win32\nant-0.85-debug
> 
> prepare:
> 
> 
> prepare.slingshot:
> 
>  [nant] C:\src\NAntContrib\Tools\SLiNgshoT\SLiNgshoT.build Release
> Buildfile:
> file:///C:/src/NAntContrib/Tools/SLiNgshoT/SLiNgshoT.build
> Target(s) specified: Release 
> 
> 
> SLiNgshoT.Core.Release:
> 
> 
> setup:
> 
> 
> SLiNgshoT.Core:
> 
>   [csc] Compiling 13 files to
> 'C:\src\NAntContrib\Tools\SLiNgshoT\build\Release\SLiNgshoT.Core.dll'.
>   [csc]
> c:\src\NAntContrib\Tools\SLiNgshoT\SLiNgshoT.Core\EnterprisePr
> oject.cs(132,1
> 0): warning CS1030: #warning: 'VS.NET has some bug and writes 
> References
> node with two different capitalizations'
> 
> SLiNgshoT.Release:
> 
> 
> setup:
> 
> 
> SLiNgshoT:
> 
>   [csc] Compiling 3 files to
> 'C:\src\NAntContrib\Tools\SLiNgshoT\build\Release\SLiNgshoT.exe'.
> 
> Release:
> 
> 
> BUILD SUCCEEDED
> 
> Total time: 0.7 seconds.
> 
>  [copy] Copying 1 file to
> 'C:\src\NAntContrib\build\nantcontrib-0.85-debug\bin\SLiNgshoT
> .Core.dll'.
>  [copy] Copying 1 file to
> 'C:\src\NAntContrib\build\nantcontrib-0.85-debug\bin\SLiNgshoT.exe'.
> 
> compile.schematask:
> 
> 
> compile.schemas:
> 
> [loadtasks] Scanning assembly "NAnt.Xsd.Tasks" for extensions.
>   [xsd] Compiling XML Schema
> 'C:\src\NAntContrib\src\Tasks\Msi\MsiTask.xsd' into 
> Microsoft.NET classes.
>   [xsd] Writing file
> 'C:\src\NAntContrib\build\nantcontrib-0.85-debug\schema\Msi\Ms
> iTask.cs'.
> 
> create-common-assemblyinfo:
> 
>[attrib] Setting file attributes for 1 files to Normal.
> 
> build:
> 
>   [csc] Compiling 139 files to
> 'C:\src\NAntContrib\build\nantcontrib-0.85-debug\bin\NAnt.Cont
> rib.Tasks.dll'
> .
>   [csc] 
> c:\src\NAntContrib\src\Tasks\Svn\AbstractSvnTask.cs(170,32):
> error CS0672: Member 'NAnt.Contrib.Tasks.Svn.AbstractSvnTask.Password'
> overrides obsolete member
> 'NAnt.SourceControl.Tasks.AbstractSourceControlTask.Password'. Add the
> Obsolete attribute to 
> 'NAnt.Contrib.Tasks.Svn.AbstractSvnTask.Password'
>   [csc]
> c:\src\nant\build\net-1.1.win32\nant-0.85-debug\bin\NAnt.Sourc
> eControlTasks.
> dll: (Location of symbol related to previous error)
> 
> BUILD FAILED
> 
> C:\src\NAntContrib\NAntContrib.build(151,10):
> External Program Failed:
> C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe (return 
> code was 1)
> 
> Total time: 3 seconds.
> ---
> 
> -
> This email and any files transmitted with it are confidential 
> and intended solely for the use of the individual or entity 
> to whom they are addressed. If you have received this email 
> in error please notify the system manager. This message 
> contains confidential information and is intended only for 
> the individual named. If you are not the named addressee you 
> should not disseminate, distribute or copy this e-mail.
> 
> 
> ---
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> ___
> NAntContrib-Developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer
> 
> 



---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies,

RE: [NAntC-Dev] Support for JSharp in SLiNgshoT,

2004-11-08 Thread Gert Driesen
 

> -Original Message-
> From: Ian MacLean [mailto:[EMAIL PROTECTED] 
> Sent: dinsdag 9 november 2004 8:38
> To: Gert Driesen
> Cc: 'Laurent ARNAL'; [EMAIL PROTECTED]
> Subject: Re: [NAntC-Dev] Support for JSharp in SLiNgshoT,
> 
> Gert Driesen wrote:
> 
> >Hi Laurent,
> >
> >SLiNgshoT has actually been deprecated. Instead of creating 
> build files for
> >VS.NET solutions/projects, we now have a  task in NAnt that
> >supports building VS.NET solutions/projects.
> >
> >Currently, the  task does not support J# projects, 
> but this should
> >be relatively easy to add. However, we are close to releasing
> >NAnt/NAntContrib 0.85 (or 0.90, that is still to be 
> decided), so this won't
> >make it into that release.
> >
> >However, if you're interesting : we're planning on refactoring the
> > task code to make it more extensible and to allow 
> better support
> >for different project types and versions of VS.NET. It would 
> be great if you
> >could help us with the J# support.
> >
> >  
> >
> another option is to look at extending Gordon Weakliems 
> stylesheet based 
> conversion process to handle j# projects. It can be found in 
> the tools 
> directory of NAntContrib cvs. See Gordons blog post for more 
> information :
> http://www.eighty-twenty.net/blog/urn:www-eighty-twenty-net:1328.html
> 
> The official line is that slingshot is deprecated in favour of the 
> solution tasks and if your goal is just to build projects in 
> the vs.net 
> format then this is correct. However if you really want to 
> convert those 
> projects to NAnt build files then it clearly isn't. The real 
> reason for 
> Slingshot being deprecated is that its currently not being maintained 
> and is suffering from bitrot. If someone is willing to step up and 
> maintain either it or Gordon's stylesheet based version then 
> we should 
> retain them. The solution task is excellent for what it does but it 
> doesn't cover the "convert vs projects to nant build files" use-case.

I agree and couldn't have said it better ;-)

Gert

PS. Ian, good to know you're still monitoring the crap I'm sending out ;-)



---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


RE: [NAntC-Dev] Support for JSharp in SLiNgshoT,

2004-11-08 Thread Gert Driesen
Hi Laurent,

SLiNgshoT has actually been deprecated. Instead of creating build files for
VS.NET solutions/projects, we now have a  task in NAnt that
supports building VS.NET solutions/projects.

Currently, the  task does not support J# projects, but this should
be relatively easy to add. However, we are close to releasing
NAnt/NAntContrib 0.85 (or 0.90, that is still to be decided), so this won't
make it into that release.

However, if you're interesting : we're planning on refactoring the
 task code to make it more extensible and to allow better support
for different project types and versions of VS.NET. It would be great if you
could help us with the J# support.

Gert
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Laurent ARNAL
> Sent: maandag 8 november 2004 15:15
> To: [EMAIL PROTECTED]
> Subject: [NAntC-Dev] Support for JSharp in SLiNgshoT,
> 
> Hi,
> 
> I try SLiNgshoT yesterday, and found that he don't have 
> support for J# 
> projet.
> I  wrote this little patch to had basic support for this.
> 
> Il also find some other thinks that may need more work.
> 
> For exemple, in our solution, we have configuration in the .sln that 
> don't exist in some of the project.
> This seems to break SLiNgshoT has he generate reference to task that 
> don't existe in the ouput build file.
> 
> Il Also see strange reference in the build file to assembly 
> that don't 
> exist on my computer.
> For exemple, I have reference to System.Xml that his write has :
> 
> c:\WINNT\Microsoft.NET\Framework\v1.0.3705\System.XML.dll
> 
> but I don't have Winnt directory on my computer, and neither have 
> install framework 1.0. This entry should be instead:
> 
> c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll
> 
> Perhaps there is missing some sort of "mapping mechanism". 
> Visual studio 
> seems to autatically remaps base assembly
> that don't exist on the computer to existing framework assembly !
> 
> 
> Laurent.
> 
> 
> 
> ===
> 
> ===
> RCS file: 
> /cvsroot/nantcontrib/NAntContrib/Tools/SLiNgshoT/SLiNgshoT.Cor
> e/NAntWriter.cs,v
> retrieving revision 1.9
> diff -u -r1.9 NAntWriter.cs
> --- NAntWriter.cs17 Jul 2004 11:20:34 -1.9
> +++ NAntWriter.cs8 Nov 2004 13:36:16 -
> @@ -287,7 +287,13 @@
>  writer.WriteStartElement("vbc");
>  writer.WriteAttributeString("rootnamespace", 
> project.RootNamespace);
>  writer.WriteAttributeString("imports", 
> project.GetImports());
> -} else {
> +}
> +if (project.ProjectType.StartsWith("J#"))
> +{
> +writer.WriteStartElement("vsj");
> +}   
> +else
> +{
>  // default to 'csc'
>  writer.WriteStartElement("csc");
>  writer.WriteAttributeString("unsafe", "${unsafe}");
> 
> ===
> RCS file: 
> /cvsroot/nantcontrib/NAntContrib/Tools/SLiNgshoT/SLiNgshoT.Cor
> e/Project.cs,v
> retrieving revision 1.6
> diff -u -r1.6 Project.cs
> --- Project.cs17 Jul 2004 11:20:34 -1.6
> +++ Project.cs8 Nov 2004 13:25:44 -
> @@ -69,8 +69,15 @@
>  public void Read(string path) {
>  string extension = Path.GetExtension(path);
>  
> -if (extension == ".csproj" || extension == ".vcproj" || 
> extension == ".vbproj") {
> -_ProjectDocument = new XPathDocument(path);
> +if (extension == ".csproj" || extension == ".vcproj" || 
> extension == ".vbproj" || extension == ".vjsproj") {
> +_ProjectDocument = new XPathDocument(path);
>  _ProjectNavigator = 
> _ProjectDocument.CreateNavigator();
>  }
>  }
> @@ -85,7 +92,12 @@
>  if 
> ((bool)_ProjectNavigator.Evaluate("boolean(VisualStudioProject
> /@ProjectType='Visual 
> C++')")) {
>  projectType = "Visual C++";
>  }
> -else if 
> ((bool)_ProjectNavigator.Evaluate("boolean(VisualStudioProject
> /CSHARP/@ProjectType='Local')")) 
> {
> +else if 
> ((bool)_ProjectNavigator.Evaluate("boolean(VisualStudioProject
> /VISUALJSHARP/@ProjectType='Local')")) 
> 
> +{
> +projectType = "J# Local";
> +}
> +else if 
> ((bool)_ProjectNavigator.Evaluate("boolean(VisualStudioProject
> /CSHARP/@ProjectType='Local')")) 
> 
> +{
>  projectType = "C# Local";
>  }
>  else if 
> ((bool)_ProjectNavigator.Evaluate("boolean(VisualStudioProject
> /CSHARP/@ProjectType='Web')")) 
> {
> @@ -114,6 +126,9 @@
>  case "C# Web":
>  

Re: [NAntC-Dev] SourceGear Vault integration

2004-10-11 Thread Gert Driesen
Bart,
Is there no way to automatically determine the install location of the vault 
client ?

Gert
- Original Message - 
From: "Bart Read" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>; 
<[EMAIL PROTECTED]>
Sent: Monday, October 11, 2004 11:50 AM
Subject: RE: [NAntC-Dev] SourceGear Vault integration

Hi Gert,
I tried submitting a preliminary version of these tasks to the list
before the weekend but it appears that our mail server is configured to
block all outbound mail with zip attachments.  I've asked our sysadmin
if he can configure it to let me send mail with such attachments, but
it's possible he may refuse, so in the meantime please find attached a
gzip archive.
A few points about the tasks:
- I've so far only tested the GET task because I've run into other
problems with NAnt.
- I was originally planning to implement these tasks against the latest
production release (0.84) but for other reasons I've had to start using
the 7th October nightly build of the 0.85 release.  Having said that you
should find that they will still work with 0.84.
They obviously aren't perfect at this stage, and as I said are largely
untested.  Please feel free to dissect and vilify at your leisure.  If
you want to build NAnt contrib to include these tasks, extract the zip
file and drop the enclosed Vault folder into the src/Tasks folder
underneath the nantcontrib source distribution root folder.
Many thanks,
Bart
==
Bart Read
Software Engineer
Red Gate Software Ltd
+44 (0) 870 160 0037 ext 31
==
-Original Message-
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: 07 October 2004 12:10
To: Bart Read; [EMAIL PROTECTED]
Subject: Re: [NAntC-Dev] SourceGear Vault integration
Bart,
At this time, no one has started working on NAnt(Contrib) tasks for
SourceGear Vault. At least, not to my knowledge.
I'm pretty sure there's much interest for such a set of tasks though, so
we
would definitely welcome any contributions.
I'd suggest posting the source code for these tasks to the developer
list
once they reach a usable state, to allow us to give you some feedback
(before you're on a point of no return ;-))
Also, it would probably be best to implement these tasks as a wrapper
around
a Vault command line tool (if there is such a tool). That way we can
avoid
another dependency and licensing issues.
I assume another option would be to use the Vault web service API's,
right ?
Best regards,
Gert
- Original Message - 
From: "Bart Read" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 07, 2004 12:42 PM
Subject: [NAntC-Dev] SourceGear Vault integration

Hi All,


We use SourceGear Vault for source control so I was wondering if anyone
out there is currently working on a set of Vault tasks analogous to the
SourceSafe tasks that are already available, or if anybody has used /
modified the SourceSafe tasks to work with Vault?  I'm contemplating
implementing a set of tasks that would work with Vault, however I would
obviously prefer to use something that's already out there if it's
available.


Many thanks,

==
Bart Read
Software Engineer
Red Gate Software Ltd
+44 (0) 870 160 0037 ext 31
==


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [Nant-users] RE: [NAntC-Dev] VDProjConverter and MSI task

2004-10-11 Thread Gert Driesen
Try giving the zip file another extension (eg. zzt).
- Original Message - 
From: "Manish Jain" <[EMAIL PROTECTED]>
To: "James Geurts" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; 
<[EMAIL PROTECTED]>
Sent: Monday, October 11, 2004 10:59 PM
Subject: RE: [Nant-users] RE: [NAntC-Dev] VDProjConverter and MSI task

Hi James,
ZIP is not able to get through your server, Is there any location , may be 
on sourceforge where i can upload ZIP?

Thanks
Manish
-Original Message-
From: James Geurts [mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004 11:13 AM
To: Manish Jain
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: [Nant-users] RE: [NAntC-Dev] VDProjConverter and MSI task
Hi Manish,
I should have clarified... the vdprojconverter is a work in progress (sort
of).  It does not completely translate a vdproj file to an equivalent nant
msi syntax.  This does not mean, however, that the msi task is incapable of
doing everything that the vs.net install can.
1. The MsiTaskTemplateVS.msi is a valid msi database and should work.
Please provide a specific example of it not functioning as expected.
2. I haven't looked at using this dialog with the msi generated by NAnt.
I'm guessing that there is a custom action that isn't being added to the
install, to populate the directories, etc...
3. The task supports creating shortcuts.  Please have a look at the msi task
documentation (http://shrinkster.com/1ez) for the  sub element,
for further information.  If you would like to see a sample, I used the
element with the merge module target (nant.examples.msm) used to build a
merge module of NAnt's examples, from the NAntContribInstall.include file
(http://shrinkster.com/1ey).
4. Yes... use Orca.exe (provided with the platform sdk) and open the merge
module.  Have a look at the ModuleSubstitution table
(http://shrinkster.com/1f1) for the available properties that can be set via
the  element.
Hope that helps...
Jim
btw, your zip file didn't come through.

Thanks James,
1.MSITaskTemplateVS.msi is not working
2.MSI task is not populating select installation folder
3.vsnet setup creates shortcuts (program menu and desktop) whereas MSI
task cannot 4.Is there any way to determine properties available for
 within  for WID files
(Attaching MSI.zip contains all necessary files in another email to
you)
Thanks again for your help and time
Manish
-Original Message-
From: James Geurts [mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004 5:32 AM
To: Manish Jain
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: [NAntC-Dev] VDProjConverter and MSI task
The dialog information should have been extracted w/ the
vdprojconverter program.  Do you have a sample that would show how the
Visual Studio install contains more dialogs?
The difference in filesize between MSITaskTemplate.msi and
MSITaskTemplateVS.msi is because the MSITaskTemplate.msi file contains
preconfigured dialogs.  The MSITaskTemplateVS.msi is virtually empty
with exception of some directory information.
Just make sure that cabarc.exe is in your system path, and everything
should work fine...
Jim

Thanks James,
1.I downloaded file, It works with  MSITaskTemplate.msi but not with
MSITaskTemplateVS.msi 2.Setup created with VS.NET behaves differently
than setup created with MSI task, VS.NET shows additional dialogs.
3.FYI: File size of MSITaskTemplate.msi is 288KB compared to
MSITaskTemplateVS.msi 47 KB 4.FYI:I also had issues with cabarc.exe
which is expected in root folder of .build file , I thought it expects
bin folder
Right now major issue is No.2 above (not sure related to No. 1)
Thanks
Manish
-Original Message-
From: James Geurts [mailto:[EMAIL PROTECTED]
Sent: Friday, October 08, 2004 12:59 PM
To: Manish Jain
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: [NAntC-Dev] VDProjConverter and MSI task
The web based cvs on sourceforge says that the file is present.  It
was added 4 months ago.  Anyway, try this link to download it directly
(from SourceForge's CVS): http://shrinkster.com/1by
Jim

I'm using NAnt 0.85 nightly build, old reference remained in file...
There is no MSITaskTemplateVS.msi in NAntContrib/bin folder, are you
talking about MSITaskTemplate.msi? I'm using latest nightly build for
NAntContrib also,
I found one thread where you say that you have added above file to
bin, but its not there


http://www.mail-archive.com/[EMAIL PROTECTED]/msg00792.html>> 
Can you pls send me one or point me location where i can find it?

Thanks
Manish
-Original Message-
From: James Geurts [mailto:[EMAIL PROTECTED]
Sent: Friday, October 08, 2004 11:37 AM
To: Manish Jain
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: [NAntC-Dev] VDProjConverter and MSI task
A couple notes...
the latest vdprojconverter doesn't support NAnt 0.84.  Make sure
you're using a nightly build.  I would strongly recommend using the
NAntContrib/bin/MSITaskTemplateVS.msi template 

Re: [NAntC-Dev] Problem with NAnt build output under CruiseControl.NET

2004-10-08 Thread Gert Driesen
Bart,

In NAnt 0.84, the XmlLogger did not output build failures in the build log.
This was fixed in NAnt 0.85 (nightly builds).

Gert

- Original Message - 
From: "Bart Read" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 08, 2004 11:49 AM
Subject: [NAntC-Dev] Problem with NAnt build output under CruiseControl.NET


Hi All,





I'm unsure whether this is a NAnt issue or a CruiseControl.NET issue.
At first I thought it was almost certainly a CC.NET issue but I'm
starting to wonder so I'd be extremely grateful if you could bear with
me.  Essentially I'm having a few problems with getting the right output
displayed by CC.NET when running my build.  For example, my current
build log looks rather like this (I've ditched all the irrelevant
stuff):



NAnt 0.84
(Build 0.84.1455.0; net-1.0.win32; release; 26/12/2003)

Copyright (C) 2001-2003 Gerry Shaw

http://nant.sourceforge.net





  

  

  

...

...





So it's telling me that the build failed and that there was an error,
but the error message isn't present ANYWHERE in the log file.  My build
element in ccnet.config looks like this:





F:\nant\bin\nant.exe

F:\integration\Halibut\Build

-v -D:integrationRoot=F:\integration
-D:version=1.0.0

juscruisin.build



rebuild



300





Now if I run the same build file from the command line I get full output
including the error message, as follows:



F:\integration\Halibut\Build>nant -v -D:integrationRoot=F:\integration
-buildfil

e:juscruisin.build

NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 26/12/2003)

Copyright (C) 2001-2003 Gerry Shaw

http://nant.sourceforge.net



Buildfile: file:///F:/integration/Halibut/Build/juscruisin.build

Base Directory: F:\integration\Halibut\Build.

Target(s) specified: rebuild

 [property] Read-only property 'integrationRoot' cannot be overwritten.



clean:



 [echo] Deleting output directories...



...

...



setup:



 [copy] Copying 0 files to F:\integration/Halibut/1.0.0/Build/Debug.



BUILD FAILED



F:\integration\Halibut\Build\juscruisin.build(91,10):

Could not find file F:\integration\Halibut\1.0.0\Extras\.lic to
copy.

:

NAnt.Core.BuildException:
F:\integration\Halibut\Build\juscruisin.build(91,10):

Could not find file F:\integration\Halibut\1.0.0\Extras\.lic to
copy.



   at NAnt.Core.Tasks.CopyTask.ExecuteTask()

   at NAnt.Core.Task.Execute()

   at NAnt.Core.Target.Execute()

   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies)

   at NAnt.Core.Project.Execute()

   at NAnt.Core.Project.Run()



Total time: 0.3 seconds.



This is exactly what I want in the build log that I access via the
CC.NET web interface, but it's just not in there, which is a problem
because it's not much use knowing a build failed without knowing why.
I've trawled through the documentation that comes with both NAnt and
CC.NET distribution but haven't turned up anything that might tell me
why this is happening, although I'm assuming now that maybe it's
something to do with the NAnt XmlLogger.  However, I don't really want
to use a different logger.  Does anybody have any idea what's going on
here?



Thanks,

Bart





==

Bart Read

Software Engineer

Red Gate Software Ltd

+44 (0) 870 160 0037 ext 31

==





---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Problem building NAnt-Contrib

2004-10-08 Thread Gert Driesen
Bart,

I never build NAnt(Contrib) using VS.NET, and I know NAnt does not even
build at all using VS.NET because VS.NET does handle the dependencies
between the project very well (this is supposed to be fixed in VS.NET 2005,
but I haven't verified it yet).

I suggest using NAnt to build NAntContrib.

Hope this helps,

Gert

- Original Message - 
From: "Bart Read" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 08, 2004 1:04 PM
Subject: [NAntC-Dev] Problem building NAnt-Contrib


Hi All,





Just a quickie as I've to disappear.  I'm developing a bunch of Ant
tasks to integrate with SourceGear Vault and have decided to include
them as part of the NAnt-Contrib project.  The problem is that I can't
actually build the project.  All references appear to have been
satisfied but I'm still getting the following output when I attempt to
build:



-- Rebuild All started: Project: NAntContrib, Configuration: Debug
.NET --



Preparing resources...

Updating references...

The dependency 'Microsoft.VSDesigner' could not be found.

Performing main compilation...

F:\sourceforge\nantcontrib.Tasks-0.84\src\Tasks\MSITask.cs(48,20): error
CS0234: The type or namespace name 'Schemas' does not exist in the class
or namespace 'NAnt.Contrib' (are you missing an assembly reference?)

F:\sourceforge\nantcontrib.Tasks-0.84\src\Tasks\MSMTask.cs(43,20): error
CS0234: The type or namespace name 'Schemas' does not exist in the class
or namespace 'NAnt.Contrib' (are you missing an assembly reference?)

F:\sourceforge\nantcontrib.Tasks-0.84\src\Tasks\MSMTask.cs(56,9): error
CS0246: The type or namespace name 'msm' could not be found (are you
missing a using directive or an assembly reference?)

F:\sourceforge\nantcontrib.Tasks-0.84\src\Tasks\MSMTask.cs(1223,13):
error CS0246: The type or namespace name 'MSMDirectory' could not be
found (are you missing a using directive or an assembly reference?)

F:\sourceforge\nantcontrib.Tasks-0.84\src\Tasks\MSMTask.cs(1397,70):
error CS0246: The type or namespace name 'MSMComponent' could not be
found (are you missing a using directive or an assembly reference?)

F:\sourceforge\nantcontrib.Tasks-0.84\src\Tasks\MSMTask.cs(2630,58):
error CS0246: The type or namespace name 'MSMTable' could not be found
(are you missing a using directive or an assembly reference?)

F:\sourceforge\nantcontrib.Tasks-0.84\src\Tasks\MSMTask.cs(4209,57):
error CS0246: The type or namespace name 'MSMDirectory' could not be
found (are you missing a using directive or an assembly reference?)

F:\sourceforge\nantcontrib.Tasks-0.84\src\Tasks\MSMTask.cs(4232,17):
error CS0246: The type or namespace name 'MSMDirectory' could not be
found (are you missing a using directive or an assembly reference?)

F:\sourceforge\nantcontrib.Tasks-0.84\src\Tasks\MSMTask.cs(4243,66):
error CS0246: The type or namespace name 'MSMDirectory' could not be
found (are you missing a using directive or an assembly reference?)

F:\sourceforge\nantcontrib.Tasks-0.84\src\Tasks\MSITask.cs(61,9): error
CS0246: The type or namespace name 'msi' could not be found (are you
missing a using directive or an assembly reference?)

F:\sourceforge\nantcontrib.Tasks-0.84\src\Tasks\MSITask.cs(797,13):
error CS0246: The type or namespace name 'MSIDirectory' could not be
found (are you missing a using directive or an assembly reference?)

F:\sourceforge\nantcontrib.Tasks-0.84\src\Tasks\MSITask.cs(1023,13):
error CS0246: The type or namespace name 'MSIFeature' could not be found
(are you missing a using directive or an assembly reference?)

F:\sourceforge\nantcontrib.Tasks-0.84\src\Tasks\MSITask.cs(1153,70):
error CS0246: The type or namespace name 'MSIComponent' could not be
found (are you missing a using directive or an assembly reference?)

F:\sourceforge\nantcontrib.Tasks-0.84\src\Tasks\MSITask.cs(2389,58):
error CS0246: The type or namespace name 'MSITable' could not be found
(are you missing a using directive or an assembly reference?)

F:\sourceforge\nantcontrib.Tasks-0.84\src\Tasks\MSITask.cs(4027,57):
error CS0246: The type or namespace name 'MSIDirectory' could not be
found (are you missing a using directive or an assembly reference?)

F:\sourceforge\nantcontrib.Tasks-0.84\src\Tasks\MSITask.cs(4050,17):
error CS0246: The type or namespace name 'MSIDirectory' could not be
found (are you missing a using directive or an assembly reference?)

F:\sourceforge\nantcontrib.Tasks-0.84\src\Tasks\MSITask.cs(4061,66):
error CS0246: The type or namespace name 'MSIDirectory' could not be
found (are you missing a using directive or an assembly reference?)



Build complete -- 17 errors, 0 warnings

Building satellite assemblies...

Satellite assemblies could not be built because the main project output
is missing.





-- Done --



Rebuild All: 0 succeeded, 1 failed, 0 skipped







Does anybody know what I need to do to solve this one?





Many thanks,

Bart









==

Bart Re

Re: [NAntC-Dev] Sequence and service install?

2004-10-07 Thread Gert Driesen
Kevin,
For questions that are not specific to the  /  task, you might 
wanna try posting the question to one of the microsoft.public newsgroups :

a.. microsoft.public.platformsdk.msi
a.. microsoft.public.win2000.msi
a.. microsoft.public.windows.msi
I'm pretty sure more people will be able to help you out there.
Hope this helps,
Gert
- Original Message - 
From: "Burton, Kevin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 08, 2004 6:27 AM
Subject: [NAntC-Dev] Sequence and service install?

Is there anyone on this list that understands the sequence table within 
? I am lost.

As I understand it the InstallServices action should happen at sequence 5800 
so the if I ran a custom action to modify the installed service at sequence 
5810 it should work. Right? Wrong! I am getting an error that the service 
isn't installed. Before that I was playing with something that is called 
"deferred". You get this type of action by adding 1024 to the type value so 
I am executing a DLL custom action so the type becomes 1025. This seems to 
run after the service is installed but the properties that I set seem to be 
blank. How do I specify that a custom action will run after the services are 
installed AND have the properties that I set be non-blank? So I can get one 
or the other not both.

Right now is all I have to do to make the properties go away is to make the 
type 1025. If I want the properties back then I specify a type of 1 but now 
this runs before the services are installed.

In fact I was watching the action text that is flashing by and the 
installation process seems to be "Generating script . . . .". If I make all 
of the DLL custom actions 1025 then the sequence seems to work as I would 
expect. I see the action text and the services get installed and my custom 
action even seems to be called AFTER the services are installed but the 
properties that I set via a custom action way earlier in the installation 
are now blank.

Kevin
---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] SourceGear Vault integration

2004-10-07 Thread Gert Driesen
Bart,

At this time, no one has started working on NAnt(Contrib) tasks for
SourceGear Vault. At least, not to my knowledge.

I'm pretty sure there's much interest for such a set of tasks though, so we
would definitely welcome any contributions.

I'd suggest posting the source code for these tasks to the developer list
once they reach a usable state, to allow us to give you some feedback
(before you're on a point of no return ;-))

Also, it would probably be best to implement these tasks as a wrapper around
a Vault command line tool (if there is such a tool). That way we can avoid
another dependency and licensing issues.

I assume another option would be to use the Vault web service API's, right ?

Best regards,

Gert

- Original Message - 
From: "Bart Read" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 07, 2004 12:42 PM
Subject: [NAntC-Dev] SourceGear Vault integration


Hi All,





We use SourceGear Vault for source control so I was wondering if anyone
out there is currently working on a set of Vault tasks analogous to the
SourceSafe tasks that are already available, or if anybody has used /
modified the SourceSafe tasks to work with Vault?  I'm contemplating
implementing a set of tasks that would work with Vault, however I would
obviously prefer to use something that's already out there if it's
available.





Many thanks,



==

Bart Read

Software Engineer

Red Gate Software Ltd

+44 (0) 870 160 0037 ext 31

==





---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] PVCS NAnt Tasks Complete

2004-09-23 Thread Gert Driesen
Kent,
Feel free to send them to me (if there are no other volunteers).
Gert
- Original Message - 
From: "Kent Boogaart" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 24, 2004 1:55 AM
Subject: [NAntC-Dev] PVCS NAnt Tasks Complete


Hello all,
I have written several NAnt tasks to work with PVCS
repositories. I would like to get them added to the NAnt
Contrib project but am not sure of the process. Is there
someone I can email these to so they can be added?
It should be a simple matter of adding the source to the
project in the appropriate location. Namespaces etc. are
correct.
Regards,
Kent
---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] NAntContrib.build fails

2004-09-18 Thread Gert Driesen
Phil,
You should only have to use  once for a given assembly.
What version of NAnt were you using again ?
Gert
- Original Message - 
From: "Phil Hadley" <[EMAIL PROTECTED]>
To: "NAntContrib Developer Distribution List" 
<[EMAIL PROTECTED]>
Sent: Saturday, September 18, 2004 6:58 PM
Subject: RE: [NAntC-Dev] NAntContrib.build fails

I was able to perform the  task, but I still can't perform the
 task because, as before,
invalid element . Unknown task or datatype.
Does the  task load an assembly for all time? ... or, does the
 task need to be performed within every execution of nant that
requires a task that's foreign to the nant core tasks?
- Phil

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gert
Driesen
Sent: Saturday, September 18, 2004 12:05 AM
To: Phil Hadley; NAntContrib Developer Distribution List
Subject: Re: [NAntC-Dev] NAntContrib.build fails
Phil,
The NAnt test failure is indeed a minor bug, and was fixed since.
The NAntContrib test failure is something I haven't ever seen myself though
...
You should use the NAnt  task to make the NantContrib extensions
(tasks, etc.) available to NAnt.
Gert

---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] NAntContrib.build fails

2004-09-17 Thread Gert Driesen
Phil,
The NAnt test failure is indeed a minor bug, and was fixed since.
The NAntContrib test failure is something I haven't ever seen myself though 
...

You should use the NAnt  task to make the NantContrib extensions 
(tasks, etc.) available to NAnt.

Gert
- Original Message - 
From: "Phil Hadley" <[EMAIL PROTECTED]>
To: "NAntContrib Developer Distribution List" 
<[EMAIL PROTECTED]>
Sent: Friday, September 17, 2004 9:57 PM
Subject: [NAntC-Dev] NAntContrib.build fails

I am new to NAnt and NAntContrib.  I'm trying to use them to convert my
VS.NET solution file to an NAnt build file.  I have downloaded and unzipped
the nant-0.84-rc2.zip and nantcontrib.Tasks-0.84-rc2.zip files.  When I go
to build NAnt, I get an error in the [test] target which I'm told is just a
bug, and not to worry.  Here is the output:

-
C:\dev\NAnt\nant-0.84-rc2>bin\nant
NAnt 0.84 (Build 0.84.1450.0; net-1.0.win32; rc 2; 12/21/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/dev/NAnt/nant-0.84-rc2/NAnt.build
Target(s) specified: test
[echo] Using 'net-1.1' framework on 'win32' platform.

init:


debug:


set-runtime-configuration:


set-net-1.1-runtime-configuration:


set-runtime-configuration-flags:


set-net-1.1-runtime-configuration:


set-runtime-configuration-flags:


build:

[echo] Build Directory is
C:\dev\NAnt\nant-0.84-rc2/build/net-1.1.win32/nant-0.84-debug
[nant] C:\dev\NAnt\nant-0.84-rc2\src\NAnt.Core\NAnt.Core.build build

   Buildfile:
file:///C:/dev/NAnt/nant-0.84-rc2/src/NAnt.Core/NAnt.Core.build
   Target(s) specified: build

   build:


   BUILD SUCCEEDED

   Total time: 0.2 seconds.

[nant] C:\dev\NAnt\nant-0.84-rc2\src\NAnt.Console\NAnt.Console.build
build

   Buildfile:
file:///C:/dev/NAnt/nant-0.84-rc2/src/NAnt.Console/NAnt.Console.build
   Target(s) specified: build

   build:


   BUILD SUCCEEDED

   Total time: 0 seconds.

[nant] C:\dev\NAnt\nant-0.84-rc2\src\NAnt.DotNet\NAnt.DotNet.build
build

   Buildfile:
file:///C:/dev/NAnt/nant-0.84-rc2/src/NAnt.DotNet/NAnt.DotNet.build
   Target(s) specified: build

   build:


   BUILD SUCCEEDED

   Total time: 0 seconds.

[nant] C:\dev\NAnt\nant-0.84-rc2\src\NAnt.Zip\NAnt.Zip.build build

   Buildfile:
file:///C:/dev/NAnt/nant-0.84-rc2/src/NAnt.Zip/NAnt.Zip.build
   Target(s) specified: build

   build:


   BUILD SUCCEEDED

   Total time: 0.1 seconds.

[nant] C:\dev\NAnt\nant-0.84-rc2\src\NAnt.NUnit\NAnt.NUnit.build build

   Buildfile:
file:///C:/dev/NAnt/nant-0.84-rc2/src/NAnt.NUnit/NAnt.NUnit.build
   Target(s) specified: build

   build:


   BUILD SUCCEEDED

   Total time: 0.1 seconds.

[nant]
C:\dev\NAnt\nant-0.84-rc2\src\NAnt.SourceControl\NAnt.SourceControl.build
build

   Buildfile:
file:///C:/dev/NAnt/nant-0.84-rc2/src/NAnt.SourceControl/NAnt.SourceControl.
build
   Target(s) specified: build

   build:


   BUILD SUCCEEDED

   Total time: 0.1 seconds.

[nant] C:\dev\NAnt\nant-0.84-rc2\src\NAnt.Win32\NAnt.Win32.build build

   Buildfile:
file:///C:/dev/NAnt/nant-0.84-rc2/src/NAnt.Win32/NAnt.Win32.build
   Target(s) specified: build

   build:


   BUILD SUCCEEDED

   Total time: 0.1 seconds.

[nant]
C:\dev\NAnt\nant-0.84-rc2\src\NAnt.VisualCpp\NAnt.VisualCpp.build build

   Buildfile:
file:///C:/dev/NAnt/nant-0.84-rc2/src/NAnt.VisualCpp/NAnt.VisualCpp.build
   Target(s) specified: build

   build:


   BUILD SUCCEEDED

   Total time: 0 seconds.

[nant] C:\dev\NAnt\nant-0.84-rc2\src\NAnt.VSNet\NAnt.VSNet.build build

   Buildfile:
file:///C:/dev/NAnt/nant-0.84-rc2/src/NAnt.VSNet/NAnt.VSNet.build
   Target(s) specified: build

   build:


   BUILD SUCCEEDED

   Total time: 0.1 seconds.

[nant] C:\dev\NAnt\nant-0.84-rc2\tests\NAnt.Core\NAnt.Core.build build

   Buildfile:
file:///C:/dev/NAnt/nant-0.84-rc2/tests/NAnt.Core/NAnt.Core.build
   Target(s) specified: build

   build:


   BUILD SUCCEEDED

   Total time: 0.1 seconds.

[nant] C:\dev\NAnt\nant-0.84-rc2\tests\NAnt.Console\NAnt.Console.build
build

   Buildfile:
file:///C:/dev/NAnt/nant-0.84-rc2/tests/NAnt.Console/NAnt.Console.build
   Target(s) specified: build

   build:


   BUILD SUCCEEDED

   Total time: 0.1 seconds.

[nant] C:\dev\NAnt\nant-0.84-rc2\tests\NAnt.DotNet\NAnt.DotNet.build
build

   Buildfile:
file:///C:/dev/NAnt/nant-0.84-rc2/tests/NAnt.DotNet/NAnt.DotNet.build
   Target(s) specified: build

   build:


   BUILD SUCCEEDED

   Total time: 0.1 seconds.

[nant] C:\dev\

Re: [NAntC-Dev] RE: PVCS Tasks

2004-09-08 Thread Gert Driesen
- Original Message - 
From: "Kent Boogaart" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 09, 2004 4:39 AM
Subject: [NAntC-Dev] RE: PVCS Tasks


Has anyone got anything to say on this matter? 
I don't think there are any tasks for PVCS yet.
Should I just write these
tasks and then post back to this forum?
Yes, please do so.
Thanks !
Gert
---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] NullReferenceException in solution task

2004-09-07 Thread Gert Driesen
Eric,
I strongly advise you to use a recent nightly build of NAnt 
(http://nant.sourceforge.net/nightly/builds), as loads of issues in the 
 task have been fixed since the 0.84 release.

Gert
- Original Message - 
From: "Erick Thompson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 08, 2004 12:45 AM
Subject: [NAntC-Dev] NullReferenceException in solution task

Hey,
I just downloaded and installed 0.84, and I'm trying to get the solution
task to work. But, it would appear that I've run into a bug somewhere,
as I'm getting a null reference exception.
I have the following in the build file (among other things)





The error is
BUILD FAILED
INTERNAL ERROR
System.NullReferenceException: Object reference not set to an instance
of an object.
  at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps,
XmlElement elemReference, SolutionTask solutionTask, String outputDir)
  at NAnt.VSNet.Project.Load(Solution sln, String projectPath)
  at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask
slnTask, TempFileCollection tfc, String outputDir, String path)
  at NAnt.VSNet.Solution.LoadProjects()
  at NAnt.VSNet.Solution..ctor(ArrayList projects, ArrayList
referenceProjects, TempFileCollection tfc, SolutionTask solutionTask,
WebMapCollection webMaps, FileSet excludesProjects, String outputDir)
  at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
  at NAnt.Core.Task.Execute()
  at NAnt.Core.Target.Execute()
  at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies)
  at NAnt.Core.Project.Execute()
  at NAnt.Core.Project.Run()
And the csproj file is

   
   ProjectType = "Web"
   ProductVersion = "7.10.3077"
   SchemaVersion = "2.0"
   ProjectGuid = "{261B0C92-EBD0-473F-85DF-998211D73ED5}"
   SccProjectName = "SAK"
   SccLocalPath = "SAK"
   SccAuxPath = "SAK"
   SccProvider = "SAK"
   >
   
   
   ApplicationIcon = ""
   AssemblyKeyContainerName = ""
   AssemblyName = "CAsiaInfrastructure"
   AssemblyOriginatorKeyFile = ""
   DefaultClientScript = "JScript"
   DefaultHTMLPageLayout = "Grid"
   DefaultTargetSchema = "IE50"
   DelaySign = "false"
   OutputType = "Library"
   PreBuildEvent = ""
   PostBuildEvent = ""
   RootNamespace = "NBR.CAsiaInfrastructure"
   RunPostBuildEvent = "OnBuildSuccess"
   StartupObject = ""
   >
   
   Name = "Debug"
   AllowUnsafeBlocks = "false"
   BaseAddress = "285212672"
   CheckForOverflowUnderflow = "false"
   ConfigurationOverrideFile = ""
   DefineConstants = "DEBUG;TRACE"
   DocumentationFile = ""
   DebugSymbols = "true"
   FileAlignment = "4096"
   IncrementalBuild = "false"
   NoStdLib = "false"
   NoWarn = ""
   Optimize = "false"
   OutputPath = "bin\"
   RegisterForComInterop = "false"
   RemoveIntegerChecks = "false"
   TreatWarningsAsErrors = "false"
   WarningLevel = "4"
   />
   
   Name = "Release"
   AllowUnsafeBlocks = "false"
   BaseAddress = "285212672"
   CheckForOverflowUnderflow = "false"
   ConfigurationOverrideFile = ""
   DefineConstants = "TRACE"
   DocumentationFile = ""
   DebugSymbols = "false"
   FileAlignment = "4096"
   IncrementalBuild = "false"
   NoStdLib = "false"
   NoWarn = ""
   Optimize = "true"
   OutputPath = "bin\"
   RegisterForComInterop = "false"
   RemoveIntegerChecks = "false"
   TreatWarningsAsErrors = "false"
   WarningLevel = "4"
   />
   
   
   
   Name = "System"
   AssemblyName = "System"
   />
   
   Name = "System.Drawing"
   AssemblyName = "System.Drawing"
   />
   
   Name = "System.Data"
   AssemblyName = "System.Data"
   />
   
   Name = "System.Web"
   AssemblyName = "System.Web"
   />
   
   Name = "System.XML"
   AssemblyName = "System.Xml"
   />
   
   Name = "stdole"
   Guid = "{00020430---C000-0046}"
   VersionMajor = "2"
   VersionMinor = "0

Re: [NAntC-Dev] errors

2004-08-25 Thread Gert Driesen
Guess we should change the code in InstallerCreationCommand to use an
instance of the ExecTask instead, or perhaps even create a  task.

That way we can provide information in the build log on the cause of the
error ...

Gert

- Original Message - 
From: "Burton, Kevin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 25, 2004 4:45 PM
Subject: [NAntC-Dev]  errors


I am still getting:

D:\Projects\Visa\MR0804A\Application Server
Code\ApplicationServerSetup\default.build(6,10):
Unable to build MSI database 'ApplicationServerSetup.msi'.
D:\Projects\Visa\MR0804A\Application Server
Code\ApplicationServerSetup\default.build(6,10):
Error creating cab file, application returned error 1

I was able to trace the error down in the source to
InstallerCreationCommand.cs

processInfo.Arguments = "-r -P " + tempDir + @"\ N " +
cabFilePath + " " + tempDir + @"\*";

processInfo.CreateNoWindow = false;
processInfo.WindowStyle = ProcessWindowStyle.Hidden;
processInfo.WorkingDirectory = Project.BaseDirectory;
processInfo.FileName = "cabarc";

Process process = new Process();
process.StartInfo = processInfo;
process.EnableRaisingEvents = true;

try {
process.Start();
}
catch (Exception e) {
throw new BuildException("cabarc.exe failed.", Location, e);
}

try {
process.WaitForExit();
}
catch (Exception e) {
throw new BuildException("Error creating cab file.",
Location, e);
}

if (process.ExitCode != 0) {
throw new BuildException("Error creating cab file,
application returned error " + process.ExitCode, Location);
}

It looks to me like the "cabarc" program is returning an error. Are the
arguments wrong? Am I doing something wrong?

Any suggestions?

Kevin Burton
[EMAIL PROTECTED]



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] NAnt Vs.Net addin

2004-08-23 Thread Gert Driesen
+1 for removing NAntAddin (or at least removing it from the distribution)
- Original Message - 
From: "James Geurts" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, August 23, 2004 8:14 PM
Subject: [NAntC-Dev] NAnt Vs.Net addin


Hey all,
My thoughts for the vs.net addin are that it should be deleted from cvs. 
It
is pretty old (designed for pre 0.84) and is unsupported, as far as I'm
aware.
Ideally, it would be cool if the existing NAnt addin could be replaced by
Anthony Brown (creator of NAntPad) converting some of the NAntPad code 
into
a vs.net addin.  I'm not saying that the addin would need to be a part of
the sourceforge code, but it would be nice to have a working addin.
Anthony, this is why I copied you on this email.  Just some fuel for the
fire :)
Outside of that... I, and the team that I'm currently working with, use a
custom addin that Jayme & I wrote.  The addin checks for a solution level
Default.build file.  It will then open it up, find a solution element. 
Any
tasks that happen before the solution element are executed before a build
occurs (in the IDE).  Then the IDE builds the solution as normal. 
Finally,
any tasks that happen after the solution element are executed after the 
IDE
builds the solution.  This has allowed us to execute various NAnt tasks
(automatically with each build) without developers on the team needing to
open up a command-prompt to do so.  It If there is a desire, I can put 
this
in CVS.

Jim

---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] invalid task / type error

2004-08-02 Thread Gert Driesen
Shikari,

Try downloading today's nightly build of both NAnt and NAntContrib.  The
previous nightly of NAntContrib was not compatible with the nightly build of
NAnt.

Hope this helps,

Gert

- Original Message -
From: "shikari shambu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 27, 2004 7:06 PM
Subject: [NAntC-Dev]  invalid task / type error


> I have a build file that uses the Nantcontrib's version task to create the
> version number. This task was working when I was using .84 version of
> Nant/Nantcontrib. Then, I downloaded the latest nightly build of both Nant
> and Nantcontrib. And, now I get this error
>
> invalid element . Unknown task or datatype.
>
> The task in the build file is
>
> 
>  startDate="${Build.StartDate}"/>
> 
>
> Any idea what may be causing this issue?
>
> TIA
>
> _
> Don't just search. Find. Check out the new MSN Search!
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
>
>
> ---
> This SF.Net email is sponsored by OSTG. Have you noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> ___
> NAntContrib-Developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer
>



---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] [CONTRIB] New support for Surround SCM

2004-07-30 Thread Gert Driesen
Matt,

The tasks you contributed have landed in cvs and are part of today's nightly
build (http://nantcontrib.sourceforge.net/nightly/builds).

Let me know if my changes caused any regressions.

Gert
- Original Message -
From: "Matt Harp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 29, 2004 1:23 PM
Subject: RE: [NAntC-Dev] [CONTRIB] New support for Surround SCM



> - if the repository attribute always a filesystem path
> (relative to your
> project file) ?

No, it's an path within Surround itself. Just like a folder path, but no
drive letter and it does not necessarily correspond to any local folder
paths.

For example. In Surround the branch could be Widget, the repo could be
Widget/SubComponent/bin and that would map out to
c:\Development\Widget\Subcomponent\bin on the users local fs.

The user provides the branch and repo, and then Surround knows where the
files are locally for that user or where to fetch the files to.

> - is the version attribute always numeric ? If it is, it
> might be better to
> have it backed by an int or so, that way NAnt will validate
> the input as
> being numeric.

Yes, it would always be numeric, although we may at some point go to a
dot-format. Right now, though it's always numeric.

> - is the file attribute actually a local filesystem path ? I
> know it can
> always have the value '/', but apart from that ?

Actually it's either a specific filename like fred.h or it's / meaning
all files. We do support multiple files in the file param like fred.h
fred.cpp, but not with Nant or Ant because I have not had time to
implement it. Not sure with Nant, but with Ant I'm pretty sure I can do
that with Fileset (think that's what it's called) tag support. Just not
enough time right now to check it out :)

> - why are there tasks (or is there a task) where repository
> is required ?

There are no respoitories required. If a branch and/or repo is not
provided we take it from the local file system where we have a little
hiddenfile that we put in a users working directory.


-matt


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=ick
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer



---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] [CONTRIB] New support for Surround SCM

2004-07-29 Thread Gert Driesen

> - Original Message - 
> From: "Matt Harp" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 29, 2004 12:31 PM
> Subject: RE: [NAntC-Dev] [CONTRIB] New support for Surround SCM
>

> I'll be better about style next time. Sorry for the extra work. Now that
> look more, I do see the style guidelines on your site.

No problem.  Pretty there style guidelines aren't uptodate too ;-)

>
> I would prefer if you could leave the task names as they are without the
> hyphen, since that's how I did the Ant tasks and uniformity would be
> nice, but it's not required of course.

No problem, I'll leave them as is.  Compatbility and uniformity are always
good arguments.

Are the Ant tasks actually part of the Ant distribution ?

A few questions on your tasks :

- if the repository attribute always a filesystem path (relative to your
project file) ?
- is the version attribute always numeric ? If it is, it might be better to
have it backed by an int or so, that way NAnt will validate the input as
being numeric.
- is the file attribute actually a local filesystem path ? I know it can
always have the value '/', but apart from that ?
- why are there tasks (or is there a task) where repository is required ?
Could be wrong about this, I'm at work, so I don't have the sources here ...

Gert


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] [CONTRIB] New support for Surround SCM

2004-07-29 Thread Gert Driesen
Hi Matt,

Thanks for the contribution !!!

I'll commit these tasks later today ... Needed more than an hour to convert
them to our coding style :(

Clayton, what task names should we use for these tasks : sscm-* or without
the hyphen ?

eg.  or 

Gert

- Original Message -
From: "Matt Harp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 29, 2004 12:05 AM
Subject: [NAntC-Dev] [CONTRIB] New support for Surround SCM


Hey all,

I have included an attachment to allow support for the Surround SCM
source control package.

I did a tar cf, then compress because .zip is not allowed and I don't
know what I'm doing with tar so I just take what Google gives me :) If
this is a problem, can someone provide me a better method?

I ran my testing with these in a new directory at src\Tasks\SurroundSCM.

Will I be notified if these are committed or rejected? Is there debate
on the list for submissions like this?

Do I need to do anything else beyond responding to any debates that get
going regarding these?


Thanks,

Matt Harp
[EMAIL PROTECTED]



---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Generating the SDK doc?

2004-07-27 Thread Gert Driesen
Matt,

If you contribute these tasks to the NAntContrib team they'll automatically
show up in the SDK doc ... Just kidding ;-)

You need to modify the  "doc" target in NAntContrib.build file to also
include your assembly ...

Gert

- Original Message - 
From: "Matt Harp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 27, 2004 3:12 PM
Subject: [NAntC-Dev] Generating the SDK doc?


Is it possible to generate the SDK.chm doc on my own, or is that done by
the nightly builds?

I'd like to see my new tasks in there, but can't seem to find any help
on how to generate this help file.

Thanks,

matt


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


[NAntC-Dev] Re: NantContrib Tasks

2004-07-07 Thread Gert Driesen

- Original Message -
From: "James Tarquin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 07, 2004 8:29 PM
Subject: NantContrib Tasks


> Hi there.
>
> I've written some Nant tasks that I think are totally appropriate for
> inclusion in NantContrib...MTS/Component Services integration for
> adding and removing COM components from Component Services.
>
> In particular, I wrote 4 tasks to (1) Start COM+ Application, (2) Stop
> COM+ Application, (3) Install Component and (4) Remove Component.
> These are perfect complements to the REGSRV and GAC tasks that are
> already in nantcontrib.
>
> If you think this is a good idea and you're interested, just let me know.

Sure, definitely interested.  Send the source (preferrably with tests) of
any tasks you want to share to the NAntContrib developer list.

Thanks !

Gert



---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


[NAntC-Dev] Re: [Nant-users] stcheckout - unknown task or datatype

2004-07-06 Thread Gert Driesen
Shawn,

You need to copy the content of the NAntContrib bin directory to the NAnt
bin directory.

Gert

- Original Message -
From: "Shawn Knowles" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, July 06, 2004 2:10 PM
Subject: [Nant-users] stcheckout - unknown task or datatype


I was unsure where to post this question:



I am attempting to use the STCHECKOUT task in NAntContrib and have been
unsuccessful.  I receive the error: "invalid element .
Unknown task or datatype."



I have the StarGate SDK 5.2 installed and have added the bin directory
of NAntContrib to my environment path which didn't resolve anything.
Anyone have an idea?



---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Building Nant Contrib

2004-05-20 Thread Gert Driesen
Dave,

You're using an older version of the NAntContrib build file.  The build file
recently changed to accomodate changes in NAnt.

What NAntContrib sources are you using ? CVS ?

I've uploaded new nightly builds for NAnt
(http://nant.sourceforge.net/nightly/builds) and NAntContrib
(http://nantcontrib.sourceforge.net/nightly/builds).

Let me know if that solved your problems. ..

Gert



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] ClearCase support submitted

2004-05-17 Thread Gert Driesen

- Original Message - 
From: "Garrett Smith" <[EMAIL PROTECTED]>
To: "Ian MacLean 
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, May 18, 2004 2:30 AM
Subject: Re: [NAntC-Dev] ClearCase support submitted


> Ian:
>
> I forgot to comment on your second paragraph (on ExternalProgramBase).
>
> I looked at ExternalProgramBase but opted to not use it.   It would be
> more consistent to derive from it, but there were a few things in
> ExternalProgramBase that I didn't like.
>
> The API seemed more geared towards the  task and less towards a task
> that cleanly encapsulates the output of a specific tool.  For example, it
> doesn't make sense for the user to be able to modify the arguments.

Then just overwrite the Arguments property, and lose the BuildElementArray
attribute ...

>
> Also, many tools (including ClearCase) return nonzero exit status codes
> even though the operation succeeded.  This isn't the case with cleartool's
> update command but is for several other commands.  The base needs the
> ability to selectively ignore nonzero exit codes.

We should indeed add a virtual method to ExternalProgramBase that derived
classes can override to allow custom processing of exit codes ...

Gert



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Submission: CabWizTask

2004-05-16 Thread Gert Driesen
Hi Neil,

There are still some things that need to be changed/handled, eg. I think
you'll get a nullrefexception if the
HKM\SOFTWARE\Microsoft\.NETCompactFramework registry key does not exist, and
more like this (and you could have the base class handle the starting of the
process, and stuff ) ...

I'll have a look at this and send you an updated version of the source to
check out, so you can see what/why I changed some things ...

Is that ok ?

Thanks,

Gert

- Original Message - 
From: "Neil Cowburn" <[EMAIL PROTECTED]>
To: "NantContrib" <[EMAIL PROTECTED]>
Sent: Sunday, May 16, 2004 8:02 PM
Subject: [NAntC-Dev] Submission: CabWizTask


> I submitted this back in March and received a few comments from Gert. I've
> not had time (until now) to act on them. Please see attached file.
>
> --Neil
>
>



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Tasks for QSC's TeamCoherence source control

2004-05-06 Thread Gert Driesen
- Original Message - 
From: "slewis taco" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 5:57 PM
Subject: Re: [NAntC-Dev] Tasks for QSC's TeamCoherence source control


> My tasks use the command line client by way of
> ExternalProgramBase.

Great, please post the sources (preferrably including tests) to the list

Thanks

Gert



---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Tasks for QSC's TeamCoherence source control

2004-05-05 Thread Gert Driesen

- Original Message - 
From: "slewis taco" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 05, 2004 5:13 PM
Subject: [NAntC-Dev] Tasks for QSC's TeamCoherence source control


> I am putting the finishing touches on a set of tasks
> for using TeamCoherence from QSC with NAnt.  The
> TeamCoherence homepage is here:
> http://www.qsc.co.uk/teamcoherence.htm
>
> I am not part of QSC, but am just a user.
>
> I am also not a CVS user, nor would I like to be an
> expert.  Is there a procedure for adding new tasks
> into NAntContrib for CVS dummies?

Are these tasks wrappers for a command-line client or do they add a
dependency for a TeamCoherence assembly ?

If these are wrapper tasks, you send them to this list and someone will
review your tasks, and commit them if they checkout ok.  If you use depend
on an assembly that cannot be freely distributed, then we'll have a problem
...

Gert



---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] [PATCH] SqlTask

2004-05-01 Thread Gert Driesen
Roelof ,

You patch has now been committed to CVS.

Thanks !!

Gert

- Original Message - 
From: "Roelof Blom" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 26, 2004 3:30 PM
Subject: [NAntC-Dev] [PATCH] SqlTask


> Hi,
>
> The attached patch contains the following modifications for SqlTask:
>
> - 'append' boolean attribute. Indicates whether to overwrite output file
> or to append to it. Similar to the one in Ant's SqlExec task.
> - 'showheaders' boolean attribute. Display schema information or not.
> Similar
> to the one in Ant's SqlExec task.
> - 'quotechar' string attribute. Character(s) to place arround column
> values to
> prevent collisions with for instance the comma character. Defaults to
empty
> string.
> - changed column separator from "  " (two spaces) to ", " (comma-space,
> without the quotes). Similar to Ant's SqlExec task.
>
> Regards,
> Roelof Blom.
>






> Index: src/Tasks/SqlTask.cs
> ===
> RCS file: /cvsroot/nantcontrib/NAntContrib/src/Tasks/SqlTask.cs,v
> retrieving revision 1.12
> diff -u -r1.12 SqlTask.cs
> --- src/Tasks/SqlTask.cs 16 Oct 2003 08:00:27 - 1.12
> +++ src/Tasks/SqlTask.cs 26 Apr 2004 12:10:45 -
> @@ -114,6 +114,9 @@
>  private int _commandTimeout;
>  TextWriter _outputWriter;
>  private bool _expandProps = true;
> +private bool _append = false;
> +private bool _showHeaders = true;
> +private string _quoteChar = "";
>
>  #endregion Private Instance Fields
>
> @@ -230,6 +233,38 @@
>  set { _useTransaction = value; }
>  }
>
> +/// 
> +/// Whether output should be appended to or overwrite
> +/// an existing file.  Defaults to false.
> +/// 
> +[TaskAttribute("append")]
> +[BooleanValidator()]
> +public bool Append {
> +get { return _append; }
> +set { _append = value; }
> +}
> +
> +/// 
> +/// If set to , prints headers for result
sets.
> +/// The default is .
> +/// 
> +[TaskAttribute("showheaders")]
> +[BooleanValidator()]
> +public bool ShowHeaders {
> +get { return _showHeaders; }
> +set { _showHeaders = value; }
> +}
> +
> +/// 
> +/// Gets or sets the character or characters to surround result
columns with when printing,
> +/// the default is an empty string.
> +/// 
> +[TaskAttribute("quotechar")]
> +public string QuoteChar {
> +get { return _quoteChar; }
> +set { _quoteChar = value; }
> +}
> +
>  #endregion Public Instance Properties
>
>  #region Protected Instance Properties
> @@ -268,7 +303,11 @@
>  protected override void ExecuteTask() {
>  if (Output != null) {
>  try  {
> -_outputWriter = new
StreamWriter(File.OpenWrite(Output));
> +if( Append ) {
> +_outputWriter = File.AppendText(Output);
> +} else {
> +_outputWriter = File.CreateText(Output);
> +}
>  }  catch (IOException ex) {
>  throw new
BuildException(string.Format(CultureInfo.InvariantCulture,
>  "Cannot open output file '{0}'.", Output),
Location, ex);
> @@ -391,31 +430,42 @@
>  private void ProcessResults(IDataReader results, TextWriter
writer) {
>  try {
>  do {
> -// output header
> -DataTable schema = results.GetSchemaTable();
> -if (schema != null) {
> -writer.WriteLine();
> -
> -int totalHeaderSize = 0;
> -foreach (DataRow row in schema.Rows) {
> -string columnName =
row["ColumnName"].ToString();
> -writer.Write(columnName + new string(' ',
2));
> -totalHeaderSize += columnName.Length + 2;
> -}
> -
> -writer.WriteLine();
> -
> -if (totalHeaderSize > 2) {
> -writer.WriteLine(new String('-',
totalHeaderSize - 2));
> +if( ShowHeaders ) {
> +// output header
> +DataTable schema = results.GetSchemaTable();
> +if (schema != null) {
> +writer.WriteLine();
> +
> +int totalHeaderSize = 0;
> +foreach (DataRow row in schema.Rows) {
> +string columnName =
row["ColumnName"].ToString();
> +wri

Re: [NAntC-Dev] Building NAntContrib

2004-04-23 Thread Gert Driesen
I've restructed the directory layout of NAnt (I moved the lib directory to
bin\lib), and I updated the NAntContrib buildfile accordingly.

Can you try rebuilding both NAnt and NAntContrib ? (yeah, I know this can be
troublesome at times)

Gert

- Original Message - 
From: "Garrett Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 23, 2004 9:33 PM
Subject: [NAntC-Dev] Building NAntContrib


> I've a patch to submit to nantcontrib which provides for some basic
> ClearCase source control operations.
>
> However, I can't get the latest source (April 23) to build.  I've attached
> the output from the build that I got.  Am I doing something wrong?
>
> Best,
> Garrett
>
>
>



---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Re: Rollback of refactored MSI/MSM tasks

2004-04-22 Thread Gert Driesen
I'll look at fixing the nightly build process later today or definitely
tomorrow 

Gert

- Original Message -
From: "Kræn Munck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; "'James Geurts'" <[EMAIL PROTECTED]>
Sent: Thursday, April 22, 2004 6:40 PM
Subject: RE: [NAntC-Dev] Re: Rollback of refactored MSI/MSM tasks



  Hi Jayme,

As James pointed out, I did most of the refactoring. I can't recognize
the situation that you describe, either.

I've tested each change by doing automatic before/after comparisons of
archives generated. I used msi and msm task definitions from
NAntContribInstall.include and added test cases for those features that
were not used in those. I use the tasks myself.

I'm very interested in seeing some of the build scripts that don't work.
Although I haven't gotten a recent build either, I'm confident that we
can get you back on track without rolling back.

/Kræn

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of James Geurts
> Sent: 22. april 2004 18:04
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: [NAntC-Dev] Re: Rollback of refactored MSI/MSM tasks
>
>
> Hey Jayme,
>
> A slight correction is needed.  Kraen did the majority of
> refactoring for
> the tasks (sorry don't have his email address with me right
> now).  Also,
> from what I've used/tested so far, the tasks have worked at
> the same level
> that they were before.  Overall, the changes just removed a lot of
> repeditive code throughout the two tasks.
>
> I haven't gotten a recent nightly build (I'm using one from
> the middle of
> February, I think), but I'll try to help you guys through the
> issues that
> you come up with.  I'd like to have more contributions to the
> task base, if
> possible :)
>
> A big change that was recently implemented, however, is how files are
> included in the components.  The filesets now act as the
> typical fileset
> from NAnt, meaning you do not need to create a mock directory
> structure
> anymore.
>
> Also.. Mike, I am planning on working through your problem
> tonight when I
> get home (around 6pm EST).   In the mean time, you might want
> to have a look
> at the samples from the wiki:
> http://nant.sourceforge.net/wiki/index.php/samples%20for%20ins
> tall%20tasks
> I know those scripts have built and run properly with the
> refactored tasks.
>
> Jim
>
>
> > Hello,
> >
> >
> >
> > We've been using the MSI/MSM tasks that were coded prior to Gert
> > Driesen's refactoring work for several product releases here at
> > Rockwell Software over the past couple years. When NAnt 8.4 was
> > released, some updating needed to be done to these tasks to
> make them
> > work with some API changes in NAnt, and in that time Gert
> took it upon
> > himself to do some reduction of lines of code in the tasks.
> >
> >
> >
> > I've had a developer here Mike Stephens evaluate the use of WiX
> > (Microsoft's XML scripting installation tool) when that snafu was
> > introduced to the fold, and he found that it's not going to meet our
> > needs. It doesn't have decent documentation, and doesn't support the
> > features the MSI/MSM tasks for NAnt include that we need.
> >
> >
> >
> > After reaching this conclusion, I asked Mike to get the latest
> > refactored MSI/MSM tasks and get those integrated into our build
> > scripts here that use NAnt 8.4. Mike found that the simplest MSI
> > install didn't work and contacted Gert to fix a bug. Since that time
> > we're running into bug after bug in the new refactored code.
> >
> >
> >
> > I am very concerned about how this refactored code has made its way
> > into the main NAntContrib branch without any formal testing
> considering
> > the time already spent getting the pre-8.4 code to work,
> and the impact
> > of this on other users of NAntContrib that are having problems using
> > the new versions. I don't feel very confident that the new code is
> > thoroughly tested, and though it compiles there are
> numerous features
> > of the MSI/MSM tasks that don't appear to have even been
> even exercised
> > prior to the checkin.
> >
> >
> >
> > I would like to request that we do some work to update the
> versions of
> > the MSI and MSM tasks based on code before Gert's
> refactoring to work
> > with the current CVS build of NAnt (all we need to do is
> update calls
> > that interface with the new NAnt and are affected by API
> changes) and a
> > folder "Future" or something similar be created and the refactored
> > MSI/MSM tasks be moved here. Should a time come where the refactored
> > tasks are stable enough to do everything the old code did, we can
> > replace them. But I'm certain that as of now this isn't the case.
> >
> >
> >
> > If this cannot be done we will have to just use the older tasks here
> > and not be able to contribute back to Sourceforge, whi

Re: [NAntC-Dev] Article request

2004-04-08 Thread Gert Driesen
Malcolm,

I don't think NAnt can be built using VS.NET 2003.  VS.NET does not seem to
handle the project dependencies very well, and this causes file locking
issues. I t(and many others, I'm sure) reported this to MS, and it should be
fixed in VS.NET 2005 (still have to verify it though).

Gert

- Original Message - 
From: "Malcolm MacLucas" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, April 08, 2004 6:31 PM
Subject: Re: [NAntC-Dev] Article request


> I've still got to get it to build correctly.
>
> I'm running with a copy of VS 2003 that apparently has a 2004 copyright
date in
> it somewhere.
>
> When I open it up in VS and try to build it there I get an error that
states:
> "A failure occurred while attempting to start the compilation."
>
> So the first thing I'm going to be documenting, is how to compile with VS
2003.
>
> Malcolm
>
> --- Gert Driesen <[EMAIL PROTECTED]> wrote:
> > Hi Malcolm,
> >
> > It would be great to welcome a new committer to NAnt. Lately, I've been
> > running NAnt on my own, as most of the other committers are very busy at
> > work (so am I, but I try to use the little time I have to improve NAnt).
> >
> > I think it would be best to add a few topics (eg. document the NAnt
command
> > line options, the NAnt configuration file, ...) to the NAnt fundamentals
> > chapter
(http://nant.sourceforge.net/nightly/help/fundamentals/index.html).
> > We should also restructure our website soon, to make the documentation
of
> > both the latest release and the nightly build more accessible.
> >
> > You can also start by adding some entries in the FAQ
> > (http://nant.sourceforge.net/faq.html).
> >
> > Or you also just dive in and start coding (eg. start by looking at some
of
> > the bug reports here:
> > http://sourceforge.net/tracker/?atid=402868&group_id=31650&func=browse,
for
> > example bug #929919).
> >
> > Feel free to ask for help, more info, 
> >
> > Gert
> >
> > - Original Message - 
> > From: "Malcolm MacLucas" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, April 06, 2004 2:16 AM
> > Subject: [NAntC-Dev] Article request
> >
> >
> > > Hello
> > >
> > > I'm brand new to NAnt and I've been trying to set it up with a copy
right
> > 2004
> > > copy of VS2003.
> > >
> > > I've got an interest in being part of the development team, but would
be
> > happy
> > > to write a NAnt "Dummies" guide.  I figure I might as well document my
> > steps
> > > and miss-steps.
> > >
> > > If a dummies guide to NAnt has already been written, then if someone
could
> > > point me in it's direction I would be grateful.
> > >
> > > Thanks
> > >
> > > Malcolm
> > >
> > >
> > > =
> > > "Oh Bother!" said the Borg, "We just assimilated Pooh."
> > >
> > > __
> > > Do you Yahoo!?
> > > Yahoo! Small Business $15K Web Design Giveaway
> > > http://promotions.yahoo.com/design_giveaway/
> > >
> > >
> > > ---
> > > This SF.Net email is sponsored by: IBM Linux Tutorials
> > > Free Linux tutorial presented by Daniel Robbins, President and CEO of
> > > GenToo technologies. Learn everything from fundamentals to system
> > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > > ___
> > > NAntContrib-Developer mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer
> > >
> >
>
>
> =
> "Oh Bother!" said the Borg, "We just assimilated Pooh."
>
> __
> Do you Yahoo!?
> Yahoo! Small Business $15K Web Design Giveaway
> http://promotions.yahoo.com/design_giveaway/
>



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] building a msm with NAntContrib...

2004-03-31 Thread Gert Driesen
John,

This issue is now fixed in cvs.  I might take a day or two for this change
to become available on anonymous cvs.

I'll try to post a new nightly build later today.

Gert

- Original Message - 
From: "John Cole" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 31, 2004 7:29 PM
Subject: [NAntC-Dev] building a msm with NAntContrib...


> Ok, I have NAntContrib working!  I was able to get a
> VB6 task to work ok.  Now I'm on to trying to build a
> msm file.
>
> Here is the modified sample from James Geurts:
>
> -
> 
>
>   
>   
>
>   
> 
>  value="E8B6E58E5B034BCEAA2E68B49093465E" />
>  value="{E8B6E58E-5B03-4BCE-AA2E-68B49093465E}" />
>  value="{33C71A5C-DC86-4d79-95A7-14FED9720F9B}" />
>
> 
>
>  output="${product.name}.msm"
> sourcedir="${product.dir}"
> id="${product.name}.MergeModule.${msm.id}"
> version="${msm.version}"
> debug="true"
> verbose="true"
> >
>
> 
>  value="${product.name}" />
>  value="Invalid"/>
>  value="${msm.guid.product}" />
>  value="${msm.guid.upgrade}" />
>  
>
> 
>  foldername="SamplePath" root="TARGETDIR" />
> 
>
> 
>  id="{D1812D7A-781E-4C15-A2A5-0C396869D6E0}" attr="2"
> directory="D__SAMPLEPATH">
> 
> 
> 
> 
> 
> 
> 
>   
> 
> ---
>
> and here are the results:
>
> ---
> NAnt 0.85 (Build 0.85.1551.0; net-1.1.win32; nightly;
> 3/31/2004)
> Copyright (C) 2001-2004 Gerry Shaw
> http://nant.sourceforge.net
>
> Buildfile: file:///C:/Documents and Settings/jcole/My
> Documents/test/2.0 Applica
> tions/Components/uaCore/msm.build
> Target(s) specified: test
>
> test:
>
> BUILD FAILED
>
> INTERNAL ERROR
>
> System.Resources.MissingManifestResourceException:
> Could not find any resources
> appropriate for the specified culture (or the neutral
> culture) in the given asse
> mbly.  Make sure "NAnt.Contrib.Schemas.Msi.resources"
> was correctly embedded or
> linked into assembly "NAnt.Contrib.Tasks".
> baseName: NAnt.Contrib.Schemas.Msi  locationInfo:
>   resource file name: NA
> nt.Contrib.Schemas.Msi.resources  assembly:
> NAnt.Contrib.Tasks, Version=0.85.155
> 1.0, Culture=neutral, PublicKeyToken=null
>at
> System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
> cultur
> e, Boolean createIfNotExists, Boolean tryParents)
>at
> System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
> cultur
> e, Boolean createIfNotExists, Boolean tryParents)
>at
> System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
> cultur
> e, Boolean createIfNotExists, Boolean tryParents)
>at
> System.Resources.ResourceManager.GetString(String
> name, CultureInfo cultur
> e)
>at
> System.Resources.ResourceManager.GetString(String
> name)
>at
> NAnt.Contrib.Tasks.SchemaValidatedTask.InitializeTask(XmlNode
> TaskNode)
>at
> NAnt.Contrib.Tasks.Msi.MsmTask.InitializeTask(XmlNode
> TaskNode)
>at NAnt.Core.Task.InitializeElement(XmlNode
> elementNode) in c:\src\nantcvs\na
> nt\src\NAnt.Core\Task.cs:line 364
>at NAnt.Core.Element.Initialize(XmlNode
> elementNode) in c:\src\nantcvs\nant\s
> rc\NAnt.Core\Element.cs:line 187
>at NAnt.Core.Project.CreateTask(XmlNode taskNode,
> Target target) in c:\src\na
> ntcvs\nant\src\NAnt.Core\Project.cs:line 1000
>at NAnt.Core.Target.Execute() in
> c:\src\nantcvs\nant\src\NAnt.Core\Target.cs:
> line 250
>at NAnt.Core.Project.Execute(String targetName,
> Boolean forceDependencies) in
>  c:\src\nantcvs\nant\src\NAnt.Core\Project.cs:line 878
>at NAnt.Core.Project.Execute() in
> c:\src\nantcvs\nant\src\NAnt.Core\Project.c
> s:line 835
>at NAnt.Core.Project.Run() in
> c:\src\nantcvs\nant\src\NAnt.Core\Project.cs:li
> ne 903
>
> Please send bug report to
> [EMAIL PROTECTED]
>
> Total time: 1.2 seconds.
> ---
>
> Thanks to James and Gert for getting me this far.  Any
> ideas on whats wrong with the msm.build file?
>
> Thanks,
>
> John Cole
>
>
> ---
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> ___
> NAntContrib-Developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer
>
>



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___

Re: [NAntC-Dev] More on trying to build NAntContrib from cvs

2004-03-31 Thread Gert Driesen
John,

In order to build NAntContrib you need to point it to a NAnt directory
containing a "package" build of NAnt.

To create "package" build of NAnt, just build it using the "package" target.
eg. NAnt.exe -buildfile:NAnt.build package.

The readme.txt that is in the root of the NAntContrib distribution package
was recently updated with this information.

Hope this helps,

Gert

- Original Message -
From: "John Cole" <[EMAIL PROTECTED]>
To: "'Gert Driesen'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, March 31, 2004 4:39 PM
Subject: RE: [NAntC-Dev] More on trying to build NAntContrib from cvs


> Gert,
>   Thanks for that pointer, that was a problem.  I was pointed at a build
.85
> from 3/6 and not the one that I had just built.  I have corrected that and
> gotten a little further, but now run into another error during build.
>
>   One problem that I noted while building NAnt, was that I could not do
two
> builds in a row, one of the unit tests continued to run and caused the
> second build to fail.  Since I didn't know what the process name was, I
> rebooted and was able to build ok.
>
>   I am including the entire output from the build.  Here is the command
line
> that I used:
>
> C:\src\nantcvs\NAntContrib>nant
> -D:nant.dir=c:\src\nantcvs\nant\build\net-1.1.win32\nant-0.85-debug
> -f:NAntContrib.build
>
> And here is the result...
>
> --
> NAnt 0.85 (Build 0.85.1551.0; net-1.1.win32; nightly; 3/31/2004)
> Copyright (C) 2001-2004 Gerry Shaw
> http://nant.sourceforge.net
>
> Buildfile: file:///C:/src/nantcvs/NAntContrib/NAntContrib.build
> Target(s) specified: test
>
> C:\src\nantcvs\NAntContrib\NAntContrib.build(3,6):
> Could not include build file C:\src\nantcvs\properties.xml.
> Could not find file "C:\src\nantcvs\properties.xml".
>
> init:
>
>
> debug:
>
>
> set-framework-configuration:
>
>
> set-net-1.1-framework-configuration:
>
>  [echo] Using nant files from
> c:\src\nantcvs\nant\build\net-1.1.win32\nant-0.85-debug
>
> prepare:
>
> [mkdir] Creating directory
> 'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin'.
>  [copy] Copying 9 files to
> 'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin'.
>
> prepare.slingshot:
>
>  [nant] C:\src\nantcvs\NAntContrib\Tools\SLiNgshoT\SLiNgshoT.build
> Release
>
> Buildfile:
> file:///C:/src/nantcvs/NAntContrib/Tools/SLiNgshoT/SLiNgshoT.build
> Target(s) specified: Release
>
> SLiNgshoT.Core.Release:
>
>
> setup:
>
>
> SLiNgshoT.Core:
>
>
> SLiNgshoT.Release:
>
>
> setup:
>
>
> SLiNgshoT:
>
>
> Release:
>
>
> BUILD SUCCEEDED
>
> Total time: 0.2 seconds.
>
>  [copy] Copying 1 file to
>
'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin\SLiNgshoT.Core.
> dll'.
>  [copy] Copying 1 file to
>
'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin\SLiNgshoT.exe'.
>
> compile.schematask:
>
>   [csc] Compiling 1 files to
>
'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin\NAnt.Xsd.Tasks.
> dll'.
>
> compile.schemas:
>
> [mkdir] Creating directory
> 'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\schema\Msi'.
> [loadtasks] Loading tasks from assembly
>
'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin\NAnt.Xsd.Tasks.
> dll'.
>   [xsd] Compiling XML Schema
> 'C:\src\nantcvs\NAntContrib\src\Tasks\Msi\MsiTask.xsd' into Microsoft.NET
> classes.
> Writing file
>
'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\schema\Msi\MsiTask.
> cs'.
>
> create-common-assemblyinfo:
>
>[attrib] Setting file attributes for 1 files to Normal.
>
> build:
>
>   [csc] Compiling 88 files to
>
'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin\NAnt.Contrib.Ta
> sks.dll'.
>
> buildtests:
>
>  [copy] Copying 2 files to
> 'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin'.
>   [csc] Compiling 4 files to
>
'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin\NAnt.Contrib.Te
> sts.dll'.
>
> c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(26,7):
> error CS0246: The type or namespace name 'NUnit' could not be found (are
you
> missing a using directive or an assembly referenc

Re: [NAntC-Dev] More on trying to build NAntContrib from cvs

2004-03-30 Thread Gert Driesen
John,

Apparently you're still not using the newly built NAnt 0.85 to build
NAntContrib.

Can you send us the information you're seeing the NAnt logo banner ?

eg.

NAnt 0.85 (Build 0.85.1548.0; net-1.0.win32; nightly; 28/03/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Gert

- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 31, 2004 12:25 AM
Subject: [NAntC-Dev] More on trying to build NAntContrib from cvs


> Hello,
>   I'm still attempting to get NAntContrib to build
> without success.  I was able to get todays cvs version
> of NAnt to build properly.  I set my path to the
> .85cvs version of NAnt and attempted a build of
> NAntContrib.  That resulted in an error on the line:
>
>  value="${math::abs(math::floor(timespan::get-total-days(datetime::now()
> - convert::to-datetime('01-01-2000'}"
> overwrite="false" />
>
>   Since that was recently changed, I changed it back
> to include the dynamic="true" option and got a little
> further to:
>
> -
> Buildfile:
> file:///C:/src/nantcvs/NAntContrib/NAntContrib.build
> Target(s) specified: test
>
> Could not find file "C:\src\nantcvs\properties.xml".
>
> init:
>
> debug:
>
> set-framework-configuration:
>
> BUILD FAILED
>
> C:\src\nantcvs\NAntContrib\NAntContrib.build(346,10):
>[if]  at least one if condition must be set
> (propertytrue, targetexists,
> etc...):
> -
>
> I'm not sure what to do with this line:
>
> 
test="${not(target::exists('set-'+framework::get-target-framework()+'-framew
ork-configuration'))}">
> 
> 
>
> Trying to echo out the string I find that
>
> Property 'framework::get-target-framework()' has not
> been set.
>
> Ok, so where should this get set? And how? :-)
>
> Thanks,
>
> John Cole
>
>
>
> ---
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> ___
> NAntContrib-Developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer
>
>



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Error building nantcontrib-0.85-20040317 against nant-0.85-200403 20

2004-03-25 Thread gert . driesen
I'll try to reproduce this issue later ...

Gert


>-Original Message-
>From: Subbu Balakrishnan [mailto:[EMAIL PROTECTED]
>Sent: Thursday, March 25, 2004 10:07 AM
>To: ''Gert Driesen'', [EMAIL PROTECTED]
>Subject: RE: [NAntC-Dev] Error building nantcontrib-0.85-20040317 against  
>nant-0.85-200403 20
>
>Hi Gert
>
>Many thanks for your prompt response. The readme.txt file included in the
>build nantcontrib-0.85-20040317 (the one I emailed you about) says this:
>
>snip---
>Welcome to NAntContrib  In NAntContrib you will find many cool things.
>/tasks /Tools/ And build files to create MSI distributions.  How to build. 
>1) get and build NAnt from cvs. http://sourceforge.net/cvs/?group_id=31650
>
>bin\NAnt.exe package
>
>2) run NAntContrib.build referencing the version of NAnt just built.
>
>nant -D:nant.dir=h:\cvs\nant\build\nant-0.8.4-debug -f:NAntContrib.build
>
>nant.dir should point to the build directory just above bin.
>snip---
>
>which indicates I had the updated readme.txt file. The readme.txt file gives
>the correct directions - no problems there. The problem exists in the
>NAntContrib.build file - in the manner the path to nunit.framework.dll and
>log4net.dll is resolved.
>
>I hope I have not created undue confusion with my email.
>
>Regards
>Subbu
>
>-Original Message-
>From: Gert Driesen [mailto:[EMAIL PROTECTED]
>Sent: Thursday, 25 March 2004 7:02 PM
>To: Subbu Balakrishnan; [EMAIL PROTECTED]
>Subject: Re: [NAntC-Dev] Error building nantcontrib-0.85-20040317
>against nant-0.85-200403 20
>
>
>Subbu,
>
>The readme file included was not correct, and has been corrected since :
>
>How to build.
>
>1) get and build NAnt from cvs. http://sourceforge.net/cvs/?group_id=31650
>
>bin\NAnt.exe package
>
>2) run NAntContrib.build referencing the version of NAnt just built.
>
>nant -D:nant.dir=h:\cvs\nant\build\nant-0.8.4-debug -f:NAntContrib.build
>
>nant.dir should point to the build directory just above bin.
>
>
>Hope this helps,
>
>Gert
>
>- Original Message - 
>From: "Subbu Balakrishnan" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, March 25, 2004 4:18 AM
>Subject: [NAntC-Dev] Error building nantcontrib-0.85-20040317 against
>nant-0.85-200403 20
>
>
>>
>> This error may occur when building against earlier builds of NAnt as well.
>>
>> Assuming the instructions in the readme.txt file (in the NAntContrib root
>> folder) are followed,
>> [1] NAnt is built successfully
>> [2] NAntContrib.build is then executed with the command line specified
>>
>> The following error was encountered:
>>
>> ---snip---
>--
>> -
>> buildtests:
>>
>>  [copy] Copying 2 files to
>> 'C:\nantcontrib-0.85-20040317\build\nantcontrib-0.85-debug\bin'.
>>   [csc] Compiling 4 files to
>>
>'C:\nantcontrib-0.85-20040317\build\nantcontrib-0.85-debug\bin\NAnt.Contrib.
>> Tests.dll'.
>>
>> c:\nantcontrib-0.85-20040317\tests\Tasks\SourceSafe\GetTaskTest.cs(26,7):
>> error CS0246: The type or namespace name 'NUnit' could not be found (are
>you
>> missing a using directive or an assembly reference?)
>>
>> c:\nantcontrib-0.85-20040317\tests\Util\SqlStatementListTests.cs(27,7):
>> error CS0246: The type or namespace name 'NUnit' could not be found (are
>you
>> missing a using directive or an assembly reference?)
>>
>> c:\nantcontrib-0.85-20040317\tests\Util\SqlStatementListTests.cs(38,6):
>> error CS0246: The type or namespace name 'TestFixture' could not be found
>> (are you missing a using directive or an assembly reference?)
>>
>>
>c:\nantcontrib-0.85-20040317\tests\Tasks\SourceSafe\GetTaskTest.cs(207,10):
>> error CS0246: The type or namespace name 'SetUp' could not be found (are
>you
>> missing a using directive or an assembly reference?)
>>
>>
>c:\nantcontrib-0.85-20040317\tests\Tasks\SourceSafe\GetTaskTest.cs(319,10):
>> error CS0246: The type or namespace name 'TearDown' could not be found
>(are
>> you missing a using directive or an assembly reference?)
>>
>> ... lines deleted for brevity ...
>>
>>
>>
>c:\nantcontrib-0.85-20040317\tests\Tasks\SourceSafe\GetTaskTest.cs(610,10):
>> error CS0246: The type or namespace name 'Test' could not be found (are
>you
>

Re: [NAntC-Dev] Error building nantcontrib-0.85-20040317 against nant-0.85-200403 20

2004-03-25 Thread Gert Driesen
Subbu,

The readme file included was not correct, and has been corrected since :

How to build.

1) get and build NAnt from cvs. http://sourceforge.net/cvs/?group_id=31650

bin\NAnt.exe package

2) run NAntContrib.build referencing the version of NAnt just built.

nant -D:nant.dir=h:\cvs\nant\build\nant-0.8.4-debug -f:NAntContrib.build

nant.dir should point to the build directory just above bin.


Hope this helps,

Gert

- Original Message - 
From: "Subbu Balakrishnan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 25, 2004 4:18 AM
Subject: [NAntC-Dev] Error building nantcontrib-0.85-20040317 against
nant-0.85-200403 20


>
> This error may occur when building against earlier builds of NAnt as well.
>
> Assuming the instructions in the readme.txt file (in the NAntContrib root
> folder) are followed,
> [1] NAnt is built successfully
> [2] NAntContrib.build is then executed with the command line specified
>
> The following error was encountered:
>
> ---snip---
--
> -
> buildtests:
>
>  [copy] Copying 2 files to
> 'C:\nantcontrib-0.85-20040317\build\nantcontrib-0.85-debug\bin'.
>   [csc] Compiling 4 files to
>
'C:\nantcontrib-0.85-20040317\build\nantcontrib-0.85-debug\bin\NAnt.Contrib.
> Tests.dll'.
>
> c:\nantcontrib-0.85-20040317\tests\Tasks\SourceSafe\GetTaskTest.cs(26,7):
> error CS0246: The type or namespace name 'NUnit' could not be found (are
you
> missing a using directive or an assembly reference?)
>
> c:\nantcontrib-0.85-20040317\tests\Util\SqlStatementListTests.cs(27,7):
> error CS0246: The type or namespace name 'NUnit' could not be found (are
you
> missing a using directive or an assembly reference?)
>
> c:\nantcontrib-0.85-20040317\tests\Util\SqlStatementListTests.cs(38,6):
> error CS0246: The type or namespace name 'TestFixture' could not be found
> (are you missing a using directive or an assembly reference?)
>
>
c:\nantcontrib-0.85-20040317\tests\Tasks\SourceSafe\GetTaskTest.cs(207,10):
> error CS0246: The type or namespace name 'SetUp' could not be found (are
you
> missing a using directive or an assembly reference?)
>
>
c:\nantcontrib-0.85-20040317\tests\Tasks\SourceSafe\GetTaskTest.cs(319,10):
> error CS0246: The type or namespace name 'TearDown' could not be found
(are
> you missing a using directive or an assembly reference?)
>
> ... lines deleted for brevity ...
>
>
>
c:\nantcontrib-0.85-20040317\tests\Tasks\SourceSafe\GetTaskTest.cs(610,10):
> error CS0246: The type or namespace name 'Test' could not be found (are
you
> missing a using directive or an assembly reference?)
>
> c:\nantcontrib-0.85-20040317\tests\Tasks\SourceSafe\GetTaskTest.cs(183,6):
> error CS0246: The type or namespace name 'TestFixture' could not be found
> (are you missing a using directive or an assembly reference?)
>
> BUILD FAILED
>
> C:\nantcontrib-0.85-20040317\NAntContrib.build(173,10):
> External Program Failed:
> C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe (return code was 1)
> ---snip---
--
> -
>
> After some investigation I found that NAntContrib.build looks for
> nunit.framework.dll and log4net.dll in a different location. After making
> the following changes to NAntContrib.build, I was able to build
> successfully.
>
> ---snip---
--
> -
> 
> 
> 
> 
> 
>  *REMOVED THIS LINE
>  **ADDED
THIS
> LINE
> 
> 
> 
> *REMOVED THIS LINE
>  **ADDED
THIS
> LINE
> 
> 
>
> 
>  debug="${build.debug}" define="${current.build.defines}"
> output="${build.dir}/bin/${project.FormalName}.Tests.dll">
> 
> 
> 
> 
> 
> 
>   **REMOVED THIS LINE
>  
> **ADDED THIS LINE
> ---snip---
--
> -
>
> This error is probably due to my not having the source to NUnit or Log4Net
> but I expect most folk rely on the files shipped with NAnt and would be in
a
> similar situation.
>
> I hope you find this feedback useful
>
> Thanks for an excellent tool guys - please keep up the good work!
>
> Regards
> Subbu Balakrishnan
>
>
>
> ---
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> ___
> NAntContrib-Developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lis

Re: [NAntC-Dev] VB6 Task

2004-03-22 Thread Gert Driesen
Hi Terry,

I would actually prefer to fix the original issue.  I'll look into
installing VB6 on one of my system to track the issue down and test a fix.

Gert

- Original Message - 
From: "Terry Austin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 22, 2004 6:11 PM
Subject: [NAntC-Dev] VB6 Task


> All,
>
> I was working with the vb6 task in a build file and found that the logic
> that determines if the project should be compiled seems broken unless the
> project file exists in the same directory as the build file.  I don't
really
> have time to debug that issue right now, but as a quick fix I added a new
> "alwayscompile" task attribute that, when true, insures that the project
> gets compiled, regardless of the outcome of the NeedsCompiling() method.
I
> like this solution because I generally always want to rebuild all projects
> during the build, and it's nice to be able to force a rebuild when you
want.
> The modified task is attached.  If any maintainers wish to add this
> modification to the source tree, feel free.
>
> Terry Austin
> Progressive Partnering
> [EMAIL PROTECTED]
>
>



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Convert vdproj to msi fragment

2004-03-20 Thread Gert Driesen
James,

Any chance we can use this to support setup projects in the NAnt 
task ?

Gert

- Original Message - 
From: "James Geurts" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 20, 2004 11:27 PM
Subject: [NAntC-Dev] Convert vdproj to msi fragment


> Hey guys,
>
> I started writing a tool that converts a .vdproj (setup project) file to
an
> xml fragment to be used with the msi task.  It currently only does
> properties, directories, components, and features.  I have only tested it
> with 2003 version of .vdproj files, but getting it to work with 2002 files
> shouldn't be a problem.  The source is available to any interested.
>
> For anyone interested in the tool, you can download it here:
> http://www.biasecurities.com/SoftwareBuilds/Installer.Tools/
>
> A couple notes, though.  The components are setup so that there is only
one
> file per component.  This is how Microsoft creates setup projects via
> VS.Net.  Also, I wasn't able to fully test the feature conversion, since I
> always only had the default feature.
>
> Anyway, it should be a starting point for someone interested in using the
> msi task.
>
> Jim
>
>
>
> ---
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> ___
> NAntContrib-Developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer
>
>



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] RE: NAnt conflict with NAntContrib MSI Task

2004-03-12 Thread Gert Driesen

- Original Message -
From: "James Geurts" <[EMAIL PROTECTED]>
To: "'Craig Neuwirt'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, March 11, 2004 8:45 PM
Subject: [NAntC-Dev] RE: NAnt conflict with NAntContrib MSI Task


> Thanks Craig,
>
> I am including the list on this reply so that they have a record of this
> behavior...
>
> Jim
>
> -Original Message-
> From: Craig Neuwirt [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 11, 2004 2:38 PM
> To: James Geurts
> Cc: [EMAIL PROTECTED]
> Subject: NAnt conflict with NAntContrib MSI Task
>
> Hello James,
>
>I identified the problem described in the previous mail.  Just so you
> know, the latest version of NAnt can possibly cause existing NAnt builds
> that use NAntContrib to fail.  In my situation I had a target that loaded
> the NAntContrib using the following
>
> 

> Prior to the recent changes in NAnt, this would have loaded the tasks from
> all dll that ended with .Tasks.  However, the new build does not filter
the
> dll so all of them are loaded.

This behaviour has indeed recently changed.  It did not make any sense to
force third party tasks developers to use a *Tasks suffix for their
assemblies. Sorry if this caused problems for you.

The  will also probably be renamed to  soon (if
you can come up with something better, please let me know), and will no
longer support the 'path' attribute.

Gert



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Problem with nAnt 0.85 and NAntAddin

2004-03-11 Thread Gert Driesen



Craig,
 
At least part of this issue is fixed in CVS.  
Please rebuild NAnt and NAntContrib from cvs, or wait for the next nightly 
build.
 
Thanks,
 
Gert

  - Original Message - 
  From: 
  Craig 
  Eddy 
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, March 09, 2004 1:24 
  PM
  Subject: [NAntC-Dev] Problem with nAnt 
  0.85 and NAntAddin
  
  
   
   
  In NAntAddin.cs, I cannot compile 
  the following line:
   
    
  if (configNodes.Count > 0) 
    
  {
      
  nAntProject.ProcessSettings(configNodes [0]);
    
  }
   
  Because NAnt.Core.Project lacks a 
  ProcessSettings method.
   
  Also, if I comment this out and 
  compile, an exception is generated when I try to execute a target (the 
  exception occurs prior to the comment-out code):
   
  Index (zero 
  based) must be greater than or equal to zero and less than the size of the 
  argument list.at 
  System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String 
  format, Object[] args)at System.String.Format(IFormatProvider provider, 
  String format, Object[] args)at 
  NAnt.Core.ProjectSettingsLoader.ProcessSettings(XmlNode nantNode) in 
  c:\Documents and Settings\Administrator\Local 
  Settings\Temp\tmp380.tmp\src\NAnt.Core\ProjectSettingsLoader.cs:line 106at 
  NAnt.Core.Project.CtorHelper(XmlDocument doc, Level threshold, Int32 
  indentLevel) in c:\Documents and Settings\Administrator\Local 
  Settings\Temp\tmp380.tmp\src\NAnt.Core\Project.cs:line 1136at 
  NAnt.Core.Project..ctor(String uriOrFilePath, Level threshold, Int32 
  indentLevel) in c:\Documents and Settings\Administrator\Local 
  Settings\Temp\tmp380.tmp\src\NAnt.Core\Project.cs:line 226at 
  NAnt.Core.Project..ctor(String uriOrFilePath, Level threshold) in c:\Documents 
  and Settings\Administrator\Local 
  Settings\Temp\tmp380.tmp\src\NAnt.Core\Project.cs:line 192at 
  NAnt.Contrib.NAntAddin.BuildExecutor.Run() in 
  c:\nant-contrib\tools\vsnetaddin\nantaddin.cs:line 1455
   
  I placed a try/catch/finally 
  around most of this method in order to see this message. Prior to doing so I 
  think VS.NET was eating the exception and unloading the add-in. Here’s the 
  code I added (which accounts for the skewed line number of the last entry in 
  the stack trace above):
   
      
  public void Run()
      
  {
     
   Monitor.Enter(addin..buildingMonitor);
    
  
    
  try
    
  {
  <…>
      
  addin.building = false;
    
  } 
    
  catch( Exception ex )
    
  {
      
  buildOutputWindow.OutputString(
    
  "\n\n-- Exception 
  --\n");
      
  buildOutputWindow.OutputString(
    
  "\n" + ex.Message);
      
  buildOutputWindow.OutputString(
    
  "\n" + ex.StackTrace);
   
    
  }
    
  finally
    
  {
      
  Monitor.Exit(addin.buildingMonitor);
    
  }
      
  }
    
  }
      
      
  
   
  


  

  
  

  


  

  
  

   

  Go 
  Hokies!!

  
 

  

  
  

  Craig 
  Eddy 
  

  8685 
  Nagle St.Manassas, VA 20110 
  
  

  [EMAIL PROTECTED]http://www.craigeddy.net 
  

  


  
tel: 
fax: mobile: 

  
703-369-4512866-313-2958703-994-0260 

  

  

   


  

  
  

  Powered 
  by Plaxo

  Want 
  a signature like 
  this?


  
Add 
me to your address 
book...
   



Re: [NAntC-Dev] build problems - NAntContrib

2004-03-03 Thread Gert Driesen
We discussed this offline and this is now fixed in cvs.

Gert

- Original Message - 
From: "Clayton Harbour" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 4:18 PM
Subject: [NAntC-Dev] build problems - NAntContrib


Hi,
 
I checked out the latest NAntContrib and had problems building the unit
tests.  I believe that they are related to a  task not finding
the correct .dll files for NUnit, etc and have attached a patch.  If
someone could look this over and tell me if it should be committed or if
there is something I am doing incorrect that would be great.
 
 
Thanks,
 
 
Clayton




---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Installer class: bugs and fixes

2004-02-11 Thread Gert Driesen

- Original Message - 
From: "James Geurts" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 11, 2004 7:33 PM
Subject: [NAntC-Dev] Installer class: bugs and fixes


> I have checked in some changes to the installer tasks.  This may
potentially
> break your code, but it is much better this way.
>
> I have fixed the fileset bug for component files.  It now obeys the NAnt
> Fileset rules, rather than expecting a directory structure similar to that
> defined in the msi/directories element.  This is the one that might break
> your code.
>
> I have removed the xml doc attributes for now.  This is to temporarily
have
> the task in working order, at the expense of the documentation.
>
> Setting the language for a file that is not an assembly should work now.
> Let me know if you experience problems with the method though.
>
>
> If anyone is curious, this is what is on my to do list for these tasks:
> --
> Force property specification for msi (ProductName, Manufacturer,
> ProductCode, UpgradeCode)
> Remove property requirement for msm (ProductName, Manufacturer,
ProductCode,
> UpgradeCode)
>
> Do not populate FeatureComponents table for merge modules
>
> Move attributes (license, banner, background) from MSIBase to the msi
> element
>
> Remove the temp directory if files are read-only.
>
> Fix the registry bug for specifying a value for the default registry key.
>
> Add support to find files/directories via the 

Great work, looking forward to your other commits ...

Gert



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] Error loading msm/msi tasks...

2004-02-10 Thread Gert Driesen
James,

This should be fixed in cvs now, can you make sure everything's working ok
now ?

I had to remove the XmlNode override from SchemaValidatedTask ...

Gert
- Original Message - 
From: "James Geurts" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 10, 2004 4:14 PM
Subject: [NAntC-Dev] Error loading msm/msi tasks...


> Hey guys,
>
>
>
> I've been having some problems recently.  The msm and msi tasks are not
> being loaded correctly.  I'm not sure if it is due to the recent task
> refactor or if it has to do with NAnt 0.85.  In any case, I could use some
> guidance with this issue.  I've included a very verbose output from a
simple
> build file that I have and the actual project files that I'm using.  I am
> using the latest from CVS for both NAnt and NAnt contrib.
>
>
>
> Thanks for any help
>
>
>
> Jim
>
>



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


Re: [NAntC-Dev] MSI refactoring

2004-01-27 Thread Gert Driesen
I was able to pinpoint the problem (it was just a filename quoting issue in
your build file), so I'll be committing your changes soon ...

Thanks for the great patch 

Gert

- Original Message - 
From: "Gert Driesen" <[EMAIL PROTECTED]>
To: "Kræn Munck" <[EMAIL PROTECTED]>; "'James Geurts'"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, January 27, 2004 8:48 PM
Subject: Re: [NAntC-Dev] MSI refactoring


Kræn,

I attached the output of your test script.  I assume this is not the
expected result, right ?

I wanna be sure I won't break anything by committing your refactored tasks
...

I'm willing to commit your changes right now if you can take some time to
ensure everything works fine ...

Gert

- Original Message - 
From: "Kræn Munck" <[EMAIL PROTECTED]>
To: "'James Geurts'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, January 26, 2004 10:51 PM
Subject: RE: [NAntC-Dev] MSI refactoring



  Hi Jim,

Glad that you like it.

I'm not registered as a NAntContrib developer myself so I'll need
someone else to check them in. I agree on the deletion of the exising
files and creation of a directory containing the new.

/Kræn

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of James Geurts
> Sent: 26. januar 2004 22:16
> To: 'Kræn Munck'; [EMAIL PROTECTED]
> Subject: RE: [NAntC-Dev] MSI refactoring
>
>
> Thanks Kraen!  This looks much more manageable and hopefully
> it'll be easier
> for people to contribute to the task, in the future.  I'll add the
> documentation changes to the files once they exist in cvs.
>
> As for integrating it into cvs, I would think that the
> existing files should
> be removed and the files that you submitted should be placed in an Msi
> directory.
>
> Jim



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


  1   2   >