
Formerly:
TWikiPluginsDirectoryInSVNInstall
Question
I was reading into
SubversionBasedTWikiInstall and corresponding readmes because I wanted to get the
BuildContrib working and figure out how development of extension works.
According to current documentation (and if I understood it right), there should be a
twikiplugins directory in the core where new plugins are to be developed. The present core does not include this directory (at least I have not found it). So I created it manually, started
create_new_extension.pl, completed it with some files and configurations and wanted to try a
perl build.pl release. But it remarks that my
twikiplugins is not a svn working copy (obviously, because I created it manually) and stops without creating anything.
Any idea on that? I am not sure if it fails because it cannot determine the svn revision or if I am missing something else. By the way - svn based TWiki itself is working (TWiki-5).
Thanks in advance.
Environment
--
SebastianKlus - 16 Jul 2008
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
After reading a whole bunch of new and old topics related to plugin development, I am coming to the conclusion that it might be more a
BuildContrib problem or just my personal configuration problem. What I understood is that first of all, the twikiplugins directory was removed from the trunk when extensions were shipped to SVN and second, the existence of
twikiplugins does not really matter as long as the directory structure of a Contrib / Plugin is properly developed (and linked, in case of a SVN install). The development of this directory structure is taken care of by running
create_new_extension.pl, the linking is done by
pseudo-link.pl and all this works fine here.
Honestly, I am quite in the dark and presently have no clue at all what I am doing wrong. I attached the output I receive when running the build.pl. Maybe anyone has an idea.
- build.log: Output of running
perl build.pl release; the file is located within the Contrib directory and was generated by BuildContrib
--
SebastianKlus - 18 Jul 2008
yes,
BuildContrib? at the moment seems to be expecting that you only build plugins that are in svn. this
is a bug in
BuildContrib? - just one that Crawford and I rarely notice, as we develop everything in svn. I think there is a Bug entered for it, but you might like to enter one (or add to the existing) to remind us.
--
SvenDowideit - 19 Jul 2008
Bug report filed. See
Item5806
--
SebastianKlus - 23 Jul 2008