RE: wsresources destDir="/path/to/wsres"

From: Christian Edward Gruber (cgrube..srafil.net)
Date: Mon Jun 16 2003 - 14:09:19 EDT

  • Next message: Chuck Hill: "Problem with Classpath files after upgrading to 1.02"

    Or, as an alternative

         <wsresources dir="." destArchive="/path/to/wsres/wsres.zip">
                      <include name="*.css"/>
                      <include name="*.gif"/>
                      <include name="*.jpg"/>
         </wsresources>

    It can use .zip, .jar, .tar, or .tar.gz file tags to interpret which
    form to archive to. This way you can use it to stage a deployment if
    you do it that way.

    Cg.

    > -----Original Message-----
    > From: Kaj Hejer [mailto:kaj.heje..sit.uio.no]
    > Sent: Monday, June 16, 2003 7:55 AM
    > To: woproject-de..bjectstyle.org
    > Subject: wsresources destDir="/path/to/wsres"
    >
    >
    > Congratulation on WOProject 1.0.2! :)
    >
    > What do you think about the following idea? I just ask here before
    > add it as a feature request.
    >
    > When deploying applications on our productionserver we need to copy
    > the webserverresources to the htdocs directory of the webserver.
    >
    > Today we use some "manual" coying in the build.xml file. What about
    > adding a destDir to the wsresources element, something like
    >
    > <wsresources dir="." destDir="/path/to/wsres">
    > <include name="*.css"/>
    > <include name="*.gif"/>
    > <include name="*.jpg"/>
    > </wsresources>
    >
    > When building while developing we need the wsresources in the .woa
    > directory (just as they are placed today). So I guess the destDir
    > just shoule make a copy of the webserverresources, not move them from
    > the .woa directory.
    >
    > Should I add this as an feature request?
    >
    >
    > -Kaj :)
    >
    >



    This archive was generated by hypermail 2.0.0 : Mon Jun 16 2003 - 14:07:36 EDT