Re: [Hypercontent-users] Ant Configuration Problem
Brought to you by:
alexvigdor
From: Carl B. <C.P...@hu...> - 2005-07-06 08:42:48
|
Hy Liying A while ago I moved HyperContent 1.4 from our test portal to our live portal. I manually published it because that seemed best way to go. I noted down what I did, this might be of help. Although our live portal is uPortal 2.1.4 so file structure may differ but it will give you any idea of the files and where they need to go. We are running uPortal with Apache and Resin on a Unix system, you probably won't be running with the same config, TRANSFER copy over install directory /local/uPortal/uPortal_rel-2-1-4/HyperContent1_4 copy over HyperContent classes. /local/uPortal/uPortal_rel-2-1-4/webpages/WEB-INF/classes/edu/Columbia copy over project repositories /local/uPortal/uPortal_rel-2-1-4/hypercontent-repositories copy over htmlarea directory /local/uPortal/uPortal_rel-2-1-4/webpages/htmlarea copy over HyperContent properties directory /local/uPortal/uPortal_rel-2-1-4/webpages/WEB-INF/classes/properties/hypercontent copy over Media files /local/uPortal/uPortal_rel-2-1-4/webpages/media/edu copy over lib directory /local/uPortal/uPortal_rel-2-1-4/webpages/WEB-INF/lib copy over FileSystemConfig.xml /local/uPortal/uPortal_rel-2-1-4/webpages/WEB-INF/classes/properties CHANNEL SETUP Switch to simple security Restart resin Login as Admin Add channel in channel manager with channel class edu.columbia.hypercontent.contentmanager.CContentManager Restart resin Login as staff Add the channel to the layout Alex Vigdor wrote: > Hi Liying, > In your last example, the ant directory name changed from upper to > lowercase, perhaps that is the cause of the last error? > > I take it you're trying to install v1.4 now. You will have to adjust > the paths in build.properties for it to install properly in a current > uPortal release, as HC1.4 was released back around uPortal 2.2.x. > Also, the "auto-publish" command does not work in newer uPortals; you > can search this mailing list archive for instructions on manually > publishing the HC1.4 channel in uPortal. > > -Alex > > On Jul 5, 2005, at 4:16 PM, Liying Miao wrote: > > Hi All, > > > I have a problem with running ant 1.6.2. I have set ANT_HOME in path. > > Here is the problem: > > When I type Ant, it works: > > C:\UPORTAL>ant > > C:\UPORTAL>set ANT_HOME=./Ant_1-6-2 > > C:\UPORTAL>./Ant_1-6-2/bin/ant.bat > > Buildfile: build.xml > > help: > > [echo] Please read the README file which explains how to > operate this uPort > > al quick-start package > > [echo] To see the possible ant targets, type 'ant -projecthelp' > > BUILD SUCCESSFUL > > Total time: 0 seconds > > However, when I type ant –buildfile HyperContent1_4\build.xml, it > doesn’t read build.xml in another directory. > > C:\UPORTAL>./Ant_1-6-2/bin/ant.bat -buildfile > > You must specify a buildfile when using the -buildfile argument > > Then when I tried directly: > > C:\UPORTAL>./ant_1-6-2/bin/ant.bat -buildfile > HyperContent1_4\build.xml > > I get error message '.' is not recognized as an internal or > external command, operable program or batch file. > > My path: > > Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program > Files\Co > > mmon Files\OpSession\Shared;C:\Program Files\Common > Files\OpSession\Viewer Share > > d;C:\Program Files\Common Files\Adaptec > Shared\System;C:\PROGRA~1\IBM\SQLLIB\BIN > > ;C:\PROGRA~1\IBM\SQLLIB\FUNCTION; C:\Program > Files\Java\jdk1.5.0_02\bin;C:\Progr > > am Files\MySQL\MySQL Server 4.1\bin;C:\UPORTAL\Ant_1-6-2\\bin > > PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH > > Please help! I couldn’t figure it out!!! > > Liying Miao > > ERP/IT > Florida A&M University > -- ************************************ Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |