[Tinyos-devel] quieter nesdoc?

Vlado Handziski handzisk at tkn.tu-berlin.de
Thu Aug 23 12:20:57 PDT 2007


And for docs/appdoc this one also:

--- archive-orig.py     2007-08-23 21:16:51.000000000 +0200
+++ archive.py  2007-08-23 21:17:16.000000000 +0200
@@ -215,7 +215,7 @@
   filename = "interfaces/%s.xml" % nicename
   if preserve and os.path.exists(filename):
     continue
-  print "interface %s (%s)" % (name, nicename)
+  #print "interface %s (%s)" % (name, nicename)
   doc = creator.createDocument(None, None, None)
   copy = x.cloneNode(True)
   doc.appendChild(copy)
@@ -234,7 +234,7 @@
     if preserve and os.path.exists(filename):
       continue

-    print "component %s (%s)" % (name, nicename)
+    #print "component %s (%s)" % (name, nicename)
     doc = creator.createDocument(None, None, None)
     # copy component and create its specification
     copy = x.cloneNode(True)


On 8/23/07, Vlado Handziski <handzisk at tkn.tu-berlin.de> wrote:
>
> In the mean time, you can apply this patch in
> /usr/local/lib/tinyos/nesdoc/genhtml.py:
>
> --- genhtml-orig.py     2007-08-23 20:37:34.000000000 +0200
> +++ genhtml.py  2007-08-23 20:38:09.000000000 +0200
> @@ -75,14 +75,14 @@
>
>  for intf in intffiles:
>    if search("\\.xml$", intf):
> -    stderr.write("interface " + intf + "\n")
> +    #stderr.write("interface " + intf + "\n")
>      ixml = parse("interfaces/" + intf)
>      generate_interface(ixml.documentElement)
>      ixml.unlink()
>
>  for comp in compfiles:
>    if search("\\.xml$", comp):
> -    stderr.write("component " + comp + "\n")
> +    #stderr.write("component " + comp + "\n")
>      ixml = parse("components/" + comp)
>      generate_component_graph(ixml.documentElement)
>      generate_component(ixml.documentElement)
>
>
>
> On 8/23/07, David Gay <dgay42 at gmail.com> wrote:
> >
> > On 8/23/07, Jan Beutel < j.beutel at ieee.org> wrote:
> > > is there a way to make nesdoc be quieter?
> > >
> > > i get huge logfiles when i automatically run nesdoc from within a
> > build
> > > process like shown below. and actually i don't really care about all
> > the
> > > status messages, only errors if things go wrong....
> >
> > I'll add a -q "quiet" option. You'll get to play Makefile hacking to
> > use it on demand ;-)
> >
> > David
> > _______________________________________________
> > Tinyos-devel mailing list
> > Tinyos-devel at Millennium.Berkeley.EDU
> > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-devel
> >
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20070823/d115fde2/attachment.html


More information about the Tinyos-devel mailing list