Hi Mike,
So is it the case that I should be able to go from the ant build to starting the server? It seems that the directory structure is all wrong. I have a previous installation of Alfresco 2.1 with just the application and not the source code and it seems that it has a much different file structure. For instance, the start and stop bat files and the alf_data subdirectory are under the parent directory (now called C:\Alfresco_old) while in the new installation they are in C:\Alfresco\root\projects\installer\tomcat. The alf_data directory in the new installation has subdirectories while in the old it doesn't.
More to the point, if I copy RegPaths from the \installer\bin-win subdirectory to \installer so that it is in the same subdirectory as alf_start.bat it gets past the
call RegPaths.exe
call SetPaths.bat
del SetPaths.bat
lines in alfresco.bat, echos "Starting Tomcat…" and then echos "System cannot find the path specified" presumably because the next line is,
call "%CATALINA_HOME%\bin\startup.bat"
where CATALINA_HOME is set at the top of the file by:
set CATALINA_HOME=%ALF_HOME%tomcat
In this installation the C:\Alfresco\root\projects\installer\tomcat directory has no subdirectories and there is no start.bat file anywhere. However, the C:\Alfresco\root\3rd-party\distro\Tomcat 5.5 does have a \bin subdirectory which contains the tomcat5.exe and tomcat5w.exe files, among others. In the old installation the C:\Alfresco_old\tomcat directory has a \bin subdirectory which contains a startup.bat file along with the tomcat executables.
The batch files appear to be compatible with the old installation but not the new. So is the procedure to keep doing alf_start.bat and moving files in response to errors? Or would it be better to modify the batch files to reflect the directory structure? Or is there a step in this that I have left out that would do some of this automatically? Or do I need to remove the old Alfresco installation in order to have the ant build configure everything correctly?
Robert