You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by Raido Kuli <ra...@gmail.com> on 2010/03/06 09:41:08 UTC
How to import Wookie to Eclipse ?
Hi.
I've been trying to import/open Wookie to Eclipse (for debugging)
workspace. File -> New -> Java project -> Create from existing sources
and son.
Wookie is imported just fine but I have trouble building it, obviously
some libraries or paths are incorrect. I've added tomcat
servlet-api.jar to libraries. Now if i try to build it, I get lot's
of errors that packages/imports of java things are not found. Like
ProxyClient.java AuthenticationException cannot be resolved.
Problem here is that Eclipse can't find other src/classes in wookie project.
I'll keep trying to get more familiar with Eclipse.
--
Raido
Re: How to import Wookie to Eclipse ?
Posted by Scott Wilson <sc...@gmail.com>.
If you change the location of wookie-local in ivysettings.xml to this ->
<filesystem name="wookie-local">
<artifact pattern="${basedir}/ant/lib/[artifact]-[revision].
[type]" />
</filesystem>
... then Eclipse finds them OK
On 7 Mar 2010, at 08:36, Raido Kuli wrote:
> Eclipse automatically detected ivy.xml and even ivysettings.xml. Under
> build path, expanding ivy.xml library it shows many jar files. But if
> i try to 'resolve' dependencies, then i get ->
>
> Impossible to resolve dependencies of org.apache.incubator#wookie;
> 0.8.1-SNAPSHOT
> unresolved dependency: com.ibm.icu#icu4j;4_2_1: not found
> unresolved dependency: commons-compress#commons-compress;1.0: not
> found
> unresolved dependency: htmlcleaner#htmlcleaner;2.1.0: not found
> unresolved dependency: org.directwebremoting#dwr;2.0.5: not found
> unresolved dependency:
> org.apache.incubator#shindig-common;1.1-SNAPSHOT: not found
> unresolved dependency: com.ibm.icu#icu4j;4_2_1: not found
> unresolved dependency: commons-compress#commons-compress;1.0: not
> found
> unresolved dependency: htmlcleaner#htmlcleaner;2.1.0: not found
> unresolved dependency: org.directwebremoting#dwr;2.0.5: not found
> unresolved dependency:
> org.apache.incubator#shindig-common;1.1-SNAPSHOT: not found
> unresolved dependency: com.ibm.icu#icu4j;4_2_1: not found
> unresolved dependency: commons-compress#commons-compress;1.0: not
> found
> unresolved dependency: htmlcleaner#htmlcleaner;2.1.0: not found
> unresolved dependency: org.directwebremoting#dwr;2.0.5: not found
> unresolved dependency:
> org.apache.incubator#shindig-common;1.1-SNAPSHOT: not found
>
> I've tried with clean svn checkout, file -> import way but with no
> luck.
>
> --
> Raido
>
>
> On Sat, Mar 6, 2010 at 11:51 AM, Scott Wilson
> <sc...@gmail.com> wrote:
>>
>> On 6 Mar 2010, at 08:41, Raido Kuli wrote:
>>
>>> Hi.
>>>
>>> I've been trying to import/open Wookie to Eclipse (for debugging)
>>> workspace. File -> New -> Java project -> Create from existing
>>> sources
>>> and son.
>>>
>>> Wookie is imported just fine but I have trouble building it,
>>> obviously
>>> some libraries or paths are incorrect. I've added tomcat
>>> servlet-api.jar to libraries. Now if i try to build it, I get lot's
>>> of errors that packages/imports of java things are not found. Like
>>> ProxyClient.java AuthenticationException cannot be resolved.
>>
>> Hi Raido,
>>
>> You need to install the Ivyclipse plugin - this will manage the
>> build path
>> entries for you dynamically. After installing and restarting Eclipse,
>> righ-click on ivy.xml and select "add Ivy library..."
>>
>> You will also need to point Ivy at the ivysettings.xml file in
>> Eclipse
>> preferences.
>>
>> S
>>
>>>
>>> Problem here is that Eclipse can't find other src/classes in wookie
>>> project.
>>>
>>> I'll keep trying to get more familiar with Eclipse.
>>>
>>> --
>>> Raido
>>
>>
Re: How to import Wookie to Eclipse ?
Posted by Raido Kuli <ra...@gmail.com>.
Eclipse automatically detected ivy.xml and even ivysettings.xml. Under
build path, expanding ivy.xml library it shows many jar files. But if
i try to 'resolve' dependencies, then i get ->
Impossible to resolve dependencies of org.apache.incubator#wookie;0.8.1-SNAPSHOT
unresolved dependency: com.ibm.icu#icu4j;4_2_1: not found
unresolved dependency: commons-compress#commons-compress;1.0: not found
unresolved dependency: htmlcleaner#htmlcleaner;2.1.0: not found
unresolved dependency: org.directwebremoting#dwr;2.0.5: not found
unresolved dependency:
org.apache.incubator#shindig-common;1.1-SNAPSHOT: not found
unresolved dependency: com.ibm.icu#icu4j;4_2_1: not found
unresolved dependency: commons-compress#commons-compress;1.0: not found
unresolved dependency: htmlcleaner#htmlcleaner;2.1.0: not found
unresolved dependency: org.directwebremoting#dwr;2.0.5: not found
unresolved dependency:
org.apache.incubator#shindig-common;1.1-SNAPSHOT: not found
unresolved dependency: com.ibm.icu#icu4j;4_2_1: not found
unresolved dependency: commons-compress#commons-compress;1.0: not found
unresolved dependency: htmlcleaner#htmlcleaner;2.1.0: not found
unresolved dependency: org.directwebremoting#dwr;2.0.5: not found
unresolved dependency:
org.apache.incubator#shindig-common;1.1-SNAPSHOT: not found
I've tried with clean svn checkout, file -> import way but with no luck.
--
Raido
On Sat, Mar 6, 2010 at 11:51 AM, Scott Wilson
<sc...@gmail.com> wrote:
>
> On 6 Mar 2010, at 08:41, Raido Kuli wrote:
>
>> Hi.
>>
>> I've been trying to import/open Wookie to Eclipse (for debugging)
>> workspace. File -> New -> Java project -> Create from existing sources
>> and son.
>>
>> Wookie is imported just fine but I have trouble building it, obviously
>> some libraries or paths are incorrect. I've added tomcat
>> servlet-api.jar to libraries. Now if i try to build it, I get lot's
>> of errors that packages/imports of java things are not found. Like
>> ProxyClient.java AuthenticationException cannot be resolved.
>
> Hi Raido,
>
> You need to install the Ivyclipse plugin - this will manage the build path
> entries for you dynamically. After installing and restarting Eclipse,
> righ-click on ivy.xml and select "add Ivy library..."
>
> You will also need to point Ivy at the ivysettings.xml file in Eclipse
> preferences.
>
> S
>
>>
>> Problem here is that Eclipse can't find other src/classes in wookie
>> project.
>>
>> I'll keep trying to get more familiar with Eclipse.
>>
>> --
>> Raido
>
>
Re: How to import Wookie to Eclipse ?
Posted by Scott Wilson <sc...@gmail.com>.
On 6 Mar 2010, at 08:41, Raido Kuli wrote:
> Hi.
>
> I've been trying to import/open Wookie to Eclipse (for debugging)
> workspace. File -> New -> Java project -> Create from existing sources
> and son.
>
> Wookie is imported just fine but I have trouble building it, obviously
> some libraries or paths are incorrect. I've added tomcat
> servlet-api.jar to libraries. Now if i try to build it, I get lot's
> of errors that packages/imports of java things are not found. Like
> ProxyClient.java AuthenticationException cannot be resolved.
Hi Raido,
You need to install the Ivyclipse plugin - this will manage the build
path entries for you dynamically. After installing and restarting
Eclipse, righ-click on ivy.xml and select "add Ivy library..."
You will also need to point Ivy at the ivysettings.xml file in Eclipse
preferences.
S
>
> Problem here is that Eclipse can't find other src/classes in wookie
> project.
>
> I'll keep trying to get more familiar with Eclipse.
>
> --
> Raido