You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by ea...@apache.org on 2007/06/15 19:36:33 UTC
svn commit: r547748 - in /incubator/uima/uimacpp/trunk/scriptators:
perl/Perl.html perl/perltator.vcproj perl/winmake.cmd
python/pythonnator.vcproj python/winmake.cmd tcl/tclator.vcproj
tcl/winmake.cmd
Author: eae
Date: Fri Jun 15 10:36:31 2007
New Revision: 547748
URL: http://svn.apache.org/viewvc?view=rev&rev=547748
Log:
UIMA-405 Support embedded blanks in UIMACPP home on Windows
Modified:
incubator/uima/uimacpp/trunk/scriptators/perl/Perl.html
incubator/uima/uimacpp/trunk/scriptators/perl/perltator.vcproj
incubator/uima/uimacpp/trunk/scriptators/perl/winmake.cmd
incubator/uima/uimacpp/trunk/scriptators/python/pythonnator.vcproj
incubator/uima/uimacpp/trunk/scriptators/python/winmake.cmd
incubator/uima/uimacpp/trunk/scriptators/tcl/tclator.vcproj
incubator/uima/uimacpp/trunk/scriptators/tcl/winmake.cmd
Modified: incubator/uima/uimacpp/trunk/scriptators/perl/Perl.html
URL: http://svn.apache.org/viewvc/incubator/uima/uimacpp/trunk/scriptators/perl/Perl.html?view=diff&rev=547748&r1=547747&r2=547748
==============================================================================
--- incubator/uima/uimacpp/trunk/scriptators/perl/Perl.html (original)
+++ incubator/uima/uimacpp/trunk/scriptators/perl/Perl.html Fri Jun 15 10:36:31 2007
@@ -29,8 +29,6 @@
<h2>Supported Platforms</h2>
<p>The Perltator has been tested with PERL version 5.8 on Linux and with ActivePerl-5.8.8.816-MSWin32-x86-255195.msi on Windows XP.
</p>
-<p>UIMA C++ uses Apache APR as the platform portability library. There is an incompatibility between APR and ActivePerl typedefs which must be resolved by editing the ActivePerl header win32.h. Change uid_t and gid_t from "long" to "int".
-</p>
<h2>Prerequisites</h2>
<p>The Perltator uses SWIG (http://www.swig.org/) to implement the PERL library interface to UIMA. SWIG version 1.3.29 or later is required.</p>
@@ -63,6 +61,7 @@
<h3>On Windows</h3>
<ul>
+ <li><code>UIMA C++ uses Apache APR as the platform portability library. There is an incompatibility between APR and ActivePerl typedefs which must be resolved by editing the ActivePerl header win32.h. Change uid_t and gid_t from "long" to "int".</code></li>
<li><code>Modify winmake.cmd to set the paths for your Perl and Swig installs</code></li>
<li><code>winmake</code></li>
</ul>
Modified: incubator/uima/uimacpp/trunk/scriptators/perl/perltator.vcproj
URL: http://svn.apache.org/viewvc/incubator/uima/uimacpp/trunk/scriptators/perl/perltator.vcproj?view=diff&rev=547748&r1=547747&r2=547748
==============================================================================
--- incubator/uima/uimacpp/trunk/scriptators/perl/perltator.vcproj (original)
+++ incubator/uima/uimacpp/trunk/scriptators/perl/perltator.vcproj Fri Jun 15 10:36:31 2007
@@ -209,7 +209,7 @@
>
<Tool
Name="VCCustomBuildTool"
- CommandLine="echo In order to function correctly, please ensure the following environment variables are correctly set:
echo PERL5_INCLUDE: %PERL5_INCLUDE%
echo PERL5_LIB: %PERL5_LIB%
echo SWIG_PATH: %SWIG_PATH%
echo on
%SWIG_PATH%\swig -o uima_wrap.cxx -outdir . -c++ -perl5 $(InputPath)
%SWIG_PATH%\swig -outdir . -c++ -perl5 -external-runtime uimaperlwrap.h
"
+ CommandLine="echo In order to function correctly, please ensure the following environment variables are correctly set:
echo PERL5_INCLUDE: %PERL5_INCLUDE%
echo PERL5_LIB: %PERL5_LIB%
echo SWIG_PATH: %SWIG_PATH%
echo on
%SWIG_PATH%\swig -o uima_wrap.cxx -outdir . -c++ -perl5 "$(InputPath)"
%SWIG_PATH%\swig -outdir . -c++ -perl5 -external-runtime uimaperlwrap.h
"
Outputs="uima_wrap.cxx; uimaperlwrap.h; perltator.pl"
/>
</FileConfiguration>
@@ -218,7 +218,7 @@
>
<Tool
Name="VCCustomBuildTool"
- CommandLine="echo In order to function correctly, please ensure the following environment variables are correctly set:
echo PERL5_INCLUDE: %PERL5_INCLUDE%
echo PERL5_LIB: %PERL5_LIB%
echo SWIG_PATH: %SWIG_PATH%
echo on
%SWIG_PATH%\swig -o uima_wrap.cxx -outdir . -c++ -perl5 $(InputPath)
%SWIG_PATH%\swig -outdir . -c++ -perl5 -external-runtime uimaperlwrap.h
"
+ CommandLine="echo In order to function correctly, please ensure the following environment variables are correctly set:
echo PERL5_INCLUDE: %PERL5_INCLUDE%
echo PERL5_LIB: %PERL5_LIB%
echo SWIG_PATH: %SWIG_PATH%
echo on
%SWIG_PATH%\swig -o uima_wrap.cxx -outdir . -c++ -perl5 "$(InputPath)"
%SWIG_PATH%\swig -outdir . -c++ -perl5 -external-runtime uimaperlwrap.h
"
Outputs="uima_wrap.cxx; uimaperlwrap.h; perltator.pl"
/>
</FileConfiguration>
Modified: incubator/uima/uimacpp/trunk/scriptators/perl/winmake.cmd
URL: http://svn.apache.org/viewvc/incubator/uima/uimacpp/trunk/scriptators/perl/winmake.cmd?view=diff&rev=547748&r1=547747&r2=547748
==============================================================================
--- incubator/uima/uimacpp/trunk/scriptators/perl/winmake.cmd (original)
+++ incubator/uima/uimacpp/trunk/scriptators/perl/winmake.cmd Fri Jun 15 10:36:31 2007
@@ -1,6 +1,6 @@
@echo off
if "%UIMACPP_HOME%" == "" goto TafRootNotSet
-if not exist %UIMACPP_HOME%\include\uima\cas.hpp goto UimaRootBad
+if not exist "%UIMACPP_HOME%"\include\uima\cas.hpp goto UimaRootBad
set SWIG_PATH=\swigwin-1.3.29
if not exist %SWIG_PATH% goto SwigPathNotSet
Modified: incubator/uima/uimacpp/trunk/scriptators/python/pythonnator.vcproj
URL: http://svn.apache.org/viewvc/incubator/uima/uimacpp/trunk/scriptators/python/pythonnator.vcproj?view=diff&rev=547748&r1=547747&r2=547748
==============================================================================
--- incubator/uima/uimacpp/trunk/scriptators/python/pythonnator.vcproj (original)
+++ incubator/uima/uimacpp/trunk/scriptators/python/pythonnator.vcproj Fri Jun 15 10:36:31 2007
@@ -209,7 +209,7 @@
>
<Tool
Name="VCCustomBuildTool"
- CommandLine="echo In order to function correctly, please ensure the following environment variables are correctly set:
echo PYTHON_INCLUDE: %PYTHON_INCLUDE%
echo PYTHON_LIB: %PYTHON_LIB%
echo PYTHON_LIBDIR: %PYTHON_LIBDIR%
echo SWIG_PATH: %SWIG_PATH%
echo on
%SWIG_PATH%\swig -outdir . -c++ -python -external-runtime uimapywrap.h
%SWIG_PATH%\swig -o uima_wrap.cxx -outdir . -c++ -python -oh uimapywrap.h $(InputPath)
"
+ CommandLine="echo In order to function correctly, please ensure the following environment variables are correctly set:
echo PYTHON_INCLUDE: %PYTHON_INCLUDE%
echo PYTHON_LIB: %PYTHON_LIB%
echo PYTHON_LIBDIR: %PYTHON_LIBDIR%
echo SWIG_PATH: %SWIG_PATH%
echo on
%SWIG_PATH%\swig -outdir . -c++ -python -external-runtime uimapywrap.h
%SWIG_PATH%\swig -o uima_wrap.cxx -outdir . -c++ -python -oh uimapywrap.h "$(InputPath)"
"
Outputs="uima_wrap.cxx; uimapywrap.h; pythonnator.py"
/>
</FileConfiguration>
@@ -218,7 +218,7 @@
>
<Tool
Name="VCCustomBuildTool"
- CommandLine="echo In order to function correctly, please ensure the following environment variables are correctly set:
echo PYTHON_INCLUDE: %PYTHON_INCLUDE%
echo PYTHON_LIB: %PYTHON_LIB%
echo PYTHON_LIBDIR: %PYTHON_LIBDIR%
echo SWIG_PATH: %SWIG_PATH%
echo on
%SWIG_PATH%\swig -outdir . -c++ -python -external-runtime uimapywrap.h
%SWIG_PATH%\swig -o uima_wrap.cxx -outdir . -c++ -python -oh uimapywrap.h $(InputPath)
"
+ CommandLine="echo In order to function correctly, please ensure the following environment variables are correctly set:
echo PYTHON_INCLUDE: %PYTHON_INCLUDE%
echo PYTHON_LIB: %PYTHON_LIB%
echo PYTHON_LIBDIR: %PYTHON_LIBDIR%
echo SWIG_PATH: %SWIG_PATH%
echo on
%SWIG_PATH%\swig -outdir . -c++ -python -external-runtime uimapywrap.h
%SWIG_PATH%\swig -o uima_wrap.cxx -outdir . -c++ -python -oh uimapywrap.h "$(InputPath)"
"
Outputs="uima_wrap.cxx; uimapywrap.h; pythonnator.py"
/>
</FileConfiguration>
Modified: incubator/uima/uimacpp/trunk/scriptators/python/winmake.cmd
URL: http://svn.apache.org/viewvc/incubator/uima/uimacpp/trunk/scriptators/python/winmake.cmd?view=diff&rev=547748&r1=547747&r2=547748
==============================================================================
--- incubator/uima/uimacpp/trunk/scriptators/python/winmake.cmd (original)
+++ incubator/uima/uimacpp/trunk/scriptators/python/winmake.cmd Fri Jun 15 10:36:31 2007
@@ -1,6 +1,6 @@
@echo off
if "%UIMACPP_HOME%" == "" goto TafRootNotSet
-if not exist %UIMACPP_HOME%\include\uima\cas.hpp goto UimaRootBad
+if not exist "%UIMACPP_HOME%"\include\uima\cas.hpp goto UimaRootBad
set SWIG_PATH=\swigwin-1.3.29
if not exist %SWIG_PATH% goto SwigPathNotSet
Modified: incubator/uima/uimacpp/trunk/scriptators/tcl/tclator.vcproj
URL: http://svn.apache.org/viewvc/incubator/uima/uimacpp/trunk/scriptators/tcl/tclator.vcproj?view=diff&rev=547748&r1=547747&r2=547748
==============================================================================
--- incubator/uima/uimacpp/trunk/scriptators/tcl/tclator.vcproj (original)
+++ incubator/uima/uimacpp/trunk/scriptators/tcl/tclator.vcproj Fri Jun 15 10:36:31 2007
@@ -203,7 +203,7 @@
>
<Tool
Name="VCCustomBuildTool"
- CommandLine="echo In order to function correctly, please ensure the following environment variables are correctly set:
echo TCL_INCLUDE: %TCL_INCLUDE%
echo TCL_LIBDIR: %TCL_LIBDIR%
echo SWIG_PATH: %SWIG_PATH%
echo on
%SWIG_PATH%\swig -outdir . -c++ -tcl -external-runtime uimatclwrap.h
%SWIG_PATH%\swig -o uima_wrap.cxx -outdir . -c++ -tcl -oh uimatclwrap.h $(InputPath)

"
+ CommandLine="echo In order to function correctly, please ensure the following environment variables are correctly set:
echo TCL_INCLUDE: %TCL_INCLUDE%
echo TCL_LIBDIR: %TCL_LIBDIR%
echo SWIG_PATH: %SWIG_PATH%
echo on
%SWIG_PATH%\swig -outdir . -c++ -tcl -external-runtime uimatclwrap.h
%SWIG_PATH%\swig -o uima_wrap.cxx -outdir . -c++ -tcl -oh uimatclwrap.h "$(InputPath)"

"
Outputs="uima_wrap.cxx; uimatclwrap.h"
/>
</FileConfiguration>
@@ -212,7 +212,7 @@
>
<Tool
Name="VCCustomBuildTool"
- CommandLine="echo In order to function correctly, please ensure the following environment variables are correctly set:
echo TCL_INCLUDE: %TCL_INCLUDE%
echo TCL_LIBDIR: %TCL_LIBDIR%
echo SWIG_PATH: %SWIG_PATH%
echo on
%SWIG_PATH%\swig -outdir . -c++ -tcl -external-runtime uimatclwrap.h
%SWIG_PATH%\swig -o uima_wrap.cxx -outdir . -c++ -tcl -oh uimatclwrap.h $(InputPath)

"
+ CommandLine="echo In order to function correctly, please ensure the following environment variables are correctly set:
echo TCL_INCLUDE: %TCL_INCLUDE%
echo TCL_LIBDIR: %TCL_LIBDIR%
echo SWIG_PATH: %SWIG_PATH%
echo on
%SWIG_PATH%\swig -outdir . -c++ -tcl -external-runtime uimatclwrap.h
%SWIG_PATH%\swig -o uima_wrap.cxx -outdir . -c++ -tcl -oh uimatclwrap.h "$(InputPath)"

"
Outputs="uima_wrap.cxx; uimatclwrap.h"
/>
</FileConfiguration>
Modified: incubator/uima/uimacpp/trunk/scriptators/tcl/winmake.cmd
URL: http://svn.apache.org/viewvc/incubator/uima/uimacpp/trunk/scriptators/tcl/winmake.cmd?view=diff&rev=547748&r1=547747&r2=547748
==============================================================================
--- incubator/uima/uimacpp/trunk/scriptators/tcl/winmake.cmd (original)
+++ incubator/uima/uimacpp/trunk/scriptators/tcl/winmake.cmd Fri Jun 15 10:36:31 2007
@@ -1,6 +1,6 @@
@echo off
if "%UIMACPP_HOME%" == "" goto TafRootNotSet
-if not exist %UIMACPP_HOME%\include\uima\cas.hpp goto UimaRootBad
+if not exist "%UIMACPP_HOME%"\include\uima\cas.hpp goto UimaRootBad
set SWIG_PATH=\swigwin-1.3.29
if not exist %SWIG_PATH% goto SwigPathNotSet