You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Devanathan, Ramkumar (HP Software BTO)" <ra...@hp.com> on 2007/07/03 13:27:37 UTC

FW: VS2005 support for Xerces and Xalan - Windows x64

Hi all, I need to know by when the official support of Xerces and Xalan
on VS2005 (x86 and x86_64) build is going to be available. Is there a
way this can be expedited?
 
Thank you.
 
Ramkumar Devanathan
HP Software BTO R&D
Bangalore
India
PHONE: (91)-80-2205-2219


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Re: FW: VS2005 support for Xerces and Xalan - Windows x64

Posted by David Bertoni <db...@apache.org>.
Devanathan, Ramkumar (HP Software BTO) wrote:
> Hi Earl, we are going with your suggestion (using xerces 2.7 and xalan
> 1.10) and have come up to the point where we face this issue you mention
> below.
> 
> Localization project won't read in parameters from tools.ini when using
> nmake inside the VS2005 environment. 
> <<
> 
> What did you do for working around this?
Note that, if you apply Visual Studio 2005 Service Pack 1, this bug is 
fixed, and the tools.ini will work.

Another option is to simply copy all of the contents of the tools.ini into 
the top-level Localization.mak.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Re: FW: VS2005 support for Xerces and Xalan - Windows x64

Posted by Earl Woodman <ew...@iona.com>.
There are a couple of options here. I built from the command line, so I
copied tools.ini to tools.bat, took out the comments, and put 'set ' at
the beginning of each line. Then I ran the batch file, and built from
the command line with nmake.

There are other options as well, including setting the environment
variables within Windows, or passing the parameters on the nmake command
line. I haven't tried those options. 

Earl

On Wed, Jul 04, 2007 at 05:24:14PM +0530, Devanathan, Ramkumar (HP Software BTO) wrote:
> Hi Earl, we are going with your suggestion (using xerces 2.7 and xalan
> 1.10) and have come up to the point where we face this issue you mention
> below.
> 
> >>
> Localization project won't read in parameters from tools.ini when using
> nmake inside the VS2005 environment. 
> <<
> 
> What did you do for working around this?
> 
> Thank you.
> 
> Ramkumar Devanathan
> HP Software BTO R&D
> Bangalore
> India
> PHONE: (91)-80-2205-2219
> 
> -----Original Message-----
> From: Earl Woodman [mailto:ewoodman@iona.com] 
> Sent: Tuesday, July 03, 2007 9:33 PM
> To: xalan-dev@xml.apache.org
> Subject: Re: FW: VS2005 support for Xerces and Xalan - Windows x64
> 
> Hi,
> 
> I have had success building Xerces and Xalan on VS2005 (x86)  with the
> /Zc:wchar_t flag turned on, although the versions I am using are Xerces
> 2.4 and Xalan 1.7. Here's a quick overview of what I did:
> 
> For Xerces, I created a VC8 project by upgrading the VC6 project. It
> will not work if you upgrade from VC7 project files!
> 
> For Xalan, I had to change the usage of one call to CreateFileW to go
> back to CreateFileA. There are also some other gotchas, like the
> Localization project won't read in parameters from tools.ini when using
> nmake inside the VS2005 environment. Also you will need to build Xalan
> with these preprocessor defines: XALAN_XALANDOMCHAR_USHORT_MISMATCH and 
> XALAN_USE_WCHAR_CAST_HACK.
> 
> Good luck,
> Earl
> 
> 
> 
> 
> On Tue, Jul 03, 2007 at 08:47:53AM -0700, David Bertoni wrote:
> > Devanathan, Ramkumar (HP Software BTO) wrote:
> > > Hi all, I need to know by when the official support of Xerces and
> Xalan
> > > on VS2005 (x86 and x86_64) build is going to be available. Is there
> a
> > > way this can be expedited?
> > 
> > Xalan-C cannot release until Xerces-C has released, so there's nothing
> we 
> > can do.  If you want to help expedite the release, you can volunteer
> to 
> > help with sorting out the Xerces-C build issues.  There have been
> several 
> > discussions on the Xerces-C Developer list on this very subject.
> > 
> > Dave
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xalan-dev-help@xml.apache.org
> 
> -- 
> Earl Woodman
> Senior Software Engineer - IONA | Making Software Work Together TM.
> Email: earl.woodman@iona.com
> Phone: 709-738-3725 x.29
> WWW: http://www.iona.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xalan-dev-help@xml.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xalan-dev-help@xml.apache.org

