db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "UDAI GUPTA" <mailt...@gmail.com>
Subject Windows directory path in BUILDING.txt
Date Tue, 01 Apr 2008 06:32:44 GMT
Hi,

     I was Building the Derby on windows machine for which referred
BUILDING.txt from my ${derby.source}. there was an example in section
3.2(Creating
ant.properties) showing how to set j14lib which was like....

                        j14lib=C:\j2sdk1.4.2_10\jre\lib (for windows
machine)


but if you do so....you will get error.....


[setJdkProperties] java.vendor = Sun Microsystems Inc.
[setJdkProperties] java.home = C:\java5\jdk1.5.0\jre
[setJdkProperties] java.version = 1.5.0
[setJdkProperties] os.name = Windows XP
*[setJdkProperties] j14lib = C:j2sdk1.4.2_10jrelib
[setJdkProperties] j15lib = C:java5jre1.5.0lib*
[setJdkProperties]
[setJdkProperties] Please consult BUILDING.txt for instructions on how to
set the jdk-library and compiler-classpath properties.
[setJdkProperties]      at
org.apache.derbyPreBuild.PropertySetter.couldntSetProperty(
PropertySetter.java:677)
[setJdkProperties]      at
org.apache.derbyPreBuild.PropertySetter.setClasspathFromLib(
PropertySetter.java:484)
[setJdkProperties]      at org.apache.derbyPreBuild.PropertySetter.execute(
PropertySetter.java:207)
[setJdkProperties]      at org.apache.tools.ant.UnknownElement.execute(
UnknownElement.java:288)
[setJdkProperties]      at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown
Source)
[setJdkProperties]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
[setJdkProperties]      at java.lang.reflect.Method.invoke(Method.java:585)
[setJdkProperties]      at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[setJdkProperties]      at org.apache.tools.ant.Task.perform(Task.java:348)
[setJdkProperties]      at org.apache.tools.ant.Target.execute(Target.java
:357)



and if you do    *  j14lib=C:\\j2sdk1.4.2_10\\jre\\lib* (Double slash)
you won't get this error......
I figured that out in minutes but may be this could consume time of some
other newbie like me
has anyone else noticed this in BUILDING.txt


regards,
udai

Mime
View raw message