Hi,
I have changed the settings to original.
When I try to build the tutorial jportal, the BaseCoffees and
BaseCoffeesPeer classes are not found. Is there a step missing in
the install instructions?
Pls see errors below
Thanks a lot
=========================================================================
D:\Jetspeed\jportal>ant war
Buildfile: build.xml
prepare:
check_om:
om:
check_for_jetspeed_jar:
jar_prepare_error:
compile:
[javac] Compiling 16 source files to
D:\Jetspeed\jportal\bin\WEB-INF\classes
[javac]
D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\om\Coffees.java:17:
cannot
resolve symbol
[javac] symbol : class BaseCoffees
[javac] location: package om
[javac] extends com.bluesunrise.jportal.om.BaseCoffees
[javac] ^
[javac]
D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\om\CoffeesPeer.java:13:
ca
nnot resolve symbol
[javac] symbol : class BaseCoffeesPeer
[javac] location: package om
[javac] extends com.bluesunrise.jportal.om.BaseCoffeesPeer
[javac] ^
[javac]
D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\modules\actions\portlet
s\T
utorialCoffeesAction.java:101: cannot resolve symbol
[javac] symbol : variable COFFEE_ID
[javac] location: class com.bluesunrise.jportal.om.CoffeesPeer
[javac] criteria.add( CoffeesPeer.COFFEE_ID, rowid);
[javac] ^
[javac]
D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\modules\actions\portlet
s\T
utorialCoffeesAction.java:102: cannot resolve symbol
[javac] symbol : method doSelect (org.apache.torque.util.Criteria)
[javac] location: class com.bluesunrise.jportal.om.CoffeesPeer
[javac] List coffees = CoffeesPeer.doSelect(criteria);
====================================================================
-----Original Message-----
From: karthikeyan [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 8:56 PM
To: Jetspeed Users List
Subject: Re: Compile errors :Building jetspeed examples
Here is the mistake:
=============================
portlet_app_name=myjportal
company=com.shail.jportal
========================
how you will find COFFEE here?
note: it should be...
portlet_app_name=jportal
company=com.bluesunrise.jportal
until unless you wrote your own java code for the same.. I doubt as you
are a new user to jetspeed (also did not succeed in jetspeed.. don't
worry it
is a matter of few hours extra trial to see jetspeed running
which will keep your 'sprit' high to undertake challenging tasks)
DON'T JUMP TO MODIFY THE CODES
until you are comfortable running 'default' settings.
I again insist compile jetspeed.war from SRC (for flexibility) and then
compile Jportal.
Goodluck
--
M. Karthikeyan, Ph.D., Scientist
_| _| _|_|_| _|
_|_| _| _| _|
_| _| _| _| _|
_| _|_| _| _|
_| _| o _|_|_|o _|_|_|_|
National Chemical Laboratory
Pune - 411 008, INDIA
Ph: +91-(0)20-5893 457 FAX: 5893 973
http://www.ncl-india.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]