There is also one thing leftover with the sequence of copying the JARs. The prepare statement does copy the JARs to the red5-screenshare directory, if you do that on the first time the JARs for the screensharing do not exist. I guess you can just move the whole copy stuff to an ant-target after the dist/ivy stuff.
Sebastian 2012/3/1 [email protected] <[email protected]> > sure I might have forgotten to mark the folder with "svnignore" > > > 2012/3/1 Maxim Solodovnik <[email protected]> > >> I'll correct it a little to reduce copy/paste. >> I see you have added lib/anakia to the svn, it was removed and downloaded >> using ivy ... can I remove it ? >> >> >> On Thu, Mar 1, 2012 at 21:10, <[email protected]> wrote: >> >> > Author: sebawagner >> > Date: Thu Mar 1 14:10:06 2012 >> > New Revision: 1295570 >> > >> > URL: http://svn.apache.org/viewvc?rev=1295570&view=rev >> > Log: >> > adds library copy to dist-debug and dist-test targets >> > >> > Modified: >> > incubator/openmeetings/trunk/singlewebapp/build.xml >> > >> > Modified: incubator/openmeetings/trunk/singlewebapp/build.xml >> > URL: >> > >> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/build.xml?rev=1295570&r1=1295569&r2=1295570&view=diff >> > >> > >> ============================================================================== >> > --- incubator/openmeetings/trunk/singlewebapp/build.xml (original) >> > +++ incubator/openmeetings/trunk/singlewebapp/build.xml Thu Mar 1 >> > 14:10:06 2012 >> > @@ -164,11 +164,29 @@ >> > >> > <!-- compiles the sources without the laszlo client --> >> > <target name="dist-test" description="binary distribution of >> > OpenMeetings" >> > - depends="cleanForBinary, jar, signWebStartJars"/> >> > + depends="cleanForBinary, jar, signWebStartJars"> >> > + >> > + <copy todir="${dist.dir}/red5/lib"> >> > + <fileset dir="${red5.lib.dir}" includes="*.jar" >> /> >> > + </copy> >> > + <copy todir="${dist.webapps.dir}/WEB-INF/lib"> >> > + <fileset dir="${om.lib.dir}" includes="*.jar" /> >> > + </copy> >> > + >> > + </target> >> > >> > <!-- compiles the sources only with laszlo debug client --> >> > <target name="dist-debug" description="binary distribution of >> > OpenMeetings" >> > - depends="cleanForBinary, jar, compile.laszlo.main.debug, >> > compile.laszlo.main.debug.as3, signWebStartJars"/> >> > + depends="cleanForBinary, jar, compile.laszlo.main.debug, >> > compile.laszlo.main.debug.as3, signWebStartJars"> >> > + >> > + <copy todir="${dist.dir}/red5/lib"> >> > + <fileset dir="${red5.lib.dir}" includes="*.jar" >> /> >> > + </copy> >> > + <copy todir="${dist.webapps.dir}/WEB-INF/lib"> >> > + <fileset dir="${om.lib.dir}" includes="*.jar" /> >> > + </copy> >> > + >> > + </target> >> > >> > <target name="prepare.mkdir" depends="-java6.check"> >> > <mkdir dir="${screen.out.dir}" /> >> > >> > >> > >> >> >> -- >> WBR >> Maxim aka solomax >> > > > > -- > Sebastian Wagner > http://www.openmeetings.de > http://incubator.apache.org/openmeetings/ > http://www.webbase-design.de > http://www.wagner-sebastian.com > [email protected] > -- Sebastian Wagner http://www.openmeetings.de http://incubator.apache.org/openmeetings/ http://www.webbase-design.de http://www.wagner-sebastian.com [email protected]
