olivier.france wrote:
> Ok, but how to define this attribut in which section?
>
> Shall I do it in  the .build file, or in a config file in ant installation
> directory?
>
>   
Ah, you must be relatively new to .Net programming.  In .Net, programs 
almost always have a configuration file associated with them, in the 
same directory.  In this case, you should look for a file named 
NAnt.exe.config, in the same directory as NAnt.exe.  Near the top of 
this file you should see an entry that looks like

     <section name="nant" type="..." />

Add the following before the closing />  

    requirePermission="false"

so that it will look something like

    <section name="nant" type="..."  requirePermission="false" />

You probably have to do the same thing for the log4net section 
immediately thereafter.  A quick web search for ".net configuration file 
requirePermission" turned up quite a few hits with this problem relating 
to log4net.

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

Reply via email to