The following comment has been added to this issue:

     Author: Emmanuel Venisse
    Created: Sun, 4 Jan 2004 9:42 AM
       Body:
This patch doesn't resolve the problem. It's just a warning message, and plugin works 
fine with.

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJDIFF-2


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJDIFF-2
    Summary: Add classpath to ant:javadoc in jdiff to avoid javadoc errors.
       Type: Improvement

     Status: Unassigned
   Priority: Minor

 Original Estimate: 5 minutes
 Time Spent: Unknown
  Remaining: 5 minutes

    Project: maven-jdiff-plugin

   Assignee: 
   Reporter: 

    Created: Thu, 21 Aug 2003 1:04 AM
    Updated: Sun, 4 Jan 2004 9:42 AM

Description:
When using jdiff multiple javadoc warnings appear on the screen (see below). This can 
be avoided by adding the classpath to the javadoc tasks that are used in the jelly 
script.

    <ant:javadoc 
      sourcepath="${maven.jdiff.old.src}"
      packagenames="${pom.package}.*"
+     classpath="${maven.cp}"
      >

This will allow a user to add to the classpath in maven.xml with something like this:

        <maven:addPath id="maven-classpath" refid="maven.dependency.classpath"/>



Example javadoc warning:
    [javadoc] 
C:\cvsroot\external\astrazeneca\certification\target\jdiff\HEAD\external\astrazeneca\certification\src\java\se\jayway\az\struts\LoginAction.java:21:
 cannot resolve symbol
    [javadoc] symbol  : class ActionForward
    [javadoc] location: class se.jayway.az.struts.LoginAction
    [javadoc]     public ActionForward execute(ActionMapping mapping, ActionForm form, 
HttpServletRequest request, HttpServletResponse response) throws Exception {
    [javadoc]            ^




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to