Foros de discusión

Red wiggly lines after modifying service.xml

Roger Thal, modificado hace 12 años.

Red wiggly lines after modifying service.xml

New Member Mensajes: 21 Fecha de incorporación: 21/01/12 Mensajes recientes
No error in view.jsp.
Modify service.xml to change the name of an entity column type, for example.
Run ant build-service.
New interfaces, new classes are generated as expected.
Update view.jsp to match the newly generated interfaces and classes.
Eclipse IDE puts out warnings, it's still working with the old interfaces and classes that have now been replaced by the build-service.
How do I "refresh" IDE in this case to get rid of the incorrect errors and warnings ?
Thanks.
thumbnail
David H Nebinger, modificado hace 12 años.

RE: Red wiggly lines after modifying service.xml

Liferay Legend Mensajes: 14914 Fecha de incorporación: 2/09/06 Mensajes recientes
It's using the deployed jar rather than the local project jar. Change your build path to move the "Web App Libraries" to the top of the order and it should be fine.
thumbnail
Hitoshi Ozawa, modificado hace 12 años.

RE: Red wiggly lines after modifying service.xml (Respuesta)

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
I just usually just delete the generated source except for the modified impl files and also delete directories created under the docroot and WEB-INF directories, and temp directory before rebuilding service.xml. Sometimes, I have to close and re-open the file before the error goes away.