You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Sujeeth Kamath <hu...@gmail.com> on 2007/09/19 14:53:50 UTC

Xliff error

Hello Experts,

Need your help and Guidance

i checked out the XErces 2.8 from the SVN repository and then successfully
Built it in VS2005.

After this I set on the commandline the following env variable

Set XERCESCROOT=d:\programs\xerces2.8

Then I checked out from the trunk the latest XALAN source code. I launched
the visual Studiao 2005 from commandline and then launched the XALAN.sln .
The reason for doing this is i found that the tagged code didnt had VC8
project .

I started Building, I am getting this error


Creating temporary file
"d:\programs\Xalan\Build\Win32\VC8\Release\Utils\XalanMsgLib\BAT00003431085640.bat"
with contents
[
@echo off

..\..\..\..\..\Build\Win32\VC8\Release\MsgCreator
..\..\..\..\..\src\xalanc\NLS\en_US\XalanMsg_en_US.xlf -TYPE inmem
-LOCALE en_US -OUTDIR
..\..\..\..\..\Build\Win32\VC8\Release\Nls\Include

if errorlevel 1 goto VCReportError

goto VCEnd

:VCReportError

echo Project : error PRJ0019: A tool returned an error code from
"Processing XLIFF file"

exit 1

:VCEnd
]
Creating command line
"d:\programs\Xalan\Build\Win32\VC8\Release\Utils\XalanMsgLib\BAT00003431085640.bat"

I tried the same thing around one month back, at that time also i got
the same error.I am seeing that in the mail threads many are saying
that they are successfully able to build the Xalan, but I am not so
lucky.

Can some one provide me any hint. I saw many mail threds on this but
all are inconclusive.



Thanks

Sujeeth

Re: Xliff error

Posted by Sujeeth Kamath <hu...@gmail.com>.
Thanks Dave,

It served my purpose. I had a successful build.

Regards,

sujeeth


On 9/20/07, David Bertoni <db...@apache.org> wrote:
>
> Sujeeth Kamath wrote:
> > Hello Experts,
> >
> > Need your help and Guidance
> >
> > i checked out the XErces 2.8 from the SVN repository and then
> > successfully Built it in VS2005.
> >
> > After this I set on the commandline the following env variable
> >
> > Set XERCESCROOT=d:\programs\xerces2.8
> >
> > Then I checked out from the trunk the latest XALAN source code. I
> > launched the visual Studiao 2005 from commandline and then launched the
> > XALAN.sln . The reason for doing this is i found that the tagged code
> > didnt had VC8 project .
> >
> > I started Building, I am getting this error
> >
> > Creating temporary file
> "d:\programs\Xalan\Build\Win32\VC8\Release\Utils\XalanMsgLib\BAT00003431085640.bat"
> with contents
> > [
> > @echo off
> >
> > ..\..\..\..\..\Build\Win32\VC8\Release\MsgCreator
> ..\..\..\..\..\src\xalanc\NLS\en_US\XalanMsg_en_US.xlf -TYPE inmem -LOCALE
> en_US -OUTDIR ..\..\..\..\..\Build\Win32\VC8\Release\Nls\Include
> >
> > if errorlevel 1 goto VCReportError
> >
> > goto VCEnd
> >
> > :VCReportError
> >
> > echo Project : error PRJ0019: A tool returned an error code from
> "Processing XLIFF file"
> >
> > exit 1
> >
> > :VCEnd
> > ]
> > Creating command line
> "d:\programs\Xalan\Build\Win32\VC8\Release\Utils\XalanMsgLib\BAT00003431085640.bat"
> >
> > I tried the same thing around one month back, at that time also i got
> the same error.I am seeing that in the mail threads many are saying that
> they are successfully able to build the Xalan, but I am not so lucky.
> >
> > Can some one provide me any hint. I saw many mail threds on this but all
> are inconclusive.
> What happens if you execute the command line yourself?  Change to the
> following directory (relative to where you checked out the source code):
>
> Projects\Win32\VC8\Utils\XalanMsgLib
>
> Then execute the command line:
>
> ..\..\..\..\..\Build\Win32\VC8\Release\MsgCreator
> ..\..\..\..\..\src\xalanc\NLS\en_US\XalanMsg_en_US.xlf -TYPE inmem -LOCALE
> en_US -OUTDIR ..\..\..\..\..\Build\Win32\VC8\Release\Nls\Include
>
> Usually, the problem is you haven't configured Visual Studio 2005 to
> specify the path to the Xerces-C executables.  This happens when you build
> from the source, rather than just use the Xerces-C distribution.  Just add
> the Xerces-C build output directories to the executable directories in
> Visual Studio.  You'll need to add both
> <xerces-c>\..\..\..\..\..\Build\Win32\VC8\Release and
> <xerces-c>..\..\..\..\..\Build\Win32\VC8\Debug.  Another option is to copy
> the Xerces-C executables in the appropriate Xalan-C build directories.
>
> Dave
>
> >
> >
> >
> > Thanks
> >
> > Sujeeth
> >
>
>

