[ http://jira.codehaus.org/browse/MFIT-4?page=comments#action_81327 ] Frank-Michael Jaeschke commented on MFIT-4: -------------------------------------------
>Note that it will not give any sensible output though. The toString() on a >String[] give something like this: @6963d0 (instance info). You are right. >It will probably need its own small String array formatter if you need to >debug the data. According the JavaDoc for Arrays.toString(Object[]) : The value returned by this method is equal to the value that would be returned by Arrays.asList(a).toString(), unless a is null, in which case "null" is returned. So it may help to replace the Arrays.toString(String[]) calls by Arrays.asList(String[]).toString(). The dependency to JUnit 4.0 needs also to be changed in pom to get Java 1.4 compatibility. > Port plugin to run under java 1.4 > --------------------------------- > > Key: MFIT-4 > URL: http://jira.codehaus.org/browse/MFIT-4 > Project: Maven 2.x FIT Plugin > Issue Type: Improvement > Affects Versions: 2.0-beta-2 > Environment: Java 1.4 > Reporter: Espen Tjonneland > Priority: Blocker > Attachments: MFIT-4.patch > > > It seems you have coded the plugin exclusively to work on java 5. You have > referenced the method: Arrays.toString( parseTags ) in public void execute() > of the class FitRunnerMOJO.java. This method is not available under java 1.4 > which I would assume a lot of interested users would be running(including me). > You can reproduce this problem by setting JAVA_HOME=<install directory of > your java 1.4> and try to run the mvn fit:run goal. -- 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 from this list please visit: http://xircles.codehaus.org/manage_email
