Is the jdk/lib in your Path ?
----- On 30 Mar 2013, at 01:23 PM, Jean-Marie Landri <[email protected]> wrote: > Thank you Sir, > I just did it and results are - > > :/usr/adm/singlewebapp# ant -Ddb=mysql > -bash: ant: command not found > > So i tried - > > ./ant -version > Unable to locate tools.jar. Expected to find it in > /usr/lib/jvm/java-6-openjdk/lib/tools.jar > Apache Ant(TM) version 1.8.4 compiled on May 22 2012 > > I done reinstallation to my java but geting the same results. > > > > > > On Sat, Mar 30, 2013 at 3:03 PM, Robert Chalmers <[email protected]> wrote: >> I'm looking at this and thinking that maybe ant needs to be in your PATH and >> the JDK in your CLASSPATH (and probably PATH as well) >> That way, you pnly need to do >> >> cd singlewebspp >> ant -Ddb=mysql >> >> Your build cant find stuff, which is a path problem >> >> >> >> >> >> ----- >> >> >> On 30 Mar 2013, at 08:49 AM, Jean-Marie Landri <[email protected]> >> wrote: >> >>> java -version >>> java version "1.6.0_18" >>> OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2) >>> OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) >>> >>> >>> On Sat, Mar 30, 2013 at 2:57 AM, [email protected] >>> <[email protected]> wrote: >>>> what Java version are you using? >>>> The build actually runs fine for me. >>>> >>>> Sebastian >>>> >>>> >>>> 2013/3/30 Jean-Marie Landri <[email protected]> >>>>> Hello, >>>>> svn checkout >>>>> https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/ >>>>> >>>>> cd /usr/adm/singlewebapp >>>>> /usr/adm/apache-ant-1.8.4/bin/ant clean.all >>>>> /usr/adm/apache-ant-1.8.4/bin/ant -Ddb=mysql >>>>> >>>>> Results - >>>>> >>>>> "[ivy:resolve] [SUCCESSFUL ] >>>>> commons-cli#commons-cli;1.2!commons-cli.jar (120ms >>>>> ) >>>>> [ivy:resolve] :: resolution report :: resolve 1212ms :: artifacts dl 122ms >>>>> >>>>> --------------------------------------------------------------------- >>>>> | | modules || artifacts >>>>> | >>>>> | conf | number| search|dwnlded|evicted|| >>>>> number|dwnlded| >>>>> >>>>> --------------------------------------------------------------------- >>>>> | cmdadmin | 1 | 1 | 1 | 0 || 1 | 1 >>>>> | >>>>> >>>>> --------------------------------------------------------------------- >>>>> [ivy:retrieve] :: retrieving :: apache#openmeetings >>>>> [ivy:retrieve] confs: [cmdadmin] >>>>> [ivy:retrieve] 1 artifacts copied, 0 already retrieved (40kB/8ms) >>>>> >>>>> -retrieve-tools.jar: >>>>> >>>>> BUILD FAILED >>>>> /usr/adm/singlewebapp/build.xml:1113: Warning: Could not find file >>>>> /usr/adm/sing >>>>> lewebapp/${tools.jar.path} to copy. >>>>> >>>>> Thank you >>>> >>>> >>>> >>>> -- >>>> Sebastian Wagner >>>> https://twitter.com/#!/dead_lock >>>> http://www.webbase-design.de >>>> http://www.wagner-sebastian.com >>>> [email protected] >
