compiled CVS validator: couldn't load properties

Hi there,

I downloaded the CSS validator source from dev.w3.org:/sources/public last
week and got it to compile.  However I did not manage to actually validate any
html documents (offline) with it.

There appears to be some problems with the allocation of input
streams that rely on org.w3c.css.util.Messages:
	Messages.class.getResource("Messages.properties.en"); 
and others. Here is the symptoms.

## -- started with validator.zip in classpath ------------------------------
> java org.w3c.css.css.StyleSheetCom index.html                
org.w3c.css.util.Messages: couldn't load properties en
  java.lang.NullPointerException
org.w3c.css.util.Messages: couldn't load properties cn
  java.lang.NullPointerException
org.w3c.css.util.Messages: couldn't load properties ja
  java.lang.NullPointerException
org.w3c.css.util.Messages: couldn't load properties fr
  java.lang.NullPointerException
org.w3c.css.util.Messages: couldn't load properties de
  java.lang.NullPointerException
org.w3c.css.util.Messages: couldn't load properties nl
  java.lang.NullPointerException
Exception in thread "main" java.lang.NullPointerException
        at org.w3c.css.util.Messages.getString(Messages.java:73)
        at org.w3c.css.css.StyleSheetCom.main(StyleSheetCom.java:229)
## -- end of error ---------------------------------------------------------

Any ideas how to fix this?


BTW - I had some trouble compiling, since

1) Makefiles or parts of them are missing 
   (like package.make in 2002/css-validator)
   or wrong
   (CssGrammar.jj should be CssParser.jj in org/w3c/css/parser/analyzer/)
2) some Makefiles are localized, i.e., contain lines like
   /u/www43/0/w3c/plehegar/Work/Java/CSS/util/Util.class
   (which suggests they only have been executed on ONE machine ever)   

OK, I was able to fix this... but it was not nice.

Am I doing something wrong in the checkout and get this incomplete makefiles?
Am I the only one experiencing this problems? 

Help appreciated,

- oli						       http://www.verify-it.de
*com-pu-ter*: device to enhance our capability to err. <omoeller@verify-it.de>

Received on Thursday, 11 July 2002 18:10:39 UTC