persistence@glassfish.java.net

Re: imports with EclipseLink

From: Daniel Benítez <danibenitez_at_hotmail.com>
Date: Mon, 22 Sep 2008 11:14:40 +0200

Hi Andrei,

I tried with a clear project and the problem is the same. In fact, I only
created a "New Project" > "Java EE" > "Enterprise Application" with
standars parameters changing "Create web application module" to "Create
Application Client Module", because my application run as Application Client
Module.

Then, in project property I add a new Library named EclipseLink that I
created with eclipselink.jar and javax.persistence_1.0.0.jar files.

Then I have a new package named org.eclipse, but if I import this package,
Netbeans tell me: "package org does not exists". In fact I have the same
standars packages that starts with org like codehaus, apache, etc.

I tried with NetBeans 6.1 and 6.5, and have the same problem.



--------------------------------------------------
From: "Andrei Badea" <Andrei.Badea_at_Sun.COM>
Sent: Thursday, September 18, 2008 10:19 AM
To: <persistence_at_glassfish.dev.java.net>
Subject: Re: imports with EclipseLink

> Daniel Benítez wrote:
>> Hi Everybody,
>>
>> I'm migrating from Oracle TopLink to EclipseLink. Now I need to import
>> EclipseLink packages in a clase but Netbeans 6.1 tell me that "package
>> org.eclipse does not exist", but I import a EclipseLink library with
>> eclipselink.jar and javax.persistence_1.0.0.jar into de project. What is
>> the problem?
>
> I'm not sure. I tried your scenario in a daily build of 6.5 and I didn't
> see any problems. If you can reproduce the problem with a clean userdir,
> please file an issue against NetBeans.
>
> Andrei
>