Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 926345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:40:15+00:00 2026-05-15T19:40:15+00:00

I have a project that uses a third party library in the form of

  • 0

I have a project that uses a third party library in the form of a jar file and I am using Ant to build the project javadocs. I can’t get Ant to link to the third-party library javadocs when using the javadoc task.

Here is the javadoc task:

<javadoc excludepackagenames="" access="private" destdir="javadoc" author="true" 
         version="true" use="true" windowtitle="title" useexternalfile="true">
  <fileset dir="." defaultexcludes="yes">
    <include name="*/src/com/**/*.java"/>
  </fileset>

  <link href="http://www.redhillconsulting.com.au/products/simian/javadoc/"/> 
  <link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
</javadoc>

The output from the task says that the simian package does not exist:

[javadoc] C:\development\java\tools\src\com\cname\DuplicateCodeIdentifier.java:15: package au.com.redhillconsulting.simian does not exist
[javadoc] import au.com.redhillconsulting.simian.Checker;
[javadoc]                                        ^

Running the ant task creates all the links to the Sun website correctly but not to the redhillconsulting site. Both URLs lead to a package-list file and appropriate paths (matching the package-list contents).

How do I configure the <javadoc> Ant task to generate the links to the third-party site?

Note: The simian jar file is in tools/lib. I haven’t seen it specified that any sort of classpath is an option so I haven’t explored that avenue but I have tried adding the jar file to the fileset include path and that wasn’t any good.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T19:40:16+00:00Added an answer on May 15, 2026 at 7:40 pm

    The javadoc tag accepts an embedded classpath tag

    <javadoc ...>
        <classpath>
            <fileset dir="${dir.lib}">
                <include name="simian.jar"/>
            </fileset>
        </classpath>
    </javadoc>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project that uses two third party libraries, both of which make
I have a solution file that requires a third party library (open source). The
I'm working on an iPad project that uses a third-party SDK, and have been
I have a ant build script that uses a build.properties file. There I have
I have a project that uses a single .py file to build and zip
I have a project that uses the Enterprise Library 4.1. When I target .net
I have an MFC application that uses an ancient (circa 1999) third-party ActiveX control.
I have a project that uses Serve and is version controlled using Git. Serve
I have a project that uses an asmx file with [WebMethods] and [SoapHeader(Auth)]. I
Background I have a Windows service that uses various third-party DLLs to perform work

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.