"ant jar.only" will not work on "clean" sources you need to run "ant dist" first or "ant dist -Ddb=mysql" if you plan to use mysql later
On Wed, Dec 11, 2013 at 3:38 PM, 小野圭二 <[email protected]> wrote: > Cause of build failed was nothing with build and dist folders. > They could not check out from reps. > The folders under 2.x is are as following > > [onoke@localhost 2.x]$ ls > CHANGELOG build-jaudiotagger.xsl docs test > LICENSE build-red5_ivy.xsl ivy.xml xdocs > NOTICE build-red5_ivysettings.xsl ivysettings.xml > README build.properties ivysettings.xsd > WebContent build.xml src > > > And build error is as following. > > [onoke@localhost 2.x]$ ant jar.only > Buildfile: /home/onoke/OpenMeetingsSrc/2.x/build.xml > > buildJavaDocs: > [javadoc] Generating Javadoc > > BUILD FAILED > /home/onoke/OpenMeetingsSrc/2.x/build.xml:421: > /home/onoke/OpenMeetingsSrc/2.x/build/red5/server/dist/plugins does > not exist. > > Total time: 0 seconds > > 2013/12/11 Maxim Solodovnik <[email protected]>: > > could you please provide bigger log from the build? > > > > > > On Wed, Dec 11, 2013 at 3:29 PM, 小野圭二 <[email protected]> wrote: > >> > >> From there, sorry. > >> > >> [onoke@localhost OpenMeetingsSrc]$ java -version > >> java version "1.7.0_25" > >> OpenJDK Runtime Environment (rhel-2.3.10.4.el6_4-i386) > >> OpenJDK Client VM (build 23.7-b01, mixed mode, sharing) > >> [onoke@localhost OpenMeetingsSrc]$ ant -version > >> Apache Ant(TM) version 1.8.3 compiled on February 26 2012 > >> > >> 2013/12/11 Maxim Solodovnik <[email protected]>: > >> > OK > >> > lets start from the beginning > >> > What is the java and ant version? > >> > > >> > > >> > On Wed, Dec 11, 2013 at 3:23 PM, 小野圭二 <[email protected]> wrote: > >> >> > >> >> Fum, i tried again twice, but the result as same. > >> >> Both of build and dist folders could not checked out into my env. > >> >> > >> >> 2013/12/11 小野圭二 <[email protected]>: > >> >> > thanks :-) > >> >> > > >> >> > 2013/12/11 Maxim Solodovnik <[email protected]>: > >> >> >> The checkout URL is correct > >> >> >> You can reduce traffic time and checkout only the branch you need > >> >> >> https://svn.apache.org/repos/asf/openmeetings/branches/2.x/ > >> >> >> > >> >> >> > >> >> >> On Wed, Dec 11, 2013 at 2:32 PM, 小野圭二 <[email protected]> wrote: > >> >> >>> > >> >> >>> Yes, just checked out and did ant. > >> >> >>> I will try it again with more new folder. > >> >> >>> Just confirmation, the checkout is correct as following? > >> >> >>> > >> >> >>> >svn checkout https://svn.apache.org/repos/asf/openmeetings/ > >> >> >>> > >> >> >>> 2013/12/11 Maxim Solodovnik <[email protected]>: > >> >> >>> > so you are stating with clean sources (just checked out) and > get > >> >> >>> > this > >> >> >>> > error? > >> >> >>> > This is really weird since I have performed ~5 builds of this > >> >> >>> > branch > >> >> >>> > this > >> >> >>> > morning and there were no commits into it for ~3 days ... > >> >> >>> > > >> >> >>> > > >> >> >>> > On Wed, Dec 11, 2013 at 2:15 PM, 小野圭二 <[email protected]> > wrote: > >> >> >>> >> > >> >> >>> >> BUILD FAILED > >> >> >>> >> > >> >> >>> >> > >> >> >>> >> > /home/onoke/OpenMeetingsSrc/openmeetings/branches/2.x/build.xml:421: > >> >> >>> >> > >> >> >>> >> > >> >> >>> >> > >> >> >>> >> > >> >> >>> >> > /home/onoke/OpenMeetingsSrc/openmeetings/branches/2.x/build/red5/server/dist/plugins > >> >> >>> >> does not exist. > >> >> >>> >> > >> >> >>> >> > >> >> >>> >> > >> >> >>> >> 2013/12/11 Maxim Solodovnik <[email protected]>: > >> >> >>> >> > And what is the error in this case? > >> >> >>> >> > > >> >> >>> >> > > >> >> >>> >> > On Wed, Dec 11, 2013 at 2:04 PM, 小野圭二 <[email protected]> > >> >> >>> >> > wrote: > >> >> >>> >> >> > >> >> >>> >> >> My *new* 2.x pass dose not have both of 'build' and 'dist' > >> >> >>> >> >> folders. > >> >> >>> >> >> > >> >> >>> >> >> 2013/12/11 Maxim Solodovnik <[email protected]>: > >> >> >>> >> >> > 2.0 is too old and most probably is not buildable > >> >> >>> >> >> > 2.x was not changed, seems like your file system > problems, > >> >> >>> >> >> > please > >> >> >>> >> >> > try > >> >> >>> >> >> > to > >> >> >>> >> >> > delete "build" and "dist folders and retry :) > >> >> >>> >> >> > > >> >> >>> >> >> > > >> >> >>> >> >> > On Wed, Dec 11, 2013 at 1:58 PM, 小野圭二 < > [email protected]> > >> >> >>> >> >> > wrote: > >> >> >>> >> >> >> > >> >> >>> >> >> >> Hi, > >> >> >>> >> >> >> > >> >> >>> >> >> >> Today, there were a ton of commits. > >> >> >>> >> >> >> So i did refresh my svn src and did ant, but it failed > as > >> >> >>> >> >> >> following > >> >> >>> >> >> >> > >> >> >>> >> >> >> -in 2.0 > >> >> >>> >> >> >> BUILD FAILED > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > /home/onoke/OpenMeetingsSrc/openmeetings/branches/2.0/build.xml:507: > >> >> >>> >> >> >> java.util.MissingResourceException: > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > org.apache.openjpa.persistence.PersistenceProductDerivation:java.io.FileNotFoundException: > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > /home/onoke/OpenMeetingsSrc/openmeetings/branches/2.0/dist/red5/webapps/openmeetings/WEB-INF/classes/META-INF/derby_persistence.xml > >> >> >>> >> >> >> (No such file or directory) > >> >> >>> >> >> >> > >> >> >>> >> >> >> -in 2.x > >> >> >>> >> >> >> BUILD FAILED > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > /home/onoke/OpenMeetingsSrc/openmeetings/branches/2.x/build.xml:421: > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > >> >> >>> >> >> >> > /home/onoke/OpenMeetingsSrc/openmeetings/branches/2.x/build/red5/server/dist/plugins > >> >> >>> >> >> >> does not exist. > >> >> >>> >> >> >> > >> >> >>> >> >> >> Certainly, the 'build' pass is not there in rev 1550057. > >> >> >>> >> >> >> It > >> >> >>> >> >> >> was > >> >> >>> >> >> >> also > >> >> >>> >> >> >> in singlewebapp, rev 1550058. > >> >> >>> >> >> >> > >> >> >>> >> >> >> Dose it cause of you are in working ? > >> >> >>> >> >> >> > >> >> >>> >> >> >> -Ono > >> >> >>> >> >> > > >> >> >>> >> >> > > >> >> >>> >> >> > > >> >> >>> >> >> > > >> >> >>> >> >> > -- > >> >> >>> >> >> > WBR > >> >> >>> >> >> > Maxim aka solomax > >> >> >>> >> > > >> >> >>> >> > > >> >> >>> >> > > >> >> >>> >> > > >> >> >>> >> > -- > >> >> >>> >> > WBR > >> >> >>> >> > Maxim aka solomax > >> >> >>> > > >> >> >>> > > >> >> >>> > > >> >> >>> > > >> >> >>> > -- > >> >> >>> > WBR > >> >> >>> > Maxim aka solomax > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> -- > >> >> >> WBR > >> >> >> Maxim aka solomax > >> > > >> > > >> > > >> > > >> > -- > >> > WBR > >> > Maxim aka solomax > > > > > > > > > > -- > > WBR > > Maxim aka solomax > -- WBR Maxim aka solomax
