Re: Generate soft-links as part of site build

2023-12-01 Thread sebb
Thanks again. In the case of Commons, we need to add links in subdirectories which don't otherwise exist. The symlink task cannot create subdirectories, but we can use an Ant macro that creates both the directory and the link. This can then be invoked for each required redirect. On Fri, 1 Dec

Re: Generate soft-links as part of site build

2023-12-01 Thread Hervé Boutemy
here is the explanation: https://maven.apache.org/developers/website/index.html for example every plugin in https://maven.apache.org/plugins/index.html is a symlink: https://svn.apache.org/viewvc/maven/website/content/plugins/ Le jeudi 30 novembre 2023, 22:51:04 CET sebb a écrit : > Thanks very

Re: Generate soft-links as part of site build

2023-11-30 Thread sebb
Thanks very much, that looks very promising. On Thu, 30 Nov 2023 at 19:26, Michael Osipov wrote: > > On 2023/11/28 17:35:40 sebb wrote: > > Is it possible to generate soft-links as part of a site build? > > > > I tried adding them to the resources/ folder, but they were ignored. > > While I

Re: Generate soft-links as part of site build

2023-11-30 Thread Michael Osipov
On 2023/11/28 17:35:40 sebb wrote: > Is it possible to generate soft-links as part of a site build? > > I tried adding them to the resources/ folder, but they were ignored. While I haven't tried explicitly, what about

Re: Generate soft-links as part of site build

2023-11-29 Thread Greg Chabala
As it happens, I have also been working on making site redirects for pages that have moved. I found placing a plain html file in src/site/resources/ works fine as one would expect. They are not soft links though, just basic HTML with meta refresh redirects and javascript redirects as a fallback.

Generate soft-links as part of site build

2023-11-28 Thread sebb
Is it possible to generate soft-links as part of a site build? I tried adding them to the resources/ folder, but they were ignored. Sebb P.S. No, I cannot use redirects; there needs to be a physical file at that site location -