Hi Its properly building the trunk , the problem is coming in only 10.5 branch . I will try to check once again for any missing link.
Thanks Vipul On Fri, Oct 8, 2010 at 8:22 PM, Kristian Waagan <[email protected]>wrote: > On 08.10.10 16:34, vipul modi wrote: > >> Hi Rick >> >> The complete output is : >> > [ snip ] > > I am using lucid linux can it be problem. >> > > Hi Vipul, > > If you have the time, do you mind checking out Derby trunk [1] on *the same > machine*, and then run the following command from the top-level directory: > > ant -DprintCompilerPropertiesVerbose=true|grep setJdkProperties > > (it's the output from the section setCompilerProperties we're interested > in) > > This is probably the easiest way to diagnose the problem, as it may tell > you why your Java installation isn't being picked up properly. Note that > this property won't work for the Derby 10.5 code base. > > > Regards, > -- > Kristian > > [1] svn checkout https://svn.apache.org/repos/asf/db/derby/code/trunk/ > > >> Thanks for your help >> >> Vipul >> >> On Fri, Oct 8, 2010 at 6:38 PM, Rick Hillegas >> <[email protected]<mailto: >> [email protected]>> wrote: >> >> Hi Vipul, >> >> Unfortunately, this output perplexes me because the compiler level >> hasn't been determined. Could you post the output from the >> following build command, up through the last diagnostic which >> begins with the string "[echo] After setting properties": >> >> ant -quiet clobber >> ant -DprintCompilerProperties=true all >> >> Thanks, >> -Rick >> >> >> >> vipul modi wrote: >> >> Hi >> >> This is the output of the above command .. >> [echo] Before setting properties: compilerPropsAlreadySet = >> ${compilerPropsAlreadySet} >> [echo] Before setting properties: compilerLevel16 = >> ${compilerLevel16} >> [echo] Before setting properties: jsr169compile.classpath >> = ${jsr169compile.classpath} >> [echo] Before setting properties: j14lib = ${j14lib} >> [echo] Before setting properties: java14compile.classpath >> = ${java14compile.classpath} >> [echo] Before setting properties: j15lib = ${j15lib} >> [echo] Before setting properties: java15compile.classpath >> = ${java15compile.classpath} >> [echo] Before setting properties: j16lib = ${j16lib} >> [echo] Before setting properties: java16compile.classpath >> = ${java16compile.classpath} >> [setJdkProperties] >> [setJdkProperties] PropertySetter environment = >> [setJdkProperties] >> [setJdkProperties] java.vendor = Sun Microsystems Inc. >> [setJdkProperties] java.home = >> /usr/lib/jvm/java-6-sun-1.6.0.20/jre >> [setJdkProperties] java.version = 1.6.0_20 >> [setJdkProperties] os.name <http://os.name> <http://os.name> = >> >> Linux >> >> [setJdkProperties] j14lib = null >> [setJdkProperties] j15lib = null >> [setJdkProperties] j16lib = null >> [setJdkProperties] >> [echo] After setting properties: compilerPropsAlreadySet >> = true >> [echo] After setting properties: compilerLevel16 = >> ${compilerLevel16} >> [echo] After setting properties: jsr169compile.classpath >> = >> >> >> /home/vipul/derby_repo/10.5/classes/stubs/jsr169::/home/vipul/derby_repo/10.5/tools/java/xalan.jar:/home/vipul/derby_repo/10.5/tools/java/serializer.jar >> [echo] After setting properties: j14lib = ${j14lib} >> [echo] After setting properties: java14compile.classpath >> = >> >> >> :/home/vipul/derby_repo/10.5/tools/java/xalan.jar:/home/vipul/derby_repo/10.5/tools/java/serializer.jar >> [echo] After setting properties: j15lib = ${j15lib} >> [echo] After setting properties: java15compile.classpath = >> [echo] After setting properties: j16lib = ${jdk16}/jre/lib >> [echo] After setting properties: java16compile.classpath >> = >> >> >> /usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/alt-rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/deploy.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/javaws.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/management-agent.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/plugin.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/rt.jar >> >> Thanks for ur comments and >> >> >> On Fri, Oct 8, 2010 at 12:24 PM, Knut Anders Hatlen >> <[email protected] <mailto:[email protected]> >> <mailto:[email protected] >> <mailto:[email protected]>>> wrote: >> >> vipul modi <[email protected] >> <mailto:[email protected]> <mailto:[email protected] >> >> <mailto:[email protected]>>> >> >> writes: >> >> > Hi >> > >> > i was trying to build derby 10.5 source >> > getting error for java.lang not found in classpath or >> bootclasspath >> > in build.xml whereas i am ale to compile and run normal java >> files >> > without any issues .... >> > What could be the problem ?? >> > How to make sure ant is using the rite jdk and jre?? >> > I have set the ant_home and is working fine for normal build.xml >> > files. >> >> Hi Vipul, >> >> I'm not sure why it fails, but if you could post the output >> from the >> command below, someone may be able to spot the problem. >> >> ant -q -DprintCompilerProperties=true setCompilerProperties >> >> The file BUILDING.html contains instructions (in the >> Advanced Build >> section) on how to override the auto-detected settings, >> which may be >> useful if there's a problem with the auto-detection in your >> environment. >> >> -- >> Knut Anders >> >> >> >> >> -- Vipul Modi >> MSc.(Tech) Information System >> BITS-Pilani Goa Campus >> >> >> >> >> >> -- >> Vipul Modi >> MSc.(Tech) Information System >> BITS-Pilani Goa Campus >> > > -- Vipul Modi MSc.(Tech) Information System BITS-Pilani Goa Campus
