Foren

Liferay Module's jsp changes are not reflecting.

thumbnail
Murali Krishna, geändert vor 7 Jahren.

Liferay Module's jsp changes are not reflecting.

Junior Member Beiträge: 47 Beitrittsdatum: 17.01.12 Neueste Beiträge
Hi,

i got the ID of Apache Felix Gogo console. i created module project project based on ID. post deployment changes are not reflecting.

Fragment-Host, i got from console:
g! b 423
com.liferay.journal.web_1.2.2 [423]
Id=423, Status=ACTIVE Data Root=C:\Liferay\liferay-dxp-digital-enterprise-7.0-ga1\osgi\state\org.eclipse.osgi\423\data

"Registered Services"
...........................................
bnd.bnd:
Bundle-SymbolicName: blade.journalarticle.hook.jsp
Bundle-Version: 1.0.0
Fragment-Host: com.liferay.journal.web;bundle-version="1.2.2"
-sources: true
-jsp: *.jsp,*.jspf
-plugin.jsp: com.liferay.ant.bnd.jsp.JspAnalyzerPlugin

build.gradle:
dependencies {
compile 'com.liferay.portal:com.liferay.portal.kernel:2.0.0'
compile 'javax.portlet:portlet-api:2.0'
compile 'org.osgi:org.osgi.service.component.annotations:1.3.0'
}

i placed my view.jsp file in "modules\blade.journalarticle.hook.jsp\src\main\resources\META-INF\resources\view.jsp"


LOG :

16:11:55,371 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:252] Processing blade.journalarticle.hook.jsp.jar
16:12:05,997 INFO [Refresh Thread: Equinox Container: 20ead5fa-bc84-0016-166d-f6cc43cd38f7][BundleStartStopLogger:38] STOPPED com.liferay.journal.web_1.2.2 [423]
16:12:06,307 INFO [Refresh Thread: Equinox Container: 20ead5fa-bc84-0016-166d-f6cc43cd38f7][BundleStartStopLogger:38] STOPPED com.liferay.journal.content.web_1.0.7 [415]
16:12:07,584 INFO [Refresh Thread: Equinox Container: 20ead5fa-bc84-0016-166d-f6cc43cd38f7][BundleStartStopLogger:35] STARTED com.liferay.journal.content.web_1.0.7 [415]
16:12:09,305 INFO [Refresh Thread: Equinox Container: 20ead5fa-bc84-0016-166d-f6cc43cd38f7][BundleStartStopLogger:35] STARTED com.liferay.journal.web_1.2.2 [423]
16:12:20,170 INFO [Refresh Thread: Equinox Container: 20ead5fa-bc84-0016-166d-f6cc43cd38f7][BundleStartStopLogger:38] STOPPED com.liferay.journal.web_1.2.2 [423]
16:12:20,521 INFO [Refresh Thread: Equinox Container: 20ead5fa-bc84-0016-166d-f6cc43cd38f7][BundleStartStopLogger:38] STOPPED com.liferay.journal.content.web_1.0.7 [415]
16:12:21,497 INFO [Refresh Thread: Equinox Container: 20ead5fa-bc84-0016-166d-f6cc43cd38f7][BundleStartStopLogger:35] STARTED com.liferay.journal.content.web_1.0.7 [415]
16:12:23,132 INFO [Refresh Thread: Equinox Container: 20ead5fa-bc84-0016-166d-f6cc43cd38f7][BundleStartStopLogger:35] STARTED com.liferay.journal.web_1.2.2 [423]

once i deployed the jar file into the deploy folder , it's copy to modules folder. but changes are not reflecting.

is their any thing i need to change.

Thanks,
Murali
thumbnail
Gaurav Jain, geändert vor 7 Jahren.

RE: Liferay Module's jsp changes are not reflecting.

Junior Member Beiträge: 85 Beitrittsdatum: 12.07.16 Neueste Beiträge
Hi Murali,
Murali Krishna:

bnd.bnd:
Bundle-SymbolicName: blade.journalarticle.hook.jsp
Bundle-Version: 1.0.0
Fragment-Host: com.liferay.journal.web;bundle-version="1.2.2"
-sources: true
-jsp: *.jsp,*.jspf
-plugin.jsp: com.liferay.ant.bnd.jsp.JspAnalyzerPlugin



If you are using windows, then there is an LPS listed for thisLPS-66814.


If not, you can try these things:

change your bundle-version="1.2.2" in bnd.bnd from 1.2.2 to 1.0.0 and remove all entries under Fragment-Host ie. your bnd.bnd should be like this:

Bundle-SymbolicName: blade.journalarticle.hook.jsp
Fragment-Host: com.liferay.journal.web;bundle-version="1.0.0"
Bundle-Version: 1.0.0


Also verify that file you are modifying belongs to same module because there is another module for journal content which is com.liferay.journal.content.web (1.0.7).

Let me know if it works.

Gaurav