Re: dependencies in CVS broken + little question

Interesting. So, having a closer look, it seems that you get a file that actually got removed 2 years ago, and you actually get one of the first versions of the file (the import statement you mentioned got removed more than 3 years ago according to history):
  http://dev.w3.org/cvsweb/2007/mobileok-ref/src/org/w3c/mwi/mobileok/basic/Attic/HTTPCSSResource.java

I do not know how come your checkout retrieves files that should not be there (the file is in the "Attic", which means it's been deleted from the repository). What is the CVS command you issue to get the source code? Could you try again from an empty 2007/mobileok-ref folder?

Francois.


On 06/10/2011 07:29 PM, Matteo Bertamini wrote:
> Hi Francois,
> so, by following the (dated) guide, I set the CVSROOT variable like this:
>
> CVSROOT=:pserver:anonymous@dev.w3.org/sources/public
>
> Once downloaded, I had this directory structure under 2007:
>
> client:2007 bertuz$ ls -l
> total 0
> drwxr-xr-x   7 bertuz  staff   238  9 Giu 02:05 CVS
> drwxr-xr-x  24 bertuz  staff   816  9 Giu 02:05 asn
> drwxr-xr-x   6 bertuz  staff   204  9 Giu 02:05 chad
> drwxr-xr-x  12 bertuz  staff   408  9 Giu 02:05 cssxml
> drwxr-xr-x   3 bertuz  staff   102  9 Giu 02:05 ddr-api
> drwxr-xr-x   7 bertuz  staff   238  9 Giu 02:05 dtd-doc
> drwxr-xr-x   6 bertuz  staff   204  9 Giu 02:05 grddl-cgi
> drwxr-xr-x  34 bertuz  staff  1156  9 Giu 02:05 groupdev
> drwxr-xr-x   6 bertuz  staff   204  9 Giu 02:05 h6n
> drwxr-xr-x   9 bertuz  staff   306  9 Giu 02:05 mobile-test-harness
> drwxr-xr-x  19 bertuz  staff   646  9 Giu 01:52 mobileok-ref
> drwxr-xr-x   5 bertuz  staff   170 10 Giu 19:21 rif
> drwxr-xr-x   4 bertuz  staff   136  9 Giu 02:05 xml
> drwxr-xr-x  16 bertuz  staff   544  9 Giu 02:06 xpath-full-text-10-test-suite
> drwxr-xr-x  16 bertuz  staff   544  9 Giu 02:06 xquery-update-10-test-suite
>
>
> and in particular as you can see, in HTTPCSSResource.java the first
> import is that one (I also included a pwd output so that you can
> "orient" yourself):
>
> client:basic bertuz$ pwd
> /Users/bertuz/Documents/lavoro/file_utilita/mobileOK2/2007/mobileok-ref/src/org/w3c/mwi/mobileok/basic
> client:basic bertuz$ cat HTTPCSSResource.java | grep -i import
> import jxcss.SAXCSSDocumentHandler;
> import org.w3c.css.sac.DocumentHandler;
> import org.w3c.css.sac.InputSource;
> import org.w3c.css.sac.Parser;
> import org.w3c.css.sac.helpers.ParserFactory;
> import org.w3c.dom.Document;
> import javax.xml.transform.TransformerConfigurationException;
> import javax.xml.transform.TransformerException;
> import javax.xml.transform.TransformerFactory;
> import javax.xml.transform.dom.DOMResult;
> import javax.xml.transform.sax.SAXTransformerFactory;
> import javax.xml.transform.sax.TransformerHandler;
> import java.io.IOException;
> import java.io.StringReader;
> import java.net.URI;
> 		cssDOM.importNode(domResult.getNode(), true);
>
>
> any hints?
> Thanks and have a nice weekend,
> Matteo
>
> On 10 June 2011 12:49, Francois Daoust<fd@w3.org>  wrote:
>> Hi Matteo,
>>
>> On 06/09/2011 02:41 AM, Matteo Bertamini wrote:
>>>
>>> Hi everyone!
>>> I'm trying to use the last CVS sources of the MobileOK but I'm having
>>> some problems with them.
>>>
>>> In HTTPCSSResource.java this import is stated:
>>>
>>> import jxcss.SAXCSSDocumentHandler;
>>
>> I'm not sure I understand where you take that from. There is no
>> HTTPCSSResource.java file in the sources of the mobileOK Checker library:
>>   http://dev.w3.org/cvsweb/2007/mobileok-ref
>>
>> ... and this import statement does not appear anywhere in the source code,
>> as far as I can tell. Could you clarify where you found this file and import
>> statement?
>>
>> Thanks,
>> Francois.
>>
>>
>>>
>>> but none of the jars present in the proper library directory gives
>>> that package. So, I've tried to look for that library in internet and
>>> the only thing I've found is this:
>>>
>>> http://java.net/projects/jxcss
>>>
>>> where every download is unavailable.
>>> How could I solve this issue?
>>>
>>> Thank you!
>>> Matteo
>>>
>>>
>>
>

Received on Friday, 10 June 2011 19:54:48 UTC