· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Red5 Install/Open Meetings/Build Xml

OpenMeetings/BuildXml


* java5_build.xml
  • screen/openmeetings-client.jar 만 생성함.

* build_openmeetings_jar.xml
  • 다음 두 개의 jar 만 생성
  • WEB-INF/lib/openmeetings.jar
  • WEB-INF/lib/openmeetings-templates.jar

* build_red5screenshare.xml
  • red5-screenshare/red5-screenshare.jar 만 생성

* build.xml
  • 다음의 jar 만 생성함
  • WebContent
    • screen/screenviewer.jar
    • screen/openmeetings-client.jar
    • screen/viewer.jar
    • screen/rtpviewer.jar
    • screen/rtpapplet.jar
    • red5-screenshare/red5-screenshare.jar

  • WEB-INF
    • services/FileService.aar
    • services/RoomService.aar
    • services/UserService.aar

* build_red5webapp.xml
  • WEB-INF
    • lib/${project.distname}.jar
    • lib/${project.distname}-templates.jar
    • services/FileService.aar
    • services/RoomService.aar
    • services/UserService.aar

  • screen/screenviewer.jar
  • screen/${project.distname}-client.jar
  • screen/viewer.jar
  • screen/rtpviewer.jar
  • screen/rtpapplet.jar
  • red5-screenshare/red5-screenshare.jar

* build.xml 과 java5_build.xml 의 다른 점
  • temp 대신 bin 을 사용
  • screen_out.dir, screen_src.dir 이 없음
  • screenshare.lib 이 없음
  • hibernate.lib 으로 hibernate_36 대신 hibernate_331 사용
  • xDoclet classpath 가 있음
  • screen/openmeetings-client.jar 만 생성함.

  • build.xml 은 prepare 에서 directory 생성만 함. 실제 부분을 comment 처리

* build.xml 과 build_openmeetings_jar.xml 의 다른 점
  • default 가 jar 임
  • tmp 대신 bin 을 사용
  • hudson config 가 있음
  • LPS Properties 가 있음
  • screenshare.lib, start of xdoclet2 가 없음

* build_openmeetings_jar.xml 와 build_red5screenshare.xml 의 다른 점
  • default 가 dist 임

* build_red5screenshare.xml 과 build_red5webapp.xml 의 다른 점
  • start of xdoclet2 이 있음


* properties
  • source
:
    <property name="main.src.dir" value="${basedir}/src/app"/>
    <property name="webstart.src.dir" value="${basedir}/src/screenviewer"/>
    <property name="templates.src.dir" value="${basedir}/src/templates"/>
    <property name="test.src.dir" value="${basedir}/src/test"/>

    <property name="client.src.dir" value="${basedir}/src/client"/>

    <property name="screen.src.dir" value="${basedir}/src/red5-screenshare"/>

    <property name="fileservice.src.dir" value="${basedir}/src/fileservice"/>
    <property name="roomservice.src.dir" value="${basedir}/src/roomservice"/>
    <property name="userservice.src.dir" value="${basedir}/src/userservice"/>

  • output
:
    <property name="screen.out.dir" value="${basedir}/screen_compile" />

    <property name="classes.dir" value="${basedir}/temp"/>

    <property name="dist.dir" value="dist"/>

* build.xml
  • <project name="openmeetings" basedir="./" default="dist">
  • target
    • dist
      • depends="cleanForBinary, jar, signWebStartJars"

* build_red5webapp.xml
  • <project name="openmeetings" basedir="./" default="dist">
  • target
    • dist
      • depends="cleanForBinary, jar, compile.laszlo.main, signWebStartJars"

* build_openmeetings_jar.xml
  • <project name="openmeetings" basedir="./" default="jar">
  • target
    • jar
      • depends="compile"

* build_red5screenshare.xml
  • <project name="openmeetings" basedir="./" default="dist">
  • target
    • dist
      • depends="jar, signWebStartJars"

* java5_build.xml
  • <project name="openmeetings" basedir="./" default="dist">
  • target
    • dist
      • depends="cleanForBinary, jar, signWebStartJars"

build.xml


* <project name="openmeetings" basedir="./" default="dist">

* target
  • dist
    • depends: cleanForBinary, jar, signWebStartJars

* target
  • cleanForBinary
    • delete dist.dir, main.out.dir, screen.out.dir, filetest.keystore
      • directory
        • dist, temp, screen_compile
      • file
        • filetest.keystore

* http://www.rgagnon.com/javadetails/java-0532.html

* target
  • jar
    • depends: compile
    • ${dist.dir}/${project.distname}/WEB-INF/lib/
      • openmeetings.jar, openmeetings-templates.jar
    • ${basedir}/WebContent/screen/
      • screenviewer.jar, openmeetings-client.jar, viewer.jar, rtpviewer.jar, rtpapplet.jar
    • ${basedir}/WebContent/WEB-INF/services/
      • FileService.aar, RoomService.aar, UserService.aar
    • ${basedir}/WebContent/red5-screenshare/
      • red5-screenshare.jar

* target
  • compile
    • depends: prepare, resources
    • javac
      • output to temp
        • main.src.dir, webstart.src.dir, templates.src.dir, client.src.dir,
        • test.src.dir, fileservice.src.dir, roomservice.src.dir, userservice.src.dir
      • output to screen_compile
        • screen.src.dir

* target
  • prepare
    • mkdir temp, screen_compile

* target
  • resources
    • cp files to temp
    • cp files to screen_compile

build_red5webapp.xml


* <project name="openmeetings" basedir="./" default="dist">

* target
  • dist
    • depends: cleanForBinary, jar, compile.laszlo.main, signWebStartJars

* target
  • jar
    • depends compile
    • ${dist.dir}/red5/webapps/${project.distname}
      • /WEB-INF/lib/${project.distname}.jar
      • /WEB-INF/lib/${project.distname}-templates.jar
      • /screen/screenviewer.jar
      • /screen/${project.distname}-client.jar
      • /screen/viewer.jar
      • /screen/rtpviewer.jar
      • /WEB-INF/services/FileService.aar
      • /WEB-INF/services/RoomService.aar
      • /WEB-INF/services/UserService.aar
      • /screen/rtpapplet.jar
      • /red5-screenshare/red5-screenshare.jar

* target
  • compile
    • depends prepare, resources

* target
  • prepare
    • mkdir screen_compile, dist

    • copy server to dist
    • chmod
      • dist/red5
      • dist/red5/webapps/openmeetings/screen
      • dist/red5/webapps/openmeetings/jod

    • copy libs to dist/red5/webapps/openmeetings/WEB-INF/lib
      • axis2, slf4j, velocity, batik, hibernate, upload, xstream, database, ical, java2swf, jmf
    • chmod dist/red5/webapps/openmeetings/WEB-INF/lib

    • copy WebContent/languages to dist/red5/webapps/openmeetings/languages

    • copy WebContent/conf to dist/red5/webapps/openmeetings/conf

* target
  • resources
    • copy src/app, src/screenviewer, src/templates to temp
    • copy src/red5-screenshare to screen_compile

ID
Password
Join
You have an ability to sense and know higher truth.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2011-09-16 03:02:12
Processing time 0.0098 sec