
You are here: MyURC.org > Tools & Prototypes > UCHj > tutorial > Trace UCHj - 3rd Party Licenses
Trace UCHj ANT Usage:
- Target: "init"
Create directory structure like a Tomcat Project at [TOMCAT_HOME]/webapps if it does not exist.
[TOMCAT_HOME]/webapps/UCH/WEB-INF/lib
- Target: "compile-all"
Compile all the .java files of the directory UCH/dev/src recursively and create the .class files at the same location.
- Target: "make-jar"
Create uch.jar file which contains .class files of the packages:
- edu.wisc.trace.uch
- edu.wisc.trace.uch.resource
- edu.wisc.trace.uch.util
- edu.wisc.trace.uch.util.socket
- edu.wisc.trace.uch.util.retrievalmanager
- edu.wisc.trace.uch.servlet
- edu.wisc.trace.uch.action
Create upnptdm.jar file which contains .class files of the package and its sub packages:
- edu.wisc.trace.uch.tdm.upnp
Create upnpavta.jar file which contains .class files of the package and its sub packages:
- edu.wisc.trace.uch.ta.upnpav
Create satelliteboxta.jar file which contains .class files of the package and its sub packages:
- edu.wisc.trace.uch.ta.upnpsatellitebox
Create generictdm.jar file which contains .class files of the package and its sub packages:
- edu.wisc.trace.uch.tdm.generic
Create genericta.jar file which contains .class files of the package and its sub packages:
- edu.wisc.trace.uch.ta.generictarget
Create urchttpuipm.jar file which contains .class files of the package and its sub packages:
- edu.wisc.trace.uch.uipm.urchttp
Put all the created jar files in UCH/bin directory.
- Target: "copy-to-tomcat"
In this process files from other projects are being pulled in.
Required Files:
- Copy the file UCH/bin/index.xml to [TOMCAT_HOME]/webapps/UCH directory.
- Copy the file UCH/dev/web.xml to [TOMCAT_HOME]/webapps/UCH/WEB-INF directory.
- Copy the files license.txt, Installation.php, UCHj-ReleaseNotes.php and 3rdPartyLicenses.php from UCH directory to [TOMCAT_HOME]/webapps/UCH directory.
UCH Files:
- Copy the jar files uch.jar, clink.jar, xercesImpl.jar and gclib.jar from the directories UCH/bin, UCH/dev/lib/int/upnp, UCH/dev/lib/int/exrces and TraceProjs/GC100Targets/bin to [TOMCAT_HOME]/webapps/UCH/WEB-INF/lib directory respectively.
- Copy the file UCH/dev/src/edu/wisc/trace/uch/uch.config to [TOMCAT_HOME]/webapps/UCH/WEB-INF directory.
UPnP TDM Files:
- Copy the jar file upnptdm.jar from UCH/bin to [TOMCAT_HOME]/webapps/UCH/WEB-INF/lib directory.
UPnP TA Files:
- UPnP AV TA Files:
- Copy the jar file upnpavta.jar from UCH/bin to [TOMCAT_HOME]/webapps/UCH/WEB-INF/lib directory.
- Copy the files UpnpEntertainmentSystem.td, play-1.uis, play-2.uis, play-1.rsheet, play-2.rsheet and UpnpEntertainmentSystem.rsheet from TraceProjs/MyURC/web/UiSocketsForUpnpDcps/AV to [TOMCAT_HOME]/webapps/UCH/upnpav directory.
- Satellite Box Files:
- Copy the jar file satelliteboxta.jar from UCH/bin to [TOMCAT_HOME]/webapps/UCH/WEB-INF/lib directory.
- Create a new directory [TOMCAT_HOME]/webapps/UCH/SatelliteBoxNQT and copy the files satellite_box.td, satellite_box.uis, satellitebox.rsheet and satellitebox-target.rsheet from TraceProjs/SatelliteBoxNQT/res to [TOMCAT_HOME]/webapps/UCH/SatelliteBoxNQT directory.
Generic TDM Files:
- Copy the jar file generictdm.jar from UCH/bin to [TOMCAT_HOME]/webapps/UCH/WEB-INF/lib directory.
- Create new directories [TOMCAT_HOME]/webapps/UCH/generic and [TOMCAT_HOME]/webapps/UCH/generic/tdmconfig.
- Copy the file UCH/dev/src/edu/wisc/trace/uch/tdm/generic/generictdm.config to [TOMCAT_HOME]/webapps/UCH/generic/tdmconfig directory.
Generic TA Files:
- Copy the jar file genericta.jar from UCH/bin to [TOMCAT_HOME]/webapps/UCH/WEB-INF/lib directory.
- Generic TV Device Files:
- Create a new directory [TOMCAT_HOME]/webapps/UCH/generic/tv and copy all files from UCH/dev/src/edu/wisc/trace/uch/ta/generictarget/res to [TOMCAT_HOME]/webapps/UCH/generic/tv directory excluding *.bak and .* files.
GC-100 Files:
- Copy all jar files from TraceProjs/GC100Targets/bin to [TOMCAT_HOME]/webapps/UCH/WEB-INF/lib directory.
- Create a new directory [TOMCAT_HOME]/webapps/UCH/gc100 and copy all files from TraceProjs/GC100Targets/res to [TOMCAT_HOME]/webapps/UCH/gc100 directory excluding *.bak and .* files.
URC-HTTP UIPM Files:
- Copy the jar file urchttpuipm.jar from UCH/bin to [TOMCAT_HOME]/webapps/UCH/WEB-INF/lib directory.
Delete Used Files:
- Delete all jar files from UCH/bin directory.
PlayIt Files:
- Create a new directory [TOMCAT_HOME]/webapps/UCH/PlayIt and copy all files from TraceProjs/RemoteFlashUrc/bin to [TOMCAT_HOME]/webapps/UCH/PlayIt directory excluding *.bak and .* files.
- Copy the files Installation.php, PlayIt-ReleaseNotes.html and 3rdPartyLicenses.php from TraceProjs/PlayIt directory to [TOMCAT_HOME]/webapps/UCH/PlayIt directory.
DragIt Files:
- Create a new directory [TOMCAT_HOME]/webapps/UCH/DragIt and copy all files from TraceProjs/DragIt/bin and its sub directories to [TOMCAT_HOME]/webapps/UCH/DragIt directory excluding *.bak and .* files.
- Copy the files Installation.php, DragIt-ReleaseNotes.html and 3rdPartyLicenses.php from TraceProjs/DragIt directory to [TOMCAT_HOME]/webapps/UCH/DragIt directory.
WebClient Files:
- Create a new directory [TOMCAT_HOME]/webapps/UCH/webclient and copy all files from TraceProjs/UpnpTargets/Webclient/bin and its sub directories to [TOMCAT_HOME]/webapps/UCH/webclient directory excluding *.zip, SatelliteBox2.html, *.bak, *.builddate and .* files.
- Copy the files Installation.php and Webclient-ReleaseNotes.html from TraceProjs/Webclient directory to [TOMCAT_HOME]/webapps/Webclient directory.
SatelliteBox NQT Files:
- Copy all files from TraceProjs/SatelliteBoxNQT/bin to [TOMCAT_HOME]/webapps/UCH/SatelliteBoxNQT directory.
- Copy the files Installation.php, SatelliteBoxNQT-ReleaseNotes.html and 3rdPartyLicenses.php from TraceProjs/SatelliteBoxNQT to [TOMCAT_HOME]/webapps/UCH/SatelliteBoxNQT directory.
Cache Directory:
- Create a new directory [TOMCAT_HOME]/webapps/UCH/cache
- Target: "uch-war"
Create a UCH.war file and copy it to UCH/bin directory.
UCH.war contains following contents
[TOMCAT_HOME]/webapps/UCH/**
NOTE: ** - all files, directories with sub-directories and files of that directory.
- Target: "javadoc"
Create Java documentation for all the classes and packages and put them under UCH/doc directory.
- Target: "uch_zip"
Create a uch.zip file at UCH/zip which contains following contents
- UCH/UCHj-ReleaseNotes.php
- UCH/3rdPartyLicenses.php
- UCH/Installation.php
- UCH/license.txt
- UCH/LicenseAgreement.php
- UCH/dev/*
- UCH/dev/src/**
- UCH/dev/lib/int/**
- UCH/dev/lib/ext/**
- UCH/dev/lib/ext/**/Readme.*
- UCH/doc/**
- UCH/tutorial/**
- UCH/bin/UCH.war
- UCH/bin/Installation.php
- UCH/${datetime}.builddate
- NOTE: * - all files of that directory only.
- ** - all files, directories with sub-directories and files of that directory.
Don't include following contents
- **/.*
- dev/lib/ext/**
- **/*.class
- keystore/**
- zip/**
- **/*.bak
- **/.cvsignore
- dev/*.builddate
- NOTE: * - all files of that directory only.
- ** - all files, directories with sub-directories and files of that directory.
Last update: Parikshit Thakur & Team, 2008-11-04