Date: Tue, 09 Sep 2003 12:39:00 -0500 To: David Sean Taylor <[EMAIL PROTECTED]> From: Dinanath Sulakhe <[EMAIL PROTECTED]> Subject: Re: HelloWorldPortlet problem
Hi David,
Thanks for your replies. As you mentioned in another mail, the servlet.jar was not present in the ../jetspeed/webapps/WEB-INF/lib directory. After i installed this, the command "ant clean compile" is working now.
But, i still have problems.
Actually don't build from your deployed web application Keep your build separate from the deployed application
I am not understanding this concept. What do you mean by these two statements. "Actually don't build from your deployed web application" "Keep your build separate from the deployed application"
I think i have doing some mistakes here. Could you please explain me in detail.
Now after compiling successfully "ant clean compile" , if i enter "ant deploy" i am getting these errors.
( please read after the screenshot)
===================================================== C:\jakarta-tomcat-4.1.27\webapps\jportal>ant deploy Buildfile: build.xml
prepare:
check_om:
om:
check_for_jetspeed_jar:
jar_prepare_error:
compile:
properties:
[copy] Copying 10 files to C:\jakarta-tomcat-4.1.27\webapps\jportal\bin\WEB
-INF\conf
merge_security:
[echo] merge_security required
[java] Could not find file:.\webapp\WEB-INF\conf\JPortalSecurity.properties
merge_jrp:
[echo] merge_jrp required
[java] Could not find file:.\webapp\WEB-INF\conf\JPortalJetspeed.properties
merge_trp:
[echo] merge_trp required
[java] Could not find file:.\webapp\WEB-INF\conf\JPortalTurbine.properties
merge_torque: [echo] merge_torque required
merge_properties:
check_for_jetspeed_war:
war_prepare_error: [echo] [echo] The jetspeed.war is not present! Please check [echo] to make sure that you have built the war file [echo] after the checking out from CVS. [echo]
BUILD FAILED
file:C:/jakarta-tomcat-4.1.27/webapps/jportal/build.xml:266: Please build Jetspe
ed from the Jetspeed installationt: ant war
Total time: 2 seconds C:\jakarta-tomcat-4.1.27\webapps\jportal> =======================================================================
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
Follow the instructions that come with the tutorial. jetspeed_home=C:/jakarta-tomcat-4.1.27/webapps/jetspeed
If i just put jetspeed_home=C:/jakarta-tomcat-4.1.27/webapps/jetspeed
and add:
jetspeed_jar=/WEB-INF/lib/jetspeed-1.4-b4.jar jetspeed_war=/jetspeed.war jetspeed_lib=/WEB-INF/lib jetspeed_conf=/WEB-INF/conf/
it is not taking /WEB-INF/ after jetspeed when i run "ant clean compile" and throws errors for wrong path. This is really strange.
Thanks for your help, if this thing gets solved, probably i will do fine with the rest of the tutorial.
Expecting your reply,
cheers, -Dina
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
