Fórumok

SystemOut O Starting Liferay Portal Community Edition 6.1.1 CE GA2?

JB Burbea, módosítva 11 év-val korábban

SystemOut O Starting Liferay Portal Community Edition 6.1.1 CE GA2?

Junior Member Bejegyzések: 37 Csatlakozás dátuma: 2012.04.05. Legújabb bejegyzések
where in the portal source do I find the class that spits out this message when the app starts?

[11/13/12 1:25:46:392 EST] 00000008 SystemOut O Starting Liferay Portal Community Edition 6.1.1 CE GA2 (Paton / Build 6101 / July 31, 2012)
[11/13/12 1:25:47:000 EST] 00000008 SystemOut O 01:25:47,000 INFO [server.startup : 0][BaseDB:452] Database supports case sensitive queries
[11/13/12 1:25:47:328 EST] 00000008 SystemOut O 01:25:47,328 INFO [server.startup : 0][ServerDetector:157] Server does not support hot deploy
[11/13/12 1:25:47:343 EST] 00000008 SystemOut O 01:25:47,343 INFO [server.startup : 0][PluginPackageUtil:1033] Reading plugin package for liferay-portal-6.1.0.war
thumbnail
David H Nebinger, módosítva 11 év-val korábban

RE: SystemOut O Starting Liferay Portal Community Edition 6.1.1 CE GA2?

Liferay Legend Bejegyzések: 14914 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
Well, it spits out the class name. Using this, find the matching source file by searching the portal-impl directory looking for matching names.
JB Burbea, módosítva 11 év-val korábban

RE: SystemOut O Starting Liferay Portal Community Edition 6.1.1 CE GA2?

Junior Member Bejegyzések: 37 Csatlakozás dátuma: 2012.04.05. Legújabb bejegyzések
Hi David,

I have done some full text file searching on the portal source and tomcat ROOT and cannot determine where in the code this is indicated at app server startup:

[11/13/12 1:25:46:392 EST] 00000008 SystemOut O Starting Liferay Portal Community Edition 6.1.1 CE GA2 (Paton / Build 6101 / July 31, 2012)

How does the build capture this information?

How does one confirm they are looking at a 6.1.1 CE GA2 code base; when you want to build a dist:
ant -buildfile build-dist.xml zip-portal-war
ant -buildfile build-dist.xml zip-portal-dependencies

I end up with deployment units labeled:
liferay-portal-6.1.0.war
liferay-portal-dependencies-6.1.0.zip

They don't indicate 6.1.1. CE GA2:
liferay-portal-dependencies-6.1.1-ce-ga2.zip
liferay-portal-6.1.1-ce-ga2.war

Help?

Thanks,
JB
thumbnail
David H Nebinger, módosítva 11 év-val korábban

RE: SystemOut O Starting Liferay Portal Community Edition 6.1.1 CE GA2? (Válasz)

Liferay Legend Bejegyzések: 14914 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
That message comes from com.liferay.portal.events.StartupAction and defers to com.liferay.portal.kernel.util.ReleaseInfo class.

You'll see that ReleaseInfo is basically a static class that only has the current version info defined within it. As Liferay does a new release, the new code base will have an updated ReleaseInfo class that reports the correct current release version.
JB Burbea, módosítva 11 év-val korábban

RE: SystemOut O Starting Liferay Portal Community Edition 6.1.1 CE GA2?

Junior Member Bejegyzések: 37 Csatlakozás dátuma: 2012.04.05. Legújabb bejegyzések
Hi David,

Thanks...indeed public class com.liferay.portal.kernel.util.ReleaseInfo {
...
private static final String _BUILD = "6101";
private static final String _CODE_NAME = "Paton";
private static final String _DATE = "July 31, 2012";
private static final String _NAME = "Liferay Portal Community Edition";
private static final String _VENDOR = "Liferay, Inc.";
private static final String _VERSION = "6.1.1";
private static final String _VERSION_DISPLAY_NAME = "6.1.1 CE GA2";
}

is where this is at.

How does the bundles, war and dependency dists don't get called 6.1.1.? How can I make sure the dists output the filename when running the ant command?

Thanks,
JB
thumbnail
David H Nebinger, módosítva 11 év-val korábban

RE: SystemOut O Starting Liferay Portal Community Edition 6.1.1 CE GA2?

Liferay Legend Bejegyzések: 14914 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
That's outside of the portal code and would be an artifact of the ant build scripts, something you'd need to dig in and change there.