On Mon, Apr 08, 2002 at 09:15:58PM +0100, Paul Hammant wrote:
> Jeff,
> 
> Here is a patch that makes the output as follows :
... 
> | Suggested Remedy:                                              |
> |   In all/ copy ant.properties.sample to ant.properties & edit it


Good stuff. I added the ${message} param with the vague intention of meeting
this need, but this is better. Only thing is that the <junit> task must have
junit.jar in ${ant.home}/lib, and it won't help to define it in ant.properties.
I've changed it so it prints this:

    .----------------------------------------------------------------.
    | CLASS NOT FOUND                                                |
    |                                                                |
    | Can't find class: junit.framework.Test
    |----------------------------------------------------------------|
    | Error when building module:                                    |
    | /home/jeff/apache/jakarta/jakarta-avalon-excalibur/all 
    |                                                                |
    | A jar containing class:                                        |
    |   junit.framework.Test
    | must be in your classpath or Ant lib directory                 |
    |   /home/jeff/jakarta-ant-1.4.1/lib
    | Typically it is in a jar called:                               |
    |   junit.jar                                                      
    | Suggested Remedy:                                              |
    |   Download JUnit from http://www.junit.org and copy junit.jar 
    |   to /home/jeff/jakarta-ant-1.4.1/lib                                            
                      
    '----------------------------------------------------------------'

Seem okay?

--Jeff


> Thoughts ?
> 
> - Paul

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

Reply via email to