dev@woodstock.java.net

Problems building from source

From: Brett M. Bergquist <brett_at_thebergquistfamily.com>
Date: Mon, 23 Jul 2007 10:00:02 -0400

In trying to track down a problem that I am having with the Ajax
blueprints components, I decided to download and build the Woodstock
components from source. I get errors trying to build these from source:

------------------- Errors ------------------------------------------
process-annotations:
     [exec]
C:\cvs\woodstock\webui\src\runtime\com\sun\webui\jsf\component\WizardSubstepBranch.java:52:
warning: No renderer found o
f correct renderer type and component family
     [exec] public class WizardSubstepBranch extends WizardStep
implements NamingContainer {
     [exec] ^
     [exec]
C:\cvs\woodstock\webui\src\runtime\com\sun\webui\jsf\component\WizardBranchSteps.java:49:
warning: No renderer found of
correct renderer type and component family
     [exec] public class WizardBranchSteps extends WizardStep implements
NamingContainer {
     [exec] ^
     [exec]
C:\cvs\woodstock\webui\src\runtime\com\sun\webui\jsf\component\Alert.java:821:
Method getIndicators for property indicat
ors has incorrect signature
     [exec] public List<Indicator> getIndicators() {
     [exec] ^
     [exec]
C:\cvs\woodstock\webui\src\runtime\com\sun\webui\jsf\component\Alert.java:841:
Method setIndicators for property indicat
ors has incorrect signature
     [exec] public void setIndicators(List<Indicator> indicators) {
     [exec] ^
     [exec]
C:\cvs\woodstock\webui\src\runtime\com\sun\webui\jsf\component\Alarm.java:345:
Method getIndicators for property indicat
ors has incorrect signature
     [exec] public List<Indicator> getIndicators() {
     [exec] ^
     [exec]
C:\cvs\woodstock\webui\src\runtime\com\sun\webui\jsf\component\Alarm.java:367:
Method setIndicators for property indicat
ors has incorrect signature
     [exec] public void setIndicators(List<Indicator> indicators) {
     [exec] ^
     [exec]
C:\cvs\woodstock\webui\src\runtime\com\sun\webui\jsf\component\WizardBranch.java:49:
warning: No renderer found of corre
ct renderer type and component family
     [exec] public class WizardBranch extends WizardStep implements
NamingContainer {
     [exec] ^
     [exec]
C:\cvs\woodstock\webui\src\runtime\com\sun\webui\jsf\component\WizardStep.java:49:
warning: No renderer found of correct
 renderer type and component family
     [exec] public class WizardStep extends UIComponentBase implements
NamingContainer {
     [exec] ^
     [exec] Note: Some input files use or override a deprecated API.
     [exec] Note: Recompile with -Xlint:deprecation for details.
     [exec] 4 errors
     [exec] 4 warnings
     [exec] Result: 1
    [touch] Creating
C:\cvs\woodstock\webui\gen\.runtime-annotations-processed

compile-precopy-runtime:
    [mkdir] Created dir: C:\cvs\woodstock\webui\classes\runtime

compile-all-runtime:
    [javac] Compiling 446 source files to
C:\cvs\woodstock\webui\classes\runtime
    [javac]
C:\cvs\woodstock\webui\src\runtime\com\sun\webui\jsf\component\Scheduler.java:65:
cannot find symbol
    [javac] symbol : class LocaleData
    [javac] location: package sun.text.resources
    [javac] import sun.text.resources.LocaleData;
    [javac] ^
    [javac]
C:\cvs\woodstock\webui\src\runtime\com\sun\webui\theme\SPIThemeFactory.java:45:
warning: sun.misc.Service is Sun proprie
tary API and may be removed in a future release
    [javac] import sun.misc.Service;
    [javac] ^
    [javac]
C:\cvs\woodstock\webui\src\runtime\com\sun\webui\theme\SPIThemeFactory.java:602:
warning: sun.misc.Service is Sun propri
etary API and may be removed in a future release
    [javac] Iterator iterator = Service.providers(themeService);
    [javac] ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    [javac] 2 warnings

BUILD FAILED
C:\cvs\woodstock\master\build.xml:106: The following error occurred
while executing this line:
C:\cvs\woodstock\webui\build.xml:252: Compile failed; see the compiler
error output for details.

Total time: 13 seconds

-------------------------- Errors ----------------------------

I've tried with both JDK 1.6.0.02 and JDK 1.5.0.11. Both report the
same errors. So what am I missing here?