commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r6168 - trunk/gnue-common/scripts


From: johannes
Subject: r6168 - trunk/gnue-common/scripts
Date: Sat, 7 Aug 2004 06:56:57 -0500 (CDT)

Author: johannes
Date: 2004-08-07 06:56:57 -0500 (Sat, 07 Aug 2004)
New Revision: 6168

Modified:
   trunk/gnue-common/scripts/gnuedtd
Log:
Added GNUe Label Definition output


Modified: trunk/gnue-common/scripts/gnuedtd
===================================================================
--- trunk/gnue-common/scripts/gnuedtd   2004-08-06 20:06:11 UTC (rev 6167)
+++ trunk/gnue-common/scripts/gnuedtd   2004-08-07 11:56:57 UTC (rev 6168)
@@ -85,9 +85,20 @@
       name = 'GNUe Class Definitions'
       version = VERSION
 
+    elif tool == 'gld':
+      from gnue.appserver.gld import GLParser
+      from gnue.appserver import VERSION
+      xmlElements = GLParser.getXMLelements ()
+      topLevelElement = 'labels'
+      name = 'GNUe Label Definitions'
+      version = VERSION
+
     else:
-      print "\nSyntax: gnuedtd <forms|reports|schema|navigator|gnurpc|gcd>" +\
-            "[outfile.dtd]\n"
+      #print "\nSyntax: gnuedtd 
<forms|reports|schema|navigator|gnurpc|gcd|gld>" +\
+            #"[outfile.dtd]\n"
+      print """
+Syntax: gnuedtd <forms|reports|schema|navigator|gnurpc|gcd|gld> "[outfile.dtd]"
+"""
       sys.exit()
 
     self.parentMappings = {}





reply via email to

[Prev in Thread] Current Thread [Next in Thread]