Re: Xliff error

Posted by David Bertoni <db...@apache.org>.
Sujeeth Kamath wrote:
> Hello Experts,
>  
> Need your help and Guidance
>  
> i checked out the XErces 2.8 from the SVN repository and then 
> successfully Built it in VS2005.
>  
> After this I set on the commandline the following env variable
>  
> Set XERCESCROOT=d:\programs\xerces2.8
>  
> Then I checked out from the trunk the latest XALAN source code. I 
> launched the visual Studiao 2005 from commandline and then launched the 
> XALAN.sln . The reason for doing this is i found that the tagged code 
> didnt had VC8 project .
>  
> I started Building, I am getting this error
> 
> Creating temporary file "d:\programs\Xalan\Build\Win32\VC8\Release\Utils\XalanMsgLib\BAT00003431085640.bat" with contents
> [
> @echo off
> 
> ..\..\..\..\..\Build\Win32\VC8\Release\MsgCreator   ..\..\..\..\..\src\xalanc\NLS\en_US\XalanMsg_en_US.xlf -TYPE inmem -LOCALE en_US -OUTDIR ..\..\..\..\..\Build\Win32\VC8\Release\Nls\Include
> 
> if errorlevel 1 goto VCReportError
> 
> goto VCEnd
> 
> :VCReportError
> 
> echo Project : error PRJ0019: A tool returned an error code from "Processing XLIFF file"
> 
> exit 1
> 
> :VCEnd
> ]
> Creating command line "d:\programs\Xalan\Build\Win32\VC8\Release\Utils\XalanMsgLib\BAT00003431085640.bat"
> 
> I tried the same thing around one month back, at that time also i got the same error.I am seeing that in the mail threads many are saying that they are successfully able to build the Xalan, but I am not so lucky. 
> 
> Can some one provide me any hint. I saw many mail threds on this but all are inconclusive.
What happens if you execute the command line yourself?  Change to the 
following directory (relative to where you checked out the source code):

Projects\Win32\VC8\Utils\XalanMsgLib

Then execute the command line:

..\..\..\..\..\Build\Win32\VC8\Release\MsgCreator 
..\..\..\..\..\src\xalanc\NLS\en_US\XalanMsg_en_US.xlf -TYPE inmem -LOCALE 
en_US -OUTDIR ..\..\..\..\..\Build\Win32\VC8\Release\Nls\Include

Usually, the problem is you haven't configured Visual Studio 2005 to 
specify the path to the Xerces-C executables.  This happens when you build 
from the source, rather than just use the Xerces-C distribution.  Just add 
the Xerces-C build output directories to the executable directories in 
Visual Studio.  You'll need to add both 
<xerces-c>\..\..\..\..\..\Build\Win32\VC8\Release and 
<xerces-c>..\..\..\..\..\Build\Win32\VC8\Debug.  Another option is to copy 
the Xerces-C executables in the appropriate Xalan-C build directories.

Dave

> 
>  
> 
> Thanks 
> 
> Sujeeth
>