構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
mukesh kumar
Build namespace UNIVERSITY has build number 15 which is newer than 10
2012/09/20 22:53
答え

mukesh kumar

ランク: Junior Member

投稿: 57

参加年月日: 2012/03/12

最近の投稿

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
2012/09/21 2:04
答え

Priyanka Dhingra

ランク: Liferay Master

投稿: 501

参加年月日: 2011/12/19

最近の投稿

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
2012/09/21 2:49
答え

Jignesh Vachhani

ランク: Liferay Master

投稿: 780

参加年月日: 2008/03/10

最近の投稿

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
2012/09/21 3:57
答え

mukesh kumar

ランク: Junior Member

投稿: 57

参加年月日: 2012/03/12

最近の投稿

thanks jignesh and Priyanka .emoticon
David H Nebinger
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10
2012/09/21 5:24
答え

David H Nebinger

ランク: Liferay Legend

投稿: 7241

参加年月日: 2006/09/01

最近の投稿

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
2012/09/21 6:07
答え

Jignesh Vachhani

ランク: Liferay Master

投稿: 780

参加年月日: 2008/03/10

最近の投稿

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
2012/09/21 6:14
答え

David H Nebinger

ランク: Liferay Legend

投稿: 7241

参加年月日: 2006/09/01

最近の投稿

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
2012/09/22 7:07
答え

Priyanka Dhingra

ランク: Liferay Master

投稿: 501

参加年月日: 2011/12/19

最近の投稿

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
2012/09/22 7:12
答え

Priyanka Dhingra

ランク: Liferay Master

投稿: 501

参加年月日: 2011/12/19

最近の投稿

@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
2012/09/23 21:29
答え

mukesh kumar

ランク: Junior Member

投稿: 57

参加年月日: 2012/03/12

最近の投稿

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
2012/09/23 22:51
答え

Priyanka Dhingra

ランク: Liferay Master

投稿: 501

参加年月日: 2011/12/19

最近の投稿

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
2013/04/11 12:13
答え

Gerald Romero

ランク: New Member

投稿: 7

参加年月日: 2012/10/12

最近の投稿

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
2013/12/19 1:02
答え

clint barbosa

ランク: New Member

投稿: 7

参加年月日: 2012/08/23

最近の投稿

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
Robin Nagpal
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10
2014/11/23 4:17
答え

Robin Nagpal

ランク: New Member

投稿: 17

参加年月日: 2014/11/18

最近の投稿

You should first see what exactly changed and accordingly change your build number. If you are adding,deleting new methods then you can use the previous build number if you are not distributing your service jars to client.

But if you are adding/modifying column/field of an entity you might want to increment the build number as Liferay will execute the sql statements only if there is a increase in the build number