Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
mukesh kumar
Build namespace UNIVERSITY has build number 15 which is newer than 10
20 settembre 2012 22.53
Risposta

mukesh kumar

Punteggio: Junior Member

Messaggi: 57

Data di Iscrizione: 12 marzo 2012

Messaggi recenti

Hi All
How to resolve the given issue.
Build namespace UNIVERSITY has build number 15 which is newer than 10.
Regards
Mukesh Kumar
Priyanka Dhingra
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10
21 settembre 2012 2.04
Risposta

Priyanka Dhingra

Punteggio: Liferay Master

Messaggi: 501

Data di Iscrizione: 19 dicembre 2011

Messaggi recenti

go to your service.properties file
change Build number to 15
Jignesh Vachhani
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10
21 settembre 2012 2.49
Risposta

Jignesh Vachhani

Punteggio: Liferay Master

Messaggi: 780

Data di Iscrizione: 10 marzo 2008

Messaggi recenti

You can update build number from release_ table for that portlet of liferay which has buildNumber column.
Hope this will resolve your query.
mukesh kumar
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10
21 settembre 2012 3.57
Risposta

mukesh kumar

Punteggio: Junior Member

Messaggi: 57

Data di Iscrizione: 12 marzo 2012

Messaggi recenti

thanks jignesh and Priyanka .emoticon
David H Nebinger
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10
21 settembre 2012 5.24
Risposta

David H Nebinger

Punteggio: Liferay Legend

Messaggi: 6704

Data di Iscrizione: 1 settembre 2006

Messaggi recenti

Both of these answers are most likely wrong.

When you build services, the build number is incremented. This is to prevent users of the service jar to use a 'stale' or out of date service jar when calling your service.

How are you sharing your service jar w/ other plugins?
Jignesh Vachhani
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10
21 settembre 2012 6.07
Risposta

Jignesh Vachhani

Punteggio: Liferay Master

Messaggi: 780

Data di Iscrizione: 10 marzo 2008

Messaggi recenti

Yes David

You are right but this is not the answer of the query which he asked for.
Many times literally or literally we are facing this problem and we solved this way only.
If you have any other solution please share it here.
David H Nebinger
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10
21 settembre 2012 6.14
Risposta

David H Nebinger

Punteggio: Liferay Legend

Messaggi: 6704

Data di Iscrizione: 1 settembre 2006

Messaggi recenti

Sure, I typically use the service-ext.properties to change my build number to 1. That way the management of the deployment of the service jar is all my responsibility, and I'm fine with that. I'm usually only adding new entities/methods, so existing entities/methods don't change and the build version for me is a roadblock, not a tool.

To do this for yourself, in the same directory as your service.properties file, create a service-ext.properties file and just add a line "build.number=1". This overrides whatever value is in service.properties, so you're effectively disabling the build.number handling.

Again, this means you're taking over responsibility for managing the service jar deployment. If not done correctly, you'll get weird errors at runtime that are harder to diagnose than the simple "build number is newer" error check that Liferay normally does (things like class not found or method missing exceptions).
Priyanka Dhingra
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10
22 settembre 2012 7.07
Risposta

Priyanka Dhingra

Punteggio: Liferay Master

Messaggi: 501

Data di Iscrizione: 19 dicembre 2011

Messaggi recenti

Thanks David....
I have 2 doubts...
If not done correctly, you'll get weird errors at runtime that are harder to diagnose than the simple "build number is newer" error check that Liferay normally does (things like class not found or method missing exceptions).


what could be the possibilities of errors??What can go incorrect?
and build.number=1...Here "1" is some magic number??? or it can be any random number i want to pick up and use??
Priyanka Dhingra
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10
22 settembre 2012 7.12
Risposta

Priyanka Dhingra

Punteggio: Liferay Master

Messaggi: 501

Data di Iscrizione: 19 dicembre 2011

Messaggi recenti

@Mukesh Kumar....Please check the thread you are posting in
mukesh kumar
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10
23 settembre 2012 21.29
Risposta

mukesh kumar

Punteggio: Junior Member

Messaggi: 57

Data di Iscrizione: 12 marzo 2012

Messaggi recenti

My thread is correct . While deploying the portlet i was getting this error.
Priyanka Dhingra
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10
23 settembre 2012 22.51
Risposta

Priyanka Dhingra

Punteggio: Liferay Master

Messaggi: 501

Data di Iscrizione: 19 dicembre 2011

Messaggi recenti

Hi Mukesh
I think this should be the correct thread
http://www.liferay.com/community/forums/-/message_boards/category/239390
and as you want in, for deploying the portlet only
http://www.liferay.com/community/forums/-/message_boards/category/239393
Gerald Romero
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10
11 aprile 2013 12.13
Risposta

Gerald Romero

Punteggio: New Member

Messaggi: 7

Data di Iscrizione: 12 ottobre 2012

Messaggi recenti

Took me a while to figure this out myself. This is tracked in the servicecomponent table. Not the release_ table.
Hope that helps someone else.
clint barbosa
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10
19 dicembre 2013 1.02
Risposta

clint barbosa

Punteggio: New Member

Messaggi: 7

Data di Iscrizione: 23 agosto 2012

Messaggi recenti

Gerald Romero:
Took me a while to figure this out myself. This is tracked in the servicecomponent table. Not the release_ table.
Hope that helps someone else.



Thanks for this ! emoticon