Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 66026 invoked from network); 1 Dec 2003 18:25:38 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Dec 2003 18:25:38 -0000 Received: (qmail 68420 invoked by uid 500); 1 Dec 2003 18:25:27 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 68388 invoked by uid 500); 1 Dec 2003 18:25:27 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 68369 invoked from network); 1 Dec 2003 18:25:26 -0000 Received: from unknown (HELO bass.Textwise.com) (64.80.12.100) by daedalus.apache.org with SMTP; 1 Dec 2003 18:25:26 -0000 Received: from mortal.mnis.com (mortal [172.18.0.123]) by bass.Textwise.com (8.11.6+Sun/8.9.3) with ESMTP id hB1IGsQ24730 for ; Mon, 1 Dec 2003 13:16:54 -0500 (EST) Subject: Re: New User Question From: Anthony Vito To: Maven Users List In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 01 Dec 2003 13:52:50 -0500 Message-Id: <1070304770.21589.626.camel@mortal> Mime-Version: 1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Don't redirect to "maven.log" as log4j is set up to use that file... choose a different file name :) -Anthony On Mon, 2003-12-01 at 11:54, mark.russel@pnc.com wrote: > > I'm in the windows world. when I try to redirect I get the following: > C: > \ccviews\PP08920_klltp1g_shareware_view\PNC_Shareware\PNCJavaLoggingWrapper>maven > > jar > maven.log > log4j:ERROR setFile(null,false) call failed. > java.io.FileNotFoundException: maven.log (The process cannot access the > file because it is being used by another process) > at java.io.FileOutputStream.open(Native Method) > at java.io.FileOutputStream.(FileOutputStream.java:176) > at java.io.FileOutputStream.(FileOutputStream.java:102) > at org.apache.log4j.FileAppender.setFile(FileAppender.java:272) > at > org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151) > at > org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247) > at > org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123) > at > org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87) > at > org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645) > at > org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603) > at > org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500) > at > org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406) > at > org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432) > at > org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460) > at org.apache.log4j.LogManager.(LogManager.java:113) > at org.apache.log4j.Category.getInstance(Category.java:530) > at > org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4jFactory.java:140) > at > org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:253) > at > org.apache.commons.logging.LogFactory.getLog(LogFactory.java:382) > at org.apache.maven.cli.App.(App.java:218) > at org.apache.maven.cli.App.main(App.java:1108) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at com.werken.forehead.Forehead.run(Forehead.java:551) > at com.werken.forehead.Forehead.main(Forehead.java:581) > > Mark Russell > PNC > 412-768-9603 > > > |---------+---------------------------> > | | "khote" | > | | | | t.com> | > | | | > | | 12/01/2003 11:00| > | | AM | > | | Please respond | > | | to "Maven Users | > | | List" | > | | | > |---------+---------------------------> > >-----------------------------------------------------------------------------------------------------------------------| > | | > | To: "Maven Users List" | > | cc: | > | Subject: Re: New User Question | > >-----------------------------------------------------------------------------------------------------------------------| > > > > maven goal | less > works for me. At the end of less, hit an 's', and save the log file > > ----- Original Message ----- > From: > To: > Sent: Monday, December 01, 2003 7:40 AM > Subject: New User Question > > > > I thought I would be able to find this in the FAQ or the mail List > archives > > but I could not come up with the correct query. > > > > In ant I can redirect all of my output to a file with the -l parameter. > > Can I do something similar in Maven? > > > > Mark Russell > > PNC > > 412-768-9603 > > > > > > > > ----------------------------------------- > > The contents of this email are the property of PNC. If it was not > addressed to you, you have no legal right to read it. If you think you > received it in error, please notify the sender. Do not forward or copy > without permission of the sender. > > > > > > --------------------------------------------------------------------- > > 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 > > > > > > > > ----------------------------------------- > The contents of this email are the property of PNC. If it was not addressed to you, you have no legal right to read it. If you think you received it in error, please notify the sender. Do not forward or copy without permission of the sender. > > > --------------------------------------------------------------------- > 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