Hi,
I've done the automation build using build.xml(attached) for our
applications.
If there is any compilation error on build process, the web.xml needs to be
returned to the web-inf directory... or at least handled. Is there a way to
put some error handling logic in build.xml? Any help will
Ok thanks much for the info!
--
View this message in context:
http://old.nabble.com/Is-it-possible-to-handle-exception-on-ant-build--tp30074458p30077149.html
Sent from the Tomcat - Dev mailing list archive at Nabble.com.
-
If this is not worked out, could you please suggest me how to call other
batch file(startTomcat.bat) from build.bat file
I have startTomcat.bat file which works perfectly
net stop Apache Tomcat 6
net start Apache Tomcat 6
--
View this message in context:
Add 'pause' before net start call.
Yes i did add the pause as you suggested. Earlier it was was after the net
start call.
Both of them didn't work
Perhaps your build spawns some processes
that are still active and are holding some locks.
You must be right.. I also feeling the same.
Actually,
Anybody, please suggest me how to resolve this issue.
There will be a workaround, if i know how to call one batch file from
build.bat file, my problem will be resolved.
anybody knows how to call a batch file inside another batch file?
--
View this message in context:
Thanks! unfortunately, it didn't work. In fact no command is working after
the second line below
ECHO start building
e:\ant\bin\ant all -logger org.apache.tools.ant.listener.MailLogger
-propertyfile MailLogger.properties build.log
call e:\build\startTomcat.bat
--
View this message in context:
Because ANT is a command file; you need to CALL that too.
PLEASE tell me how??
The following command line in the build.bat file is executed well
e:\ant\bin\ant all -logger org.apache.tools.ant.listener.MailLogger
-propertyfile MailLogger.properties build.log
ant is the batch file which is
how to move this thread to users list? I am new to this forum. Please
suggest. the next time i will post a message from there.
--
View this message in context:
http://old.nabble.com/net-start-%22Apache-tomcat%22-is-not-working-on-java-build-tp27860190p27864306.html
Sent from the Tomcat - Dev
Hi,
I have built the automated script used to compile the java classes and sends
an email result.It is working fine but after build , i really wanted to
start the tomcat from build.bat file, seems like it doesn't work,
My build.bat file.
@echo on
ECHO.
ECHO.
ECHO.
ECHO
Boss,
If the space is the problem, then how come the net stop Apache Tomcat 6
command line worked??
Can't we use the net start after the build? Please help me,as i really need
to fix this issue
if not possible, how to call another bat file from one bat file. Another bat
file, let me use net
10 matches
Mail list logo