Efren Lugo
|
| Posted: 06/19/2002, 7:19 AM |
|
When using CCS i cannot get the war file output, CCS notice:
Publishing to "C:\oracle\ora81\Apache\Tomcat\webapps"
Generating Common Files
Generating "EMP"
call C:\WINDOWS\JAVAFramework\JavaAnt\bin\ant.bat -buildfile "C:\DOCUME~1\EFRENG~1\LOCALS~1\Temp\~scott0\CCSBuild\build.xml" -logfile "C:\DOCUME~1\EFRENG~1\LOCALS~1\Temp\~scott0\CCSBuild\build.log"
=======================================
=======================================
Build finished
Publishing to "C:\oracle\ora81\Apache\Tomcat\webapps"
but when seek for the file in webapps theres nothing there!!! what happens???
|
|
|
 |
NTJ
|
| Posted: 06/20/2002, 1:59 AM |
|
verify your environment variables
ANT_HOME
JAVA_HOME
CLASSPATH
PATH
|
|
|
 |
Stano
|
| Posted: 06/20/2002, 2:12 AM |
|
I use CCS ( "JSP 1.1 jdk 1.3" or "sevlets 2.2 ..." ) + Tomcat 4.0.3
1. Deploying ( "JSP 1.1 jdk 1.3" )
Aplictation is generated complete and without errors,
but published is only .war file. for successfull test
on Tomcat, I must delete application directory on server
and restarting Tomcat. Tomcat can watching only on application
code changes, not on deployed .war file
Would be possible, publishing also generated pages ?
I was trying all possible combination of settings - without success
|
|
|
 |
Stano
|
| Posted: 06/20/2002, 2:31 AM |
|
1. set Project settings->Publishing
Project files (code....) or All files excluding - ccs,ccp
and Deploy application (it deploy .war file)
after them you must delete application directory
on C:\oracle\ora81\Apache\Tomcat\webapps
check tomcat's server.xml
section for virtual host
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">
and then boot tomcat. it expand .war
|
|
|
 |
Efren
|
| Posted: 06/20/2002, 6:31 AM |
|
Sorry, i got the problem!!! my JAVA ANT was not working good i reinstalled an all works fine!!!
I dont know why CCS saids "build finish", the CCS must said:
BUILD SUCCESS
12 seconds
==================
BUILD FINISH
when saids BUILD SUCCESS and the time of compilation war file appear on my webapp!..
i dont know why... but reinstalling ANT solves de problem,,, THanks
|
|
|
 |
|