Re: [GUMP] Build Failure - jakarta-avalon-excalibur
Leo Simons <[email protected]>
| Newsgroups | gmane.comp.jakarta.avalon.apps.devel |
|---|---|
| Message-ID | <1039623140.1358.166.camel__5713.8055134148$1039623189@lsd.student.utwente.nl> |
On Wed, 2002-12-11 at 16:00, Stefan Bodewig wrote: > On 11 Dec 2002, Leo Simons <[email protected]> wrote: > > >> Which property do you need to get set to the site dir? > > > > exactly the same one :D > > I have this changed locally and can commit it, but it doesn't help at > all. If you look into jakarta-avalon-excalibur/zip/build.xml you'll > find: > > <anakia basedir="${xdocs.dir}" > destdir="${docs.dir}" > style="docs.vsl" > projectfile="menu.xml" > includes="**/*.xml" > excludes="menu.xml" > velocitypropertiesfile="../site/src/stylesheets/velocity.properties" > /> > > so there is a hardcoded reference to docs.vsl that is supposed to be > there (and no property to look somewhere else), but there is only one > in site/src/stylesheets - none in zip. I just checked. What happens is that anakia reads velocity.properties, which tells it to look for the templates in the ../site/src/stylesheets directory, so anakia itself resolves the docs.vsl reference to ../site/src/stylesheets/docs.vsl. IOW the property to look elsewhere is in the velocity.properties file. I just did: cvs co jakarta-avalon-excalibur jakarta-avalon jakarta-site cd jakarta-avalon-excalibur/zip /opt/ant/bin/ant docs and the docs built properly. It's counterintuitive and a little messy perhaps, but it works. Can you confirm? I believe the reason this doesn't work in gump atm is that it checks out jakarta-site2 as opposed to jakarta-site. Maybe it's a good idea to have gump do a symlink, just like we have on the server? cheers, - Leo