james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serge Knystautas <ser...@lokitech.com>
Subject Re: Building xdocs - dependencies
Date Wed, 08 May 2002 17:52:50 GMT
Good idea... Paul is updating James to the latest avalon and once his 
changes go through, I'll make this patch.
-- 
Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com/

Scott Stirling wrote:
> Ah-ha.
> 
> I think the best solution (if anyone besides me cares) would be to
> change the echo message in this build.xml target, because this is what
> sent me on the wild goose chase to find Velocity to build xdocs:
> 
> <target name="prepare-error" depends="prepare,prepare-jdbc3"
> unless="AnakiaTask.present">
>   <echo>
>     AnakiaTask is not present! Please check to make sure that
>     velocity.jar is in your classpath.
>   </echo>
> </target>
> 
> If the echo message referenced the URL you posted below it would have
> saved me some time (not that it wasn't a good learning experience ;-> ),
> or a comment in the build.xml in the xdocs target to the effect of
> "Please read http://jakarta.apache.org/site/jakarta-site2.html and
> understand the 'How To: From Scratch' section before attempting to build
> xdocs on your local machine."
> 
> If nothing else, this email thread should help anyone who runs into the
> same problem and searches the archive.
> 
> Now I will move onto the reason I downloaded the CVS in the first place.
> Thank you for your help, Serge.
> 
> Scott Stirling
> 
> 
> 
>>-----Original Message-----
>>From: Serge Knystautas [mailto:sergek@lokitech.com] 
>>Sent: Wednesday, May 08, 2002 1:37 PM
>>To: James Developers List
>>Subject: Re: Building xdocs - dependencies
>>
>>
>>I believe we are following the steps outlined in this page: 
>>http://jakarta.apache.org/site/jakarta-site2.html
>>
>>I'll check on that problem in the FAQ.xml file.. probably me deleting 
>>something stupid.
>>-- 
>>Serge Knystautas
>>Loki Technologies - Unstoppable Websites http://www.lokitech.com/
>>
>>Scott Stirling wrote:
>>
>>>Hello,
>>>
>>>Building the xdocs target from CVS requires a chain of dependencies 
>>>because of AnakiaTask.
>>>
>>>1. One needs to download and build Velocity because that's 
>>
>>where the 
>>
>>>AnakiaTask is and Velocity doesn't have binary builds to download.  
>>>Put Velocity in classpath.
>>>
>>>2. Then one needs the jdom jar to get past a failed 
>>
>>dependency for the 
>>
>>>AnakiaTask.  This can be copied from Velocity's build/lib.
>>>
>>>3. jakarta-james\build.xml:498: Could not create task of 
>>
>>type: anakia 
>>
>>>due to java.lang.NoClassDefFoundError: 
>>>org/apache/commons/collections/ExtendedProperties
>>>
>>>This means the commons-collections.jar from Velocity's build/lib is 
>>>needed.  ExtendedProperties isn't in the Avalon collections 
>>
>>framework 
>>
>>>in CVS.
>>>
>>>Is it agreeable to fix these problems by updating and adding the 
>>>needed jars to the lib dir in CVS?  Or is there something 
>>
>>I'm missing?  
>>
>>>I'm using Ant 1.6alpha.  A different solution would be to get the 
>>>AnakiaTask into Ant.
>>>
>>>Hmmm.  Another idea is to add these steps to a readme or 
>>
>>something.  
>>
>>>The last thing I had to do was download jakarta-site2 for the 
>>>site.vsl. Then it dawned on me that all the jars I needed 
>>
>>in the steps 
>>
>>>above were already in the jakarta-site2/lib dir.  Doh!
>>>
>>>Finally -- an small bug in FAQ.xml:
>>>
>>> [anakia] Error: The element type "james" must be terminated by the 
>>>matching end-tag "</james>".
>>> [anakia]        Line: 194 Column: 6
>>>
>>>Actually just needs to change <james> to &lt;james&gt;
>>>
>>>Best,
>>>
>>>Scott Stirling
>>>Framingham, MA


--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message