I'm slightly stumped with the reactor and project ordering. I'd really like it to iterate over my list of projects in a very specific order, but it seems to not enforce any sort of ordering.

Is there any way I can enforce an ordering?

for example

<maven:reactor
basedir="${basedir}"
includes="taglibraries/repast/project.xml,taglibraries/random/project.xml,taglibraries/io/project.xml,taglibraries/bcel/project.xml"
postProcessing="true"
ignoreFailures="true"
/>


   <fileScanner var="templates">
     <fileset dir="${basedir}/templates">
       <include name="*.xml"/>
     </fileset>
   </fileScanner>

<j:forEach var="template" items="${templates.iterator()}">
<j:set var="templateName" value="${template.name}"/>
<echo>Processing ${templateName} template ...</echo>
<velocity:merge
name="${basedir}/xdocs/${templateName}"
basedir="${basedir}/templates"
template="${templateName}"/>


   </j:forEach>
 </goal>


I'm hoping that I can at least get the "templates" to spit out the list of projects in the same everytime, but each time I run this the ordering seems to change.


-thanks,
Mark Diggory





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to