• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

The root cause is mklinks.sh but the effect shows up following a build.

I use mklinks.sh so that my build process doesn't compalin too much about being unable to find plugin documentation topics, but when the tarfile is un-tared ay the prodcution site, the links on the new machine are "broken" becuase they point to a file on the old machine's file system.

In short, the tar command used by the build process does not de-reference symlinks.

This should be resolved by using the -cp option of mklinks.sh, but that doens't work properly:

[DEVELOP]$ sh mklinks.sh -cp SpreadSheetPlugin
cp: cannot stat `../../../twikiplugins/SpreadSheetPlugin/lib/TWiki/Plugins/SpreadSheetPlugin': No such file or directory
cp: cannot stat `../../../twikiplugins/SpreadSheetPlugin/lib/TWiki/Plugins/SpreadSheetPlugin.pm': No such file or directory
cp: cannot stat `../../twikiplugins/SpreadSheetPlugin/data/TWiki/SpreadSheetPlugin.txt': No such file or directory


Duplicate. See Item818 CC

ItemTemplate
Summary The build process does not de-reference symlinks
ReportedBy AntonAylward
AppliesTo Engine
Priority Normal
CurrentState No Action Required
WaitingFor

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2005-11-02 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback