maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keisuke Matsubara <k-matsub...@bx.jp.nec.com>
Subject Re: [Fwd: [M1] How to output java:compile log to file]
Date Thu, 11 Aug 2005 04:41:37 GMT
Thank you Edwin.

Now I use redirection with tee command like you. Because I want to
record log and output to console. But when I use tee command , the
script calling maven can take correct return code from maven. (It always
take 0).

I have searched good way to record than redirection.

Thanks.


Edwin Punzalan wrote:
> Try using the OS ">" redirection.
> 
> For example: maven compile > log.txt
> 
> 
> Keisuke Matsubara wrote:
> 
> 
>>Hi,
>>
>>If someone has some information ,can you give me a hint.
>>
>>Thanks
>>
>>-------- Original Message --------
>>Subject: [M1] How to output java:compile log to file
>>Date: Wed, 10 Aug 2005 19:31:41 +0900
>>From: Keisuke Matsubara <k-matsubara@bx.jp.nec.com>
>>Reply-To: Maven Users List <users@maven.apache.org>
>>Organization: NEC Corporation
>>To: users@maven.apache.org
>>
>>Hi,
>>
>>I am searching how to output compile log to some log file.
>>Is there some solution for my probrem.
>>
>>I had tried editing log4j.properties (add original appender ,change
>>setting of log4j.category.org.apache.commons.jelly.tags.ant) in
>>maven.jar ,but compile logs had not been recorded.
>>
>>Does someone have any idea?
>>
>>maven 1.0.2
>>maven-java-plugin-1.5
>>
>>Thanks and Regards,
>>Keisuke
>>
>> 
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message