Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Stephane PAQUET
Building a working EXT environment in 4.4.0.1 ?
February 22, 2008 8:58 AM
Answer

Stephane PAQUET

Rank: Junior Member

Posts: 69

Join Date: November 17, 2005

Recent Posts

Here is the situation:

I made the following (with svn revision 13853):


svn co https://lportal.svn.sourceforge.net/svnroot/lportal/portal/branches/4.4.x lportal


I made necessary changes to support Glassfish in build.properties, app.server.properties, etc.
I then compiled my release:


cd lportal
ant start
ant compile
ant deploy


After 2 restart of Glassfish I went to http://localhost:8080/ and enjoyed my new portal.

I then decided to create the ext environment so I went back to lportal and issued ant build-ext

Then I moved to my new ext directory and tried ant deploy but I ended with the folllowing error message and I do no see what's wrong in what I did;

Buildfile: build.xml

deploy:

compile:

jar:

deploy:

compile:
Compiling 11 source files to /ext/ext-impl/classes
/ext/ext-impl/src/com/ext/portlet/reports/ReportsPortlet.java:25: cannot find symbol
symbol : class StrutsPortlet
location: package com.liferay.portlet
import com.liferay.portlet.StrutsPortlet;
^
/ext/ext-impl/src/com/ext/portlet/reports/ReportsPortlet.java:40: cannot find symbol
symbol: class StrutsPortlet
public class ReportsPortlet extends StrutsPortlet {
^
/ext/ext-impl/src/com/ext/portlet/reports/action/ViewReportsAction.java:25: package com.liferay.portal.struts does not exist
import com.liferay.portal.struts.PortletAction;
^
/ext/ext-impl/src/com/ext/portlet/reports/action/ViewReportsAction.java:48: cannot find symbol
symbol: class PortletAction
public class ViewReportsAction extends PortletAction {
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryImpl.java:3: cannot find symbol
symbol : class ReportsEntry
location: package com.ext.portlet.reports.model
import com.ext.portlet.reports.model.ReportsEntry;
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryModelImpl.java:3: cannot find symbol
symbol : class ReportsEntry
location: package com.ext.portlet.reports.model
import com.ext.portlet.reports.model.ReportsEntry;
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryModelImpl.java:7: package com.liferay.portal.model.impl does not exist
import com.liferay.portal.model.impl.BaseModelImpl;
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryModelImpl.java:8: package com.liferay.portal.util does not exist
import com.liferay.portal.util.PropsUtil;
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryModelImpl.java:41: cannot find symbol
symbol: class BaseModelImpl
public class ReportsEntryModelImpl extends BaseModelImpl {
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryImpl.java:7: cannot find symbol
symbol: class ReportsEntry
implements ReportsEntry {
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryModelImpl.java:184: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.model.impl.ReportsEntryModelImpl
public ReportsEntry toEscapedModel() {
^
/ext/ext-impl/src/com/ext/portlet/reports/service/base/ReportsEntryServiceBaseImpl.java:3: cannot find symbol
symbol : class ReportsEntryService
location: package com.ext.portlet.reports.service
import com.ext.portlet.reports.service.ReportsEntryService;
^
/ext/ext-impl/src/com/ext/portlet/reports/service/base/ReportsEntryServiceBaseImpl.java:4: cannot find symbol
symbol : class ReportsEntryPersistence
location: package com.ext.portlet.reports.service.persistence
import com.ext.portlet.reports.service.persistence.ReportsEntryPersistence;
^
/ext/ext-impl/src/com/ext/portlet/reports/service/base/ReportsEntryServiceBaseImpl.java:5: cannot find symbol
symbol : class ReportsEntryUtil
location: package com.ext.portlet.reports.service.persistence
import com.ext.portlet.reports.service.persistence.ReportsEntryUtil;
^
/ext/ext-impl/src/com/ext/portlet/reports/service/base/ReportsEntryServiceBaseImpl.java:7: package com.liferay.portal.service.impl does not exist
import com.liferay.portal.service.impl.PrincipalBean;
^
/ext/ext-impl/src/com/ext/portlet/reports/service/base/ReportsEntryServiceBaseImpl.java:12: cannot find symbol
symbol: class PrincipalBean
public abstract class ReportsEntryServiceBaseImpl extends PrincipalBean
^
/ext/ext-impl/src/com/ext/portlet/reports/service/base/ReportsEntryServiceBaseImpl.java:13: cannot find symbol
symbol: class ReportsEntryService
implements ReportsEntryService, InitializingBean {
^
/ext/ext-impl/src/com/ext/portlet/reports/service/base/ReportsEntryServiceBaseImpl.java:14: cannot find symbol
symbol : class ReportsEntryPersistence
location: class com.ext.portlet.reports.service.base.ReportsEntryServiceBaseImpl
protected ReportsEntryPersistence reportsEntryPersistence;
^
/ext/ext-impl/src/com/ext/portlet/reports/service/base/ReportsEntryServiceBaseImpl.java:16: cannot find symbol
symbol : class ReportsEntryPersistence
location: class com.ext.portlet.reports.service.base.ReportsEntryServiceBaseImpl
public ReportsEntryPersistence getReportsEntryPersistence() {
^
/ext/ext-impl/src/com/ext/portlet/reports/service/base/ReportsEntryServiceBaseImpl.java:21: cannot find symbol
symbol : class ReportsEntryPersistence
location: class com.ext.portlet.reports.service.base.ReportsEntryServiceBaseImpl
ReportsEntryPersistence reportsEntryPersistence) {
^
/ext/ext-impl/src/com/ext/portlet/reports/service/http/ReportsEntryJSONSerializer.java:3: cannot find symbol
symbol : class ReportsEntry
location: package com.ext.portlet.reports.model
import com.ext.portlet.reports.model.ReportsEntry;
^
/ext/ext-impl/src/com/ext/portlet/reports/service/http/ReportsEntryJSONSerializer.java:33: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.http.ReportsEntryJSONSerializer
public static JSONObject toJSONObject(ReportsEntry model) {
^
/ext/ext-impl/src/com/ext/portlet/reports/service/impl/ReportsEntryServiceImpl.java:3: cannot find symbol
symbol : class ReportsEntryService
location: package com.ext.portlet.reports.service
import com.ext.portlet.reports.service.ReportsEntryService;
^
/ext/ext-impl/src/com/ext/portlet/reports/service/impl/ReportsEntryServiceImpl.java:5: package com.liferay.portal.service.impl does not exist
import com.liferay.portal.service.impl.PrincipalBean;
^
/ext/ext-impl/src/com/ext/portlet/reports/service/impl/ReportsEntryServiceImpl.java:8: cannot find symbol
symbol: class PrincipalBean
public class ReportsEntryServiceImpl extends PrincipalBean
^
/ext/ext-impl/src/com/ext/portlet/reports/service/impl/ReportsEntryServiceImpl.java:9: cannot find symbol
symbol: class ReportsEntryService
implements ReportsEntryService {
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:3: cannot find symbol
symbol : class NoSuchEntryException
location: package com.ext.portlet.reports
import com.ext.portlet.reports.NoSuchEntryException;
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:4: cannot find symbol
symbol : class ReportsEntry
location: package com.ext.portlet.reports.model
import com.ext.portlet.reports.model.ReportsEntry;
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:17: cannot find symbol
symbol : class BasePersistence
location: package com.liferay.portal.service.persistence
import com.liferay.portal.service.persistence.BasePersistence;
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:18: package com.liferay.portal.spring.hibernate does not exist
import com.liferay.portal.spring.hibernate.FinderCache;
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:19: package com.liferay.portal.spring.hibernate does not exist
import com.liferay.portal.spring.hibernate.HibernateUtil;
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:20: package com.liferay.portal.util does not exist
import com.liferay.portal.util.PropsUtil;
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:35: cannot find symbol
symbol: class BasePersistence
public class ReportsEntryPersistenceImpl extends BasePersistence
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:36: cannot find symbol
symbol: class ReportsEntryPersistence
implements ReportsEntryPersistence {
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:41: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
public ReportsEntry create(String entryId) {
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:50: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
public ReportsEntry remove(String entryId)
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:51: cannot find symbol
symbol : class NoSuchEntryException
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
throws NoSuchEntryException, SystemException {
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:80: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
public ReportsEntry remove(ReportsEntry reportsEntry)
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:80: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
public ReportsEntry remove(ReportsEntry reportsEntry)
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:97: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
protected ReportsEntry removeImpl(ReportsEntry reportsEntry)
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:97: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
protected ReportsEntry removeImpl(ReportsEntry reportsEntry)
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:118: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
public ReportsEntry update(ReportsEntry reportsEntry)
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:118: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
public ReportsEntry update(ReportsEntry reportsEntry)
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:123: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
public ReportsEntry update(ReportsEntry reportsEntry, boolean merge)
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:123: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
public ReportsEntry update(ReportsEntry reportsEntry, boolean merge)
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:151: cannot find symbol
symbol : class ReportsEntry
location: package com.ext.portlet.reports.model
com.ext.portlet.reports.model.ReportsEntry reportsEntry, boolean merge)
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:150: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
public ReportsEntry updateImpl(
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:180: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
public ReportsEntry findByPrimaryKey(String entryId)
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:181: cannot find symbol
symbol : class NoSuchEntryException
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
throws NoSuchEntryException, SystemException {
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:197: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
public ReportsEntry fetchByPrimaryKey(String entryId)
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:357: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
public ReportsEntry findByCompanyId_First(String companyId,
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:358: cannot find symbol
symbol : class NoSuchEntryException
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
OrderByComparator obc) throws NoSuchEntryException, SystemException {
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:376: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
public ReportsEntry findByCompanyId_Last(String companyId,
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:377: cannot find symbol
symbol : class NoSuchEntryException
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
OrderByComparator obc) throws NoSuchEntryException, SystemException {
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:397: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
public ReportsEntry[] findByCompanyId_PrevAndNext(String entryId,
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:399: cannot find symbol
symbol : class NoSuchEntryException
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
throws NoSuchEntryException, SystemException {
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:602: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
public ReportsEntry findByUserId_First(String userId, OrderByComparator obc)
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:603: cannot find symbol
symbol : class NoSuchEntryException
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
throws NoSuchEntryException, SystemException {
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:621: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
public ReportsEntry findByUserId_Last(String userId, OrderByComparator obc)
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:622: cannot find symbol
symbol : class NoSuchEntryException
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
throws NoSuchEntryException, SystemException {
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:642: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
public ReportsEntry[] findByUserId_PrevAndNext(String entryId,
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:644: cannot find symbol
symbol : class NoSuchEntryException
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
throws NoSuchEntryException, SystemException {
^
/ext/ext-impl/src/com/ext/portlet/reports/ReportsPortlet.java:49: cannot find symbol
symbol : variable super
location: class com.ext.portlet.reports.ReportsPortlet
super.doView(req, res);
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryModelImpl.java:66: cannot find symbol
symbol : variable PropsUtil
location: class com.ext.portlet.reports.model.impl.ReportsEntryModelImpl
public static final boolean CACHE_ENABLED = GetterUtil.getBoolean(PropsUtil.get(
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryModelImpl.java:69: cannot find symbol
symbol : variable PropsUtil
location: class com.ext.portlet.reports.model.impl.ReportsEntryModelImpl
public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(PropsUtil.get(
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryModelImpl.java:185: cannot find symbol
symbol : method isEscapedModel()
location: class com.ext.portlet.reports.model.impl.ReportsEntryModelImpl
if (isEscapedModel()) {
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryModelImpl.java:186: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.model.impl.ReportsEntryModelImpl
return (ReportsEntry) this;
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryModelImpl.java:188: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.model.impl.ReportsEntryModelImpl
ReportsEntry model = new ReportsEntryImpl();
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryModelImpl.java:200: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.model.impl.ReportsEntryModelImpl
model = (ReportsEntry) Proxy.newProxyInstance(ReportsEntry.class.getClassLoader(),
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryModelImpl.java:200: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.model.impl.ReportsEntryModelImpl
model = (ReportsEntry) Proxy.newProxyInstance(ReportsEntry.class.getClassLoader(),
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryModelImpl.java:201: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.model.impl.ReportsEntryModelImpl
new Class[] { ReportsEntry.class },
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryModelImpl.java:219: incompatible types
found : com.ext.portlet.reports.model.impl.ReportsEntryImpl
required: java.lang.Object
return clone;
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryModelImpl.java:227: inconvertible types
found : java.lang.Object
required: com.ext.portlet.reports.model.impl.ReportsEntryImpl
ReportsEntryImpl reportsEntry = (ReportsEntryImpl) obj;
^
/ext/ext-impl/src/com/ext/portlet/reports/model/impl/ReportsEntryModelImpl.java:249: inconvertible types
found : java.lang.Object
required: com.ext.portlet.reports.model.impl.ReportsEntryImpl
reportsEntry = (ReportsEntryImpl) obj;
^
/ext/ext-impl/src/com/ext/portlet/reports/service/base/ReportsEntryServiceBaseImpl.java:27: cannot find symbol
symbol : variable ReportsEntryUtil
location: class com.ext.portlet.reports.service.base.ReportsEntryServiceBaseImpl
reportsEntryPersistence = ReportsEntryUtil.getPersistence();
^
/ext/ext-impl/src/com/ext/portlet/reports/service/http/ReportsEntryJSONSerializer.java:51: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.http.ReportsEntryJSONSerializer
ReportsEntry model = (ReportsEntry) models.get(i);
^
/ext/ext-impl/src/com/ext/portlet/reports/service/http/ReportsEntryJSONSerializer.java:51: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.http.ReportsEntryJSONSerializer
ReportsEntry model = (ReportsEntry) models.get(i);
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:37: cannot find symbol
symbol : variable PropsUtil
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
private static final String _LISTENER = GetterUtil.getString(PropsUtil.get(
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:42: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
ReportsEntry reportsEntry = new ReportsEntryImpl();
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:55: cannot find symbol
symbol : method openSession()
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
session = openSession();
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:57: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
ReportsEntry reportsEntry = (ReportsEntry) session.get(ReportsEntryImpl.class,
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:57: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
ReportsEntry reportsEntry = (ReportsEntry) session.get(ReportsEntryImpl.class,
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:66: cannot find symbol
symbol : class NoSuchEntryException
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
throw new NoSuchEntryException(
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:71: cannot find symbol
symbol : class NoSuchEntryException
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
} catch (NoSuchEntryException nsee) {
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:74: cannot find symbol
symbol : variable HibernateUtil
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
throw HibernateUtil.processException(e);
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:76: cannot find symbol
symbol : method closeSession(org.hibernate.Session)
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
closeSession(session);
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:102: cannot find symbol
symbol : method openSession()
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
session = openSession();
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:110: cannot find symbol
symbol : variable HibernateUtil
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
throw HibernateUtil.processException(e);
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:112: cannot find symbol
symbol : method closeSession(org.hibernate.Session)
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
closeSession(session);
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:114: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
FinderCache.clearCache(ReportsEntry.class.getName());
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:114: cannot find symbol
symbol : variable FinderCache
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
FinderCache.clearCache(ReportsEntry.class.getName());
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:156: cannot find symbol
symbol : method openSession()
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
session = openSession();
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:172: cannot find symbol
symbol : variable HibernateUtil
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
throw HibernateUtil.processException(e);
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:174: cannot find symbol
symbol : method closeSession(org.hibernate.Session)
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
closeSession(session);
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:176: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
FinderCache.clearCache(ReportsEntry.class.getName());
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:176: cannot find symbol
symbol : variable FinderCache
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
FinderCache.clearCache(ReportsEntry.class.getName());
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:182: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
ReportsEntry reportsEntry = fetchByPrimaryKey(entryId);
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:190: cannot find symbol
symbol : class NoSuchEntryException
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
throw new NoSuchEntryException(
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:202: cannot find symbol
symbol : method openSession()
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
session = openSession();
^
/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:204: cannot find symbol
symbol : class ReportsEntry
location: class com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl
return (ReportsEntry) session.get(ReportsEntryImpl.class, entryId);
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 errors

BUILD FAILED
/ext/build-parent.xml:133: The following error occurred while executing this line:
/ext/ext-impl/build-parent.xml:72: .

Compile failed; see the compiler error output for details.

It's like the ext is not using any of the component from the lportal dir while both dir have been properly defined.
Murray J Brown
RE: Building a working EXT environment in 4.4.0.1 ?
March 6, 2008 1:10 PM
Answer

Murray J Brown

Rank: New Member

Posts: 12

Join Date: August 31, 2006

Recent Posts

I encountered the same problem using liferay-portal-src-4.4.2.zip from sorceforge.net. Anyone have some suggestions?
Peter Brown
RE: Building a working EXT environment in 4.4.0.1 ?
March 13, 2008 4:09 AM
Answer

Peter Brown

Rank: New Member

Posts: 3

Join Date: March 13, 2008

Recent Posts

Hi,
I am facing the same problem with version 4.3.6. Did you find any solution yet?
Michael Saechang
RE: Building a working EXT environment in 4.4.0.1 ?
March 13, 2008 10:53 AM
Answer

Michael Saechang

LIFERAY STAFF

Rank: Liferay Master

Posts: 577

Join Date: November 19, 2007

Recent Posts

Hi Stephane,

As of 4.4 there is no longer a need to build the ext. It is instead can be downloaded.

http://www.liferay.com/web/guest/community/forums/message_boards/message/449507

You can get it here.

4.4.0.1 ext

-mike
Jeff Romine
RE: Building a working EXT environment in 4.4.0.1 ?
March 13, 2008 5:39 PM
Answer

Jeff Romine

Rank: New Member

Posts: 4

Join Date: March 4, 2008

Recent Posts

I believe that you need to copy the app.server.${user.name}.properties and build.${user.name}.properties that you created in the main build directory (lportal) into your ext directory.

-Jeff
Peter Brown
RE: Building a working EXT environment in 4.4.0.1 ?
March 14, 2008 3:26 AM
Answer

Peter Brown

Rank: New Member

Posts: 3

Join Date: March 13, 2008

Recent Posts

I'm new to liferay, thus I am not sure if this solution is correct.
I just added following directories to the ant build path:
"C:\liferay\portal\portal-impl"
"C:\liferay\portal\ext\ext-service"

Now I have no compile errors anymore and it seems to deploy.
Dhaval P Patel
RE: Building a working EXT environment in 4.4.0.1 ?
March 26, 2008 10:03 AM
Answer

Dhaval P Patel

Rank: New Member

Posts: 1

Join Date: March 26, 2008

Recent Posts

Remove class path entry from your build.${username}.properties file in your ext directory. When you will do ext-build, it will generated class paths according to ext directory which is different then source code class path. So if you use same build file then ,it is trying to find source directory class path.
Arcko Duan
RE: Building a working EXT environment in 4.4.0.1 ?
April 11, 2008 7:39 AM
Answer

Arcko Duan

Community Moderator

Rank: Regular Member

Posts: 234

Join Date: January 1, 2008

Recent Posts

Make sure you have portal-kernel.jar/portal-service.jar/portlet.jar in ext/lib/global/.
Ravi kumar MS
RE: Building a working EXT environment in 4.4.0.1 ?
April 21, 2008 1:40 AM
Answer

Ravi kumar MS

Rank: Junior Member

Posts: 39

Join Date: October 30, 2007

Recent Posts

Hi Michael,

I have one question on ext,

I think, we cant use liferay-portal-ext to upgrade the ext to 4.4.x from 4.3.x.

Please let me ans for this question on upgradating ext code from 4.3.1 to 5.0.1 RC

" I followed ext development document to upgrade to my ext project, I ran ant script to upgrade but it resulted in

compilation errors in my ext project because my ext project had used liferay 4.3.1 portal classes and methods signature

in theliferay portal 5.0.1 code are different from liferay portal 4.3.1 code"

My question: do i need to modify my ext project classes manually to make use of liferay portal 5.0.1 code or

is it possible to upgrade my ext classes automatically to make use of liferay portal 5.0.1 code.


Thanks in advance.

Thanks
Ravikumar MS
Stephane PAQUET
RE: Building a working EXT environment in 4.4.0.1 ?
May 7, 2008 7:40 AM
Answer

Stephane PAQUET

Rank: Junior Member

Posts: 69

Join Date: November 17, 2005

Recent Posts

Well, yes it eventually worked for me.
I relocated the ext dir in my lportal source dir.

Regarding 4.4 -> 5.0.x I thing this is not possible to simply cut and past the ext dir. Structure has changed (if you look at the exmpale portlet included you will see that the structure is totaly different from the one offered in previous release).
James Min
RE: Building a working EXT environment in 4.4.0.1 ?
May 7, 2008 11:23 AM
Answer

James Min

LIFERAY STAFF

Rank: Expert

Posts: 293

Join Date: August 14, 2006

Recent Posts