Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Build namespace UNIVERSITY has build number 15 which is newer than 10 mukesh kumar 20. September 2012 22:53
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 Priyanka Dhingra 21. September 2012 02:04
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 Jignesh Vachhani 21. September 2012 02:49
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 mukesh kumar 21. September 2012 03:57
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 David H Nebinger 21. September 2012 05:24
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 Jignesh Vachhani 21. September 2012 06:07
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 David H Nebinger 21. September 2012 06:14
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 Priyanka Dhingra 22. September 2012 07:07
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 Gerald Romero 11. April 2013 12:13
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 clint barbosa 19. Dezember 2013 01:02
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 Robin Nagpal 23. November 2014 04:17
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 Priyanka Dhingra 22. September 2012 07:12
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 mukesh kumar 23. September 2012 21:29
RE: Build namespace UNIVERSITY has build number 15 which is newer than 10 Priyanka Dhingra 23. September 2012 22:51
mukesh kumar
Build namespace UNIVERSITY has build number 15 which is newer than 10
20. September 2012 22:53
Antwort

mukesh kumar

Rang: Junior Member

Nachrichten: 57

Eintrittsdatum: 12. März 2012

Neue Beiträge

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. September 2012 02:04
Antwort

Priyanka Dhingra

Rang: Liferay Master

Nachrichten: 501

Eintrittsdatum: 19. Dezember 2011

Neue Beiträge

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. September 2012 02:49
Antwort

Jignesh Vachhani

Rang: Liferay Master

Nachrichten: 785

Eintrittsdatum: 10. März 2008

Neue Beiträge

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. September 2012 03:57
Antwort

mukesh kumar

Rang: Junior Member

Nachrichten: 57

Eintrittsdatum: 12. März 2012

Neue Beiträge

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

David H Nebinger

Community Moderator

Rang: Liferay Legend

Nachrichten: 11046

Eintrittsdatum: 1. September 2006

Neue Beiträge

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. September 2012 06:07
Antwort

Jignesh Vachhani

Rang: Liferay Master

Nachrichten: 785

Eintrittsdatum: 10. März 2008

Neue Beiträge

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. September 2012 06:14
Antwort

David H Nebinger

Community Moderator

Rang: Liferay Legend

Nachrichten: 11046

Eintrittsdatum: 1. September 2006

Neue Beiträge

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. September 2012 07:07
Antwort

Priyanka Dhingra

Rang: Liferay Master

Nachrichten: 501

Eintrittsdatum: 19. Dezember 2011

Neue Beiträge

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. September 2012 07:12
Antwort

Priyanka Dhingra

Rang: Liferay Master

Nachrichten: 501

Eintrittsdatum: 19. Dezember 2011

Neue Beiträge

@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. September 2012 21:29
Antwort

mukesh kumar

Rang: Junior Member

Nachrichten: 57

Eintrittsdatum: 12. März 2012

Neue Beiträge

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. September 2012 22:51
Antwort

Priyanka Dhingra

Rang: Liferay Master

Nachrichten: 501

Eintrittsdatum: 19. Dezember 2011

Neue Beiträge

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. April 2013 12:13
Antwort

Gerald Romero

Rang: New Member

Nachrichten: 7

Eintrittsdatum: 12. Oktober 2012

Neue Beiträge

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. Dezember 2013 01:02
Antwort

clint barbosa

Rang: New Member

Nachrichten: 7

Eintrittsdatum: 23. August 2012

Neue Beiträge

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
23. November 2014 04:17
Antwort

Robin Nagpal

Rang: Junior Member

Nachrichten: 43

Eintrittsdatum: 18. November 2014

Neue Beiträge

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