You will be having files related to your each ext plugin under following places
Suppose for example i have created a ext plugin named "second"
1) You will be having some jars @ temp folder of your tomcat instance @
In my case,
D:\projects\liferay\rNd\liferay-portal-6.0.5\tomcat-6.0.26\temp\liferay\com\liferay\portal\deploy\dependencies\ext-second-ext-util-bridges.jar
D:\projects\liferay\rNd\liferay-portal-6.0.5\tomcat-6.0.26\temp\liferay\com\liferay\portal\deploy\dependencies\ext-second-ext-util-taglib.jar
D:\projects\liferay\rNd\liferay-portal-6.0.5\tomcat-6.0.26\temp\liferay\com\liferay\portal\deploy\dependencies\ext-second-ext-util-java.jar
2) You will be having jars related to each of your ext plugin @
In my case,
D:\projects\liferay\rNd\liferay-portal-6.0.5\tomcat-6.0.26\webapps\ROOT\WEB-INF\lib\ext-second-ext-util-bridges.jar
D:\projects\liferay\rNd\liferay-portal-6.0.5\tomcat-6.0.26\webapps\ROOT\WEB-INF\lib\ext-second-ext-util-taglib.jar
D:\projects\liferay\rNd\liferay-portal-6.0.5\tomcat-6.0.26\webapps\ROOT\WEB-INF\lib\ext-second-ext-util-java.jar
D:\projects\liferay\rNd\liferay-portal-6.0.5\tomcat-6.0.26\webapps\ROOT\WEB-INF\lib\ext-second-ext-impl.jar
3) xml file related to each ext plugin will be placed @
In my case,
D:\projects\liferay\rNd\liferay-portal-6.0.5\tomcat-6.0.26\webapps\ROOT\WEB-INF\ext-second-ext.xml
4) Service file @ global class path of app server -
D:\projects\liferay\rNd\liferay-portal-6.0.5\tomcat-6.0.26\lib\ext\ext-second-ext-service.jar
5) Once your ext plugin is deployed properly you may see some message some thing like below
[ExtHotDeployListener:188] Extension environment for "YOUR_EXT_PLUGIN_NAME" has been applied. You must reboot the server and redeploy all other plugin
s.
Copy the below code to a bat file, change tomcat_home according to your tomcat instance
> you need to send your ext plugin name as parameter , in my case "second"
> before redeploying stop the server & run the following command then redeploy
@echo offPlease post your comments/feedback/suggestions on this topic if possible
set app_name=%1
if "%app_name%" == "" goto end
set tomcat_home=E:\Liferay605\bundles\tomcat-6.0.26
rmdir /S /Q %tomcat_home%\webapps\%app_name%-ext
del /S /Q %tomcat_home%\lib\ext\ext-%app_name%-ext-service.jar
del /S /Q %tomcat_home%\webapps\ROOT\WEB-INF\lib\ext-%app_name%-ext-util-bridges.jar
del /S /Q %tomcat_home%\webapps\ROOT\WEB-INF\lib\ext-%app_name%-ext-util-taglib.jar
del /S /Q %tomcat_home%\webapps\ROOT\WEB-INF\lib\ext-%app_name%-ext-util-java.jar
del /S /Q %tomcat_home%\webapps\ROOT\WEB-INF\lib\ext-%app_name%-ext-impl.jar
del /S /Q %tomcat_home%\webapps\ROOT\WEB-INF\ext-%app_name%-ext.xml
del /S /Q %tomcat_home%\temp\liferay\com\liferay\portal\deploy\dependencies\ext-%app_name%-ext-util-bridges.jar
del /S /Q %tomcat_home%\temp\liferay\com\liferay\portal\deploy\dependencies\ext-%app_name%-ext-util-taglib.jar
del /S /Q %tomcat_home%\temp\liferay\com\liferay\portal\deploy\dependencies\ext-%app_name%-ext-util-java.jar
:end