Re: Cannot link against WO 542 api doc
Re: Cannot link against WO 542 api doc
- Subject: Re: Cannot link against WO 542 api doc
- From: Johann Werner <email@hidden>
- Date: Thu, 22 Apr 2010 10:02:42 +0200
Ok, that doesn't look special. Did you try to save the whole WO542Reference on a local disk? The problem you already noted is the missing package-list file. You have to create it in the root directory of the WO542Reference folder and point the href inside the javadoc task to that folder. The contents of my package-list file is:
com.webobjects.appserver
com.webobjects.directtoweb
com.webobjects.eoaccess
com.webobjects.eoapplication
com.webobjects.eocontrol
com.webobjects.eodistribution
com.webobjects.eogeneration
com.webobjects.eointerface
com.webobjects.foundation
com.webobjects.jdbcadaptor
com.webobjects.jndiadaptor
com.webobjects.jspservlet
com.webobjects.webservices.client
com.webobjects.webservices.generation
com.webobjects.webservices.support
com.webobjects.woextensions
so creating this file and adding
<link href="file:/<path_to_your_downloaded_woref>/WO542Reference/"/>
should work. The 5.3.3 api does include the package file that is why there is no problem. No clue why Apple decided to drop it in the 5.4.x api docs.
jw
Am 22.04.2010 um 09:05 schrieb Christoph Wick:
> It's a javadoc.xml ant file, generated by Eclipse. I call it from the command line "ant -f javadoc.xml".
>
> It looks pretty simple:
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <project default="javadoc">
> <target name="javadoc">
> <javadoc access="private" author="true" classpath="../SFWeb/Libraries/iText.jar:/Library/Frameworks/FrontBasePlugIn.framework/Resources/Java/FrontBasePlugIn.jar [SOME SHORTENING HERE]" destdir="doc" doctitle="STARFileWebDemo Documentation" nodeprecated="false" nodeprecatedlist="false" noindex="false" nonavbar="false" notree="false" packagenames="net.starhealthcare.starfilewebdemo.programConfigurations.algorithms,net.starhealthcare.starfilewebdemo,net.starhealthcare.starfilewebdemo.rightsManagement,net.starhealthcare.starfilewebdemo.components,net.starhealthcare.starfilewebdemo.programConfigurations,net.starhealthcare.starfilewebdemo.demo" source="1.5" sourcepath="Sources" splitindex="true" use="true" version="true">
>
> <!-- this DOES NOT work -->
> <!-- <link href="http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/"/> -->
>
> <!-- this WORKS -->
> <link href="http://developer.apple.com/documentation/WebObjects/Reference/WO53_Reference/"/>
> <link href="file:/Developer/Documentation/WonderDocs/api/"/>
> <link href="http://www.junit.org/junit/javadoc/4.5"/>
> <link href="file:/Users/wicki/Source/eclipse/Phoenix-E35/SFFoundation/doc/"/>
> <link href="http://java.sun.com/javase/6/docs/api/"/>
> </javadoc>
> </target>
> </project>
>
> Thx, C.U.CW
> --
> Christoph Wick Director Software Development
> STAR Healthcare Management GmbH, Pierstr. 8, 50997 Cologne, Germany
> Fon:+49 2236 33665-50 Fax:+49 2236 33665-90 www.starhealthcare.info
> -------------------------------------------------------------------
> Sitz der Gesellschaft: Köln, Amtsgericht Köln, Reg.Nr.: HRB 55306
>
>
>
>
> On 22.04.2010, at 08:43, Johann Werner wrote:
>
>> Hi Christoph,
>>
>> what is your custom package-list file looking like? Do you create javadocs from within ant as an additional task? I have such a setup that is working for me.
>>
>> jw
>>
>>
>> Am 20.04.2010 um 14:58 schrieb Christoph Wick:
>>
>>> Hi there,
>>>
>>> I try to link the javadoc for my projects against the javadocs of WebObjects 5.4.2.
>>>
>>> Therefore I put
>>>
>>> <link href="http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/"/>
>>>
>>> into my javadoc.xml ant file. Unfortunately I get an error message:
>>>
>>> [javadoc] javadoc: warning - Error fetching URL: http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/package-list
>>>
>>> OK, the file "package-list" is missing.
>>> I downloaded the api docs and inserted a manually created "package-list" file into the api docs.
>>>
>>> Doesn't work either :-(
>>>
>>> Funny to note, that it works with the WO 5.3 api doc using "<link href="http://developer.apple.com/documentation/WebObjects/Reference/WO53_Reference/"/>"
>>>
>>> Any ideas?
>>> C.U.CW
>>> --
>>> Christoph Wick Director of IT Systems and Services
>>> ACADEMY GmbH & Co.KG, Pierstrasse 8, 50997 Cologne, Germany
>>> Fon: +49 2236 33665-0 Fax: +49 2236 33665-90 http://www.academy.de
>>> ------------------------------------------------------------------
>>> Sitz der Gesellschaft: Köln, Amtsgericht Köln, Reg.Nr: HRA 16306
>>>
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>>
>>
>>
>
>
>
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden