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)
  • Continuum
  • CONTINUUM-2531

Cannot change DEFAULT local repository via settings.xml in Windows 7

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.3.6
  • Fix Version/s: 1.4.1 (Beta)
  • Component/s: Documentation
  • Labels:
    None
  • Environment:
    Windows 7 Home Premium, 1.3.6-maestro-2.3.2,

    java version "1.6.0_19"
    Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
    Java HotSpot(TM) Client VM (build 16.2-b04, mixed mode, sharing)
  • Complexity:
    Intermediate

Description

Changing the DEFAULT local repository is not possible via ~/.m2/settings.xml in contrary to what the doc says -
http://continuum.apache.org/docs/1.3.1/administrator_guides/localRepository.html

As a result, a C:\.m2\repository directory is being created automatically every time continuum runs.

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

Attachments

  1. Text File
    CONTINUUM-2531.patch
    03/Jun/10 4:37 AM
    0.8 kB
    Joset Anthony Zamora

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Joset Anthony Zamora added a comment - 28/May/10 3:14 AM - edited

the correct path of the document is http://continuum.apache.org/docs/1.3.6/administrator_guides/localRepository.html to be consistent with the version reported.

Show
Joset Anthony Zamora added a comment - 28/May/10 3:14 AM - edited the correct path of the document is http://continuum.apache.org/docs/1.3.6/administrator_guides/localRepository.html to be consistent with the version reported.
Hide
Permalink
Maria Catherine Tan added a comment - 01/Jun/10 7:45 PM

The default local repository is updated during continuum startup.

I tried it on linux and it's working. The previous location of my DEFAULT local repository was "/home/marica/.m2/repository". I changed the localRepository in my settings.xml and the DEFAULT local repository was changed to the new location after restarting continuum.

Show
Maria Catherine Tan added a comment - 01/Jun/10 7:45 PM The default local repository is updated during continuum startup. I tried it on linux and it's working. The previous location of my DEFAULT local repository was "/home/marica/.m2/repository". I changed the localRepository in my settings.xml and the DEFAULT local repository was changed to the new location after restarting continuum.
Hide
Permalink
Joset Anthony Zamora added a comment - 03/Jun/10 1:48 AM

This is related to http://bugs.sun.com/view_bug.do;jsessionid=fb6e478118f963cc2468f8a1f8b0?bug_id=4162112 bug. Temporary solution works, i.e. by passing

-Duser.home=C:\Users\Username,

if you are using maestro, this can be achieved by adding the following line in <maestrohome>/projectserver/conf/wrapper.conf,

wrapper.java.additional.12=-Duser.home=C:\Users\Username

Show
Joset Anthony Zamora added a comment - 03/Jun/10 1:48 AM This is related to http://bugs.sun.com/view_bug.do;jsessionid=fb6e478118f963cc2468f8a1f8b0?bug_id=4162112 bug. Temporary solution works, i.e. by passing -Duser.home=C:\Users\Username, if you are using maestro, this can be achieved by adding the following line in <maestrohome>/projectserver/conf/wrapper.conf, wrapper.java.additional.12=-Duser.home=C:\Users\Username
Hide
Permalink
Joset Anthony Zamora added a comment - 03/Jun/10 4:37 AM

This patch contains the notes for setting the user.home property correctly on Windows 7.

Show
Joset Anthony Zamora added a comment - 03/Jun/10 4:37 AM This patch contains the notes for setting the user.home property correctly on Windows 7.
Hide
Permalink
Maria Odea Ching added a comment - 03/Jun/10 5:05 AM

Thanks again for the patch! I already applied it to trunk -r950928.

Show
Maria Odea Ching added a comment - 03/Jun/10 5:05 AM Thanks again for the patch! I already applied it to trunk -r950928.

People

  • Assignee:
    Maria Odea Ching
    Reporter:
    Joset Anthony Zamora
Vote (0)
Watch (1)

Dates

  • Created:
    28/May/10 3:10 AM
    Updated:
    03/Jun/10 5:05 AM
    Resolved:
    03/Jun/10 5:05 AM
  • 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.