|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Re:Deleting a test page through the file system> Deleting a test page through the file systemPosted by: "villimucho" villimucho@...
> villimuchoThu Oct 22, 2009 12:11 pm (PDT) > > > I'm programmatically writing the wiki pages for some of my tests, > and I need to delete older tests that I no longer need. However, > when I delete the folder, Fitnesse still tries to run the tests for > that page, giving this error: > > fit.exception.FitParseException: Can't find tag: table > at fit.Parse.findMatchingEndTag(Parse.java:89) > at fit.Parse.(Parse.java:49) > at fit.Parse.(Parse.java:37) > at fit.FitServer.process(FitServer.java:70) > at fit.FitServer.run(FitServer.java:52) > at fit.FitServer.main(FitServer.java:43) > > The only fix seems to be restarting the Fitnesse server. Is there > any way to get around this without restarting? > > Thanks! FitNesse caches the pages. If you delete the directories from the file system without telling FitNesse about it, then it uses it's cache. You can delete things from fitnesse by sending it the url: http://localhost:port/MyPage?deletePage&confirmed=yes See the user guide: RestfulServices or http://fitnesse.org/FitNesse.UserGuide.RestfulServices ---- Robert C. Martin (Uncle Bob) | email: unclebob@... Object Mentor Inc. | blog: blog.objectmentor.com The Agile Transition Experts | web: www.objectmentor.com 800-338-6716 | twitter: unclebobmartin |
|
|
Re:Deleting a test page through the file systemThanks Uncle Bob!
--- In fitnesse@..., Robert Martin <UncleBob@...> wrote: > > > Deleting a test page through the file systemPosted by: "villimucho" villimucho@... > > villimuchoThu Oct 22, 2009 12:11 pm (PDT) > > > > > > I'm programmatically writing the wiki pages for some of my tests, > > and I need to delete older tests that I no longer need. However, > > when I delete the folder, Fitnesse still tries to run the tests for > > that page, giving this error: > > > > fit.exception.FitParseException: Can't find tag: table > > at fit.Parse.findMatchingEndTag(Parse.java:89) > > at fit.Parse.(Parse.java:49) > > at fit.Parse.(Parse.java:37) > > at fit.FitServer.process(FitServer.java:70) > > at fit.FitServer.run(FitServer.java:52) > > at fit.FitServer.main(FitServer.java:43) > > > > The only fix seems to be restarting the Fitnesse server. Is there > > any way to get around this without restarting? > > > > Thanks! > > FitNesse caches the pages. If you delete the directories from the > file system without telling FitNesse about it, then it uses it's cache. > > You can delete things from fitnesse by sending it the url: > > http://localhost:port/MyPage?deletePage&confirmed=yes > > See the user guide: RestfulServices > or http://fitnesse.org/FitNesse.UserGuide.RestfulServices > > > > ---- > Robert C. Martin (Uncle Bob) | email: unclebob@... > Object Mentor Inc. | blog: blog.objectmentor.com > The Agile Transition Experts | web: www.objectmentor.com > 800-338-6716 | twitter: unclebobmartin > |
| Free embeddable forum powered by Nabble | Forum Help |