ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40900] New: - javadoc tasks that worked on 1.6.5 fail on 1.7.0Beta3
Date Sun, 05 Nov 2006 23:54:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40900>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40900

           Summary: javadoc tasks that worked on 1.6.5 fail on 1.7.0Beta3
           Product: Ant
           Version: 1.7.0Beta3
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: dim@colebatch.com


I have a javadoc task that looks like:

		<javadoc
            docletpath="C:\bea\weblogic81\server\lib\ejbgen.jar"
            destdir="C:\dev\tmp\ibus-param\gensrc"
			failonerror="yes"
            >
            <classpath>
				<pathelement 
location="C:\dev\ibus\thirdparty\patches\wlSecurityProviders.jar" />
				<pathelement location="C:\bea\weblogic81
\server\lib\weblogic.jar" />
				<pathelement location="C:\bea\weblogic81
\server\lib\mbeantypes\wlManagement.jar" />
				<pathelement 
location="C:\dev\ibus\thirdparty\lib\junit.jar" />
				<pathelement 
location="C:\dev\ibus\thirdparty\lib\mockobjects\mockobjects-core-
0.10dev.jar" />
				<pathelement 
location="C:\dev\ibus\thirdparty\lib\mockobjects\mockobjects-jdk1.4-
0.10dev.jar" />
				<pathelement 
location="C:\dev\ibus\thirdparty\lib\mockobjects\mockobjects-jdk1.4-j2ee1.3-
0.10dev.jar" />
				<pathelement 
location="C:\dev\ibus\thirdparty\lib\mockejb\commons-logging.jar" />
				<pathelement 
location="C:\dev\ibus\thirdparty\lib\mockejb\mockejb.jar" />
				<pathelement 
location="C:\dev\ibus\thirdparty\lib\ehcache\commons-collections.jar" />
				<pathelement 
location="C:\dev\ibus\thirdparty\lib\ehcache\commons-logging.jar" />
				<pathelement 
location="C:\dev\ibus\thirdparty\lib\ehcache\ehcache-1.1.jar" />
				<pathelement 
location="C:\dev\ibus\thirdparty\lib\ehcache\log4j.jar" />
			</classpath>
            <sourcepath>
                <pathelement location="C:\dev\ibus\param\src"/>
                <pathelement location="C:\dev\tmp\ibus-param\gensrc"/>
            </sourcepath>
            <fileset dir="C:\dev\ibus\param\src">
                <include name="**/*Bean.java"/>
            </fileset>
            <doclet name="weblogic.tools.ejbgen.EJBGen"/>
        </javadoc>

It is obviously heavily dependent on my environment so I haven't gone as far 
as creating a testcase that works aside, but I can replicate the bug by adding 
the above to the javadoc.xml test case and adding the corresponding test in 
JavadocTest.

Under 1.6.5 this gives:

  [javadoc] Generating Javadoc
  [javadoc] Executing 'C:\Program Files\Java\jdk1.5.0_05\bin\javadoc.exe' with 
arguments:
  [javadoc] '-d'
  [javadoc] 'C:\dev\tmp\ibus-param\gensrc'
  [javadoc] '-classpath'
  
[javadoc] 'C:\dev\ibus\thirdparty\patches\wlSecurityProviders.jar;C:\bea\weblog
ic81\server\lib\weblogic.jar;C:\bea\weblogic81
\server\lib\mbeantypes\wlManagement.jar;C:\dev\ibus\thirdparty\lib\junit.jar;C:
\dev\ibus\thirdparty\lib\mockobjects\mockobjects-core-
0.10dev.jar;C:\dev\ibus\thirdparty\lib\mockobjects\mockobjects-jdk1.4-
0.10dev.jar;C:\dev\ibus\thirdparty\lib\mockobjects\mockobjects-jdk1.4-j2ee1.3-
0.10dev.jar;C:\dev\ibus\thirdparty\lib\mockejb\commons-
logging.jar;C:\dev\ibus\thirdparty\lib\mockejb\mockejb.jar;C:\dev\ibus\thirdpar
ty\lib\ehcache\commons-
collections.jar;C:\dev\ibus\thirdparty\lib\ehcache\commons-
logging.jar;C:\dev\ibus\thirdparty\lib\ehcache\ehcache-
1.1.jar;C:\dev\ibus\thirdparty\lib\ehcache\log4j.jar'
  [javadoc] '-sourcepath'
  [javadoc] 'C:\dev\ibus\param\src;C:\dev\tmp\ibus-param\gensrc'
  [javadoc] '-doclet'
  [javadoc] 'weblogic.tools.ejbgen.EJBGen'
  [javadoc] '-docletpath'
  [javadoc] 'C:\bea\weblogic81\server\lib\ejbgen.jar'
  [javadoc] 'C:\dev\ibus\param\src\com\toyota\ibus\param\ParamEntityBean.java'
  
