Has anyonepassed project parameters before if so what is the syntax.  The
link to this broken on the Script Task Reference page.

 

I thought that in the ScriptMain(project as Project) that I could use any of
the available properties in the build file. For instance

 

<project name="get">

<property name="test" value="TestTEST"/>

<property name="srcURL" value="C:\test\src" />

 

Then in 

Public Shared Sub ScriptMain(project As Project)

     

Can I do the following:

 

Write(project.test)

Or

Write (project.${test}

Or

Write (project.srcURL)

Or

Write (${srcURL})

 

End Sub

 

When I clicked on the parameter project link in the Script Task Reference I
get an error therefore I could not look further.

 

So basically, I want to reference global properties from the ScriptMain ,
can I do that since I am passing in project?

 

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to