Re: [NAnt-users] Conditional looping within a NAnt script (is there a while' task?)

2006-10-13 Thread Chris Lambrou
Peter,

Thanks for replying. One of the reasons I wanted a looping task was that
I wanted to repeat the execution of a continuous build process until a
fixed time (say 8 o'clock in the evening). In the end, I resorted to
using a custom script task as follows:





It would have been much nicer to have a dowhile (or while) task, like
this:






To be honest, once I had the script working, I had other more pressing
matters to attend to, so haven't really returned to the problem of
implementing a looping task. I hope to return to the script at some
point in the next few weeks, so if you're about to have a go at
implementing a looping task shortly, I'd be very pleased to know how it
turns out.

I think it would be far more useful to be able to specify an expression
for the loop condition, rather than a simple property. Especially for a
while task, where you don't want to have to execute the body of the task
in order to define the condition property (thus making the task a
dowhile task). Of course, we could resort to something along the
following lines, where the  section is executed immediately
before the evaluation of the test condition:



...
[tasks required to determine the loop condition]
...



...
[main loop body]
...



A  task would have the same syntax, but the  section
would be evaluated after the  section. This is beginning to
approach the clumsyness of my original  task workaround, but I
can see how it would be useful if evaluating the loop condition required
some complex operation that couldn't be carried out by a single
expression alone. I found that the tricky part was being able to assign
an expression to the task attribute and not have it evaluated
immediately (like a property) but have the evaluation deferred until the
task body executes, so that it can be repeatedly evaluated as part of
the loop condition.

Nant's built in expression syntax makes it far more like a real, useful
scripting language than Ant (expressions defined using XML logic and
condition elements is just painful to use and is very inflexible), but I
think it's a shame that looping constructs aren't available in either
NAnt or NAntContrib - ah well...

Chris


P.S.  More random thoughts entering my head - how about a  or a
 task directive that can be embedded in the loop body?




-Original Message-
From: Peter Lanoie [mailto:[EMAIL PROTECTED] 
Sent: 12 October 2006 22:17
To: Chris Lambrou
Subject: [NAnt-users] Conditional looping within a NAnt script (is there
a while' task?)

Chris,

Don't know if you ever solved this or not, but I was looking for the
same thing.

I think what you would want to do is change it so that instead of
deriving from the IF task and using its "ConditionsTrue" variable you
should derive from TaskContainer.  Then add a property name as the
property to test each time the while loops.  The ExecuteTask code can
check that property value internally so it always gets fresh data.


...[other tasks]...


private string _strProp;

[TaskAttribute("property", Required=true)] public string Property {
get { return _strProp; }
set {
_strProp = value;
if (Properties.IsReadOnlyProperty(_strProp)) {
throw new BuildException("Property is readonly!
:" + _strProp, Location);
}
}
}

[TaskName("while")]
public class WhileTask : TaskContainer {
protected override void ExecuteTask() {
//while test will continually test the live value of the
property
while (Properties[_strProp]) {
base.ExecuteTask();
}
}
}

I'll venture a guess that 'ConditionsTrue' might be something you'd want
to put an expression into instead of just a property value. In that case
you can still use what I suggested, you just have to put the expression
in the value attribute of a standard property tag inside the while tasks
inner tasks.


...[other tasks]...
 



Let me know what you ended up doing or if this works for you.  I'm going
to be implementing it tomorrow myself.

Peter


-
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
___
NAnt-users mailing

Re: [NAnt-users] Conditional looping within a NAnt script (is there a while' task?)

2006-10-13 Thread Gary Feldman
Chris Lambrou wrote:
> Thanks for replying. One of the reasons I wanted a looping task was that
> I wanted to repeat the execution of a continuous build process until a
> fixed time (say 8 o'clock in the evening). In the end, I resorted to
> using a custom script task as follows:
>   
If you mean continuous build in the usual sense, why not just use 
CruiseControl.Net?

Gary


-
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
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Conditional looping within a NAnt script (is there a while' task?)

2006-10-13 Thread Chris Lambrou
Gary,

If I was starting from scratch, I almost certainly would do - I've had
good experience with CruiseControl in the past. I had a look at
converting our current build script to work with CruiseControl.NET, but
we decided that our current build script already provides most of what
CruiseControl.NET would give us, so it's not worth the effort at this
point.

The only problem with our current build process is that we rely on a
Windows Scheduled task to kick off a continuous build every 2 hours. Our
full build process lasts just over an hour, so there's a lot of idle
time between builds (and if a build fails prematurely, there's even more
idle time). All I'm trying to do is to force the next build to be
carried out as soon as the previous one has completed, however long that
takes.

I'm basically trying to run the build process repeatedly until the
current time reaches 8 o'clock in the evening, hence my need for a while
task (i.e. do build while current_time < 20:00). I also need a while
task for a few things other than kicking off a continuous build, such as
repeatedly trying to acquire a lock file.

Chris


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gary
Feldman
Sent: 13 October 2006 15:04
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Conditional looping within a NAnt script (is
there a while' task?)

Chris Lambrou wrote:
> Thanks for replying. One of the reasons I wanted a looping task was 
> that I wanted to repeat the execution of a continuous build process 
> until a fixed time (say 8 o'clock in the evening). In the end, I 
> resorted to using a custom script task as follows:
>   
If you mean continuous build in the usual sense, why not just use
CruiseControl.Net?

Gary



-
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
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

-
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
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] deploying to remote server using NAnt

2006-10-13 Thread mandar ambre
Hi Guys,

Is anybody aware of how to deploy to a remote test
server using NAnt or any other automation tool.We are
currently using NAnt and CruiseControl to create daily
builds on a build server and then we copy these builds
over to the test server.But I wanted to know if there
was a way to automate this process as well.Any help is
much appreciated.Thanks in advance

Regards,
Mandar

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
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
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] deploying to remote server using NAnt

2006-10-13 Thread Rod Ayers
We started scripting using VBS and WMI.  Of course, WMI inerface is availbable 
to VB and C#, so you can put your script in NAnt.

WMI gives you access to everything concievable on local or remote systems, 
including running jobs on remote systems.

Rod

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of mandar
ambre
Sent: Friday, October 13, 2006 10:41 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] deploying to remote server using NAnt


Hi Guys,

Is anybody aware of how to deploy to a remote test
server using NAnt or any other automation tool.We are
currently using NAnt and CruiseControl to create daily
builds on a build server and then we copy these builds
over to the test server.But I wanted to know if there
was a way to automate this process as well.Any help is
much appreciated.Thanks in advance

Regards,
Mandar

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
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
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

-
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
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] deploying to remote server using NAnt

2006-10-13 Thread mandar ambre
Thanks a lot for your help guys! I will work on this
and let you guys know how it went.

Thanks
Mandar

--- Rod Ayers <[EMAIL PROTECTED]> wrote:

> We started scripting using VBS and WMI.  Of course,
> WMI inerface is availbable to VB and C#, so you can
> put your script in NAnt.
> 
> WMI gives you access to everything concievable on
> local or remote systems, including running jobs on
> remote systems.
> 
> Rod
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Behalf Of mandar
> ambre
> Sent: Friday, October 13, 2006 10:41 AM
> To: nant-users@lists.sourceforge.net
> Subject: [NAnt-users] deploying to remote server
> using NAnt
> 
> 
> Hi Guys,
> 
> Is anybody aware of how to deploy to a remote test
> server using NAnt or any other automation tool.We
> are
> currently using NAnt and CruiseControl to create
> daily
> builds on a build server and then we copy these
> builds
> over to the test server.But I wanted to know if
> there
> was a way to automate this process as well.Any help
> is
> much appreciated.Thanks in advance
> 
> Regards,
> Mandar
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
-
> 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
> ___
> NAnt-users mailing list
> NAnt-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/nant-users
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
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
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] deploying to remote server using NAnt

2006-10-13 Thread John Cole
We have our test machines running CC.net with a nant build script that
copies and installs all of the applications.  Works really well, and you can
use the cctray to see that everything ran.

John

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of mandar ambre
Sent: Friday, October 13, 2006 1:33 PM
To: Rod Ayers; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] deploying to remote server using NAnt

Thanks a lot for your help guys! I will work on this
and let you guys know how it went.

Thanks
Mandar

--- Rod Ayers <[EMAIL PROTECTED]> wrote:

> We started scripting using VBS and WMI.  Of course,
> WMI inerface is availbable to VB and C#, so you can
> put your script in NAnt.
> 
> WMI gives you access to everything concievable on
> local or remote systems, including running jobs on
> remote systems.
> 
> Rod
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Behalf Of mandar
> ambre
> Sent: Friday, October 13, 2006 10:41 AM
> To: nant-users@lists.sourceforge.net
> Subject: [NAnt-users] deploying to remote server
> using NAnt
> 
> 
> Hi Guys,
> 
> Is anybody aware of how to deploy to a remote test
> server using NAnt or any other automation tool.We
> are
> currently using NAnt and CruiseControl to create
> daily
> builds on a build server and then we copy these
> builds
> over to the test server.But I wanted to know if
> there
> was a way to automate this process as well.Any help
> is
> much appreciated.Thanks in advance
> 
> Regards,
> Mandar
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
-
> 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
> ___
> NAnt-users mailing list
> NAnt-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/nant-users
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
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
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
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.

-
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
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] Build Failure Issue

2006-10-13 Thread Adam Gritt
I often times get the following error which is causing my builds when using NAnt to fail:Cannot delete directory 'C:\Documents and Settings\x\Local Settings\Temp\tmp17A.tmp'.    The process cannot access the file 'C:\Documents and Settings\x\Local Settings\Temp\tmp17A.tmp' because it is being used by another process.
Now I know what is causing the issue sometimes.  It often times is either the AntiVirus protection software or ProcessExplorer by sysinternals, but sometimes it happens even when I disable the above.  My question is, is anything being done to either do multiple retrys on the delete or is it just doing the one and then failing if it can't delete it?


Adam Gritt
-
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___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Build Failure Issue

2006-10-13 Thread Gert Driesen








Adam,

 

This is not something that we plan, but we could introduce it if
there’s strong enough demand for it.

 

Gert

 







From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam
Gritt
Sent: vrijdag 13 oktober 2006 21:58
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Build Failure Issue





 

I often times get the following error which is causing my
builds when using NAnt to fail:

Cannot delete directory 'C:\Documents and Settings\x\Local
Settings\Temp\tmp17A.tmp'.
    The process cannot access the file 'C:\Documents and
Settings\x\Local Settings\Temp\tmp17A.tmp' because it is being used by
another process. 

Now I know what is causing the issue sometimes.  It often times is either
the AntiVirus protection software or ProcessExplorer by sysinternals, but
sometimes it happens even when I disable the above.  My question is, is
anything being done to either do multiple retrys on the delete or is it just
doing the one and then failing if it can't delete it? 


Adam Gritt








-
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___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Build Failure Issue

2006-10-13 Thread Adam Gritt
I was just curious about it because sometimes I have to rebuild a few times before it builds all the way through so I thought I would just ask about it.  Or is it possible to change that type of error to return as a warning instead of a error that could cause the build to fail as it doesn't really mean that it failed to build but that it failed to clean up.
AdamOn 10/13/06, Gert Driesen <[EMAIL PROTECTED]> wrote:













Adam,

 

This is not something that we plan, but we could introduce it if
there's strong enough demand for it.

 

Gert

 








From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Adam
Gritt
Sent: vrijdag 13 oktober 2006 21:58
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Build Failure Issue





 

I often times get the following error which is causing my
builds when using NAnt to fail:

Cannot delete directory 'C:\Documents and Settings\x\Local
Settings\Temp\tmp17A.tmp'.
    The process cannot access the file 'C:\Documents and
Settings\x\Local Settings\Temp\tmp17A.tmp' because it is being used by
another process. 

Now I know what is causing the issue sometimes.  It often times is either
the AntiVirus protection software or ProcessExplorer by sysinternals, but
sometimes it happens even when I disable the above.  My question is, is
anything being done to either do multiple retrys on the delete or is it just
doing the one and then failing if it can't delete it? 


Adam Gritt









-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___NAnt-users mailing list
NAnt-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nant-users

-
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___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] deploying to remote server using NAnt

2006-10-13 Thread Gary Feldman
mandar ambre wrote:
> Hi Guys,
>
> Is anybody aware of how to deploy to a remote test
> server using NAnt or any other automation tool.We are
> currently using NAnt and CruiseControl to create daily
> builds on a build server and then we copy these builds
> over to the test server.But I wanted to know if there
> was a way to automate this process as well.Any help is
> much appreciated.Thanks in advance
>   
If all you need is the copy, you can use a CC.Net build publisher.  (Or 
did you mean the original CruiseControl and not CC.Net?)

Gary



-
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
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] deploying to remote server using NAnt

2006-10-13 Thread mandar ambre
Hi Gary,

I meant CC.Net. How does CC.Net build publisher
work.Can I use it to copy the build files to different
test servers at the same time?

Thanks
Mandar

--- Gary Feldman <[EMAIL PROTECTED]>
wrote:

> mandar ambre wrote:
> > Hi Guys,
> >
> > Is anybody aware of how to deploy to a remote test
> > server using NAnt or any other automation tool.We
> are
> > currently using NAnt and CruiseControl to create
> daily
> > builds on a build server and then we copy these
> builds
> > over to the test server.But I wanted to know if
> there
> > was a way to automate this process as well.Any
> help is
> > much appreciated.Thanks in advance
> >   
> If all you need is the copy, you can use a CC.Net
> build publisher.  (Or 
> did you mean the original CruiseControl and not
> CC.Net?)
> 
> Gary
> 
> 
> 
>
-
> 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
> ___
> NAnt-users mailing list
> NAnt-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/nant-users
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
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
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] deploying to remote server using NAnt

