[rkward-cvs] SF.net SVN: rkward:[3919] trunk/rkward/packages/rkwarddev

m-eik at users.sourceforge.net m-eik at users.sourceforge.net
Mon Oct 10 15:13:37 UTC 2011


Revision: 3919
          http://rkward.svn.sourceforge.net/rkward/?rev=3919&view=rev
Author:   m-eik
Date:     2011-10-10 15:13:36 +0000 (Mon, 10 Oct 2011)
Log Message:
-----------
rkwarddev: bugfix in rk.plugin.skeleton() (failed for existing files if help or JS files should be created)

Modified Paths:
--------------
    trunk/rkward/packages/rkwarddev/ChangeLog
    trunk/rkward/packages/rkwarddev/R/rk.plugin.skeleton.R

Modified: trunk/rkward/packages/rkwarddev/ChangeLog
===================================================================
--- trunk/rkward/packages/rkwarddev/ChangeLog	2011-10-10 14:33:03 UTC (rev 3918)
+++ trunk/rkward/packages/rkwarddev/ChangeLog	2011-10-10 15:13:36 UTC (rev 3919)
@@ -4,6 +4,8 @@
   - added functions rk.XML.code() and rk.XML.help()
   - fixed bug in internal function check.ID() (produced false entry nodes under certain circumstances)
   - fixed bug in rk.XML.pluginmap() for automatic component IDs
+  - fixed bug in rk.plugin.skeleton() for cases where XML file exists and is not overwritten, but JS/help
+    files need to be generated
   - cleaned up rk.XML.pluginmap() and rk.XML.plugin() hint code
   - changed "nodes" option to "..." also in rk.XML.menu()
 

Modified: trunk/rkward/packages/rkwarddev/R/rk.plugin.skeleton.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.plugin.skeleton.R	2011-10-10 14:33:03 UTC (rev 3918)
+++ trunk/rkward/packages/rkwarddev/R/rk.plugin.skeleton.R	2011-10-10 15:13:36 UTC (rev 3919)
@@ -210,7 +210,10 @@
 				provides=provides,
 				pluginmap=paste("../", name, ".pluginmap", sep=""))
 			cat(pasteXMLTree(XML.plugin, shine=1, indent.by=indent.by), file=plugin.xml)
-		} else {}
+		} else {
+			# set a variable for the other sections to use as XML input
+			XML.plugin <- plugin.xml
+		}
 		if(isTRUE(edit)){
 			rk.edit.files(plugin.xml, title=plugin.fname.xml, prompt=FALSE)
 		} else {}

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





More information about the rkward-tracker mailing list