DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38833>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38833

           Summary: Refactor all classes to not depend on java.io.File
           Product: Lenya
           Version: 1.4
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Miscellaneous
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


For moving to jcr we need to refactor all code that depends on java.io.File.
***************************************************************************
Initial list:
***************************************************************************
/home/thorsten/apache/lenya-trunk/src/java/org/apache/lenya/cms/cocoon/acting/RevisionControllerAction.java:146:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
            File newFile = srcDoc.getFile();
                                 ^
/home/thorsten/apache/lenya-trunk/src/java/org/apache/lenya/cms/cocoon/acting/RevisionControllerAction.java:150:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
            this.filename = document.getFile().getCanonicalPath();
                                    ^
/home/thorsten/apache/lenya-trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/PageEnvelopeModule.java:97:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
                    value = document.getFile();
                                    ^
                    value = document.getExtension();
                                    ^
/home/thorsten/apache/lenya-trunk/src/java/org/apache/lenya/cms/cocoon/flow/FlowHelperImpl.java:183:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
        final String filename = pageEnvelope.getDocument()
                                                        ^
/home/thorsten/apache/lenya-trunk/src/java/org/apache/lenya/cms/publication/util/DocumentReferencesHelper.java:223:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
            String[] internalLinks =
Grep.findPattern(this.pageEnvelope.getDocument().getFile(),
                                                      ^
/home/thorsten/apache/lenya-trunk/src/java/org/apache/lenya/cms/publication/util/DocumentReferencesHelper.java:226:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
            String[] internalLinksLanguages =
Grep.findPattern(this.pageEnvelope.getDocument()
                                                               ^
/home/thorsten/apache/lenya-trunk/src/java/org/apache/lenya/cms/site/usecases/Revisions.java:56:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
            final String filename = 
getSourceDocument().getFile().getCanonicalPath()
                                                     ^
/home/thorsten/apache/lenya-trunk/src/java/org/apache/lenya/cms/site/usecases/Rollback.java:93:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
        String filename = document.getFile().getCanonicalPath();
                                  ^
/home/thorsten/apache/lenya-trunk/build/lenya/java/src/org/apache/lenya/cms/usecases/webdav/FilePropfind.java:77:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
            String filename = doc.getFile().getCanonicalPath();
                                 ^
/home/thorsten/apache/lenya-trunk/build/lenya/java/src/org/apache/lenya/cms/usecases/webdav/Propfind.java:118:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
                    String filename = documents[i].getFile().getCanonicalPath();
                                               ^
/home/thorsten/apache/lenya-trunk/build/lenya/java/src/org/apache/lenya/cms/usecases/webdav/Propfind.java:136:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
                            filename = langDoc.getFile().getCanonicalPath();
                                              ^
/home/thorsten/apache/lenya-trunk/build/lenya/java/src/org/apache/lenya/cms/workflow/usecases/Publish.java:169:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
            doms[i] = DocumentHelper.readDocument(docs[i].getFile());
                                                      ^
/home/thorsten/apache/lenya-trunk/build/lenya/java/src/org/apache/lenya/cms/workflow/usecases/Publish.java:175:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
            DocumentHelper.writeDocument(doms[i], docs[i].getFile());
                                                      ^
/home/thorsten/apache/lenya-trunk/build/lenya/java/src/org/apache/lenya/cms/workflow/usecases/Publish.java:180:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
        org.w3c.dom.Document dom = DocumentHelper.readDocument(doc.getFile());
                                                                  ^
/home/thorsten/apache/lenya-trunk/build/lenya/java/src/org/apache/lenya/cms/workflow/usecases/Publish.java:213:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
        DocumentHelper.writeDocument(dom, doc.getFile());
                                             ^
/home/thorsten/apache/lenya-trunk/build/lenya/java/src/org/apache/lenya/defaultpub/cms/usecases/webdav/FilePropfind.java:78:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
            String filename = doc.getFile().getCanonicalPath();
                                 ^
/home/thorsten/apache/lenya-trunk/build/lenya/java/src/org/apache/lenya/defaultpub/cms/usecases/webdav/Propfind.java:119:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
                    String filename = documents[i].getFile().getCanonicalPath();
                                               ^
/home/thorsten/apache/lenya-trunk/build/lenya/java/src/org/apache/lenya/defaultpub/cms/usecases/webdav/Propfind.java:137:
cannot resolve symbol
symbol  : method getFile ()
location: interface org.apache.lenya.cms.publication.Document
                            filename = langDoc.getFile().getCanonicalPath();
                                              ^
18 errors

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to