Hi Sanjoy

>>How to remove and add references

You can use the filterchain option or use the xmlpoke.
I have never worked with the xmlpoke and for that I can't give you an example.

The filterchain you can use with the <move> task. In the example below, I remove the tag <application /> to <descrition asvm:2:iconFile="App.ico"........

<move file="${build.main.dir}${deploy.dir}\${build.number}\test.manifest" tofile="${build.main.dir}${deploy.dir}\${build.number}\test.manifest">

<filterchain><

replacestring from="&lt;application /&gt;" to="&lt;description asmv2:iconFile=&quot;App.ico&quot; xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; /&gt; &#10; &lt;application /&gt;" />

</filterchain>

</move>


you can also work w! ithout the proj file, but there is a little bit more handwork needed.

Best Regard Dan
--------- Original-Nachricht --------
Von: "SanjoyGuhaRoy" <[EMAIL PROTECTED]>
An: "nant-users@lists.sourceforge.net" <nant-users@lists.sourceforge.net>
Betreff: [NAnt-users] [Nant-User]Help:Problem[.Net Solution File Compilation]
Datum: 04/07/06 14:12

Dear All,
I request you to let me know how to solve the following problem in my automated build process using NANT. 
1. I  have a few solu! tion files. Some of them are having multiple proj file or only one proj file.
To compile them I require to edit the references by droping and re-adding them after building them in a hierarchy.
So how to remove  and  add references using NANT build script.
2. Many times I see that a particular project build is successfull with some warning using MS .Net Development Environment. However it shows fatal errors while doing so using Nant script. For eg. a sSQL ="Udate " & CTable & ", the quote is not closed, it will show only warning in build using MS-Build command from Development Environment.
3. Does Only debug mode compilation can be done using NANT script or rele! ase mode can also be done? As I find errors like "Skipping the Solution files" in release mode only but not in Debug mode.
Thanks
Sanjoy




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


________________________________________________________________
Diese Mitteilung wurde von http://www.breitband.ch uebermittelt.
Einer der schnellsten Kabel-Internet Zugaenge!
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