-- 
Earl Woodman
Senior Software Engineer - IONA | Making Software Work Together TM.
Email: earl.woodman@iona.com
Phone: 709-738-3725 x.29
WWW: http://www.iona.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


RE: FW: VS2005 support for Xerces and Xalan - Windows x64

Posted by "Devanathan, Ramkumar (HP Software BTO)" <ra...@hp.com>.
Hi Earl, we are going with your suggestion (using xerces 2.7 and xalan
1.10) and have come up to the point where we face this issue you mention
below.

>>
Localization project won't read in parameters from tools.ini when using
nmake inside the VS2005 environment. 
<<

What did you do for working around this?

Thank you.

Ramkumar Devanathan
HP Software BTO R&D
Bangalore
India
PHONE: (91)-80-2205-2219

-----Original Message-----
From: Earl Woodman [mailto:ewoodman@iona.com] 
Sent: Tuesday, July 03, 2007 9:33 PM
To: xalan-dev@xml.apache.org
Subject: Re: FW: VS2005 support for Xerces and Xalan - Windows x64

Hi,

I have had success building Xerces and Xalan on VS2005 (x86)  with the
/Zc:wchar_t flag turned on, although the versions I am using are Xerces
2.4 and Xalan 1.7. Here's a quick overview of what I did:

For Xerces, I created a VC8 project by upgrading the VC6 project. It
will not work if you upgrade from VC7 project files!

For Xalan, I had to change the usage of one call to CreateFileW to go
back to CreateFileA. There are also some other gotchas, like the
Localization project won't read in parameters from tools.ini when using
nmake inside the VS2005 environment. Also you will need to build Xalan
with these preprocessor defines: XALAN_XALANDOMCHAR_USHORT_MISMATCH and 
XALAN_USE_WCHAR_CAST_HACK.

Good luck,
Earl




On Tue, Jul 03, 2007 at 08:47:53AM -0700, David Bertoni wrote:
> Devanathan, Ramkumar (HP Software BTO) wrote:
> > Hi all, I need to know by when the official support of Xerces and
Xalan
> > on VS2005 (x86 and x86_64) build is going to be available. Is there
a
> > way this can be expedited?
> 
> Xalan-C cannot release until Xerces-C has released, so there's nothing
we 
> can do.  If you want to help expedite the release, you can volunteer
to 
> help with sorting out the Xerces-C build issues.  There have been
several 
> discussions on the Xerces-C Developer list on this very subject.
> 
> Dave
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xalan-dev-help@xml.apache.org

-- 
Earl Woodman
Senior Software Engineer - IONA | Making Software Work Together TM.
Email: earl.woodman@iona.com
Phone: 709-738-3725 x.29
WWW: http://www.iona.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


RE: FW: VS2005 support for Xerces and Xalan - Windows x64

Posted by "Devanathan, Ramkumar (HP Software BTO)" <ra...@hp.com>.
Thanks for the great info Earl. 

We will try these out with xerces 2.7 and xalan 1.10.

Ramkumar Devanathan
HP Software BTO R&D
Bangalore
India
PHONE: (91)-80-2205-2219

-----Original Message-----
From: Earl Woodman [mailto:ewoodman@iona.com] 
Sent: Tuesday, July 03, 2007 9:33 PM
To: xalan-dev@xml.apache.org
Subject: Re: FW: VS2005 support for Xerces and Xalan - Windows x64

Hi,

I have had success building Xerces and Xalan on VS2005 (x86)  with the
/Zc:wchar_t flag turned on, although the versions I am using are Xerces
2.4 and Xalan 1.7. Here's a quick overview of what I did:

For Xerces, I created a VC8 project by upgrading the VC6 project. It
will not work if you upgrade from VC7 project files!

For Xalan, I had to change the usage of one call to CreateFileW to go
back to CreateFileA. There are also some other gotchas, like the
Localization project won't read in parameters from tools.ini when using
nmake inside the VS2005 environment. Also you will need to build Xalan
with these preprocessor defines: XALAN_XALANDOMCHAR_USHORT_MISMATCH and 
XALAN_USE_WCHAR_CAST_HACK.

Good luck,
Earl




