Labels

.net (1) *nix (1) administration (1) Android (2) Axis2 (2) best practice (5) big-data (1) business-analysis (1) code re-use (1) continuous-integration (1) Cordova-PhoneGap (1) database (2) defect (1) design (3) Eclipse (7) education (1) groovy (2) https (2) Hudson (4) Java (1) JAX-RS (2) Jersey (3) Jetty (1) localization (1) m2eclipse (2) MapForce (1) Maven (12) MySQL (1) Nexus (4) notes (4) OO (1) Oracle (4) performance (1) Perl (1) PL/SQL (1) podcast (1) PostgreSQL (1) requirement (1) scripting (1) serialization (1) shell (1) SoapUI (1) SQL (1) SSH (2) stored procedure (1) STS (2) Subclipse (1) Subversion (3) TOAD (3) Tomcat (4) UML (2) unit-testing (2) WAMP (1) WAS (3) Windows (3) WP8 (2) WTP (2) XML (4) XSLT (1)

Monday, February 6, 2012

Changing default directory

    Sometimes it is necessary to change the default directory of an application, e.g. when there are limitations to Profile Storage Space on your Windows machine.

    Application Configuration location Details
    Maven <user directory>/.m2/settings.xml Change where local repository is stored, e.g.

    <localRepository>C:\_LOCALdata\m2\repository</localRepository>
    Jetty
    You can change where WAR files are extracted to, e.g. by simply creating a directory named "work" in your Jetty distribution
    Nexus <Nexus web app directory>/webapp/WEB-INF/plexus.properties Edit file and change the property "nexus-work"


    Hudson <Jetty directory>/etc/jetty.xml According to Administering Hudson, you can add a HUDSON_HOME environment variable and re-start Jetty, but this didn't work for me.  However the second option did work, add e.g.:

        <Call class="java.lang.System" name="setProperty">
            <Arg>HUDSON_HOME</Arg>
            <Arg>C:/_LOCALdata/SERVICES/hudson-home</Arg>
        </Call>

    No comments:

    Post a Comment