XSite
  1. XSite
  2. XSITE-5

Handle filtering of velocity templates

    Details

    • Type: New Feature New Feature
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: UNRESOLVED
    • Affects Version/s: 1.0-beta-4
    • Fix Version/s: 1.3
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      I think it could be quite useful to be able to replace variables or even handle complete templates (like velocity ones) when generating the site.

      Currently I'm using the ant copy task with filtering and then calling xsite. Being able to do so directly in xsite would be nice.

      ------------------------------
      I can't comment on the issue. Geez... this is old. For some reason, I never saw the question. And in fact it is still relevant.

      I just made an example here: https://github.com/henri-tremblay/XSITE-5

      As you will see, I'm using the resource plugin to workaround the issue (instead of the antrun plugin like I use to). It would be nice to have $

      {project.version}

      filtered directly by xsite instead of having to use this trick
      -----------------------------------------------------------

      Issue number one (https://github.com/x-stream/xsite/issues/1) it is at GitHub Indeed, Codehaus is dead and I need to migrate also

        Activity

        Hide
        Mauro Talevi added a comment -

        Can you please elaborate more on your usecase?
        Can you provide as an example the type of filtering you need and the kind of configurability you'd like?
        It would help to have a concrete problem at hand to solve.

        Thanks

        Show
        Mauro Talevi added a comment - Can you please elaborate more on your usecase? Can you provide as an example the type of filtering you need and the kind of configurability you'd like? It would help to have a concrete problem at hand to solve. Thanks
        Hide
        Jörg Schaible added a comment -

        No response.

        Show
        Jörg Schaible added a comment - No response.
        Hide
        Jörg Schaible added a comment -

        Hi Henri,

        Codehaus is dead now. Please open an Issue at https://github.com/x-stream/xsite/issues and refer http://x-stream.github.io/xsite/jira/5/

        Thanks!

        Show
        Jörg Schaible added a comment - Hi Henri, Codehaus is dead now. Please open an Issue at https://github.com/x-stream/xsite/issues and refer http://x-stream.github.io/xsite/jira/5/ Thanks!

          People

          • Assignee:
            Jörg Schaible
            Reporter:
            Henri Tremblay

            Dates

            • Created:
              Updated:
              Resolved: