Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Eclipse 3.2M3 + latest WTP I build -- .wtpmodule gone the way of the dodo bird?
Eclipse 3.2M3 + latest WTP I build -- .wtpmodule gone the way of the dodo bird? [message #146835] Fri, 11 November 2005 14:03 Go to next message
Chris Phillipson is currently offline Chris PhillipsonFriend
Messages: 6
Registered: July 2009
Junior Member
Again a bleeding edge observation...

It seems that combos of Eclipse + WTP after 3.2M1 Eclipse + 1.0M8 Webtools
expect/generate a very different project configuration.

Here's what I've noticed...

..wtpmodule which used to live in the root of each project now lives in a
..settings directory and is now known as .component .

The xml syntax that used to define if the project was a jst.web or
jst.utility is removed from .component (formerly .wtpmodule). This syntax
now seems to live in a file called
org.eclipse.wst.common.project.facet.core.xml which also lives in the
..settings directory.

The .project file's buildSpec and natures encapsultate at a minimum the
following

<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature >
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature >
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
</natures>

Just wondering where I (and others) could find more info on the
changes/enhancements to Webtools web and utility project configuration? A
bug # or a link would suffice.

Thanks,
Chris.
Re: Eclipse 3.2M3 + latest WTP I build -- .wtpmodule gone the way of the dodo bird? [message #146848 is a reply to message #146835] Sun, 13 November 2005 00:12 Go to previous message
Vijay Bhadriraju is currently offline Vijay BhadrirajuFriend
Messages: 67
Registered: July 2009
Member
Chris Phillipson wrote:
> Again a bleeding edge observation...
>
> It seems that combos of Eclipse + WTP after 3.2M1 Eclipse + 1.0M8 Webtools
> expect/generate a very different project configuration.
>
> Here's what I've noticed...
>
> .wtpmodule which used to live in the root of each project now lives in a
> .settings directory and is now known as .component .
>
> The xml syntax that used to define if the project was a jst.web or
> jst.utility is removed from .component (formerly .wtpmodule). This syntax
> now seems to live in a file called
> org.eclipse.wst.common.project.facet.core.xml which also lives in the
> .settings directory.
>
> The .project file's buildSpec and natures encapsultate at a minimum the
> following
>
> <buildSpec>
> <buildCommand>
> <name>org.eclipse.jdt.core.javabuilder</name>
> <arguments>
> </arguments>
> </buildCommand>
> <buildCommand>
> <name>org.eclipse.wst.validation.validationbuilder</name>
> <arguments>
> </arguments>
> </buildCommand>
> </buildSpec>
> <natures>
> <nature>org.eclipse.wst.common.project.facet.core.nature</nature >
> <nature>org.eclipse.jdt.core.javanature</nature>
> <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature >
> <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
> </natures>
>
> Just wondering where I (and others) could find more info on the
> changes/enhancements to Webtools web and utility project configuration? A
> bug # or a link would suffice.
>
> Thanks,
> Chris.
>
>

The rename of the .wtpmodules file to .component was make the file name
more meaningful with its contents. The move of this file to the .setting
s folder was to consolidate meta-data files of a project as this folder
already has the .preference file.

The move of the project type and module version to the
org.eclipse.wst.common.project.facet.core.xml is due to the introduction
of facets that define the project type and version. The details of
facets and their design can be found here

The following design page is out-of-date currently will be updated in
the in the coming week:

http://www.eclipse.org/webtools/development/proposals/Featur es%20Framework%20Specification.htm

Also, the following document describes which facets are currently defined
in WTP:

http://www.eclipse.org/webtools/development/proposals/WtpPro jectFacets.html

- Vijay
Previous Topic:Strange error message
Next Topic:Why I couldn't find the J2EE perspective?
Goto Forum:
  


Current Time: Mon Dec 30 16:48:24 GMT 2024

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

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

Back to the top