Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Build namespace UNIVERSITY has build number 15 which is newer than 10 mukesh kumar September 20, 2012 10:53 PM
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 Priyanka Dhingra September 21, 2012 2:04 AM
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 Jignesh Vachhani September 21, 2012 2:49 AM
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 mukesh kumar September 21, 2012 3:57 AM
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 David H Nebinger September 21, 2012 5:24 AM
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 Jignesh Vachhani September 21, 2012 6:07 AM
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 David H Nebinger September 21, 2012 6:14 AM
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 Priyanka Dhingra September 22, 2012 7:07 AM
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 Gerald Romero April 11, 2013 12:13 PM
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 clint barbosa December 19, 2013 1:02 AM
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 Priyanka Dhingra September 22, 2012 7:12 AM
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 mukesh kumar September 23, 2012 9:29 PM
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 Priyanka Dhingra September 23, 2012 10:51 PM
mukesh kumar
Build namespace UNIVERSITY has build number 15 which is newer than 10
September 20, 2012 10:53 PM
Answer

mukesh kumar

Rank: Junior Member

Posts: 57

Join Date: March 12, 2012

Recent Posts

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
September 21, 2012 2:04 AM
Answer

Priyanka Dhingra

Rank: Liferay Master

Posts: 501

Join Date: December 19, 2011

Recent Posts

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
September 21, 2012 2:49 AM
Answer

Jignesh Vachhani

Rank: Liferay Master

Posts: 780

Join Date: March 10, 2008

Recent Posts

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
September 21, 2012 3:57 AM
Answer

mukesh kumar

Rank: Junior Member

Posts: 57

Join Date: March 12, 2012

Recent Posts

thanks jignesh and Priyanka .emoticon
David H Nebinger
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10
September 21, 2012 5:24 AM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6469

Join Date: September 1, 2006

Recent Posts

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
September 21, 2012 6:07 AM
Answer

Jignesh Vachhani

Rank: Liferay Master

Posts: 780

Join Date: March 10, 2008

Recent Posts

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
September 21, 2012 6:14 AM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6469

Join Date: September 1, 2006

Recent Posts

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
September 22, 2012 7:07 AM
Answer

Priyanka Dhingra

Rank: Liferay Master

Posts: 501

Join Date: December 19, 2011

Recent Posts

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
September 22, 2012 7:12 AM
Answer

Priyanka Dhingra

Rank: Liferay Master

Posts: 501

Join Date: December 19, 2011

Recent Posts

@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
September 23, 2012 9:29 PM
Answer

mukesh kumar

Rank: Junior Member

Posts: 57

Join Date: March 12, 2012

Recent Posts

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
September 23, 2012 10:51 PM
Answer

Priyanka Dhingra

Rank: Liferay Master

Posts: 501

Join Date: December 19, 2011

Recent Posts

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
April 11, 2013 12:13 PM
Answer

Gerald Romero

Rank: New Member

Posts: 7

Join Date: October 12, 2012

Recent Posts

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
December 19, 2013 1:02 AM
Answer

clint barbosa

Rank: New Member

Posts: 7

Join Date: August 23, 2012

Recent Posts

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