jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1
  • MAVEN-126

Add a -logfile option

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: cli
  • Labels:
    None
  • Environment:
    Windows 98

Description

One of the options I find useful in Ant is '-logfile <filename>', which redirects the build's output to a given file. It would be nice if I could do the same with Maven; I've not had much success trying to use Win98's command line redirection or paging on Maven's output.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    AntProjectBuilder.java.patch
    19/Feb/04 10:41 PM
    6 kB
    Eric Hauser
  2. Text File
    JellyBuildListener.java.patch
    19/Feb/04 10:42 PM
    1 kB
    Eric Hauser
  3. Text File
    MAVEN126.patch
    21/Feb/04 5:21 PM
    11 kB
    Eric Hauser
  4. Text File
    MavenConstants.java.patch
    19/Feb/04 10:42 PM
    0.8 kB
    Eric Hauser

Issue Links

duplicates

Improvement - An improvement or enhancement to an existing feature or task. MAVEN-553 add build listener support to output

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Ben Walding added a comment - 25/Jul/03 10:06 AM

This looks to be a better report, and will ultimately encompass the maven-126 solution

Show
Ben Walding added a comment - 25/Jul/03 10:06 AM This looks to be a better report, and will ultimately encompass the maven-126 solution
Hide
Permalink
Eric Hauser added a comment - 19/Feb/04 10:51 PM

I've added a couple of quick patches that you could add to give Maven the ability to get more useful information from Ant. If you want to emulate Ant's verbose mode, add the following properties (if you're using Windows use org.apache.tools.ant.DefaultLogger instead):

maven.build.listener = org.apache.tools.ant.listener.AnsiColorLogger
maven.build.logger.level = 5

This way Maven can now support verbose ant logging (which is a very important debugging feature). I'm willing to put some more work into the logging patches, but I wanted to try to get them in so this feature can make the 1.0 release and so I could get some feedback.

Show
Eric Hauser added a comment - 19/Feb/04 10:51 PM I've added a couple of quick patches that you could add to give Maven the ability to get more useful information from Ant. If you want to emulate Ant's verbose mode, add the following properties (if you're using Windows use org.apache.tools.ant.DefaultLogger instead): maven.build.listener = org.apache.tools.ant.listener.AnsiColorLogger maven.build.logger.level = 5 This way Maven can now support verbose ant logging (which is a very important debugging feature). I'm willing to put some more work into the logging patches, but I wanted to try to get them in so this feature can make the 1.0 release and so I could get some feedback.
Hide
Permalink
Eric Hauser added a comment - 21/Feb/04 5:21 PM

I cleaned up the earlier patches I submitted. It made more sense to me for these properties to be called maven.ant.listener and maven.ant.logger.level as not to confuse users that they were setting listeners for maven itself. I also updated the documentation for the new attributes.

Show
Eric Hauser added a comment - 21/Feb/04 5:21 PM I cleaned up the earlier patches I submitted. It made more sense to me for these properties to be called maven.ant.listener and maven.ant.logger.level as not to confuse users that they were setting listeners for maven itself. I also updated the documentation for the new attributes.
Hide
Permalink
Lukas Theussl added a comment - 20/Jun/06 6:19 PM

Arnaud: couldn't this patch be used to workaround our velocity problem, ie switching off the ant logging?

Show
Lukas Theussl added a comment - 20/Jun/06 6:19 PM Arnaud: couldn't this patch be used to workaround our velocity problem, ie switching off the ant logging?
Hide
Permalink
Arnaud Heritier added a comment - 05/Jul/06 4:37 PM

I didn't try. I'll try to find if we can configure the internal logging verbosity used in log4J.

Show
Arnaud Heritier added a comment - 05/Jul/06 4:37 PM I didn't try. I'll try to find if we can configure the internal logging verbosity used in log4J.

People

  • Assignee:
    Unassigned
    Reporter:
    Andrew Stevens
Vote (1)
Watch (2)

Dates

  • Created:
    02/Oct/02 10:50 AM
    Updated:
    21/Apr/07 4:08 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.