From: guigues Date: Mon, 3 Mar 2008 07:18:33 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: r0.6.1~156 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=8b08a96679e9c6f02040a3fbec3714e674884bfd;p=bbtk.git *** empty log message *** --- diff --git a/packages/toolsbbtk/bbs/appli/CreateBox.bbs b/packages/toolsbbtk/bbs/appli/CreateBox.bbs new file mode 100644 index 0000000..d479e65 --- /dev/null +++ b/packages/toolsbbtk/bbs/appli/CreateBox.bbs @@ -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 !!!" diff --git a/packages/toolsbbtk/bbs/appli/bbCreatePackage.bbs_ b/packages/toolsbbtk/bbs/appli/CreatePackage.bbs similarity index 85% rename from packages/toolsbbtk/bbs/appli/bbCreatePackage.bbs_ rename to packages/toolsbbtk/bbs/appli/CreatePackage.bbs index 19d615a..e424dbe 100644 --- a/packages/toolsbbtk/bbs/appli/bbCreatePackage.bbs_ +++ b/packages/toolsbbtk/bbs/appli/CreatePackage.bbs @@ -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 index 0000000..142745b --- /dev/null +++ b/packages/toolsbbtk/bbs/appli/MakePackageDoc.bbs @@ -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 index 0000000..49d0837 --- /dev/null +++ b/packages/toolsbbtk/bbs/boxes/bbMakePackageDoc.bbs @@ -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