Thread: [Doxygen-users] error: could not open file... for writing
Brought to you by:
dimitri
From: Thomas M. <gra...@gm...> - 2005-11-19 19:31:34
|
Hi, For some reason, doxygen cannot write files into the directory it is supposed to output html-doc (I haven't tried other doc styles, only html - I am learning doxygen....). According to the log, parsing etc. works fine, but output not ("Could not open file ... for writing"). I have tried sample projects (located in another dir) that work perfectly fine. Maybe some dir properties doxygen does not like or does it have some limitations I am unaware of (max. of 256 chars per file name including dir?) Any ideas what the problem could be? thankx, Thomas -- Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat, DSL-Flatrate für nur 4,99 Euro/Monat* http://www.gmx.net/de/go/dsl |
From: Bruce E. S. <Bru...@st...> - 2005-11-20 03:57:41
|
I am trying to group a number of classes together as Exceptions. I looked at the example in the DoxyGen help and unless I am missing something, the example is just not a real world example. The example shows all of the classes within a group in the same file. This would be poor programming practice and isn't even allowed in Java. Can anyone please tell me how to group selected classes under a category called exceptions? |
From: Bruce E. S. <Bru...@st...> - 2005-11-20 04:15:29
|
My classes are within a name space: namespace MyNamespace { class MyClass { } } This shows up in help as MyNamspace::MyClass Is there anyway to not display the namespace part? such as: MyClass |
From: James H. <jh...@ga...> - 2005-11-21 12:00:28
|
If you set HIDE_SCOPE_NAMES = YES in the config file, you will probably get the behaviour you require. Regards, James. Bruce E. Stemplewski wrote: > My classes are within a name space: > > namespace MyNamespace > { > > class MyClass > { > > > } > > } > > > This shows up in help as MyNamspace::MyClass > > Is there anyway to not display the namespace part? > > such as: > > MyClass > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > _______________________________________________ > Doxygen-users mailing list > Dox...@li... > https://lists.sourceforge.net/lists/listinfo/doxygen-users > |
From: Bruce E. S. <Bru...@st...> - 2005-11-22 03:05:10
|
James Hobro wrote: > If you set HIDE_SCOPE_NAMES = YES in the config file, you will > probably get the behaviour you require. > > Regards, > > James. > Yes that did it. Now is there anyway to show at the top of the class documentation that the class belongs to a particular namespace? I suppose I could just but that in the class description but it would be nice if there was some automatic way to do it. Bruce |
From: Stefan W. <sx...@fr...> - 2005-11-21 07:51:07
|
> I am trying to group a number of classes together as Exceptions. I > looked at the example in the DoxyGen help and unless I am missing > something, the example is just not a real world example. The example > shows all of the classes within a group in the same file. This would be > poor programming practice and isn't even allowed in Java. > > Can anyone please tell me how to group selected classes under a category > called exceptions? I'm not familiar with Java but with doxygen and it in't necessary to have all classes in one file. Define a group (using \defgroup) in any fiel you like and add your exception classes using \ingroup inside the class documentation. Regards Stefan Wahl |
From: James H. <jh...@ga...> - 2005-11-22 16:45:07
|
Dear Bruce, Doxygen writes a tag like my_namespace::my_class at the top of each class documentation page below the menu and above the class heading. The namespace name(s) are links to the corresponding namespace documentation. I'm not sure whether this is generated by default or switched on by a config file setting. This appeared in a relatively recent version of Doxygen (but unfortunately I can't remember which version). You could try using the latest release with the default config settings and see if these tags appear. Regards, James. Bruce E. Stemplewski wrote: > James Hobro wrote: > >> If you set HIDE_SCOPE_NAMES = YES in the config file, you will >> probably get the behaviour you require. >> >> Regards, >> >> James. >> > Yes that did it. Now is there anyway to show at the top of the class > documentation that the class belongs to a particular namespace? I > suppose I could just but that in the class description but it would be > nice if there was some automatic way to do it. > > Bruce > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > _______________________________________________ > Doxygen-users mailing list > Dox...@li... > https://lists.sourceforge.net/lists/listinfo/doxygen-users > |
From: Dimitri v. H. <do...@gm...> - 2005-11-21 13:47:06
|
On 11/19/05, Thomas Mang <gra...@gm...> wrote: > > Hi, > > For some reason, doxygen cannot write files into the directory it is > supposed to output html-doc (I haven't tried other doc styles, only html = - > I > am learning doxygen....). > > According to the log, parsing etc. works fine, but output not ("Could not > open file ... for writing"). > > I have tried sample projects (located in another dir) that work perfectly > fine. Maybe some dir properties doxygen does not like or does it have som= e > limitations I am unaware of (max. of 256 chars per file name including > dir?) > > Any ideas what the problem could be? It is probably a file-system limitation (Windows I presume). If you use the latest CVS version of doxygen it should be fixed. You can also set SHORT_NAMES to YES if you do not need persistent anchors or somewhat readable names. Regards, Dimitri |