Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D5B11D50F for ; Mon, 16 Jul 2012 17:27:15 +0000 (UTC) Received: (qmail 90500 invoked by uid 500); 16 Jul 2012 17:27:15 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 90462 invoked by uid 500); 16 Jul 2012 17:27:15 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 90454 invoked by uid 99); 16 Jul 2012 17:27:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jul 2012 17:27:15 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [87.230.106.24] (HELO vwp1524.webpack.hosteurope.de) (87.230.106.24) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jul 2012 17:27:07 +0000 Received: from pd9e51a61.dip.t-dialin.net ([217.229.26.97] helo=laptop.local); authenticated by vwp1524.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) id 1Sqp4H-0007eP-VU; Mon, 16 Jul 2012 19:26:46 +0200 Message-ID: <50044ECE.1080500@apache.org> Date: Mon, 16 Jul 2012 19:26:38 +0200 From: =?ISO-8859-15?Q?Florian_M=FCller?= User-Agent: Postbox 3.0.4 (Macintosh/20120616) MIME-Version: 1.0 To: dev@chemistry.apache.org, mschieferer.itsb-b2009@fh-salzburg.ac.at Subject: Re: Start developing a CMIS Server References: <50043846.8080303@fh-salzburg.ac.at> In-Reply-To: <50043846.8080303@fh-salzburg.ac.at> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;fmui@apache.org;1342459627;85949f16; X-Virus-Checked: Checked by ClamAV on apache.org Hi Michael, Your are looking for the "OpenCMIS Server WAR" package. Create a "Dynamic Web Project" in Eclipse and copy the WEB-INF directory from the "OpenCMIS Server WAR" package into the WEB-INF directory of the Eclipse project. (You may want to skip the websphere directory if you don't want to deploy it on WebSphere.) Add the libraries in the /WEB-INF/lib directory to your Eclipse project and you are ready to go. Now you have implement two classes that are derived from AbstractServiceFactory and AbstractCmisService. Put the class name of your service factory class into repository.properties file. If you need a bit of inspiration, have a look at the FileShare implementation [1]. - Florian [1] https://svn.apache.org/repos/asf/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-fileshare/src/main/java/org/apache/chemistry/opencmis/fileshare/ > Hello there! > > I'm in the need to develop a CMIS Server but I didn't get it to have a > functional base to start developing. I downloaded the sources and build > the whole stuff using maven with success. I read the article on > http://chemistry.apache.org/java/how-to/how-to-create-server.html as > this was exactly what I was looking for: a step-by-step guide for > creating a server skeleton. I prefered the method without maven but > there is no download for a package called "OpenCMIS Server Framework". > So I did the maven-way, found out the correct values for the maven > scripts and got a working war file. I must confess I don't know waht to > do next. I read the line "In order to use your connector, copy your > compiled connector code into this WAR file and overwrite > |/WEB-INF/classes/repository.properties|." but unfortunately I haven't > got any idea how to to this. Can I create just a plain java project in > for example eclipse, include the libs from opencmis, build to a class > file and copy this file (teh files) into the war-container? > > Thank in advance for your suggestions > Michael >