Cory,

I have submitted this as a bug.  See the following:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16943

I think you can add an option to the deployment descriptor to override this setting.  
I do agree this should be handled differently.

Rick

> -----Original Message-----
> From: Cory Wilkerson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 12, 2003 1:54 PM
> To: [EMAIL PROTECTED]
> Subject: attachments.Directory and relative paths
> 
> 
> All,
> 
> Confused as to how I can *not* hard code the value attribute 
> of the attachments.Directory parameter.  This server-config 
> will be deployed to 12 servers or so  that don't share the 
> same path as our development environment -- so, I'd like to 
> make the attachmetns directory relative to something ;).  
> That said, if I were to just throw "attachments" in for the 
> value attribute -- from what path would that be resolved?
> 
> Thanks,
> Cory
> 
>   <globalConfiguration>
>         <parameter name="adminPassword" value="admin"/>
>         <parameter name="attachments.Directory" 
> value="c:\projects\someProject\jsp\WEB-INF\attachments"/>
>         <parameter name="sendMultiRefs" value="true"/>
>         <parameter name="sendXsiTypes" value="true"/>
>         <parameter name="attachments.implementation" 
> value="org.apache.axis.attachments.AttachmentsImpl"/>
>         <parameter name="sendXMLDeclaration" value="true"/>
>         <requestFlow>
>             <handler type="java:org.apache.axis.handlers.JWSHandler">
>                 <parameter name="scope" value="session"/>
>             </handler>
>             <handler type="java:org.apache.axis.handlers.JWSHandler">
>                 <parameter name="scope" value="request"/>
>                 <parameter name="extension" value=".jwr"/>
>             </handler>
>         </requestFlow>
>     </globalConfiguration>
> 
> 
> 
> 

Reply via email to