Rodrigo B. de Oliveira wrote:

Em Qui, 2004-08-05 Ãs 11:24, Gary Feldman escreveu:



I was assigned the job of incrementing the build script and decided to organize some of the things I'd need as tasks. I like nant and boo best than ant and java so here am I.

BTW, here's what I did based on the suggestions I got (thanks!):

<target name="test" depends="all">
<fileset id="classpath" basedir="${jsunit.dir}/results">
<include name="lib/*.jar" />
<include name="bin/jsunit.jar" />
</fileset>

<boo>
import NAnt.Core.Types
import System.IO

fs as FileSet = Project.DataTypeReferences["classpath"]
Project.Properties["classpath"] = join(fs.FileNames,
Path.PathSeparator)
</boo>

<exec program="java">
<arg value="-cp ${classpath}" />
<arg value="junit.textui.TestRunner" />
<arg value="net.jsunit.StandaloneTest" />
</exec>
</target>


I like it. Boo rocks !.

Ian



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to