留言板

Liferay 7 SDK Plugins

thumbnail
Salva Tejero,修改在8 年前。

Liferay 7 SDK Plugins

Junior Member 帖子: 77 加入日期: 11-6-13 最近的帖子
Hola

Estoy intentando compilar liferay-plugins para Liferay 7 y obtengo un problema con una clase que está en el código fuente pero que no encuentra a la hora de compilar.
He clonados el Master del repositorio de plugins y hago un
ant all



liferay-plugins/shared/localization-shared/src/com/liferay/localization/servlet/LocalizationServletContextListener.java:19: error: cannot find symbol
    [javac] import com.liferay.portal.kernel.dao.db.DBManagerUtil;
    [javac]                                        ^
    [javac]   symbol:   class DBManagerUtil
    [javac]   location: package com.liferay.portal.kernel.dao.db
    [javac] /Volumes/DATOS/Desarrollo/source/liferay-plugins/shared/localization-shared/src/com/liferay/localization/servlet/LocalizationServletContextListener.java:126: error: cannot find symbol
    [javac] 		DB db = DBManagerUtil.getDB();



Mi fichero de configuración es:


    app.server.type=tomcat
    #app.server.type=weblogic
    #app.server.type=websphere
    #app.server.type=wildfly

    app.server.parent.dir=/Desarrollo/entornos/liferay-portal-7.0

    
    #
    # Specify the paths to an unzipped Tomcat bundle.
    #
    app.server.tomcat.dir=/Desarrollo/entornos/liferay-portal-7.0/tomcat-7.0.62
    app.server.tomcat.deploy.dir=/Desarrollo/entornos/liferay-portal-7.0/tomcat-7.0.62/webapps
    app.server.tomcat.lib.global.dir=/Desarrollo/entornos/liferay-portal-7.0/tomcat-7.0.62/lib/ext
    app.server.tomcat.manager.user=tomcat
    app.server.tomcat.manager.password=tomcat
    app.server.tomcat.portal.dir=/Desarrollo/entornos/liferay-portal-7.0/tomcat-7.0.62/webapps/ROOT



Alguna idea. Mi intención es compilar Social Office para Liferay 7
thumbnail
David H Nebinger,修改在8 年前。

RE: Liferay 7 SDK Plugins

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
That class does not exist in 7.0.

Besides, you're fighting an uphill battle. This is probably the first of many compile issues you'll find trying to bring SO to 7 on your own.

My suggestion - focus on beta testing your own Liferay stuff and let Liferay deal with the SO upgrade when they can.
thumbnail
Salva Tejero,修改在8 年前。

RE: Liferay 7 SDK Plugins

Junior Member 帖子: 77 加入日期: 11-6-13 最近的帖子
Thank you very much

Then I will wait until the release. But if you need a tester for SO, I can help you