]> Creatis software - bbtk.git/commitdiff
*** empty log message ***
authorguigues <guigues>
Mon, 3 Mar 2008 07:18:33 +0000 (07:18 +0000)
committerguigues <guigues>
Mon, 3 Mar 2008 07:18:33 +0000 (07:18 +0000)
packages/toolsbbtk/bbs/appli/CreateBox.bbs [new file with mode: 0644]
packages/toolsbbtk/bbs/appli/CreatePackage.bbs [moved from packages/toolsbbtk/bbs/appli/bbCreatePackage.bbs_ with 85% similarity]
packages/toolsbbtk/bbs/appli/MakePackageDoc.bbs [new file with mode: 0644]
packages/toolsbbtk/bbs/boxes/bbMakePackageDoc.bbs [new file with mode: 0644]

diff --git a/packages/toolsbbtk/bbs/appli/CreateBox.bbs b/packages/toolsbbtk/bbs/appli/CreateBox.bbs
new file mode 100644 (file)
index 0000000..d479e65
--- /dev/null
@@ -0,0 +1,5 @@
+description "Creates the XML or C++ code for a new black box"
+author "laurent.guigues at creatis.insa-lyon.fr"
+category "bbtk tool"
+
+print "Not implemented yet !!!"
similarity index 85%
rename from packages/toolsbbtk/bbs/appli/bbCreatePackage.bbs_
rename to packages/toolsbbtk/bbs/appli/CreatePackage.bbs
index 19d615a6b81e0990e7613cf0fb79dd7c53e70864..e424dbe71be73c2a9b3a13995503ed57c03e75a8 100644 (file)
@@ -1,3 +1,7 @@
+description "Creates a new bbtk package file structure on disk (Graphical user interface for the script bbCreatePackage)."
+author "laurent.guigues at creatis.insa-lyon.fr"
+category "bbtk tool"
+
 load wx
 load std 
 
@@ -16,7 +20,7 @@ new InputText description
 set description.Title "Description"
 set description.In " "
 
-new Sizer info
+new LayoutLine info
 connect name.Widget info.Widget1
 connect author.Widget info.Widget2
 connect description.Widget info.Widget3
diff --git a/packages/toolsbbtk/bbs/appli/MakePackageDoc.bbs b/packages/toolsbbtk/bbs/appli/MakePackageDoc.bbs
new file mode 100644 (file)
index 0000000..142745b
--- /dev/null
@@ -0,0 +1,8 @@
+description "t"
+
+
+include toolsbbtk/boxes/bbMakePackageDoc
+new MakePackageDoc makedoc
+input Package makedoc.Package "The name of the package"
+exec makedoc
+print $makedoc.Command$
diff --git a/packages/toolsbbtk/bbs/boxes/bbMakePackageDoc.bbs b/packages/toolsbbtk/bbs/boxes/bbMakePackageDoc.bbs
new file mode 100644 (file)
index 0000000..49d0837
--- /dev/null
@@ -0,0 +1,47 @@
+
+include std
+
+define MakePackageDoc toolsbbtk
+  description "Creates the html documentation of a package. The doc is generated at the 'canonical' location. Works both for a build tree or an installed toolkit."
+  author "laurent.guigues at creatis.insa-lyon.fr"
+  category "bbtk tool"
+       
+  new StringRelay package
+
+  input Package package.In "The name of the package"
+  print "== Creating html doc for package $package.Out$ =="
+
+  new ConcatStrings command
+  set command.In1 "exec freeze; include "
+  connect package.Out command.In2
+  set command.In3 "; include "
+  connect package.Out command.In4
+  set command.In5 "-appli; graph "
+  connect package.Out command.In6
+  set command.In7 " 0 0 "
+  new Configuration conf
+  new ConcatStrings path
+  connect conf.DocPath path.In1
+  connect conf.FileSeparator path.In2
+  set path.In3 "bbdoc"
+  connect conf.FileSeparator path.In4  
+  connect package.Out path.In5
+  connect conf.FileSeparator path.In6
+  
+  new ConcatStrings command2
+  connect command.Out command2.In1
+  connect path.Out command2.In2
+  set command2.In3 "index.html "
+  connect path.Out command2.In4
+  set command2.In5 "header.html 'Package "
+  connect package.Out command2.In6
+  set command2.In7 " documentation'"
+
+  output Command command2.Out "The command issued"
+
+  new ExecBbiCommand exec
+  connect command2.Out exec.In 
+
+  exec exec
+endefine