Bugs item #520066, was opened at 2002-02-19 18:59
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=520066&group_id=31602

Category: webdoclet
Group: v1.1
Status: Open
>Resolution: Fixed
Priority: 5
Submitted By: Mathieu Pasture (matpastu)
>Assigned to: Vincent Harcq (vharcq)
Summary: empty merge file stop xml generation

Initial Comment:
I am using xdoclet 1.1.1 (thanks so much for this software!) on windows 2000 with the 
JDK1.3.1

Generation of xml files fails if some merge file are present but empty. The 
javadoc.exe hangs and Ant is 
just waiting forever... Note that if the file contain just space, it works fine.

I have try both web.xml and struts-config.xml using the following sub-task:

         <deploymentdescriptor servletspec="2.2" >
              <welcomefile file="index.jsp"/>
         </deploymentdescriptor>
and 
         <strutsconfigxml/>

with merge file, servlet-mappings.xml (for instance)


Igusee that the problem should be somewhere in MergeTagsHandler.java.

Maybe in the getMergeFileContents method close to

                        if( merge_file.exists() )
                        {
                                if( cat.isDebugEnabled() )
                                        cat.debug( "Search for File OK" );

                                if( getParser() != null )
                                        getParser().addMergeFile( merge_file );

                                return FileManager.getFileContent( 
merge_file.toString() );
                        }


Thanks,

Mathieu.





----------------------------------------------------------------------

>Comment By: Vincent Harcq (vharcq)
Date: 2002-03-14 21:29

Message:
Logged In: YES 
user_id=125677

Fixed :)

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=520066&group_id=31602

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to