On Tue, Jul 03, 2007 at 08:47:53AM -0700, David Bertoni wrote:
> Devanathan, Ramkumar (HP Software BTO) wrote:
> > Hi all, I need to know by when the official support of Xerces and
Xalan
> > on VS2005 (x86 and x86_64) build is going to be available. Is there
a
> > way this can be expedited?
> 
> Xalan-C cannot release until Xerces-C has released, so there's nothing
we 
> can do.  If you want to help expedite the release, you can volunteer
to 
> help with sorting out the Xerces-C build issues.  There have been
several 
> discussions on the Xerces-C Developer list on this very subject.
> 
> Dave
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xalan-dev-help@xml.apache.org

-- 
Earl Woodman
Senior Software Engineer - IONA | Making Software Work Together TM.
Email: earl.woodman@iona.com
Phone: 709-738-3725 x.29
WWW: http://www.iona.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Re: FW: VS2005 support for Xerces and Xalan - Windows x64

Posted by Earl Woodman <ew...@iona.com>.
Hi,

I have had success building Xerces and Xalan on VS2005 (x86)  with the
/Zc:wchar_t flag turned on, although the versions I am using are Xerces
2.4 and Xalan 1.7. Here's a quick overview of what I did:

For Xerces, I created a VC8 project by upgrading the VC6 project. It
will not work if you upgrade from VC7 project files!

For Xalan, I had to change the usage of one call to CreateFileW to go
back to CreateFileA. There are also some other gotchas, like the
Localization project won't read in parameters from tools.ini when using
nmake inside the VS2005 environment. Also you will need to build Xalan
with these preprocessor defines: XALAN_XALANDOMCHAR_USHORT_MISMATCH and 
XALAN_USE_WCHAR_CAST_HACK.

Good luck,
Earl




On Tue, Jul 03, 2007 at 08:47:53AM -0700, David Bertoni wrote:
> Devanathan, Ramkumar (HP Software BTO) wrote:
> > Hi all, I need to know by when the official support of Xerces and Xalan
> > on VS2005 (x86 and x86_64) build is going to be available. Is there a
> > way this can be expedited?
> 
> Xalan-C cannot release until Xerces-C has released, so there's nothing we 
> can do.  If you want to help expedite the release, you can volunteer to 
> help with sorting out the Xerces-C build issues.  There have been several 
> discussions on the Xerces-C Developer list on this very subject.
> 
> Dave
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xalan-dev-help@xml.apache.org

-- 
Earl Woodman
Senior Software Engineer - IONA | Making Software Work Together TM.
Email: earl.woodman@iona.com
Phone: 709-738-3725 x.29
WWW: http://www.iona.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


RE: FW: VS2005 support for Xerces and Xalan - Windows x64

Posted by "Devanathan, Ramkumar (HP Software BTO)" <ra...@hp.com>.
Thanks for all the info Dave. Will keep the list posted on any updates.

Ramkumar Devanathan
HP Software BTO R&D
Bangalore
India
PHONE: (91)-80-2205-2219

-----Original Message-----
From: David Bertoni [mailto:dbertoni@apache.org] 
Sent: Wednesday, July 04, 2007 11:26 AM
To: xalan-dev@xml.apache.org
Subject: Re: FW: VS2005 support for Xerces and Xalan - Windows x64

Devanathan, Ramkumar (HP Software BTO) wrote:
> Boy, do you ever go to sleep? Thanks for the information.
I have been known to sleep on occasion...

> 
> So that brings me to the next question - when does xerces 3.0 and
xalan
> 1.11 release officially? Sorry for the bother. If it is not going to
be
> anytime soon, then I will rely on earl goodman's approach building
> xerces 2.7 and xalan 1.10 with vc8.
Xerces-C 3.0 is held up because it won't build on all of the supported 
platforms.  Until the build issues are resolved, it won't be released.

Rather than hacking up Xalan-C 1.10, I suggest you simply use the head
of 
the Xalan-C repository, as it's more stable than Xalan-C 1.10.  It will 
build with either Xerces-C 2.7, or with the head of the Xerces-C
repository.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Re: FW: VS2005 support for Xerces and Xalan - Windows x64

Posted by David Bertoni <db...@apache.org>.
Devanathan, Ramkumar (HP Software BTO) wrote:
> Boy, do you ever go to sleep? Thanks for the information.
I have been known to sleep on occasion...

> 
> So that brings me to the next question - when does xerces 3.0 and xalan
> 1.11 release officially? Sorry for the bother. If it is not going to be
> anytime soon, then I will rely on earl goodman's approach building
> xerces 2.7 and xalan 1.10 with vc8.
Xerces-C 3.0 is held up because it won't build on all of the supported 
platforms.  Until the build issues are resolved, it won't be released.

