Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Cannot set context root
Cannot set context root [message #201473] Sun, 07 October 2007 21:47 Go to next message
Eclipse User
Originally posted by: kevin.ilsen.mckesson.com

I am developing various projects that consist of Java classes as well as JSP
files and other artifacts that must be installed into a 3rd party portal
server environment. I have been using Eclipse 3.2 and WTP 1.5, and am now
attempting to upgrade to 3.3/2.0.

The convention I follow in my projects is for the web content to reside
under "portal.ear/portal.war" (because that matches the runtime directory
structure). Under 3.2/1.5, when I used the Dynamic Web Project wizard, I
was able to type that into the "Content Directory" field on the "Web Module"
page of the wizard. But with 3.3/2.0, I get the error: "/ is an invalid
character in resource name 'portal.ear/portal.war'."

Is there a way that I can coax 3.3/2.0 into allowing me to set the web
content directory to "portal.ear/portal.war" using the wizard, as I was able
to do using 3.2/1.5 ?
Re: Cannot set context root [message #201521 is a reply to message #201473] Mon, 08 October 2007 16:11 Go to previous message
Eclipse User
Originally posted by: kevin.ilsen.mckesson.com

Follow-up:

I determined that this was a known bug in the Dynamic Web Project wizard,
and was actually fixed in 2.0.1. Upgrading to 2.0.1 solved the problem for
me.

"Kevin" <kevin.ilsen@mckesson.com> wrote in message
news:fec27q$q3b$1@build.eclipse.org...
>I am developing various projects that consist of Java classes as well as
>JSP files and other artifacts that must be installed into a 3rd party
>portal server environment. I have been using Eclipse 3.2 and WTP 1.5, and
>am now attempting to upgrade to 3.3/2.0.
>
> The convention I follow in my projects is for the web content to reside
> under "portal.ear/portal.war" (because that matches the runtime directory
> structure). Under 3.2/1.5, when I used the Dynamic Web Project wizard, I
> was able to type that into the "Content Directory" field on the "Web
> Module" page of the wizard. But with 3.3/2.0, I get the error: "/ is an
> invalid character in resource name 'portal.ear/portal.war'."
>
> Is there a way that I can coax 3.3/2.0 into allowing me to set the web
> content directory to "portal.ear/portal.war" using the wizard, as I was
> able to do using 3.2/1.5 ?
>
Previous Topic:Can I use FTP to define a server?
Next Topic:An internal error occurred during: "Initializing Java Tooling".
Goto Forum:
  


Current Time: Fri Aug 29 12:31:04 EDT 2014

Powered by FUDForum. Page generated in 0.02077 seconds