Re: [Hypercontent-users] Ant Configuration Problem
Brought to you by:
alexvigdor
From: Alex V. <av...@co...> - 2005-07-08 15:38:56
|
Hi Liying, This is not a serious error; the XML isn't really intended for =20= display, but rather for use as a data storage format, and HyperContent =20= uses an Oasis XML catalog (/classes/properties/catalog.xml) to map =20 these URLs to local copies of the core DTDs (this is why the DTD is =20 found fine when you go to edit the file, even though it isn't up on the =20= web site yet). No matter what you do, don't try to change the URL of =20= those core system DTDs! Some, for example the custom-dictionary DTD, =20= must have the exact URL in order to function properly. I will try to load those DTDs on the web site later today, after I =20 finish packaging the beta3 release, to remove the annoyance of those =20 browser errors. Just as a note, I believe Firefox and Mozilla will go =20= ahead and display the XML whether or not they find the DTD; that error =20= is really IE specific. Alex=09 On Jul 8, 2005, at 11:26 AM, Liying Miao wrote: > > Hi Alex, > =A0 > The error goes away by being changed to "/". I just don't understand =20= > why it works in the other uPortal ant commands. > =A0 > Anyway, we are still at the stage of testing the versions of uPortal =20= > and HC, both HC2.0 and HC1.4. Here is another question: > =A0 > When I click on =93View=94 link, it shows: > > The XML page cannot be displayed > > Cannot view XML input using style sheet. Please correct the error and =20= > then click the Refresh button, or try again later. > > > The system cannot locate the object specified. Error processing =20 > resource 'http://hypercontent.sourceforge.net/dtd/hypercont... > Is that because this filesystem.dtd doesn=92t exist in =20 > http://hypercontent.sourceforge.net/dtd/ directory? Is it defined in =20= > filesystem.xml(<!DOCTYPE repository SYSTEM =20 > "http://hypercontent.sourceforge.net/dtd/filesystems.dtd">). Shall I =20= > change it to <!DOCTYPE repository SYSTEM =20 > "/source/properties/dtd/filesystems.dtd">? I=92m not sure about the = path =20 > though. > =A0 > Thanks for all the help, > Liying > =A0 > =A0 > =A0 > > From: hyp...@li... =20 > [mailto:hyp...@li...] On Behalf Of =20= > Alex Vigdor > Sent: Tuesday, July 05, 2005 5:52 PM > To: 'Hypercontent-users' > Subject: Re: [Hypercontent-users] Ant Configuration Problem > =A0 > > Hi Liying, > In your last example, the ant directory name changed from upper to =20= > 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 =20= > the paths in build.properties for it to install properly in a current =20= > uPortal release, as HC1.4 was released back around uPortal 2.2.x. =20 > Also, the "auto-publish" command does not work in newer uPortals; you =20= > can search this mailing list archive for instructions on manually =20 > 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 withrunning ant 1.6.2. I have setANT_HOME in path. > > Here is the problem: > > When Itype Ant, it works: > > C:\UPORTAL>ant > > C:\UPORTAL>set ANT_HOME=3D./Ant_1-6-2 > > C:\UPORTAL>./Ant_1-6-2/bin/ant.bat > > Buildfile: build.xml > > help: > > =A0=A0=A0=A0 [echo] Please read the README file which explains how to = operate =20 > this uPort > > al quick-start package > > =A0=A0=A0=A0 [echo] To see the possible ant targets, type 'ant = -projecthelp' > > BUILD SUCCESSFUL > > Total time: 0 seconds > > However, whenI typeant =96buildfileHyperContent1_4\build.xml, it = doesn=92t =20 > 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 whenI 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 internalor external =20= > command, operable program or batch file. > > My path: > > Path=3DC:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:=20 > \Program Files\Co > > mmon Files\OpSession\Shared;C:\Program Files\Common =20 > Files\OpSession\Viewer Share > > d;C:\Program Files\Common Files\Adaptec =20 > Shared\System;C:\PROGRA~1\IBM\SQLLIB\BIN > > ;C:\PROGRA~1\IBM\SQLLIB\FUNCTION; C:\Program =20 > 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=3D.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH > > Please help!I couldn=92t figure it out!!! > > Liying Miao > > ERP/IT > Florida A&M University |