Rather than hacking up Xalan-C 1.10, I suggest you simply use the head of 
the Xalan-C repository, as it's more stable than Xalan-C 1.10.  It will 
build with either Xerces-C 2.7, or with the head of the Xerces-C repository.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


RE: FW: VS2005 support for Xerces and Xalan - Windows x64

Posted by "Devanathan, Ramkumar (HP Software BTO)" <ra...@hp.com>.
Boy, do you ever go to sleep? Thanks for the information.

So that brings me to the next question - when does xerces 3.0 and xalan
1.11 release officially? Sorry for the bother. If it is not going to be
anytime soon, then I will rely on earl goodman's approach building
xerces 2.7 and xalan 1.10 with vc8.

Ramkumar Devanathan
HP Software BTO R&D
Bangalore
India
PHONE: (91)-80-2205-2219

-----Original Message-----
From: David Bertoni [mailto:dbertoni@apache.org] 
Sent: Wednesday, July 04, 2007 11:18 AM
To: xalan-dev@xml.apache.org
Subject: Re: FW: VS2005 support for Xerces and Xalan - Windows x64

Devanathan, Ramkumar (HP Software BTO) wrote:
> Thanks for the response Dave. From what I understand Xerces 3.0
already
> supports vs 2005 and that's good - so we can move to xerces 3.0.
> 
> http://wiki.apache.org/xerces/XercescBuildStatus

Xerces-C 3.0 has _not_ been officially released.  The source for the 3.0

builds is the head of the main svn repository.  The source for the 
corresponding Xalan 1.11 release will also be the head of the Xalan-C 
repository.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Re: FW: VS2005 support for Xerces and Xalan - Windows x64

Posted by David Bertoni <db...@apache.org>.
Devanathan, Ramkumar (HP Software BTO) wrote:
> Thanks for the response Dave. From what I understand Xerces 3.0 already
> supports vs 2005 and that's good - so we can move to xerces 3.0.
> 
> http://wiki.apache.org/xerces/XercescBuildStatus

Xerces-C 3.0 has _not_ been officially released.  The source for the 3.0 
builds is the head of the main svn repository.  The source for the 
corresponding Xalan 1.11 release will also be the head of the Xalan-C 
repository.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


RE: FW: VS2005 support for Xerces and Xalan - Windows x64

Posted by "Devanathan, Ramkumar (HP Software BTO)" <ra...@hp.com>.
Thanks for the response Dave. From what I understand Xerces 3.0 already
supports vs 2005 and that's good - so we can move to xerces 3.0.

http://wiki.apache.org/xerces/XercescBuildStatus

Now the question is for xalan - if we move to xerces 3.0 what version of
xalan should we use - when will xalan support xerces 3.0?

Ramkumar Devanathan
HP Software BTO R&D
Bangalore
India
PHONE: (91)-80-2205-2219

-----Original Message-----
From: David Bertoni [mailto:dbertoni@apache.org] 
Sent: Tuesday, July 03, 2007 9:18 PM
To: xalan-dev@xml.apache.org
Subject: Re: FW: VS2005 support for Xerces and Xalan - Windows x64

Devanathan, Ramkumar (HP Software BTO) wrote:
> Hi all, I need to know by when the official support of Xerces and
Xalan
> on VS2005 (x86 and x86_64) build is going to be available. Is there a
> way this can be expedited?

Xalan-C cannot release until Xerces-C has released, so there's nothing
we 
can do.  If you want to help expedite the release, you can volunteer to 
help with sorting out the Xerces-C build issues.  There have been
several 
discussions on the Xerces-C Developer list on this very subject.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Re: FW: VS2005 support for Xerces and Xalan - Windows x64

Posted by David Bertoni <db...@apache.org>.
Devanathan, Ramkumar (HP Software BTO) wrote:
> Hi all, I need to know by when the official support of Xerces and Xalan
> on VS2005 (x86 and x86_64) build is going to be available. Is there a
> way this can be expedited?

Xalan-C cannot release until Xerces-C has released, so there's nothing we 
can do.  If you want to help expedite the release, you can volunteer to 
help with sorting out the Xerces-C build issues.  There have been several 
discussions on the Xerces-C Developer list on this very subject.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org