Porting Web application to GGTS IDE

Hello,

When we port any web application into GGTS, sometimes build is not successful using IDE. We just simply add our application to sever and publish it but alas!  😦 Our application is not deployed properly into deployment directory of server.

I have faces this sever issue for long time then i looked into .settings folder and could see in ‘org.eclipse.wst.common.component’ file we have options to set our build option to copy our resources from source to destination deployment directory.

Here you can add your properties.

In case your jar files are not copied to destination and you are using maven for build then you will have problem to provide source folder name, so here is the workaround.

Build your application using maven and find the path of lib folders then give this folder as source.

sample:  <wb-resource deploy-path=”/WEB-INF/lib” source-path=”/target/{context-name}/WEB-INF/lib” />

Sunil

 

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: