[ http://jira.codehaus.org/browse/MAVEN-1627?page=comments#action_41546 ]
Dan Tran commented on MAVEN-1627:
---------------------------------
however, if org.maven.project.Project.java implements java.util.Comparator.
Here is required compare implementation
public int compare ( Object lhs, Object rhs )
{
Project l = (Project) lhs;
Project r = (Project) rhs;
return l.getId().compareTo( r.getId() ) ;
}
Then the reactor's projectlist can be sorted via java.util.Collections.sort()
> The sort attribute of the reactor tag doesn't work.
> ---------------------------------------------------
>
> Key: MAVEN-1627
> URL: http://jira.codehaus.org/browse/MAVEN-1627
> Project: maven
> Type: Bug
> Versions: 1.0.1, 1.0.2
> Environment: HP-UX, JDK 1.4.2
> Reporter: Jon Strayer
>
>
> Does the sort attribute on the Reactory Jelly tag work? I added
> (sort="true") to the plugin.jelly for the dashboard report, but it
> didn't seem to do anything.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]