It worked thanks a lot man . On Wed, Oct 20, 2010 at 12:58 AM, Rick Hillegas <[email protected]>wrote:
> Resending this message because I received a delivery error on the first > try... > > Rick Hillegas wrote: > >> Hi Vipul, >> >> One thing I notice is that your classpath expects to find junit.jar >> outside your Derby client rather than in tools/java right next to >> jakarta-oro-2.0.8.jar. Check to make sure that you have copied junit.jar >> into tools/java as noted here: >> http://svn.apache.org/viewvc/db/derby/code/trunk/BUILDING.html?view=co#Downloads >> T >> Hope that helps, >> -Rick >> >> vipul modi wrote: >> >>> hi >>> >>> echo $CLASSPATH >>> /usr/lib/jvm/java-6-sun:.:$CLASSPATH:/home/vipul/derby_repo/derby_install/db-derby-10.6.2.1-bin/lib/derby.jar:/home/vipul/derby_repo/derby_install/db-derby-10.6.2.1-bin/lib/derbytools.jar:/usr/share/java/junit.jar:/home/vipul/derby_repo/trunk/tools/java/jakarta-oro-2.0.8.jar >>> >>> >>> as u can see classpath have junit.jar but the properties does not have >>> junit.jar >>> >>> this the output of the given command >>> [echo] Before setting properties: compilerPropsAlreadySet = >>> ${compilerPropsAlreadySet} >>> [echo] Before setting properties: compilerLevel16 = 1.6 >>> [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} >>> [echo] After setting properties: compilerPropsAlreadySet = true >>> [echo] After setting properties: compilerLevel16 = 1.6 >>> [echo] After setting properties: jsr169compile.classpath = >>> /home/vipul/derby_repo/trunk/classes/stubs/jsr169:/home/vipul/derby_repo/trunk/classes/stubs/jdbc3:/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:/home/vipul/derby_repo/trunk/tools/java/xalan.jar:/home/vipul/derby_repo/trunk/tools/java/serializer.jar >>> >>> [echo] After setting properties: j14lib = ${j14lib} >>> [echo] After setting properties: java14compile.classpath = >>> /home/vipul/derby_repo/trunk/classes/stubs/jdbc3:/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:/home/vipul/derby_repo/trunk/tools/java/xalan.jar:/home/vipul/derby_repo/trunk/tools/java/serializer.jar >>> >>> [echo] After setting properties: j15lib = ${j15lib} >>> [echo] After setting properties: java15compile.classpath = >>> /home/vipul/derby_repo/trunk/classes/stubs/jdbc3:/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 >>> >>> [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 >>> >>> >>> On Wed, Oct 20, 2010 at 12:11 AM, Rick Hillegas < >>> [email protected] <mailto:[email protected]>> wrote: >>> >>> Hi Vipul, >>> >>> Can you share the output of the following commands: >>> >>> ant clobber >>> ant -DprintCompilerProperties=true all >>> >>> Thanks, >>> -Rick >>> >>> >>> vipul modi wrote: >>> >>> hi >>> >>> I am trying to build the derby trunk but ant -quiet all is not >>> able to recognise Assert , Test and other classes . I have >>> installed junit and set the classpath to junit.jar but the >>> junit packages are not recognised . >>> >>> Thanks in advance >>> >>> >>> -- 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
