Posts Tagged ‘ context name ’

Porting Web application to GGTS IDE


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” />