You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by Suhothayan Sriskandarajah <su...@gmail.com> on 2010/03/02 17:58:42 UTC
Re: Google summer of code 2010
Hi,
I'm willing to implement a java interface to the REST apis with test code as
Ross suggested.
when i was going through the mailing list i found there was a discussion
on the current inconsistencies with in the Wookie REST apis and i too
found a proposed api for Wookie Widget instance.
please be kind enough to give some information on this
Regards,
Suho
Re: Building with new connector sub project (was Re: Google summer of
code 2010)
Posted by Suhothayan Sriskandarajah <su...@gmail.com>.
On 4 March 2010 00:33, Suhothayan Sriskandarajah <su...@gmail.com>wrote:
>
>
> On 4 March 2010 00:12, Ross Gardler <rg...@apache.org> wrote:
>
>> On 03/03/2010 18:37, Suhothayan Sriskandarajah wrote:
>>
>>> On 3 March 2010 02:56, Ross Gardler<rg...@apache.org> wrote:
>>>
>>
>> ...
>>
>> Please note I just moved all the connector code into it's own sub-project
>>>> (see /connector/java) please update from svn.
>>>>
>>>> If you have any problems building please let us know as I've changed the
>>>> build system in a number of ways.
>>>>
>>>>
>>>> yes i'm having some problem when i build the latest one
>>> when building the dependencies it says...
>>> org.apache.incubator#wookieJavaConnector;0.1.0-SNAPSHOT: not found
>>> please help me
>>>
>>
>> Have you done a complete svn update?
>>
>> yes, some days before i did a svn checkout and i was able to build it with
> no problem.
>
> and now i took another svn co and now i have this problem even after a
> complete new svn checkout!
>
>
>> How are you trying to build?
>>
>
> i just typed "ant" in the trunk directory
>
> and when resolving dependencies it fails with the above error massage.
>
> suho
>
>
this was the actual massage..
:: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] module not found:
org.apache.incubator#wookieJavaConnector;0.1.0-SNAPSHOT
[ivy:resolve] ==== local: tried
[ivy:resolve] -- artifact
org.apache.incubator#wookieJavaConnector;0.1.0-SNAPSHOT!wookieJavaConnector.jar:
[ivy:resolve]
/home/suho/.m2/repository/org/apache/incubator/wookieJavaConnector/0.1.0-SNAPSHOT/wookieJavaConnector-0.1.0-SNAPSHOT.jar
[ivy:resolve] ==== wookie-local: tried
[ivy:resolve] -- artifact
org.apache.incubator#wookieJavaConnector;0.1.0-SNAPSHOT!wookieJavaConnector.jar:
[ivy:resolve]
/home/suho/proj/wookie1/trunk/ant/lib/wookieJavaConnector-0.1.0-SNAPSHOT.jar
[ivy:resolve] ==== public: tried
[ivy:resolve]
http://repo1.maven.org/maven2/org/apache/incubator/wookieJavaConnector/0.1.0-SNAPSHOT/wookieJavaConnector-0.1.0-SNAPSHOT.pom
[ivy:resolve] -- artifact
org.apache.incubator#wookieJavaConnector;0.1.0-SNAPSHOT!wookieJavaConnector.jar:
[ivy:resolve]
http://repo1.maven.org/maven2/org/apache/incubator/wookieJavaConnector/0.1.0-SNAPSHOT/wookieJavaConnector-0.1.0-SNAPSHOT.jar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] ::
org.apache.incubator#wookieJavaConnector;0.1.0-SNAPSHOT: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
/home/suho/proj/wookie1/trunk/ant/ivy-common.xml:61: impossible to resolve
dependencies:
resolve failed - see output for details
>
>> Ross
>>
>
>
Re: Building with new connector sub project (was Re: Google summer of
code 2010)
Posted by Suhothayan Sriskandarajah <su...@gmail.com>.
thanks,
now i got it build.
Suho
On 4 March 2010 15:17, Ross Gardler <rg...@apache.org> wrote:
> On 04/03/2010 09:35, Ross Gardler wrote:
>
> It looks like somone has stomped over my recent ANT commits. I just did
>> an SVN update and I am now reproducing this problem.
>>
>
> I should not be so quick as to blame other people. It's a bug in my build
> scripts that was not manifesting itself until I did a clean build.
>
> Scotts recent work has compounded the problem. Here's your workaround while
> I work on a fix:
>
> run
>
> ant pre-compile-core
>
> This will build and deploy the Java connector framework
>
> cd parser/java
> ant publish-local
>
> This will build and deploy the Parse module
>
> cd ../..
> ant
>
> I'll commit a fix for this ASAP
>
> Ross
>
Re: Refreshing sub-projects?
Posted by Ross Gardler <rg...@apache.org>.
Appologies for not getting back to you on this yet.
I can confirm there is a problem with the build process, I have found
what should be the solution in the IVY docs, but it isn't working for me
yet.
Now my baby daughter has arrived so I am not sure when I will fix this
properly.
I suggest adding a temporary fix that deletes the cache data for the two
modules before they are built. If I recall correctly there is an ivy
property for getting at the cache directory.
I'll come back to this when I can.
Ross
On 05/03/2010 17:00, Scott Wilson wrote:
>
> On 5 Mar 2010, at 16:01, Ross Gardler wrote:
>
>> On 05/03/2010 14:29, Scott Wilson wrote:
>>> I made some changes to the parser sub-project code, however whenever I
>>> run Wookie with "ant clean-db run" the updated parser code isn't used -
>>> is there anything I should do to ensure that Wookie runs with the latest
>>> snapshot of sub-project jars rather than an earlier cached version?
>>
>> What is your current workflow?
>>
>> If you:
>>
>> - edit a subproject
>> - "ant publish-local" in the subproject
>> - "ant clean-db run" (see NOTE 1)
>>
>> You will (should?) be running with the latest snapshot.
>
> OK, I've tried this but I still get the cached subproject build. The
> subproject clearly has recompiled, but the main Wookie run command
> doesn't pick it up.
>
> The only way I've managed to get it to refresh is to manually delete the
> jar from ~/.ant/cache (or I could clean the whole cache but I really
> don't want to do that)
>
>> We could force the publish-local step from the core build script, but
>> forcing a compilation of all sub-projects just to run Wookie adds an
>> unnecessary step to the process. If we do add it then I would want it
>> to be configurable from local.build.properties
>>
>> In most IDEs you can add the publish-local step to the standard build
>> process of the IDE and thus remove the need to manually publish.
>>
>> Ross
>>
>> NOTE did you notice that clean-db is no longer necessary if you set
>> "initDB=false" in the local.build.properties. Now you only need to do
>> clean-db if you want to start from a fresh install.
>
> D'oh no I hadn't!
Re: Refreshing sub-projects?
Posted by Scott Wilson <sc...@gmail.com>.
On 5 Mar 2010, at 16:01, Ross Gardler wrote:
> On 05/03/2010 14:29, Scott Wilson wrote:
>> I made some changes to the parser sub-project code, however
>> whenever I
>> run Wookie with "ant clean-db run" the updated parser code isn't
>> used -
>> is there anything I should do to ensure that Wookie runs with the
>> latest
>> snapshot of sub-project jars rather than an earlier cached version?
>
> What is your current workflow?
>
> If you:
>
> - edit a subproject
> - "ant publish-local" in the subproject
> - "ant clean-db run" (see NOTE 1)
>
> You will (should?) be running with the latest snapshot.
OK, I've tried this but I still get the cached subproject build. The
subproject clearly has recompiled, but the main Wookie run command
doesn't pick it up.
The only way I've managed to get it to refresh is to manually delete
the jar from ~/.ant/cache (or I could clean the whole cache but I
really don't want to do that)
> We could force the publish-local step from the core build script,
> but forcing a compilation of all sub-projects just to run Wookie
> adds an unnecessary step to the process. If we do add it then I
> would want it to be configurable from local.build.properties
>
> In most IDEs you can add the publish-local step to the standard
> build process of the IDE and thus remove the need to manually publish.
>
> Ross
>
> NOTE did you notice that clean-db is no longer necessary if you set
> "initDB=false" in the local.build.properties. Now you only need to
> do clean-db if you want to start from a fresh install.
D'oh no I hadn't!
Re: Refreshing sub-projects?
Posted by Ross Gardler <rg...@apache.org>.
On 05/03/2010 14:29, Scott Wilson wrote:
> I made some changes to the parser sub-project code, however whenever I
> run Wookie with "ant clean-db run" the updated parser code isn't used -
> is there anything I should do to ensure that Wookie runs with the latest
> snapshot of sub-project jars rather than an earlier cached version?
What is your current workflow?
If you:
- edit a subproject
- "ant publish-local" in the subproject
- "ant clean-db run" (see NOTE 1)
You will (should?) be running with the latest snapshot.
We could force the publish-local step from the core build script, but
forcing a compilation of all sub-projects just to run Wookie adds an
unnecessary step to the process. If we do add it then I would want it to
be configurable from local.build.properties
In most IDEs you can add the publish-local step to the standard build
process of the IDE and thus remove the need to manually publish.
Ross
NOTE did you notice that clean-db is no longer necessary if you set
"initDB=false" in the local.build.properties. Now you only need to do
clean-db if you want to start from a fresh install.
Refreshing sub-projects?
Posted by Scott Wilson <sc...@gmail.com>.
I made some changes to the parser sub-project code, however whenever I
run Wookie with "ant clean-db run" the updated parser code isn't used
- is there anything I should do to ensure that Wookie runs with the
latest snapshot of sub-project jars rather than an earlier cached
version?
S
Re: Building with new connector sub project (was Re: Google summer
of code 2010)
Posted by Ross Gardler <rg...@apache.org>.
On 04/03/2010 11:55, Raido Kuli wrote:
> BUILD FAILED
> C:\Dev\wookie\build.xml:78: Basedir C:\Dev\wookie\${wookie.parser.w3c.dir}\java
> does not exist
I forgot to commit build.properties. Now done.
Thanks for the heads up.
>
> After creating property -> <property name="wookie.parser.w3c.dir"
> value="parser" />
value="parser/java"
(although I added to build.properties rather than to the build script.
Ross
>
> BUILD FAILED
> C:\Dev\wookie\ant\ivy-java-common.xml:94: Compile failed; see the compiler error
> output for details.
>
>
>
>
> On Thu, Mar 4, 2010 at 1:27 PM, Ross Gardler<rg...@apache.org> wrote:
>> On 04/03/2010 11:08, Ross Gardler wrote:
>>>
>>> On 04/03/2010 11:01, Scott Wilson wrote:
>>>
>>>> Thanks Ross - I copied the connector framework build scripts for the
>>>> parser so duplicated the same issue.
>>>
>>> Actually there are two problems with your new sub-project.
>>>
>>> The first is the error I created when doing the connector subproject
>>> (testing a fix now), the second was that you need to instruct core to
>>> build and locally deploy any sub-projects prior to compilation.
>>>
>>> This is done in /build.xml as follows:
>>
>> I've now committed a fix for these issues. Note the previously pasted
>> snippet for building sub projects is a little different now. It reads:
>>
>> <target name="local-publish-subprojects">
>> <!-- localy publish sub-projects -->
>> <ant dir="${wookie.connector.dir}/java" target="publish-local"
>> inheritAll="false"/>
>> <ant dir="${wookie.parser.w3c.dir}/java" target="publish-local"
>> inheritAll="false"/>
>> </target>
>>
>> When we add any sub project we need to add an appropriate line to the above.
>>
>> If anyone is interested, the problem was that I previously added a
>> pre-compile-core target that was called as part of the compile-core target.
>> However, this was being called after the ivy:resolve rather than before it.
>> I have no idea why I did this with an ant-call rather than a dependency,
>> call it a minor aberation.
>>
>> Anyway, we now have "local-publish-subprojects" and "pre-compile-core"
>> targets.
>>
>> I've also added some logging messages to make it easier to track what is
>> going on given that there are now multiple calls to each target for various
>> sub projects.
>>
>> Ross
>>
Re: Building with new connector sub project (was Re: Google summer of
code 2010)
Posted by Raido Kuli <ra...@gmail.com>.
BUILD FAILED
C:\Dev\wookie\build.xml:78: Basedir C:\Dev\wookie\${wookie.parser.w3c.dir}\java
does not exist
After creating property -> <property name="wookie.parser.w3c.dir"
value="parser" />
BUILD FAILED
C:\Dev\wookie\ant\ivy-java-common.xml:94: Compile failed; see the compiler error
output for details.
On Thu, Mar 4, 2010 at 1:27 PM, Ross Gardler <rg...@apache.org> wrote:
> On 04/03/2010 11:08, Ross Gardler wrote:
>>
>> On 04/03/2010 11:01, Scott Wilson wrote:
>>
>>> Thanks Ross - I copied the connector framework build scripts for the
>>> parser so duplicated the same issue.
>>
>> Actually there are two problems with your new sub-project.
>>
>> The first is the error I created when doing the connector subproject
>> (testing a fix now), the second was that you need to instruct core to
>> build and locally deploy any sub-projects prior to compilation.
>>
>> This is done in /build.xml as follows:
>
> I've now committed a fix for these issues. Note the previously pasted
> snippet for building sub projects is a little different now. It reads:
>
> <target name="local-publish-subprojects">
> <!-- localy publish sub-projects -->
> <ant dir="${wookie.connector.dir}/java" target="publish-local"
> inheritAll="false"/>
> <ant dir="${wookie.parser.w3c.dir}/java" target="publish-local"
> inheritAll="false"/>
> </target>
>
> When we add any sub project we need to add an appropriate line to the above.
>
> If anyone is interested, the problem was that I previously added a
> pre-compile-core target that was called as part of the compile-core target.
> However, this was being called after the ivy:resolve rather than before it.
> I have no idea why I did this with an ant-call rather than a dependency,
> call it a minor aberation.
>
> Anyway, we now have "local-publish-subprojects" and "pre-compile-core"
> targets.
>
> I've also added some logging messages to make it easier to track what is
> going on given that there are now multiple calls to each target for various
> sub projects.
>
> Ross
>
Re: Building with new connector sub project (was Re: Google summer
of code 2010)
Posted by Ross Gardler <rg...@apache.org>.
On 04/03/2010 11:08, Ross Gardler wrote:
> On 04/03/2010 11:01, Scott Wilson wrote:
>
>> Thanks Ross - I copied the connector framework build scripts for the
>> parser so duplicated the same issue.
>
> Actually there are two problems with your new sub-project.
>
> The first is the error I created when doing the connector subproject
> (testing a fix now), the second was that you need to instruct core to
> build and locally deploy any sub-projects prior to compilation.
>
> This is done in /build.xml as follows:
I've now committed a fix for these issues. Note the previously pasted
snippet for building sub projects is a little different now. It reads:
<target name="local-publish-subprojects">
<!-- localy publish sub-projects -->
<ant dir="${wookie.connector.dir}/java" target="publish-local"
inheritAll="false"/>
<ant dir="${wookie.parser.w3c.dir}/java" target="publish-local"
inheritAll="false"/>
</target>
When we add any sub project we need to add an appropriate line to the above.
If anyone is interested, the problem was that I previously added a
pre-compile-core target that was called as part of the compile-core
target. However, this was being called after the ivy:resolve rather than
before it. I have no idea why I did this with an ant-call rather than a
dependency, call it a minor aberation.
Anyway, we now have "local-publish-subprojects" and "pre-compile-core"
targets.
I've also added some logging messages to make it easier to track what is
going on given that there are now multiple calls to each target for
various sub projects.
Ross
Re: Building with new connector sub project (was Re: Google summer
of code 2010)
Posted by Ross Gardler <rg...@apache.org>.
On 04/03/2010 11:01, Scott Wilson wrote:
> Thanks Ross - I copied the connector framework build scripts for the
> parser so duplicated the same issue.
Actually there are two problems with your new sub-project.
The first is the error I created when doing the connector subproject
(testing a fix now), the second was that you need to instruct core to
build and locally deploy any sub-projects prior to compilation.
This is done in /build.xml as follows:
<target name="pre-compile-core">
<!-- localy publish sub-projects -->
<ant dir="${wookie.connector.dir}/java" target="publish-local"
inheritAll="false"/>
<ant dir="${wookie.parser.w3c.dir}/java" target="publish-local"
inheritAll="false"/>
</target>
I'll add this with my fix when fully tested.
Ross
Re: Building with new connector sub project (was Re: Google summer of code 2010)
Posted by Scott Wilson <sc...@gmail.com>.
On 4 Mar 2010, at 09:47, Ross Gardler wrote:
> On 04/03/2010 09:35, Ross Gardler wrote:
>
>> It looks like somone has stomped over my recent ANT commits. I just
>> did
>> an SVN update and I am now reproducing this problem.
>
> I should not be so quick as to blame other people. It's a bug in my
> build scripts that was not manifesting itself until I did a clean
> build.
>
> Scotts recent work has compounded the problem. Here's your
> workaround while I work on a fix:
>
> run
>
> ant pre-compile-core
>
> This will build and deploy the Java connector framework
>
> cd parser/java
> ant publish-local
>
> This will build and deploy the Parse module
>
> cd ../..
> ant
>
> I'll commit a fix for this ASAP
Thanks Ross - I copied the connector framework build scripts for the
parser so duplicated the same issue.
>
> Ross
Re: Building with new connector sub project (was Re: Google summer
of code 2010)
Posted by Ross Gardler <rg...@apache.org>.
On 04/03/2010 09:35, Ross Gardler wrote:
> It looks like somone has stomped over my recent ANT commits. I just did
> an SVN update and I am now reproducing this problem.
I should not be so quick as to blame other people. It's a bug in my
build scripts that was not manifesting itself until I did a clean build.
Scotts recent work has compounded the problem. Here's your workaround
while I work on a fix:
run
ant pre-compile-core
This will build and deploy the Java connector framework
cd parser/java
ant publish-local
This will build and deploy the Parse module
cd ../..
ant
I'll commit a fix for this ASAP
Ross
Re: Building with new connector sub project (was Re: Google summer
of code 2010)
Posted by Ross Gardler <rg...@apache.org>.
On 03/03/2010 19:03, Suhothayan Sriskandarajah wrote:
> On 4 March 2010 00:12, Ross Gardler<rg...@apache.org> wrote:
>
>> On 03/03/2010 18:37, Suhothayan Sriskandarajah wrote:
>>
>>> On 3 March 2010 02:56, Ross Gardler<rg...@apache.org> wrote:
>>>
>>
>> ...
>>
>> Please note I just moved all the connector code into it's own sub-project
>>>> (see /connector/java) please update from svn.
>>>>
>>>> If you have any problems building please let us know as I've changed the
>>>> build system in a number of ways.
>>>>
>>>>
>>>> yes i'm having some problem when i build the latest one
>>> when building the dependencies it says...
>>> org.apache.incubator#wookieJavaConnector;0.1.0-SNAPSHOT: not found
>>> please help me
>>>
>>
>> Have you done a complete svn update?
>>
>> yes, some days before i did a svn checkout and i was able to build it with
> no problem.
>
> and now i took another svn co and now i have this problem even after a
> complete new svn checkout!
>
>
>> How are you trying to build?
>>
>
> i just typed "ant" in the trunk directory
>
> and when resolving dependencies it fails with the above error massage.
It looks like somone has stomped over my recent ANT commits. I just did
an SVN update and I am now reproducing this problem.
I'll get back to you ASAP.
Ross
Re: Building with new connector sub project (was Re: Google summer of
code 2010)
Posted by Suhothayan Sriskandarajah <su...@gmail.com>.
On 4 March 2010 00:12, Ross Gardler <rg...@apache.org> wrote:
> On 03/03/2010 18:37, Suhothayan Sriskandarajah wrote:
>
>> On 3 March 2010 02:56, Ross Gardler<rg...@apache.org> wrote:
>>
>
> ...
>
> Please note I just moved all the connector code into it's own sub-project
>>> (see /connector/java) please update from svn.
>>>
>>> If you have any problems building please let us know as I've changed the
>>> build system in a number of ways.
>>>
>>>
>>> yes i'm having some problem when i build the latest one
>> when building the dependencies it says...
>> org.apache.incubator#wookieJavaConnector;0.1.0-SNAPSHOT: not found
>> please help me
>>
>
> Have you done a complete svn update?
>
> yes, some days before i did a svn checkout and i was able to build it with
no problem.
and now i took another svn co and now i have this problem even after a
complete new svn checkout!
> How are you trying to build?
>
i just typed "ant" in the trunk directory
and when resolving dependencies it fails with the above error massage.
suho
> Ross
>
Building with new connector sub project (was Re: Google summer of
code 2010)
Posted by Ross Gardler <rg...@apache.org>.
On 03/03/2010 18:37, Suhothayan Sriskandarajah wrote:
> On 3 March 2010 02:56, Ross Gardler<rg...@apache.org> wrote:
...
>> Please note I just moved all the connector code into it's own sub-project
>> (see /connector/java) please update from svn.
>>
>> If you have any problems building please let us know as I've changed the
>> build system in a number of ways.
>>
>>
> yes i'm having some problem when i build the latest one
> when building the dependencies it says...
> org.apache.incubator#wookieJavaConnector;0.1.0-SNAPSHOT: not found
> please help me
Have you done a complete svn update?
How are you trying to build?
Ross
Re: Google summer of code 2010
Posted by Ross Gardler <rg...@apache.org>.
On 06/03/2010 16:00, Suhothayan Sriskandarajah wrote:
> On 4 March 2010 00:07, Suhothayan Sriskandarajah<su...@gmail.com>wrote:
>
>>
>>
>> On 3 March 2010 02:56, Ross Gardler<rg...@apache.org> wrote:
>>
>>> On 02/03/2010 20:51, Ross Gardler wrote:
>>>
>>>> On 02/03/2010 18:55, Suhothayan Sriskandarajah wrote:
>>>>
>>>>> On 2 March 2010 23:04, Ross Gardler<rg...@apache.org> wrote:
>>>>>
>>>>>
>>>>>
>>>> ...
>>>>
>>>> since nothing is implemented in "properties" and as it doesn't have any
>>>>> inconsistencies like" participant" I thought of starting with that.
>>>>>
>>>>>
>>>> ...
>>>>
>>>> since their is no properties class first I'm writing one and then I'll
>>>>> start
>>>>> to implement one of its calls.
>>>>>
>>>>
> I'm now implimenting the widget properties.
> but i have some problems, such as not having clear understanding on property
> value (it's type) and having two methods for Preferences and Shared Data.
>
> please give me some idea regarding this.
Please start a new thread (or at least change the subject) when the
topic changes like this, it makes the archives more useful and draws
attention from those interested in the new topic area.
Can you also be more specific with your questions. It is hard to provide
a meaningful response to such a general question. Please describe the
specifics of one of the problems you have, e.g. what you are trying to
do, what you expect to see, what you actually see, or what you are
trying to do and what you currently understand, what you believe you
need to understand.
The narrower you can make your questions the easier it is for someone to
answer in a quick email. It won't solve all your problems, but it helps
us understand precisely what you want need to know.
Ross
>
> regards,
> Suho
>
>
>>
>>>> Excellent.
>>>>
>>>
>>> Please note I just moved all the connector code into it's own sub-project
>>> (see /connector/java) please update from svn.
>>>
>>> If you have any problems building please let us know as I've changed the
>>> build system in a number of ways.
>>>
>>>
>> yes i'm having some problem when i build the latest one
>> when building the dependencies it says...
>> org.apache.incubator#wookieJavaConnector;0.1.0-SNAPSHOT: not found
>> please help me
>>
>>
>>
>>> Ross
>>>
>>
>>
>
Re: Google summer of code 2010
Posted by Suhothayan Sriskandarajah <su...@gmail.com>.
On 4 March 2010 00:07, Suhothayan Sriskandarajah <su...@gmail.com>wrote:
>
>
> On 3 March 2010 02:56, Ross Gardler <rg...@apache.org> wrote:
>
>> On 02/03/2010 20:51, Ross Gardler wrote:
>>
>>> On 02/03/2010 18:55, Suhothayan Sriskandarajah wrote:
>>>
>>>> On 2 March 2010 23:04, Ross Gardler<rg...@apache.org> wrote:
>>>>
>>>>
>>>>
>>> ...
>>>
>>> since nothing is implemented in "properties" and as it doesn't have any
>>>> inconsistencies like" participant" I thought of starting with that.
>>>>
>>>>
>>> ...
>>>
>>> since their is no properties class first I'm writing one and then I'll
>>>> start
>>>> to implement one of its calls.
>>>>
>>>
I'm now implimenting the widget properties.
but i have some problems, such as not having clear understanding on property
value (it's type) and having two methods for Preferences and Shared Data.
please give me some idea regarding this.
regards,
Suho
>
>>> Excellent.
>>>
>>
>> Please note I just moved all the connector code into it's own sub-project
>> (see /connector/java) please update from svn.
>>
>> If you have any problems building please let us know as I've changed the
>> build system in a number of ways.
>>
>>
> yes i'm having some problem when i build the latest one
> when building the dependencies it says...
> org.apache.incubator#wookieJavaConnector;0.1.0-SNAPSHOT: not found
> please help me
>
>
>
>> Ross
>>
>
>
Re: Google summer of code 2010
Posted by Suhothayan Sriskandarajah <su...@gmail.com>.
On 3 March 2010 02:56, Ross Gardler <rg...@apache.org> wrote:
> On 02/03/2010 20:51, Ross Gardler wrote:
>
>> On 02/03/2010 18:55, Suhothayan Sriskandarajah wrote:
>>
>>> On 2 March 2010 23:04, Ross Gardler<rg...@apache.org> wrote:
>>>
>>>
>>>
>> ...
>>
>> since nothing is implemented in "properties" and as it doesn't have any
>>> inconsistencies like" participant" I thought of starting with that.
>>>
>>>
>> ...
>>
>> since their is no properties class first I'm writing one and then I'll
>>> start
>>> to implement one of its calls.
>>>
>>
>> Excellent.
>>
>
> Please note I just moved all the connector code into it's own sub-project
> (see /connector/java) please update from svn.
>
> If you have any problems building please let us know as I've changed the
> build system in a number of ways.
>
>
yes i'm having some problem when i build the latest one
when building the dependencies it says...
org.apache.incubator#wookieJavaConnector;0.1.0-SNAPSHOT: not found
please help me
> Ross
>
Re: Google summer of code 2010
Posted by Ross Gardler <rg...@apache.org>.
On 02/03/2010 20:51, Ross Gardler wrote:
> On 02/03/2010 18:55, Suhothayan Sriskandarajah wrote:
>> On 2 March 2010 23:04, Ross Gardler<rg...@apache.org> wrote:
>>
>>
>
> ...
>
>> since nothing is implemented in "properties" and as it doesn't have any
>> inconsistencies like" participant" I thought of starting with that.
>>
>
> ...
>
>> since their is no properties class first I'm writing one and then I'll
>> start
>> to implement one of its calls.
>
> Excellent.
Please note I just moved all the connector code into it's own
sub-project (see /connector/java) please update from svn.
If you have any problems building please let us know as I've changed the
build system in a number of ways.
Ross
Re: Google summer of code 2010
Posted by Ross Gardler <rg...@apache.org>.
On 02/03/2010 18:55, Suhothayan Sriskandarajah wrote:
> On 2 March 2010 23:04, Ross Gardler<rg...@apache.org> wrote:
>
>
...
> since nothing is implemented in "properties" and as it doesn't have any
> inconsistencies like" participant" I thought of starting with that.
>
...
> since their is no properties class first I'm writing one and then I'll start
> to implement one of its calls.
Excellent.
Remember we are here to help if you hit any problems.
Ross
Re: Google summer of code 2010
Posted by Suhothayan Sriskandarajah <su...@gmail.com>.
On 2 March 2010 23:04, Ross Gardler <rg...@apache.org> wrote:
> On 02/03/2010 16:58, Suhothayan Sriskandarajah wrote:
>
>> Hi,
>>
>> I'm willing to implement a java interface to the REST apis with test code
>> as
>> Ross suggested.
>>
>
> For context Suho and I had a short exchange offlist about potential for
> GSoC.
>
> I informed him that, as long as the ASF is accepted as a mentoring org I
> will be willing to mentor at least one participant on Wookie. I also
> suggested that engaging with the community prior to GSoC evaluation can
> strengthen the aplication considerably. I suggested some assistance with the
> connector framework might be appropriate.
>
>
> when i was going through the mailing list i found there was a discussion
>> on the current inconsistencies with in the Wookie REST apis and i too
>> found a proposed api for Wookie Widget instance.
>>
>
> Ignoring the potential red herring of my criticism of the existing
> implementation of the REST API there are two tasks we seem to be in
> agreement about:
>
> - the REST API as specified [1] provides the required features, but is not
> very RESTful in design (see [2])
>
> - the connector framework only implements a small number of the REST API
>
> There are two things that can be done here. The first is to design a more
> RESTful API and then implement it. This is actually quite a big job and
> would be a good candidate for a full GSoC project.
>
> The implementation of the connector framework can be tackled in small
> bite-size chunks. That is, you could select and implement any API call that
> is not currently implemented (which is lots of them), such as any of the
> properties calls.
>
since nothing is implemented in "properties" and as it doesn't have any
inconsistencies like" participant" I thought of starting with that.
> In terms of exactly how the appropriate call should be implemented should
> follow the lead of the existing connector framework [3] and test code [4].
>
>
here I'm taking other implementations for examples - such as Widget
Instances
I strongly suggest tackling just a single API method and providing a patch
> for that rather than trying to implement many at once. This gives us a
> chance to evaluate your design and ensure that we are not duplicating
> effort.
>
ok, i'll keep that "not duplicating" in my mind.
> With respect to duplicating effort I will not be doing any work on the
> method calls for at least the next week or so. I'm focussing on separating
> out the code from the main tree, getting the PHP code into SVN and testing
> both in real world environments. If you do start tackling one of the API
> methods be sure to drop a note in this thread.
>
> Don't hesitate to ask if you need more pointers.
>
since their is no properties class first I'm writing one and then I'll start
to implement one of its calls.
Suho
Ross
>
>
> [1] http://incubator.apache.org/wookie/wookie-rest-api.html
> [2] http://markmail.org/thread/wsjb3bqqeshlk26d
>
>
>> Regards,
>> Suho
>>
>>
>
Re: Google summer of code 2010
Posted by Ross Gardler <rg...@apache.org>.
On 02/03/2010 16:58, Suhothayan Sriskandarajah wrote:
> Hi,
>
> I'm willing to implement a java interface to the REST apis with test code as
> Ross suggested.
For context Suho and I had a short exchange offlist about potential for
GSoC.
I informed him that, as long as the ASF is accepted as a mentoring org I
will be willing to mentor at least one participant on Wookie. I also
suggested that engaging with the community prior to GSoC evaluation can
strengthen the aplication considerably. I suggested some assistance with
the connector framework might be appropriate.
> when i was going through the mailing list i found there was a discussion
> on the current inconsistencies with in the Wookie REST apis and i too
> found a proposed api for Wookie Widget instance.
Ignoring the potential red herring of my criticism of the existing
implementation of the REST API there are two tasks we seem to be in
agreement about:
- the REST API as specified [1] provides the required features, but is
not very RESTful in design (see [2])
- the connector framework only implements a small number of the REST API
There are two things that can be done here. The first is to design a
more RESTful API and then implement it. This is actually quite a big job
and would be a good candidate for a full GSoC project.
The implementation of the connector framework can be tackled in small
bite-size chunks. That is, you could select and implement any API call
that is not currently implemented (which is lots of them), such as any
of the properties calls.
In terms of exactly how the appropriate call should be implemented
should follow the lead of the existing connector framework [3] and test
code [4].
I strongly suggest tackling just a single API method and providing a
patch for that rather than trying to implement many at once. This gives
us a chance to evaluate your design and ensure that we are not
duplicating effort.
With respect to duplicating effort I will not be doing any work on the
method calls for at least the next week or so. I'm focussing on
separating out the code from the main tree, getting the PHP code into
SVN and testing both in real world environments. If you do start
tackling one of the API methods be sure to drop a note in this thread.
Don't hesitate to ask if you need more pointers.
Ross
[1] http://incubator.apache.org/wookie/wookie-rest-api.html
[2] http://markmail.org/thread/wsjb3bqqeshlk26d
>
> Regards,
> Suho
>