cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28939] New: - Comment </dest-dir> from cli.xconf produces misleading error
Date Thu, 13 May 2004 00:42:49 GMT
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: dev@cocoon.apache.org
        ReportedBy: cheche@che-che.com


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.

Mime
View raw message