Ant clean-logs works if the logs directory is moved under framework. But do
we want that to be there? I would much rather have logs under the root
directory just like data directory.

Regards,
Vinay Agarwal


-----Original Message-----
From: BJ Freeman [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 29, 2006 10:02 AM
To: [email protected]
Subject: Re: 7901: ant clean-logs fails


The previous build has
    <target name="clean-logs">
         <delete verbose="on">
             <fileset dir="logs" includes="*"/>
         </delete>
     </target>

the current build.xml
    <target name="clean-logs">
         <subant target="clean-logs">
             <filelist dir="." files="framework/build.xml"/>
         </subant>
     </target>
and framework/build.xml has
     <target name="clean-logs">
         <delete verbose="on">
             <fileset dir="logs" includes="*"/>
         </delete>
     </target>

So the log files are now in framework.
and from the fresh checkout there is a logs folder in framework.


Vinay Agarwal sent the following on 6/29/2006 9:07 AM:
> In prior versions, ant clean-logs doesn't fail even if you haven't 
> build or run ofbiz. It fails now because it is trying to find logs 
> directory under framework not under ofbiz root directory. It is 
> possibly a side effect of moving base into framework.
> 
> Regards,
> Vinay Agarwal
> 
> 
> -----Original Message-----
> From: David E. Jones [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 29, 2006 8:43 AM
> To: [email protected]
> Subject: Re: 7901: ant clean-logs fails
> 
> 
> Do you mean if you haven't built or run ofbiz? Yeah, it will fail, 
> just like it did before these changes.
> 
> -David
> 
> 
> Vinay Agarwal wrote:
>> Hello,
>>
>>  
>>
>> In unmodified code, framework/build.xml fails for not findings 
>> framework/logs directory.
>>
>>  
>>
>> Regards,
>>
>> Vinay Agarwal
>>
>>  
>>
>>
> 

Reply via email to