I just checked in the code and documentation for the updated Ant tasks
to support split install. Due to ant limitations the setting is not on
<wsresources> tag, but rather on its parent (woapplication or
woframework). Also no fancy zip support :-). Basically it would work
like this:
<woapplication name="XYZ" destDir="..." wsDestDir="/a/b/c">...
"wsDestDir" will enable split install under
"/a/b/c/WebObjects/XYZ.woa". Similar thing works for "woframework".
I'll let Ulrich do the release whenever he plans to do so, but you can
check out this stuff from CVS and use it now.
One unresolved "convenience" issue: guessing WebServer root and setting
it in wobuild.properties automatically. On Windoze this information is
stored under
$NEXT_ROOT/Library/WebObjects/Configuration/WebServerConfig.plist. I
don't know if it is configurable on Mac (or is standard Apache location
always assumed?). I guess I can write some code to parse the plist and
get it from there.... Any other ideas?
Andrus
On Monday, June 16, 2003, at 02:09 PM, Christian Edward Gruber wrote:
> 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 : Tue Jul 01 2003 - 01:09:14 EDT