Hi Radim,

Thanks for the report.

I just compiled using 'ant compile' and then ran 'ant javadocs' in both lucene/ 
and solr/, and everything went fine.

I have trunk r1382886 and am using Sun JVM 1.6.0_21 on Windows 7.

I suspect you're using a JVM with different Javadoc requirements?

Anyway, I've removed the empty @return tags in the files mentioned in the below 
report, in trunk r1382976.

Steve

-----Original Message-----
From: Radim Kolar [mailto:h...@filez.com] 
Sent: Monday, September 10, 2012 6:06 AM
To: solr-user@lucene.apache.org
Subject: cant build trunk

Trunk do not compiles due to javadoc warnings. Should i create ticket and 
submit patch or these trivial errors are fixed quickly?

  [javadoc] Building tree for all the packages and classes...
   [javadoc] 
/usr/local/jboss/.jenkins/jobs/Solr/workspace/solr/core/src/java/org/apache/solr/cloud/LeaderElector.java:168:
 warning - @return tag has no arguments.
   [javadoc] 
/usr/local/jboss/.jenkins/jobs/Solr/workspace/solr/core/src/java/org/apache/solr/cloud/LeaderElector.java:198:
 warning - @return tag has no arguments.
   [javadoc] 
/usr/local/jboss/.jenkins/jobs/Solr/workspace/solr/core/src/java/org/apache/solr/cloud/ZkController.java:667:
 warning - @return tag has no arguments.
   [javadoc] 
/usr/local/jboss/.jenkins/jobs/Solr/workspace/solr/core/src/java/org/apache/solr/core/CachingDirectoryFactory.java:255:
 warning - @return tag has no arguments.
   [javadoc] 
/usr/local/jboss/.jenkins/jobs/Solr/workspace/solr/core/src/java/org/apache/solr/spelling/PossibilityIterator.java:183:
 warning - @return tag has no arguments.
   [javadoc] Generating 
/usr/local/jboss/.jenkins/jobs/Solr/workspace/solr/build/docs/api/org/apache/solr/uima/processor/exception/FieldMappingException.html...
   [javadoc] Copying file 
/usr/local/jboss/.jenkins/jobs/Solr/workspace/solr/core/src/java/doc-files/tutorial.html
 to directory 
/usr/local/jboss/.jenkins/jobs/Solr/workspace/solr/build/docs/api/doc-files...
   [javadoc] Generating 
/usr/local/jboss/.jenkins/jobs/Solr/workspace/solr/build/docs/api/org/apache/solr/util/package-summary.html...
   [javadoc] Copying file 
/usr/local/jboss/.jenkins/jobs/Solr/workspace/solr/core/src/java/org/apache/solr/util/doc-files/min-should-match.html
 to directory 
/usr/local/jboss/.jenkins/jobs/Solr/workspace/solr/build/docs/api/org/apache/solr/util/doc-files...
   [javadoc] Building index for all the packages and classes...
   [javadoc] Building index for all classes...
   [javadoc] Generating 
/usr/local/jboss/.jenkins/jobs/Solr/workspace/solr/build/docs/api/help-doc.html...
   [javadoc] 5 warnings

BUILD FAILED
/usr/local/jboss/.jenkins/jobs/Solr/workspace/solr/build.xml:527: The following 
error occurred while executing this line:
/usr/local/jboss/.jenkins/jobs/Solr/workspace/solr/common-build.xml:223: The 
following error occurred while executing this line:
/usr/local/jboss/.jenkins/jobs/Solr/workspace/lucene/common-build.xml:1552: 
Javadocs warnings were found!

Reply via email to