简体   繁体   English

OpenCMIS:Example使用了我在整个源代码中找不到的类

[英]OpenCMIS: Example uses a class I can't find in the whole source

I am trying to run the CMIS client example on: 我正在尝试运行CMIS客户端示例:
http://incubator.apache.org/chemistry/opencmis-api-examples.html http://incubator.apache.org/chemistry/opencmis-api-examples.html

Unfortunately I can't find the "SessionParameter" class that the example uses. 不幸的是我找不到该示例使用的“SessionParameter”类。
It is nowhere to be found in the whole project's source code: 在整个项目的源代码中无处可寻:
http://github.com/apache/chemistry http://github.com/apache/chemistry

What did I miss? 我错过了什么?
Or maybe the example is out-of-date? 或者这个例子可能已经过时了?

SessionParameter is no longer part of the GitHub project. SessionParameter不再是GitHub项目的一部分。

A simple git log -SSessionParameter --oneline can reveal a lot: 一个简单的git log -SSessionParameter --oneline可以揭示很多:
(see " Git history - find lost line by keyword ") (参见“ Git历史 - 按关键字查找丢失的行 ”)

/c/HOMEWARE/chemistry (trunk)
$ git log -SSessionParameter --oneline
0c08a4f Retiring old OpenCMIS code stream
02a76c0 CMIS-183 Offer ObjectGenerator also as standalone command line tool Prov
40052d4 repository info cleanup
4a6fccf Refactoring client runtime unit tests - move to FIT module - run with je
f37febd Unit test cases for r/w introduced
7d74230 Client Runtime Junit Test Improvment using InMemory Provider
60e4e1f bug in mock test fixed
52e5bc3 client runtime implementation - unit test re-factoring after API changes
47dbe64 first step to make provider layer thread-safe (CMIS-155)
8519c74 added repository discovery to SessionFactory
7a9946b https://issues.apache.org/jira/browse/CMIS-124
7bbf13f cleaned up context handling improved PagingList disabled caching for now
bb35c83 client runtime implementation - unit test improvement https://issues.apa
13bb41b - activated client API integration tests
dabd12a - allow custom authentication providers in createCmisAtomPubProvider and
d79e8ff Continuous Runtime Implementation and Unit Tests - runtime implementatio
c661109 Continuous runtime development
5d12b63 API SessionParameter clean up and re-factoring https://issues.apache.org
c5d8e04 InMemory impl: let VersioningTest make use of AbstractServieTst
e542e11 Re-factoring package names of JUnit tests
8f16d0f Synchronize latest code changes from BerliOS
84d4762 CMIS-122: OpenCMIS integration test framework
d01e33d InMemoryProvider: bugfix versioning: only checked out documents can be m
9499459 Initial contribution of OpenCMIS (CMIS-113).

The firstlog in particular displays: 第一个日志特别显示:

commit 0c08a4fa7207c0399768e28e0912b626e5ac02d0
Author: Florian M<C3><BC>ller <fmui@apache.org>
Date:   Wed May 5 09:03:22 2010 +0000

    Retiring old OpenCMIS code stream

    git-svn-id: https://svn.apache.org/repos/asf/incubator/chemistry/trunk@94120

Meaning that implementation can be found at https://svn.apache.org/repos/asf/incubator/chemistry/trunk . 这意味着可以在https://svn.apache.org/repos/asf/incubator/chemistry/trunk找到实现。
In particular: SessionParameter.java 特别是: SessionParameter.java

Florian Müller himself confirms it above ;) FlorianMüller自己在上面证实了这一点 ;)

The examples are up-to-date and working. 这些例子是最新的和有效的。 The current and maintained code stream of Apache Chemistry OpenCMIS is here: https://svn.apache.org/repos/asf/incubator/chemistry/opencmis/trunk/ Apache化学OpenCMIS的当前和维护代码流在这里: https ://svn.apache.org/repos/asf/incubator/chemistry/opencmis/trunk/

But this code stream is not on github. 但是这个代码流不在github上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM