Dear Conor,
thanks for your suggestions. This is what I gets executing ant.bat having commented out the first line (@echo off), unfortunately this is still not obvious for me so if you have an further suggestions I will appreciate it very much.
The message "unexpected software" is shown after the command: if not "" == "" goto runAntWithJikes. At any rate, I have copied all the text below.
Daniele
C:\Documents and Settings>REM Copyright 2001,2004 The Apache Software Foundation
C:\Documents and Settings>REM
C:\Documents and Settings>REM Licensed under the Apache License, Version 2.0 (the "License");
C:\Documents and Settings>REM you may not use this file except in compliance with the License.
C:\Documents and Settings>REM You may obtain a copy of the License at
C:\Documents and Settings>REM
C:\Documents and Settings>REM http://www.apache.org/licenses/LICENSE-2.0
C:\Documents and Settings>REM
C:\Documents and Settings>REM Unless required by applicable law or agreed to in writing, software
C:\Documents and Settings>REM distributed under the License is distributed on an "AS IS" BASIS,
C:\Documents and Settings>REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
C:\Documents and Settings>REM See the License for the specific language governing permissions and
C:\Documents and Settings>REM limitations under the License.
C:\Documents and Settings>if exist "\antrc_pre.bat" call "\antrc_pre.bat"
C:\Documents and Settings>if "Windows_NT" == "Windows_NT"
C:\Documents and Settings>rem C:\Programmi\apache-ant-1.6.2\bin\ is expanded pathname of the current
script under NT
C:\Documents and Settings>set DEFAULT_ANT_HOME=C:\Programmi\apache-ant-1.6.2\bin\..
C:\Documents and Settings>if "C:\Programmi\apache-ant-1.6.2" == "" set
ANT_HOME=C:\Programmi\apache-ant-1.6.2\bin\..
C:\Documents and Settings>set DEFAULT_ANT_HOME=
C:\Documents and Settings>rem Slurp the command line arguments. This loop allows for an unlimited number
C:\Documents and Settings>rem of arguments (up to the command line limit, anyway).
C:\Documents and Settings>set ANT_CMD_LINE_ARGS=
C:\Documents and Settings>if """" == """" goto doneStart
C:\Documents and Settings>rem find ANT_HOME if it does not exist due to either an invalid value passed
C:\Documents and Settings>rem by the user or the ant problem on Windows 9x
C:\Documents and Settings>if exist "C:\Programmi\apache-ant-1.6.2\lib\ant.jar" goto checkJava
C:\Documents and Settings>set _JAVACMD=
C:\Documents and Settings>if "C:\j2sdk1.4.2_05" == "" goto noJavaHome
C:\Documents and Settings>if not exist "C:\j2sdk1.4.2_05\bin\java.exe" goto noJavaHome
C:\Documents and Settings>if "" == "" set _JAVACMD=C:\j2sdk1.4.2_05\bin\java.exe
C:\Documents and Settings>goto checkJikes
C:\Documents and Settings>if not "" == "" goto runAntWithJikes
Unexpected Software
C:\Documents and Settings>if not "C:\Programmi\Pitch\prti1516\lib\prti1516.jar;
F:\gianni\progetti\temp;"C:\Programmi\Apache Software Foundation\Tomcat
5.0\webapps\ROOT\webbasedsim\WEB-INF""=="" goto runAntWithClasspath
Conor MacNeill wrote:
I doubt building from source will solve your problems.
To solve these sorts of problems, one thing you should try is to comment out the first line of ant.bat (the "@echo off" line). You can then see what the ant batch file is doing and where it is failing.
Try that. If it is not obvious from that, try copying the output and sending it to the list.
Also another thing to check is whether you have a CLASSPATH environment variable and whether it has any quotes in it. If it has, remove them.
Conor
Daniele Gianni wrote:
Thanks to everyone for your efforts but it still seems not to work.
I may try building it from source, do you think I can work around these problems building it from source?
Thanks again,
Daniele
--------------------------------------------------------------------- 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]