[nant-dev] failonerror=false is not working for me?why

2002-10-23 Thread Senguttuvan Haridass



hi,

go thro my code below

?xml version="1.0"?

project name="MPS" default="build" 
basedir="."

property name="basename" 
value="HelloWorld"/

target 
name="clean"delete file="bin\${basename}-cs.dll" 
failonerror="true"//target

target 
name="build"echo message="Compilation of classes in 
Moldule1 starts here"/csc target="library" 
failonerror='false' output="bin\module1.dll" 
sourcesincludes 
name="code\**.cs"//sources/cscecho 
message="The classes of Moldule2 starts 
here"/csc target="library" 
output="bin\module2.dll"sourcesincludes 
name="code1\**.cs"//sources/csc

/target
/project

 there is a error in the source code in 
"code\**.cs" -it should report the error and should continue the sources 
available in 
"code1\**.cs" right.But build stops once it 
encounter the error in the first module itselft.If it is case what is the use of 
giving failonerror='false'.

can you mail me regardsing this as soon as 
possible

thank you


sengu


RE: [nant-dev] failonerror=false is not working for me?why

2002-10-23 Thread Scott Hernandez









Without seeing the output from your build
this is hard to comment on.



To test this feature, I wrote the follow:

 target name=default

  tstamp /

  

  csc target=library failonerror='false' output=module1.dll 

   sources

includes name=IDon'tExist\**.cs/

   /sources

  /csc

  tstamp /

 /target



Here is the output.



Buildfile: file:///c:/temp/failerror.xml

default:

 [tstamp] Wednesday, October 23, 2002 3:47:39 PM

 [csc] Compiling 0 files to
c:\temp\module1.dll

fatal error CS2008: No inputs specified



 [tstamp] Wednesday, October 23, 2002 3:47:53 PM



BUILD SUCCEEDED



Total time: 14 seconds








RE: [nant-dev] NAnt Build Server

2002-10-23 Thread Mark Griffiths
The .NET code required to create a windows service is minimal, and therefore
it would be fairly trivial to decouple it from the Autonomy core.
Additionally there are a couple of places in the VSS and DevEnv integration
that use the registry.  We have no need for these modifications but if
anybody submits the changes we will integrate them.

I'm not sure exactly how a web-app version would work.  Obviously it would
be possible to manually start builds via a web interface, but how would it
poll the repository and automatically kick off builds when a change is
detected?

If you want to discuss this further, then we should probably take it to
autonomy's dev list.  Subscription info can be found on
http://www.chive.com/products/autonomy.

MG

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:nant-developers-admin;lists.sourceforge.net]On Behalf Of Griffin
 Caprio
 Sent: 23 October 2002 04:44
 To: 'Graeme Humphrey'; [EMAIL PROTECTED]
 Subject: RE: [nant-dev] NAnt Build Server


 The discussion of which open-source license is the best is a religious
 battle I don't think should be touched on here ;)

 However, the last time I checked Autonomy, it was still running
 as a windows
 service.  Not only would I prefer a web-app version, but running as a
 service severely limits the portability of autonomy.

 Any plans to make two versions? or be able to pick which way its run?

 -Griffin





---
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en
___
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers