7901: ant clean-logs fails

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

7901: ant clean-logs fails

Vinay Agarwal
Hello,

 

In unmodified code, framework/build.xml fails for not findings
framework/logs directory.

 

Regards,

Vinay Agarwal

 

Reply | Threaded
Open this post in threaded view
|

Re: 7901: ant clean-logs fails

David E. Jones

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 | Threaded
Open this post in threaded view
|

RE: 7901: ant clean-logs fails

Vinay Agarwal
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:[hidden email]]
Sent: Thursday, June 29, 2006 8:43 AM
To: [hidden email]
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 | Threaded
Open this post in threaded view
|

Re: 7901: ant clean-logs fails

BJ Freeman
In reply to this post by David E. Jones

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:[hidden email]]
> Sent: Thursday, June 29, 2006 8:43 AM
> To: [hidden email]
> 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 | Threaded
Open this post in threaded view
|

Re: 7901: ant clean-logs fails

BJ Freeman
oops. my mistake. I ran build
it created the log folder under framework.
so the fresh svn does not have a logs folder.


BJ Freeman sent the following on 6/29/2006 10:01 AM:

>
> 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:[hidden email]] Sent: Thursday, June
>> 29, 2006 8:43 AM
>> To: [hidden email]
>> 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 | Threaded
Open this post in threaded view
|

Do we want logs under framework? Was 7901: ant clean-logs fails

Vinay Agarwal
In reply to this post by BJ Freeman
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:[hidden email]]
Sent: Thursday, June 29, 2006 10:02 AM
To: [hidden email]
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:[hidden email]]
> Sent: Thursday, June 29, 2006 8:43 AM
> To: [hidden email]
> 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 | Threaded
Open this post in threaded view
|

Re: Do we want logs under framework? Was 7901: ant clean-logs fails

BJ Freeman
In reply to this post by BJ Freeman
what that says is your build.xml is not current.
it also says, you had a logs folder there from a previous build.
Not sure you tracking the comments that David has been making,

eventually there will not be a root(ofbiz_home) it will be just
framework, as a standalone. so the logs should be in the framework.


Vinay Agarwal sent the following on 6/29/2006 10:25 AM:

> 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:[hidden email]]
> Sent: Thursday, June 29, 2006 10:02 AM
> To: [hidden email]
> 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:[hidden email]]
>> Sent: Thursday, June 29, 2006 8:43 AM
>> To: [hidden email]
>> 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
>>>
>>>  
>>>
>>>
>
>