|
Re: WAR deployment (on Tomcat): How to add additional resources? [message #91813 is a reply to message #91686] |
Wed, 04 June 2008 12:29 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Reinhold,
I am not quite sure what you mean. If you refer to resources that
are used/referenced by extensions, then they need to redise in the
plug-in.
In oder to have them packaged into the plug-in jar during the build,
you need to adjust the build.properties file.
HTH
Rüdiger
Reinhold Bentele wrote:
> Hi all,
>
> I have successfully deployed my application to Tomcat following the
> tutorial from Elias. I deviated only in two things:
> 1. closed the javax.servlet project
> 2. added the org.eclipse.update.configurator plug-in to the Plug-ins
> list of the feature.
>
> My problem now is that I have to add some additional resources that
> don't reside in the plug-ins, e.g. my custom html body file (body.html)
> from the branding extension, a css file (theme.css) from the themes
> extension and a conf-directory containing the configuration files of my
> application.
>
> The first attempt was to add them to the Build Configuration but in this
> case the files are copied into the /features/xx.myapp.feature directory
> and my application can't access them.
>
> The second attempt was adding the files to the templates directory of
> the feature. The build script copies the files to the correct place and
> so the WAR contains the files. But when I deploy the WAR in Tomcat these
> files are missing in the /Catalina/localhost/myapp/eclipse directory
> where my application expects them to be.
>
> Can anybody help me?
>
> Reinhold
|
|
|
|
Powered by
FUDForum. Page generated in 0.02640 seconds