Revision: 3632
          http://vexi.svn.sourceforge.net/vexi/?rev=3632&view=rev
Author:   clrg
Date:     2009-08-28 14:49:16 +0000 (Fri, 28 Aug 2009)

Log Message:
-----------
- Add args -build, -version
- Location updates
- Style fixes (pre, nowrap)

Modified Paths:
--------------
    trunk/tools/vexitools.jsdoc/src/org/vexi/tools/jsdoc/style.css
    trunk/tools/vexitools.jsdoc/src_dev/vexi/jsdoc/RunOnVexi.java

Modified: trunk/tools/vexitools.jsdoc/src/org/vexi/tools/jsdoc/style.css
===================================================================
--- trunk/tools/vexitools.jsdoc/src/org/vexi/tools/jsdoc/style.css      
2009-08-28 14:36:43 UTC (rev 3631)
+++ trunk/tools/vexitools.jsdoc/src/org/vexi/tools/jsdoc/style.css      
2009-08-28 14:49:16 UTC (rev 3632)
@@ -28,6 +28,8 @@
 }
 
 th { white-space: nowrap; }
-td.prop { font-weight: bold; }
+td p { margin-left: 0; padding-left: 0; }
+td pre { margin-left: 0; padding-left: 0; }
+td.prop { font-weight: bold; white-space: nowrap; }
 td.propinit { font-family: monospace; }
 td.proptype { font-family: monospace; }
\ No newline at end of file

Modified: trunk/tools/vexitools.jsdoc/src_dev/vexi/jsdoc/RunOnVexi.java
===================================================================
--- trunk/tools/vexitools.jsdoc/src_dev/vexi/jsdoc/RunOnVexi.java       
2009-08-28 14:36:43 UTC (rev 3631)
+++ trunk/tools/vexitools.jsdoc/src_dev/vexi/jsdoc/RunOnVexi.java       
2009-08-28 14:49:16 UTC (rev 3632)
@@ -6,9 +6,20 @@
 
 public class RunOnVexi {
        static public void main(String[] args) throws Exception {
+               // vexidoc options / defaults
+               String version = "3.0 svn";
+               String build = "Unknown";
+               String docpath = "../";
+               // interpret arguments
+               for (int i=0; args.length>i; i++) {
+                   if (args[i].equals("-build")) {
+                       build = args[++i];
+                   } else if (args[i].equals("-version")) {
+                       version = args[++i];
+                   } else docpath = args[i];
+               }
                // setup path
-               String _path = args.length>0 ? args[0] : "../";
-               VexiPath path = new VexiPath(_path);
+               VexiPath path = new VexiPath(docpath);
                path.addProject("org.ibex.js");
                path.addProject("org.vexi.core");
                
@@ -24,14 +35,15 @@
                jsdoc.addConcept("Biscuits", "org.vexi.core.Vexi");
                jsdoc.addConcept("Box Model", "org.vexi.core.Box");
                jsdoc.addConcept("Cloning", "org.ibex.js.JS");
+               jsdoc.addConcept("Running Vexi", "org.vexi.core.Vexi");
                jsdoc.addConcept("Special Variables", 
"org.ibex.js.Interpreter");
                jsdoc.addConcept("Streams", "org.vexi.core.Vexi");
                jsdoc.addConcept("Surfaces", "org.vexi.core.Surface");
-               jsdoc.addConcept("Templates", "org.vexi.core.Vexi");
+               jsdoc.addConcept("Templates", "org.vexi.core.TemplateBuilder");
                jsdoc.addConcept("Threading", "org.vexi.core.Vexi");
                jsdoc.addConcept("Traps", "org.ibex.js.JS");
-               jsdoc.version = "3.0";
-               jsdoc.build = "3600";
+               jsdoc.version = version;
+               jsdoc.build = build;
                jsdoc.doIt();
 
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to