[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Fwd: RE: [dali-dev] Questions regarding WTP project merge
|
per request from konstantin.
------- Forwarded message -------
From: "Konstantin Komissarchik" <kosta@xxxxxxx>
To: "Max Rydahl Andersen" <max.andersen@xxxxxxxxx>
Cc:
Subject: RE: [dali-dev] Questions regarding WTP project merge
Date: Mon, 10 Apr 2006 05:12:04 +0200
Max,
Please forward my reply to dali-dev if you think that's appropriate as I
was not able to reply to everyone without subscribing.
Thanks,
- Konstantin
-----Original Message-----
From: Konstantin Komissarchik
Sent: Sunday, April 09, 2006 7:42 PM
To: Max Rydahl Andersen; General Dali EJB ORM developer discussion.
Cc: dali-dev-bounces@xxxxxxxxxxx
Subject: RE: [dali-dev] Questions regarding WTP project merge
There exists an api for converting an existing project into a faceted
project. That api is...
import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
import org.eclipse.wst.common.project.facet.core.IFacetedProject;
final IFacetedProject fpj
= ProjectFacetsManager.create( <IProject>, true, <IProgressMonitor )
That will make the project "facet-enabled", but will not install any
facets, set any facets as fixed, or associate the project with a
runtime.
To then install a java facet, you can do this:
import org.eclipse.jst.common.project.facet.JavaFacetUtils;
fpj.installProjectFacet( JavaFacetUtils.JAVA_50, null,
<IProgressMonitor> )
Adjust appropriately depending on which version of the java facet you
want.
Converting an existing project into a faceted project and auto-detecting
which facets should be install is not a typical WTP usecase, so we have
no neat api for doing all of this or the associated ui. Thus, if you
roll out this functionality, you would not be duplicating anything.
Depending on how generic you make it, it may be appropriate to push it
down into WTP.
Hope that answers your questions. Let me know if you have any other.
Thanks,
- Konstantin
-----Original Message-----
From: Max Rydahl Andersen [mailto:max.andersen@xxxxxxxxx]
Sent: Wednesday, March 29, 2006 10:44 PM
To: General Dali EJB ORM developer discussion.; Konstantin Komissarchik
Cc: dali-dev-bounces@xxxxxxxxxxx
Subject: Re: [dali-dev] Questions regarding WTP project merge
I don't see why you would need to duplicate code. Couldn't it be put
in a
common plugin?
Sure it should be put somewhere common, but my point is that it is
apparently
not in some common place now ;)
I assume you meant "facet-enable"? If so, Kosta did a tutorial on that
at
Eclipsecon and said he would post it. [1]
I were not at this tutorial, but were at the BOF where I from Konstantin
understood
that currently it is not something that is built-in (where "it" is
"facet-enabled" an
existing project)
Thus from my current understanding it is *possible* to do, but would
need
to go copy/paste some code from certain modules to be able to just
"facet-enable" and
"apply-java-facet" to an existing project.
I would love to be told otherwise and that I misunderstood it ;)
/max
[1] http://www.eclipsecon.org/2006/Sub.do?id=241
Arthur Ryman,
IBM Software Group, Rational Division
blog: http://ryman.eclipsedevelopersjournal.com/
phone: +1-905-413-3077, TL 969-3077
assistant: +1-905-413-2411, TL 969-2411
fax: +1-905-413-4920, TL 969-4920
mobile: +1-416-939-5063, text: 4169395063@xxxxxxx
"Max Rydahl Andersen" <max.andersen@xxxxxxxxx>
Sent by: dali-dev-bounces@xxxxxxxxxxx
03/27/2006 01:14 PM
Please respond to
"General Dali EJB ORM developer discussion." <dali-dev@xxxxxxxxxxx>
To
"General Dali EJB ORM developer discussion." <dali-dev@xxxxxxxxxxx>
cc
dali-dev-bounces@xxxxxxxxxxx
Subject
Re: [dali-dev] Questions regarding WTP project merge
Ok, but from what I understood this were not really doable today
because
you would have to duplicate the code for how to feature-enable a
project.
In any case, any pointers on how to actually do that today (or how/if
it
will be able todo on Callisto) would be really nice since I could use
it
for Hibernate Tools too.
/max
Dali will be one or more Features which means it can be separately
installed. You'll need to split it into at least 2 Features if you
want
to
address JDT users, i.e. J2SE. FYI, there is a similar need for Web
services. The latest specs define how to be a Web service client in a
J2SE
runtime. It makes sense to define Features that can be used in J2SE
contexts. Perhaps there would be a core Feature and two other
Features
that use it, one for Java projects and one for Web projects.
Arthur Ryman,
IBM Software Group, Rational Division
blog: http://ryman.eclipsedevelopersjournal.com/
phone: +1-905-413-3077, TL 969-3077
assistant: +1-905-413-2411, TL 969-2411
fax: +1-905-413-4920, TL 969-4920
mobile: +1-416-939-5063, text: 4169395063@xxxxxxx
"Max Rydahl Andersen" <max.andersen@xxxxxxxxx>
Sent by: dali-dev-bounces@xxxxxxxxxxx
03/27/2006 11:51 AM
Please respond to
"General Dali EJB ORM developer discussion." <dali-dev@xxxxxxxxxxx>
To
"General Dali EJB ORM developer discussion." <dali-dev@xxxxxxxxxxx>,
neil.hauge@xxxxxxxxxx
cc
dali-dev-bounces@xxxxxxxxxxx
Subject
Re: [dali-dev] Questions regarding WTP project merge
There will be some additional dependencies as Dali gets aligned with
the
WTP architecture. For example, now Dali has a menu command to add
persistence to a project. The WTP way to do this is to use Facets.
The problem with this one is that apparently there is not a good way
of
adding
a facet to a pure java project.
I don't understand what it means to "Run Dali as a standalone
application". Do you mean the tool or the applications it generates?
If
you mean the tool, please explain. Thx.
I think many users want to use Dali without having to download the
full
WTP.
/max
Arthur Ryman,
IBM Software Group, Rational Division
blog: http://ryman.eclipsedevelopersjournal.com/
phone: +1-905-413-3077, TL 969-3077
assistant: +1-905-413-2411, TL 969-2411
fax: +1-905-413-4920, TL 969-4920
mobile: +1-416-939-5063, text: 4169395063@xxxxxxx
Neil Hauge <neil.hauge@xxxxxxxxxx>
Sent by: dali-dev-bounces@xxxxxxxxxxx
03/28/2006 10:15 AM
Please respond to
neil.hauge@xxxxxxxxxx; Please respond to
"General Dali EJB ORM developer discussion." <dali-dev@xxxxxxxxxxx>
To
"General Dali EJB ORM developer discussion." <dali-dev@xxxxxxxxxxx>
cc
Subject
Re: [dali-dev] Questions regarding WTP project merge
Markus,
I'll answer these questions based on my current understanding of how
this will work. Arthur may be able to further clarify on a couple
of
these.
- Is Dali to become a subproject of WTP with its own project lead?
Dali will become either a subproject of the WTP with its own lead OR
a
component under the JST with a component lead. The WTP PMC, with
input
from us, will probably decide what makes the most sense.
- What does this step mean for the code? Will it result in more code
dependencies and requirements (for example will it be possible to
use
Dali outside of a container context. Afaik WTP relies on a container
all
the time)?
This move will not change our core requirements. We will still
provide
support for outside the container contexts. It should not increase
our
dependencies, as we already are and plan to be dependent on a number
of
WTP components and frameworks. Many of the WTP components do not
rely
on container specific functionality. The XML component would be a
good
example of something that could be used in any environment.
- Will it still be possible to run Dali as a standalone application?
Yes, it would still be possible to run Dali as a standalone
application
(WTP components would be a packaged pre-req)
- Is our project road map (task priorities/features/...) going to
change?
No, not specifically related to the move. As our exposure to the
Eclipse community grows, different inputs may result in these types
of
changes, but this is an expected part of the iterative nature of the
project.
Neil Hauge
Markus Kuppe wrote:
Hi,
after yesterdays conference calls several questions arose regarding
the project merge into the WTP in the next months.
- Is Dali to become a subproject of WTP with its own project lead?
- What does this step mean for the code? Will it result in more
code
dependencies and requirements (for example will it be possible to
use
Dali outside of a container context. Afaik WTP relies on a
container
all the time)?
- Will it still be possible to run Dali as a standalone
application?
- Is our project road map (task priorities/features/...) going to
change?
_______________________________________________
dali-dev mailing list
dali-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dali-dev
--
--
Max Rydahl Andersen
callto://max.rydahl.andersen
Hibernate
max@xxxxxxxxxxxxx
http://hibernate.org
JBoss Inc
max.andersen@xxxxxxxxx