Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Ekta Vegad
Error while deploying ext-portlet
14 de agosto de 2012 1:56
Respuesta

Ekta Vegad

Ranking: New Member

Mensajes: 10

Fecha de incorporación: 5 de agosto de 2012

Mensajes recientes

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?
Subhash Pavuskar
RE: Error while deploying ext-portlet
14 de agosto de 2012 5:19
Respuesta

Subhash Pavuskar

Ranking: Regular Member

Mensajes: 234

Fecha de incorporación: 12 de marzo de 2012

Mensajes recientes

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"
David H Nebinger
RE: Error while deploying ext-portlet
14 de agosto de 2012 5:41
Respuesta

David H Nebinger

Ranking: Liferay Legend

Mensajes: 7847

Fecha de incorporación: 1 de septiembre de 2006

Mensajes recientes

Ekta 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).