Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » API changes in recent Dali 2.1 builds
API changes in recent Dali 2.1 builds [message #435044] Fri, 05 December 2008 15:12 Go to next message
Leonard Theivendra is currently offline Leonard TheivendraFriend
Messages: 36
Registered: July 2009
Member
Reposting from the dali-dev mailing list:

Hi all, I looked on http://wiki.eclipse.org/Dali_Provisional_API_Changes
but couldn't find any info on the recent API changes so posting here.
Looking for replacement APIs for the following that seemed to have been
removed in the 20081119 2.1 build I tried:

1) org.eclipse.jpt.core.ResourceModel

2) org.eclipse.jpt.core.resource.persistence.PersistenceResourc eModel

3) JpaFile.getResourceModel()

4) JpaProject.jpaFiles(String)
- i.e. to get all orm xml files I was using something like:
Iterator<JpaFile> persistenceXmlFiles =
jpaProject.jpaFiles(ResourceModel.ORM_RESOURCE_TYPE);

And should we be using the newsgroup for these sort of questions or is
dali-dev still the recommended venue?

Thanks,
Leonard Theivendra
Re: API changes in recent Dali 2.1 builds [message #435113 is a reply to message #435044] Mon, 08 December 2008 18:36 Go to previous message
Brian Vosburgh is currently offline Brian VosburghFriend
Messages: 137
Registered: July 2009
Senior Member
See comments in-line:

Leonard Theivendra wrote:
> Hi all, I looked on http://wiki.eclipse.org/Dali_Provisional_API_Changes
> but couldn't find any info on the recent API changes so posting here.
> Looking for replacement APIs for the following that seemed to have been
> removed in the 20081119 2.1 build I tried:
>
> 1) org.eclipse.jpt.core.ResourceModel
>
> 2) org.eclipse.jpt.core.resource.persistence.PersistenceResourc eModel

The behavior in ResourceModel and its implementations was rolled into the
surrounding objects:
the implementations of JpaFile and CompilationUnit and subclasses of
JpaXmlResource.

> 3) JpaFile.getResourceModel()

We have removed this method as a result of the above.

> 4) JpaProject.jpaFiles(String)
> - i.e. to get all orm xml files I was using something like:
> Iterator<JpaFile> persistenceXmlFiles =
> jpaProject.jpaFiles(ResourceModel.ORM_RESOURCE_TYPE);

This method is no longer needed by Dali.

This whole area is under *lots* of rework as we try to allow references
to Entities etc. that are in jars or other Eclipse projects. What are
you trying to do with what is returned by these methods?

> And should we be using the newsgroup for these sort of questions or is
> dali-dev still the recommended venue?

As described[1], dali-dev is for the discussion of Dali development issues
(i.e. the development *of* Dali, not development *with* Dali).
The newsgroup is the more appropriate forum for questions about the use of Dali.

[1] https://dev.eclipse.org/mailman/listinfo/dali-dev
Re: API changes in recent Dali 2.1 builds [message #613666 is a reply to message #435044] Mon, 08 December 2008 18:36 Go to previous message
Brian Vosburgh is currently offline Brian VosburghFriend
Messages: 137
Registered: July 2009
Senior Member
See comments in-line:

Leonard Theivendra wrote:
> Hi all, I looked on http://wiki.eclipse.org/Dali_Provisional_API_Changes
> but couldn't find any info on the recent API changes so posting here.
> Looking for replacement APIs for the following that seemed to have been
> removed in the 20081119 2.1 build I tried:
>
> 1) org.eclipse.jpt.core.ResourceModel
>
> 2) org.eclipse.jpt.core.resource.persistence.PersistenceResourc eModel

The behavior in ResourceModel and its implementations was rolled into the
surrounding objects:
the implementations of JpaFile and CompilationUnit and subclasses of
JpaXmlResource.

> 3) JpaFile.getResourceModel()

We have removed this method as a result of the above.

> 4) JpaProject.jpaFiles(String)
> - i.e. to get all orm xml files I was using something like:
> Iterator<JpaFile> persistenceXmlFiles =
> jpaProject.jpaFiles(ResourceModel.ORM_RESOURCE_TYPE);

This method is no longer needed by Dali.

This whole area is under *lots* of rework as we try to allow references
to Entities etc. that are in jars or other Eclipse projects. What are
you trying to do with what is returned by these methods?

> And should we be using the newsgroup for these sort of questions or is
> dali-dev still the recommended venue?

As described[1], dali-dev is for the discussion of Dali development issues
(i.e. the development *of* Dali, not development *with* Dali).
The newsgroup is the more appropriate forum for questions about the use of Dali.

[1] https://dev.eclipse.org/mailman/listinfo/dali-dev
Previous Topic:[Fwd: [dali-dev] Many to many relationship problem]
Next Topic:Join Table cannot be resolved
Goto Forum:
  


Current Time: Fri Apr 26 03:39:18 GMT 2024

Powered by FUDForum. Page generated in 0.02999 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top