You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by fu...@apache.org on 2005/10/21 21:15:34 UTC
svn commit: r327248 - /db/derby/code/branches/10.1/BUILDING.txt
Author: fuzzylogic
Date: Fri Oct 21 12:15:29 2005
New Revision: 327248
URL: http://svn.apache.org/viewcvs?rev=327248&view=rev
Log:
Merge revision 327242 to Derby 10.1
Modified:
db/derby/code/branches/10.1/BUILDING.txt
Modified: db/derby/code/branches/10.1/BUILDING.txt
URL: http://svn.apache.org/viewcvs/db/derby/code/branches/10.1/BUILDING.txt?rev=327248&r1=327247&r2=327248&view=diff
==============================================================================
--- db/derby/code/branches/10.1/BUILDING.txt (original)
+++ db/derby/code/branches/10.1/BUILDING.txt Fri Oct 21 12:15:29 2005
@@ -298,11 +298,30 @@
your environment and some of your options. Do the following
to specify your environment and options:
-(1) Find out user home directory on your system. You can find
- user home directory by doing echo on variable %HOME%
- on windows and $home or $HOME on unix.
+(1) Determine the directory on your system that corresponds to
+ the "user.home" system property of the JVM referred to by
+ JAVA_HOME. This directory will be referred to as the
+ ${user.home} directory in the rest of this document.
+ In order to determine the correct value of ${user.home},
+ you can do either of the following:
-(2) Create a file called "ant.properties" in user home
+ a) Run ant diagnostics and look for "user.home" in the
+ list of System properties:
+
+ ant -diagnostics
+
+ b) Write and run a small java program that prints the
+ value of the "user.home" system property, e.g. by
+ including the following line in the program:
+
+ System.out.println(System.getProperty("user.home"));
+
+ On Unix systems, ${user.home} is often equivalent to the
+ value of the environment variable $HOME or $home.
+ On newer Windows systems, ${user.home} is often equivalent
+ to the value of the environment variable %USERPROFILE%.
+
+(2) Create a file called "ant.properties" in your ${user.home}
directory and define the following variables in
"ant.properties".