WTP with Tomcat 5.5 change deploy path [message #163333] |
Wed, 08 March 2006 20:41  |
Eclipse User |
|
|
|
Hi,
I am using the Dynamic web project to develop a portlet to be deployed in
tomcat 5.5 with apache jetspeed 2.
the eclipse server tool publishes a webapp to the CATALINE_HOME/webapps
to deploy to jetspeed, u copy yr war to
CATALINE_HOME/webapps/jetspeed/WEB-INF/deploy and it copies it to
CATALINE_HOME/webapps while inserting some files into.
when i do "publish" on the the eclipise server tool, it just dumps it into
CATALINE_HOME/webapps. jetspeed gets confused and the portlet doesn't come
up.
if i do a manual war export from eclipse to
CATALINE_HOME/webapps/jetspeed/WEB-INF/deploy, changes i made in the
portlet work fine.
my question is, i want to change the server tool "publish" path from
CATALINE_HOME/webapps to CATALINE_HOME/webapps/jetspeed/WEB-INF/deploy.
how can i do that? is there a workaround?
thanks
Anthony Perritano
|
|
|
Re: WTP with Tomcat 5.5 change deploy path [message #163585 is a reply to message #163333] |
Fri, 10 March 2006 11:43   |
Eclipse User |
|
|
|
Originally posted by: dserodio.gmail.com
Anthony Perritano wrote:
> Hi,
> I am using the Dynamic web project to develop a portlet to be deployed
> in tomcat 5.5 with apache jetspeed 2.
>
> the eclipse server tool publishes a webapp to the CATALINE_HOME/webapps
>
> to deploy to jetspeed, u copy yr war to
> CATALINE_HOME/webapps/jetspeed/WEB-INF/deploy and it copies it to
> CATALINE_HOME/webapps while inserting some files into.
>
> when i do "publish" on the the eclipise server tool, it just dumps it
> into CATALINE_HOME/webapps. jetspeed gets confused and the portlet
> doesn't come up.
>
> if i do a manual war export from eclipse to
> CATALINE_HOME/webapps/jetspeed/WEB-INF/deploy, changes i made in the
> portlet work fine.
>
> my question is, i want to change the server tool "publish" path from
> CATALINE_HOME/webapps to CATALINE_HOME/webapps/jetspeed/WEB-INF/deploy.
>
> how can i do that? is there a workaround?
I don't think you can do that, since the "publish" feature is for
webapps, and your project is a portlet, not a webapp.
HTH,
Daniel Serodio
|
|
|
Re: WTP with Tomcat 5.5 change deploy path [message #163836 is a reply to message #163585] |
Tue, 14 March 2006 06:13  |
Eclipse User |
|
|
|
Originally posted by: jrduncans.stephenduncanjr.com
Daniel Serodio wrote:
> Anthony Perritano wrote:
>> Hi,
>> I am using the Dynamic web project to develop a portlet to be deployed
>> in tomcat 5.5 with apache jetspeed 2.
>>
>> the eclipse server tool publishes a webapp to the CATALINE_HOME/webapps
>>
>> to deploy to jetspeed, u copy yr war to
>> CATALINE_HOME/webapps/jetspeed/WEB-INF/deploy and it copies it to
>> CATALINE_HOME/webapps while inserting some files into.
>>
>> when i do "publish" on the the eclipise server tool, it just dumps it
>> into CATALINE_HOME/webapps. jetspeed gets confused and the portlet
>> doesn't come up.
>>
>> if i do a manual war export from eclipse to
>> CATALINE_HOME/webapps/jetspeed/WEB-INF/deploy, changes i made in the
>> portlet work fine.
>>
>> my question is, i want to change the server tool "publish" path from
>> CATALINE_HOME/webapps to CATALINE_HOME/webapps/jetspeed/WEB-INF/deploy.
>>
>> how can i do that? is there a workaround?
>
> I don't think you can do that, since the "publish" feature is for
> webapps, and your project is a portlet, not a webapp.
>
> HTH,
> Daniel Serodio
A portlet IS a webapp. Well, more accurately, you can have a webapp
that additionally contains 1 or more portlets.
-Stephen
|
|
|
Powered by
FUDForum. Page generated in 0.03475 seconds