To solve this, I have extended the solex ant tag to accept a fileset. This way, I can build a XML repport with all sessions merged.
Nico.
Gilles Dodinet a �crit :
nicolas,
i think something like that should work :
<ant:fileScanner var="solexSessions"> <ant:fileset dir="${solex.sessions.dir}" includes="*.*"/> </ant:fileScanner>
<j:forEach var="solexSession" items="${solexSessions.iterator()}"> <!-- run solex session --> </j:forEach>
hope this helps
-- gd
nicolas De Loof wrote:
Hello,
I'm trying to write a maven plugin for the solex webapp test tool. (http://solex.sourceforge.net/)
Solex 0.5 defines a ant task to run a solex session. I'm able to use it and run a session from a simple maven plugin. I'd like to run it for all session files found in src/test-solex (something like is done for cactus and junit tests).
I don't know how to use ant or jelly tags to build a "foreach" from a fileset or anything else.
Can someone help me about that ?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
