On Jun 10, 2009, at 9:07 PM, Farrukh Najmi wrote:
>
> I commented out scala module in contribs/pom.xml to get around the
> issue...
>
> Now I get a build error with javadoc. Note I am still using JDK6.
> What are the limitations of building jersey with jdk6 and how can
> they be bypassed?
Investigating. Strictly speaking we do not guarantee that it builds on
SE 6 because we only officially produce SE 5 builds. We guarantee that
it runs on SE 6.
> Thanks.
>
What version of maven are you using?
We build using maven 2.0.9.
I verified that the sample builds with maven 2.0.9 and SE 1.6.0_07 on
my mac. But i cannot build the scala hello world web app sample on SE
6, some weird failure....
Paul.
> [INFO] Checking timestamp of /home/najmi/jvnet/jersey/jersey/samples/
> extended-wadl-webapp/target/generated-sources/xjc/com/sun/jersey/
> samples/extendedwadl/model/Items.java
> [INFO] Checking timestamp of /home/najmi/jvnet/jersey/jersey/samples/
> extended-wadl-webapp/target/generated-sources/xjc/com/sun/jersey/
> samples/extendedwadl/model/ObjectFactory.java
> [INFO] Checking timestamp of /home/najmi/jvnet/jersey/jersey/samples/
> extended-wadl-webapp/target/generated-sources/xjc/com/sun/jersey/
> samples/extendedwadl/model/package-info.java
> [INFO] the last modified time of the inputs is 1243967090000
> [INFO] the last modified time of the outputs is 1244659697000
> [INFO] files are up to date
> [INFO] [javadoc:javadoc {execution: default}]
> usage: javadoc [options] [packagenames] [sourcefiles] [@files]
> -overview <file> Read overview documentation from HTML file
> -public Show only public classes and members
> -protected Show protected/public classes and members
> (default)
> -package Show package/protected/public classes and
> members
> -private Show all classes and members
> -help Display command line options and exit
> -doclet <class> Generate output via alternate doclet
> -docletpath <path> Specify where to find doclet class files
> -sourcepath <pathlist> Specify where to find source files
> -classpath <pathlist> Specify where to find user class files
> -exclude <pkglist> Specify a list of packages to exclude
> -subpackages <subpkglist> Specify subpackages to recursively load
> -breakiterator Compute 1st sentence with BreakIterator
> -bootclasspath <pathlist> Override location of class files loaded
> by the bootstrap class loader
> -source <release> Provide source compatibility with
> specified release
> -extdirs <dirlist> Override location of installed extensions
> -verbose Output messages about what Javadoc is doing
> -locale <name> Locale to be used, e.g. en_US or en_US_WIN
> -encoding <name> Source file encoding name
> -quiet Do not display status messages
> -J<flag> Pass <flag> directly to the runtime system
>
> 1 error
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] An error has occurred in JavaDocs report generation:Exit
> code: 1 - javadoc: error - invalid flag: -author
>
> Command line was:/home/najmi/jdk1.6.0_12/jre/../bin/javadoc @options
>
>
> Farrukh Najmi wrote:
>>
>> I know Jakub is on a well deserved vacation after J1...
>>
>> Unfortunately the build issues (latest r2402) are even more basic
>> (with JDK 6).
>>
>> mvn clean
>>
>> just hangs on following message. Apparently scala-tools.org is down.
>>
>> I don't even know what scala is, but my jersey dev is blocked by
>> it :-(
>>
>> Perhaps jersey should not depend upon unreliable sites?
>>
>> [INFO] Building Mandel -- Jersey sample
>> [INFO] task-segment: [clean]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] artifact org.scala-tools:maven-scala-plugin: checking for
>> updates from scala-tools.org
>>
>>
>> Jakub Podlesak wrote:
>>>
>>> There was a small issue in the scala module pom file, which i have
>>> just fixed (there were 2 versions of scala lib used there).
>>> It should be all right for jdk 1.5, but something is still broken
>>> with jdk1.6, related to
>>>
>>> import xml.NodeSeq
>>>
>>> i suspect, it has something to do with jaxb.
>>
>>
>
>
> --
> Regards,
> Farrukh
>
> Web: http://www.wellfleetsoftware.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>