Re: alternative template(s)

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Tue Mar 02 2004 - 09:39:29 EST

  • Next message: James Cicenia: "Where to put Images, etc...."

    Hi Christian,

    Am 02.03.2004 um 12:40 schrieb Christian Brunschen:

    >
    > Hi,
    >
    > I am looking for a way to create a slightly different .woa directory
    > than the standard one generated by the 'woapplication' task (building
    > for WebObjects 5.2.2, using WOLips 1.0.7.50 from within Eclipse 2.1.3
    > on Windows 2000). Specifically, I need to include one extra file
    > directly inside the .woa directory, and use a slightly modified
    > 'appstart.cmd' template for running the application.
    I would recommend the ant copy task. The template appstart.cmd and the
    appstart.cmd within the application are the same. Just repplace it with
    your file.
    >
    > Currently, the WOApplication ant task and the AppFormat class
    > essentially use hard-coded paths and logic to decide which files to
    > copy, which directories to create and so on. I was wondering if this
    > could be somehow parametrized, so that one could specify an
    > 'alternative template directory' for the WOApplication task, which
    > would not just use replacement templates but would also copy any
    > additional files into place, which would allow me to achieve what I
    > need. Or potentially something more fine-grained, allowing me to
    > specify individual replacement templates and/or additional files to
    > copy into the .woa.
    >
    > Is this or something similar in the cards in the near future? Does it
    > sound like a good idea to anyone other than me?

    Ulrich



    This archive was generated by hypermail 2.0.0 : Tue Mar 02 2004 - 09:39:35 EST