Fórum
Error while deploying ext-portlet
Ekta Vegad, modificado 11 Anos atrás.
Error while deploying ext-portlet
New Member Postagens: 10 Data de Entrada: 06/08/12 Postagens Recentes
Hi,
I got error while i deploying ext of user management
Buildfile: C:\Auto_zone\Environment\solutions-sdk\ext\extending-user-management-ext\build.xml
compile:
compile-with-global-class-loader:
compile-java:
compile-with-global-class-loader:
compile-java:
compile-with-global-class-loader:
compile-java:
compile-with-portal-class-loader:
compile-java:
compile-with-portal-class-loader:
compile-java:
war:
BUILD FAILED
C:\Auto_zone\Environment\solutions-sdk\ext\build-common-ext.xml:275: C:\Auto_zone\Environment\solutions-sdk\ext\extending-user-management-ext\docroot\WEB-INF\ext-service\ext-service.jar is read-only.
Total time: 1 second
What sould I needs to do for deploy it properly?
I got error while i deploying ext of user management
Buildfile: C:\Auto_zone\Environment\solutions-sdk\ext\extending-user-management-ext\build.xml
compile:
compile-with-global-class-loader:
compile-java:
compile-with-global-class-loader:
compile-java:
compile-with-global-class-loader:
compile-java:
compile-with-portal-class-loader:
compile-java:
compile-with-portal-class-loader:
compile-java:
war:
BUILD FAILED
C:\Auto_zone\Environment\solutions-sdk\ext\build-common-ext.xml:275: C:\Auto_zone\Environment\solutions-sdk\ext\extending-user-management-ext\docroot\WEB-INF\ext-service\ext-service.jar is read-only.
Total time: 1 second
What sould I needs to do for deploy it properly?
Subhash Pavuskar, modificado 11 Anos atrás.
RE: Error while deploying ext-portlet
Regular Member Postagens: 234 Data de Entrada: 13/03/12 Postagens Recentes
Hi
You have directory "docroot\WEB-INF\ext-web\docroot\WEB-INF\lib" you have to delete this dir and put your jar in the directory "docroot\WEB-INF\ext-lib\portal"
If you have jars in this folder "docroot\WEB-INF\ext-web\docroot\WEB-INF\lib" put them in "docroot\WEB-INF\ext-lib\portal" otherwise only delete the folder "docroot\WEB-INF\ext-web\docroot\WEB-INF\lib"
You have directory "docroot\WEB-INF\ext-web\docroot\WEB-INF\lib" you have to delete this dir and put your jar in the directory "docroot\WEB-INF\ext-lib\portal"
If you have jars in this folder "docroot\WEB-INF\ext-web\docroot\WEB-INF\lib" put them in "docroot\WEB-INF\ext-lib\portal" otherwise only delete the folder "docroot\WEB-INF\ext-web\docroot\WEB-INF\lib"
David H Nebinger, modificado 11 Anos atrás.
RE: Error while deploying ext-portlet
Liferay Legend Postagens: 14916 Data de Entrada: 02/09/06 Postagens RecentesEkta Vegad:
C:\Auto_zone\Environment\solutions-sdk\ext\build-common-ext.xml:275: C:\Auto_zone\Environment\solutions-sdk\ext\extending-user-management-ext\docroot\WEB-INF\ext-service\ext-service.jar is read-only.
If I had to guess, I'd say that you checked this project out of your source code repository and the default was to check things out in read-only.
The short term resolution is to change the flag on the file (probably more than just this one) to read-write, then build again.
The long term solution is to figure out how the file was marked as read-only (if checkout scenario I gave, then you'd have to check it out w/ lock for updating).