openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Schmidt <jogischm...@gmail.com>
Subject Re: CMIS UCP getPropertyValues
Date Wed, 05 Jun 2013 14:05:14 GMT
On 6/5/13 10:07 AM, Rajath Shashidhara wrote:
> Ok. I'll document the milestones.
> 
> 

Hi Rajath,

I started to look in your code...

Just some ideas
- you can create a further project, a NetBeans Modules - Library Wrapper
Module. In this project you add all Chemistry related jars.
- your CMIS project get a new dependency to the new ChemistryWrapper
project. I hope the plugin will include the jar later on when the oxt is
packaged
- your UCB.xcu config file is in a flat hierarchy "../registry/UCB.xcu".
I personally always prefer a structure similar to the config path. Means
".../registry/data/org/openoffice/ucb/ContentProvider.xcu". But is not
important as long as it doesn't conflict.
- your package structure is currently "apache.ooffice.gsoc.cmisucp.ucp".
I would suggest that you change it to something that we can and want use
later on when we integrate the code in our repo. I suggest something like

"org.apache.aoo.ucp.cmis" or
"org.openoffice.ucp.cmis"

- please add an Apache license header to all files
/**************************************************************
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 *
 *************************************************************/

Hint: the NetBeans plugin provides a code template "oohd" that can be
used by typing oohd in a new line and press tab to expand. disadvantage
it is not yet changed to the ALv2 header :-( You can change it once in
your environment under Options -> Editor -> Code Templates -> oohd

There is at least one more useful code template -> urqi, it expand to
UnoRuntime.queryInterface

You use it by typing urqi -> and press tab -> in the expanded code you
can type the interface name and the code is changed accordingly. But
here as well it works ont 100% in my NB 7.2.1

It seems that the NB plugin needs more cleanup and polishing

More feedback later...

Juergen


> On Wed, Jun 5, 2013 at 1:35 PM, Jürgen Schmidt <jogischmidt@gmail.com>wrote:
> 
>> On 6/5/13 9:54 AM, Rajath Shashidhara wrote:
>>> Ok.. I'll do it. As of now, I am not very clear about the project plan
>>> because I'm not sure how much time each module will take. I'll doucment
>>> about where to find my code and milestones.
>>
>> we can adapt the plan accordingly when we get a clear picture how long
>> certain tasks will take.
>>
>> For me it is important that we define milestones that we can reach and
>> that we can track. If it takes for example 5 instead of 3 days it is no
>> problem for me. We can document potential delays if necessary.
>>
>> Keep in mind that I can be a bottle neck as well and don't give you the
>> necessary feedback or support in time.
>>
>> I think you make good progress and you ask good questions. That show me
>> that you dive deeper and deeper in the "secret" world of the UCB and the
>> office ;-)
>>
>> Juergen
>>
>>>
>>>
>>> On Wed, Jun 5, 2013 at 12:53 PM, Jürgen Schmidt <jogischmidt@gmail.com
>>> wrote:
>>>
>>>> On 6/4/13 6:32 PM, Rajath Shashidhara wrote:
>>>>> Hello Juergen,
>>>>>
>>>>> I have tested the "getPropertyValues" command.
>>>>> It works pretty nicely.
>>>>>
>>>>> Please send me some pointers about my code so that I can improve.
>>>>
>>>> I will take a look in your code asap but currently I am also busy with
>>>> the release.
>>>>
>>>> Please update the wiki page:
>>>>
>>>> - the project plan, document milestones
>>>>
>>>> - add info where to find your code at the moment
>>>>
>>>> - ...
>>>>
>>>> Juergen
>>>>
>>>>>
>>>>>
>>>>> On Tue, Jun 4, 2013 at 3:35 PM, Rajath Shashidhara <
>>>>> rajaths.rajaths@gmail.com> wrote:
>>>>>
>>>>>> Is this the right way to convert an "any" object to properties array:
>>>>>> pRequest = (Property[]) AnyConverter.toArray(arg0.Argument); ?
>>>>>>
>>>>>> because I need to convert the any object to sequence<Property>
.
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 4, 2013 at 2:23 PM, Rajath Shashidhara <
>>>>>> rajaths.rajaths@gmail.com> wrote:
>>>>>>
>>>>>>> Hello Juergen,
>>>>>>>
>>>>>>> I think i'll have to more debugging. I'm facing some errors.
I'll
>>>>>>> continue once I complete it.
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Jun 4, 2013 at 1:50 PM, Jürgen Schmidt <
>> jogischmidt@gmail.com
>>>>> wrote:
>>>>>>>
>>>>>>>> On 6/4/13 10:01 AM, Rajath Shashidhara wrote:
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> I have successfully completed the implementation of
>>>>>>>> "getPropertyValues" ucb
>>>>>>>>> command for cmis ucp.
>>>>>>>>>
>>>>>>>>> My ContentProvider repo:
>>>>>>>>> https://github.com/rajaths589/CMISContentProvider.git
>>>>>>>>>
>>>>>>>>> I wrote a client application to test my ucp:
>>>>>>>>> https://github.com/rajaths589/CMISContentProviderTest.git
>>>>>>>>>
>>>>>>>>> What is my next Step?
>>>>>>>>>
>>>>>>>>
>>>>>>>> sounds good, you make good progress. I think you can now
move
>> forward
>>>> to
>>>>>>>> take a closer look on the "open" command.
>>>>>>>>
>>>>>>>> You should document the steps on the wiki page. I can think
of the
>>>>>>>> following milestones
>>>>>>>>
>>>>>>>> 1. milestone
>>>>>>>> was to setup a local Chemistry test server and get familiar
with the
>>>>>>>> Chemistry API. Use your own client to load a document from
the CMIS
>>>>>>>> store and open it manually with the Office.
>>>>>>>> Status: done
>>>>>>>>
>>>>>>>> 2. milestone
>>>>>>>> should be to use the internal office file open dialog and
be able to
>>>>>>>> browse in a CMIS file store and show the content of directories.
>>>>>>>> Status: in progress
>>>>>>>>
>>>>>>>> 3. milestone
>>>>>>>> be able to open and save files
>>>>>>>> Status:
>>>>>>>>
>>>>>>>> 4. milestone
>>>>>>>> creating, deleting, copy and moving content
>>>>>>>>
>>>>>>>> 5. milestone
>>>>>>>> implement a options page to configure the user and connection
>>>>>>>> information for several CMIS stores and make use of this
>> information.
>>>>>>>> Use internal password container... -> TBD
>>>>>>>>
>>>>>>>> 6. milestone
>>>>>>>> Support https connections to CMIS stores using the internal
>>>> certificate
>>>>>>>> store and use the internal interaction handler ... ->
TDB
>>>>>>>>
>>>>>>>> Juergen
>>>>>>>>
>>>>>>>>
>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>>>>>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Rajath S,
>>>>>>> M.Sc(Hons.) Physics,
>>>>>>> Birla Institute of Technology and Science - Pilani,
>>>>>>> Pilani
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Rajath S,
>>>>>> M.Sc(Hons.) Physics,
>>>>>> Birla Institute of Technology and Science - Pilani,
>>>>>> Pilani
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>>>
>>>>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>
>>
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Mime
View raw message