Patches item #1514830, was opened at 2006-06-30 04:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474853&aid=1514830&group_id=54790

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: David Keaveny (ctrlaltdel)
Assigned to: Nobody/Anonymous (nobody)
Summary: Guid task

Initial Comment:
This task generates a new GUID, typically for use with
the <msi> task or the <a
href="http://wix.sourceforge.net";>WiX Toolkit</a>. 

The syntax is very simple :

<guid prefix="mynew" />

The resulting GUID will be stored in a property mynew.guid.

You can achieve the same with the following NAnt task:

<script language="C#">
    <code><![CDATA[
        public static void ScriptMain(Project project) {
            project.Properties["mynew.guid"] =
Guid.NewGuid().ToString().ToUpper();
        }
    ]]></code>
</script>

This just saves a lot of repetitive code.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474853&aid=1514830&group_id=54790

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

Reply via email to