DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28939>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28939

Comment </dest-dir> from cli.xconf produces misleading error

           Summary: Comment </dest-dir> from cli.xconf produces misleading
                    error
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


On the forrest distribution when The dest-dir parameter is passed using
--destDir=${project.site-dir} on the java arguments, and comment it our from the
cli.xconf file.

So this is the output that we get:

ERROR: You must specify a destination directory when defining a target
------------------------------------------------------------------------
cocoon 2.1.5-dev
Copyright (c) 1999-2004 Apache Software Foundation. All rights reserved.
------------------------------------------------------------------------

The parameter on the java args take precedent over the element on the cli.xconf,
so it is not a big deal to uncomment it back.

But what is misleading is that cocoon reports a error for a behaviour that have
got a correct output.

Reply via email to