[javadoc] 'C:\dev\ibus\param\src\com\toyota\ibus\param\ParamEntityGroupROBean.j
ava'
  
[javadoc] 'C:\dev\ibus\param\src\com\toyota\ibus\param\ParamEntityROBean.java'
  [javadoc] 'C:\dev\ibus\param\src\com\toyota\ibus\param\ParamSessionBean.java'
  [javadoc]
  [javadoc] The ' characters around the executable and arguments are
  [javadoc] not part of the command.
  [javadoc] Javadoc execution
  [javadoc] Loading source file 
C:\dev\ibus\param\src\com\toyota\ibus\param\ParamEntityBean.java...
  [javadoc] Loading source file 
C:\dev\ibus\param\src\com\toyota\ibus\param\ParamEntityGroupROBean.java...
  [javadoc] Loading source file 
C:\dev\ibus\param\src\com\toyota\ibus\param\ParamEntityROBean.java...
  [javadoc] Loading source file 
C:\dev\ibus\param\src\com\toyota\ibus\param\ParamSessionBean.java...
  [javadoc] Constructing Javadoc information...
  [javadoc] 
C:\dev\ibus\param\src\com\toyota\ibus\param\ParamEntityBean.java:167: cannot 
find symbol
  [javadoc] symbol  : class ParamEntityPK
  [javadoc] location: class com.toyota.ibus.param.ParamEntityBean
  [javadoc]     public ParamEntityPK ejbCreate(
  [javadoc]                ^
  [javadoc] 
C:\dev\ibus\param\src\com\toyota\ibus\param\ParamEntityROBean.java:172: cannot 
find symbol
  [javadoc] symbol  : class ParamEntityPK
  [javadoc] location: class com.toyota.ibus.param.ParamEntityROBean
  [javadoc]     public ParamEntityPK ejbCreate(
  [javadoc]                ^
  [javadoc] 
C:\dev\ibus\param\src\com\toyota\ibus\param\ParamSessionBean.java:52: cannot 
find symbol
  [javadoc] symbol  : class ParamEntityLocalHome
  [javadoc] location: class com.toyota.ibus.param.ParamSessionBean
  [javadoc]     private ParamEntityLocalHome            _paramEntityHome;
  [javadoc]                 ^
  [javadoc] 
C:\dev\ibus\param\src\com\toyota\ibus\param\ParamSessionBean.java:53: cannot 
find symbol
  [javadoc] symbol  : class ParamEntityROLocalHome
  [javadoc] location: class com.toyota.ibus.param.ParamSessionBean
  [javadoc]     private ParamEntityROLocalHome          _paramEntityROHome;
  [javadoc]                 ^
  [javadoc] 
C:\dev\ibus\param\src\com\toyota\ibus\param\ParamSessionBean.java:54: cannot 
find symbol
  [javadoc] symbol  : class ParamEntityGroupROLocalHome
  [javadoc] location: class com.toyota.ibus.param.ParamSessionBean
  [javadoc]     private ParamEntityGroupROLocalHome     _paramGroupHome;
  [javadoc]                 ^
  [javadoc] EJBGen 2.16
  [javadoc] [Info:]  Creating C:\dev\tmp\ibus-
param\gensrc\com\toyota\ibus\param\ParamSessionHome.java
  [javadoc] [Info:]  Creating C:\dev\tmp\ibus-
param\gensrc\com\toyota\ibus\param\ParamSession.java
  [javadoc] [Info:]  Creating C:\dev\tmp\ibus-
param\gensrc\com\toyota\ibus\param\ParamEntityLocal.java
  [javadoc] [Info:]  Creating C:\dev\tmp\ibus-
param\gensrc\com\toyota\ibus\param\ParamEntityGroupROLocal.java
  [javadoc] [Info:]  Creating C:\dev\tmp\ibus-
param\gensrc\com\toyota\ibus\param\ParamEntityROLocal.java
  [javadoc] [Info:]  Creating C:\dev\tmp\ibus-
param\gensrc\com\toyota\ibus\param\ParamEntityLocalHome.java
  [javadoc] [Info:]  Creating C:\dev\tmp\ibus-
param\gensrc\com\toyota\ibus\param\ParamEntityGroupROLocalHome.java
  [javadoc] [Info:]  Creating C:\dev\tmp\ibus-
param\gensrc\com\toyota\ibus\param\ParamEntityROLocalHome.java
  [javadoc] [Info:]  Creating C:\dev\tmp\ibus-
param\gensrc\com\toyota\ibus\param\ParamEntityPK.java
  [javadoc] [Info:] ParamEntityRO EJB file is more recent, not regenerating 
Primary key class
  [javadoc] [Info:]  Creating C:\dev\tmp\ibus-
param\gensrc\com\toyota\ibus\param\ParamEntityValue.java
  [javadoc] [Info:]  Creating C:\dev\tmp\ibus-
param\gensrc\com\toyota\ibus\param\ParamEntityROValue.java
  [javadoc] 
C:\dev\ibus\param\src\com\toyota\ibus\param\ParamSessionBean.java:23: Warning: 
Found several ejbgen:ejb-client-jar.  Will use only one of them.
  [javadoc] [Info:]  Creating C:\dev\tmp\ibus-param\gensrc\\ejb-jar.xml
  [javadoc] [Info:]  Creating C:\dev\tmp\ibus-param\gensrc\\weblogic-ejb-
jar.xml
  [javadoc] [Info:]  Creating C:\dev\tmp\ibus-param\gensrc\\weblogic-cmp-rdbms-
jar.xml
  [javadoc] [Info:]  Creating C:\dev\tmp\ibus-param\gensrc\ejbgen-build.xml5 
warnings

But under 1.7.0Beta3 i get:

  [javadoc] C:\dev\tmp\ibus-param\gensrc doesn't contain any packages, 
dropping it.
  [javadoc] Generating Javadoc
  [javadoc] Executing 'C:\Program Files\Java\jdk1.5.0_05\bin\javadoc.exe' with 
arguments:
  [javadoc] '-d'
  [javadoc] 'C:\dev\tmp\ibus-param\gensrc'
  [javadoc] '-classpath'
  
[javadoc] 'C:\dev\ibus\thirdparty\patches\wlSecurityProviders.jar;C:\bea\weblog
ic81\server\lib\weblogic.jar;C:\bea\weblogic81
\server\lib\mbeantypes\wlManagement.jar;C:\dev\ibus\thirdparty\lib\junit.jar;C:
\dev\ibus\thirdparty\lib\mockobjects\mockobjects-core-
0.10dev.jar;C:\dev\ibus\thirdparty\lib\mockobjects\mockobjects-jdk1.4-
0.10dev.jar;C:\dev\ibus\thirdparty\lib\mockobjects\mockobjects-jdk1.4-j2ee1.3-
0.10dev.jar;C:\dev\ibus\thirdparty\lib\mockejb\commons-
logging.jar;C:\dev\ibus\thirdparty\lib\mockejb\mockejb.jar;C:\dev\ibus\thirdpar
ty\lib\ehcache\commons-
collections.jar;C:\dev\ibus\thirdparty\lib\ehcache\commons-
logging.jar;C:\dev\ibus\thirdparty\lib\ehcache\ehcache-
1.1.jar;C:\dev\ibus\thirdparty\lib\ehcache\log4j.jar'
  [javadoc] '-sourcepath'
  [javadoc] 'C:\dev\ibus\param\src;C:\dev\tmp\ibus-param\gensrc'
  [javadoc] '-doclet'
  [javadoc] 'weblogic.tools.ejbgen.EJBGen'
  [javadoc] 'com.toyota.ibus.param'
  [javadoc] 'C:\dev\ibus\param\src\com\toyota\ibus\param\ParamEntityBean.java'
  
[javadoc] 'C:\dev\ibus\param\src\com\toyota\ibus\param\ParamEntityGroupROBean.j
ava'
  
[javadoc] 'C:\dev\ibus\param\src\com\toyota\ibus\param\ParamEntityROBean.java'
  [javadoc] 'C:\dev\ibus\param\src\com\toyota\ibus\param\ParamSessionBean.java'
  [javadoc]
  [javadoc] The ' characters around the executable and arguments are
  [javadoc] not part of the command.
  [javadoc] Javadoc execution
  [javadoc] javadoc: error - Cannot find doclet class 
weblogic.tools.ejbgen.EJBGen
  [javadoc] 1 error

This is a showstopper for us and I imagine for many other users.  I'll happily 
assist in helping to test/fix this if someone wants to point me in the right 
direction.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message