Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsHow to convert a former web project into a utility project?
https://www.eclipse.org/forums/index.php/mv/msg/60000/189628/#msg_189628
opening the Properties => Project facets => Modify projects-dialog and
trying to deselect "Dynamic Web Module" then eclipse refuses to do so
and instead pops up an error telling me that this facet cannot be
deselected because it's critical for the proper funcion of this project.
How do I change a project's facet after the fact? I know that I could
most like go into the .settings =>
org.eclipse.wst.common.project.facet.core.xml file and fiddle in there
by hand, but I suppose there's a suggested better and more "official"
way to do so.
The project was created automatically from a .wsdl file and that process
obviously creates a "Dynamic Web Module" without further asking...
Michael]]>Michael Moser2007-03-12T12:40:32-00:00Re: How to convert a former web project into a utility project?
https://www.eclipse.org/forums/index.php/mv/msg/60000/189637/#msg_189637
Originally posted by: ns_dkerber.ns_WarrenRogersAssociates.com
In article <et3ho2$fgi$1@utils.eclipse.org>, mmo@zurich.ibm.com says...
> I need to convert a "WebProject" into a "Utility Module", but when
> opening the Properties => Project facets => Modify projects-dialog and
> trying to deselect "Dynamic Web Module" then eclipse refuses to do so
> and instead pops up an error telling me that this facet cannot be
> deselected because it's critical for the proper funcion of this project.
>
> How do I change a project's facet after the fact? I know that I could
> most like go into the .settings =>
> org.eclipse.wst.common.project.facet.core.xml file and fiddle in there
> by hand, but I suppose there's a suggested better and more "official"
> way to do so.
>
> The project was created automatically from a .wsdl file and that process
> obviously creates a "Dynamic Web Module" without further asking...
>
> Michael
Your best bet is probably to create a new project of the correct type,
and copy the classes over from the web project to the new one.
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).]]>2007-03-12T12:58:30-00:00Re: How to convert a former web project into a utility project?
https://www.eclipse.org/forums/index.php/mv/msg/60000/189645/#msg_189645
org.eclipse.wst.common.project.facet.core.xml-file (actually in the
meantime I already did :-) ).
Just as an aside: I *hate* it when SW tries to prevent me from doing
perfectly valid operations. I very much appreciate a hint here and there
(if necessary including a clear warning, that if one continues from here
one might henceforth be walking on thin ice and maybe even loose some
work) but we should leave such attempts to outsmart the user to another
not-to-be-mentioned-here company...
Michael
"David Kerber" <ns_dkerber@ns_WarrenRogersAssociates.com> wrote in
message news:MPG.205f1883e1a9a9a29896d8@news.eclipse.org...
> ...
> Your best bet is probably to create a new project of the correct type,
> and copy the classes over from the web project to the new one.
>
>
> --
> Remove the ns_ from if replying by e-mail (but keep posts in the
> newsgroups if possible).]]>Michael Moser2007-03-12T14:17:06-00:00Re: How to convert a former web project into a utility project?
https://www.eclipse.org/forums/index.php/mv/msg/60000/189730/#msg_189730
Originally posted by: ns_dkerber.ns_WarrenRogersAssociates.com
In article <et3nd4$fhr$1@utils.eclipse.org>, mmo@zurich.ibm.com says...
> Well - then I rather "massage" the
> org.eclipse.wst.common.project.facet.core.xml-file (actually in the
> meantime I already did :-) ).
That's well above my head when it comes to Eclipse configuration!
That's why I suggested the slower but surer road...
>
> Just as an aside: I *hate* it when SW tries to prevent me from doing
> perfectly valid operations. I very much appreciate a hint here and there
> (if necessary including a clear warning, that if one continues from here
> one might henceforth be walking on thin ice and maybe even loose some
> work) but we should leave such attempts to outsmart the user to another
> not-to-be-mentioned-here company...
;-D
.....
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).]]>2007-03-12T18:36:43-00:00