2006-10-13 Thread Gary Feldman
mandar ambre wrote:
> Hi Gary,
>
> I meant CC.Net. How does CC.Net build publisher
> work.Can I use it to copy the build files to different
> test servers at the same time?
>   
Check the docs for it.  There's an example there using a UNC file.

Gary

PS Please don't send replies to both the list and the individual.  It 
means we get two copies.
> Thanks
> Mandar
>
> --- Gary Feldman <[EMAIL PROTECTED]>
> wrote:
>
>   
>> mandar ambre wrote:
>> 
>>> Hi Guys,
>>>
>>> Is anybody aware of how to deploy to a remote test
>>> server using NAnt or any other automation tool.We
>>>   
>> are
>> 
>>> currently using NAnt and CruiseControl to create
>>>   
>> daily
>> 
>>> builds on a build server and then we copy these
>>>   
>> builds
>> 
>>> over to the test server.But I wanted to know if
>>>   
>> there
>> 
>>> was a way to automate this process as well.Any
>>>   
>> help is
>> 
>>> much appreciated.Thanks in advance
>>>   
>>>   
>> If all you need is the copy, you can use a CC.Net
>> build publisher.  (Or 
>> did you mean the original CruiseControl and not
>> CC.Net?)
>>
>> Gary
>>
>>
>>
>>
>> 
> -
>   
>> 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
>   
>> ___
>> NAnt-users mailing list
>> NAnt-users@lists.sourceforge.net
>>
>> 
> https://lists.sourceforge.net/lists/listinfo/nant-users
>   
>
>
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
>
> -
> 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
> ___
> NAnt-users mailing list
> NAnt-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
>   



-
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
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] NAnt-users Digest, Vol 5, Issue 10

2006-10-13 Thread Richard Gavel
To be honest, that all depends what "deploy" means. Nant can already copy
files, shut down/restart services, modify xml files, etc. None of those
tasks are limited to being done on the local machine, unless the service
account you're running CruiseControl under doesn't have enough rights to the
remote test server.

In our case, the Nant script generates a packaged install executable. I've
created custom tasks which would copy the exe to the remote machine and then
tell the remote machine to run the exe to perform the install. The package
had to support silent install, of course.

---

Message: 5
Date: Fri, 13 Oct 2006 10:40:46 -0700 (PDT)
From: mandar ambre <[EMAIL PROTECTED]>
Subject: [NAnt-users] deploying to remote server using NAnt
To: nant-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=iso-8859-1

Hi Guys,

Is anybody aware of how to deploy to a remote test server using NAnt or any
other automation tool.We are currently using NAnt and CruiseControl to
create daily builds on a build server and then we copy these builds over to
the test server.But I wanted to know if there was a way to automate this
process as well.Any help is much appreciated.Thanks in advance

Regards,
Mandar


-
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
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users