Hello David,

Thanks for reply. I am totally frustrated now. Please help me out. i will 
explain you what exactly i did. I have a tomcat installation. Inside 
webapps, i copied jetspeed.war. Then i started tomcat, which created a 
jetspeed directory inside webapps.

Now i can browse jetspeed by: http://localhost:8080/jetspeed

But i wanted to learn writing portlets so started following bluesunrise 
tutorial. As per instructions, i copied jportal.jar in a directory called 
jportal inside webapps (where jetspeed directory is also present). Then i 
executed jar -xf jportal.jar . This created so many different directories 
and files inside jportal directory.

so now from command prompt, i ran "ant deploy", after modifying the 
build.properties file. I am running ant deploy command from this jportal 
directory itself.

this is giving me 2 compilation erros as follows:

.....
....
compile:
    [mkdir] Created dir: 
C:\jakarta-tomcat-4.1.27\webapps\jportal\bin\WEB-INF\classes
    [javac] Compiling 16 source files to 
C:\jakarta-tomcat-4.1.27\webapps\jportal\bin\WEB-INF\classes
    [javac] 
C:\jakarta-tomcat-4.1.27\webapps\jportal\src\java\com\bluesunrise\jp
ortal\modules\actions\portlets\CobiJonesPortletAction.java:54: cannot 
access javax.servlet.http.HttpSessionBindingListener
    [javac] file javax\servlet\http\HttpSessionBindingListener.class not found
    [javac]             Player player = (Player)rundata.getUser().getTemp(PLAYER);
    [javac]                                                    ^
    [javac] 
C:\jakarta-tomcat-4.1.27\webapps\jportal\src\java\com\bluesunrise\jp
ortal\modules\actions\portlets\CobiJonesPortletAction.java:63: cannot access jav
ax.servlet.http.HttpServletRequest
    [javac] file javax\servlet\http\HttpServletRequest.class not found
    [javac]             String cobiError = (String)rundata.getRequest().getAttri
bute(COBI_ERROR);
    [javac]                                                          ^
    [javac] 2 errors

BUILD FAILED
file:C:/jakarta-tomcat-4.1.27/webapps/jportal/build.xml:134: Compile 
failed; see
 the compiler error output for details.

Total time: 15 seconds

...
...


I am not understanding why is it giving these compilation errors. After 
encountering this I tried to compile the HelloWorldPortlet.java 
seperately, but still got errors beyond my knowledge.

Pleaaaaaaaaaaaaaaaaase Help me out..
thanks,
-Dina

PS: Snapshot of my build.properties file:

#
# typical settings without source
#
 jetspeed_home=C:/jakarta-tomcat-4.1.27/webapps/jetspeed/WEB-INF
 catalina_home=C:/jakarta-tomcat-4.1.27
 portlet_app_name=jportal
 company=com.bluesunrise.jportal
 jetspeed_jar=/lib/jetspeed-1.4-b4.jar
 jetspeed_war=/jetspeed.war
 jetspeed_lib=/lib
 jetspeed_conf=/conf/












On Mon, 8 Sep 2003, David Sean Taylor wrote:

> 
> On Monday, September 8, 2003, at 01:26  PM, Dinanath Sulakhe wrote:
> 
> > Thanks Allen,
> >
> > I am using it on windows XP, and using binary. So i have the path:
> >
> > C:\jakarta-tomcat-4.1.27\webapps\jetspeed\WEB-INF\lib
> >
> > in the System variables under CLASSPATH as well as path.
> >
> Recommend clearing your CLASSPATH environment variable:
> 
> SET CLASSPATH=
> 
> Are you building from the build directory or the root jetspeed directory
> Recommend trying from the build directory, and typing either
> 
> ant clean compile
> 
> or
> 
> build clean compile
> 
> --
> David Sean Taylor
> Bluesunrise Software
> [EMAIL PROTECTED]
> +01 707 773-4646
> +01 707 529 9194
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to