when i type "ant deploy" , though the result is BUILD SUCCESSFUL, I can see a few errors during the process, because of which i cannot access JPortalJetspeed.properties file during the first Tutorial. Please see the screenshot.
***************************************************Screenshot ***************************************************
C:\jakarta-tomcat-4.1.27\jportal>ant deploy Buildfile: build.xml
prepare:
check_om:
om:
check_for_jetspeed_jar:
jar_prepare_error:
compile:
properties:
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 requiredmerge_properties:
check_for_jetspeed_war:
war_prepare_error:
war:
[copy] Copying 1 file to C:\jakarta-tomcat-4.1.27\jportal\distdeploy:
[copy] Copying 1 file to C:\jakarta-tomcat-4.1.27\webappsBUILD SUCCESSFUL
Total time: 9 seconds
C:\jakarta-tomcat-4.1.27\jportal>
***************************************************Screenshot ends***************************************************
If you see above, it cannot find a few files and also says war_prepare_error:
Please also take a look to my build.properties file, that might help:
# # 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/
Thanks, -Dina
At 09:05 AM 9/10/2003 -0700, you wrote:
On Tuesday, September 9, 2003, at 11:18 AM, Dinanath Sulakhe wrote:
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)
The build scripts are written under the assumption that you would keep your source code separate from the web application deployment.
For example, your projects are located here:
c:/apache/portal c:/apache/jakarta-jetspeed
and then your deployment is under
c:/apache/tomcat-4-1.27/webapps/
-- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
