You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Robbie Minshall <my...@gmail.com> on 2007/02/13 21:30:06 UTC

SDO impl Java 6 dependancy

Paul identified a problem in
https://issues.apache.org/jira/browse/TUSCANY-1105 which appears to indicate
that the sdo impl jar has dependancies upon Java 6 for some code paths.
This scneario is not limited to the CTS execution but should probably
present itSelf at least when using the
org.apache.tuscany.sdo.helper.XMLDocumentImpl.load code path.

Paul points out that the issue is that the wstx-asl-3.2.0.jar and
stax-api-1.0.1.jar files are built using java 6 since they contain
references to javax.xml.stream.XMLStreamException which only exists in Java
6.

The pom file indicates that stax is for optional features, and that woodstax
is for testing purposes.

Do we need these dependancies ?

Should we use a different version of these dependancies ?

What solutions do people suggest for resolving this issue ?

cheers,
Robbie



-- 
* * * Charlie * * *
Check out some pics of little Charlie at
http://www.flickr.com/photos/83388211@N00/sets/

Check out Charlie's al crapo blog at http://robbieminshall.blogspot.com

* * * Addresss * * *
1914 Overland Drive
Chapel Hill
NC 27517

* * * Number * * *
919-225-1553

Re: SDO impl Java 6 dependancy

Posted by Robbie Minshall <my...@gmail.com>.
Thanks Jeremy for the clarification about the various options to resolve
this dependancy.

On 2/14/07, Paul Golick <go...@us.ibm.com> wrote:
>
> SDO had not previously had a dependency on either J2EE nor on woodstox.
>
> Adding such a dependency may limit the environments in which SDO may be
> used.
>
> Regards,
> Paul Golick
>
> e-mail:  golick@us.ibm.com
>
>
>
> Jeremy Boynes <jb...@apache.org>
> 2007-02-13 05:30 PM
> Please respond to
> tuscany-dev@ws.apache.org
>
>
> To
> tuscany-dev@ws.apache.org
> cc
>
> Subject
> Re: SDO impl Java 6 dependancy
>
>
>
>
>
>
> It's not a dependency on Java6, it's a dependency on StAX
> (java.xml.stream). That happens to be included in Java6, but it is
> also included in Java5 Enterprise Edition and is available separately
> for use on Java5 Standard Edition and J2SE 1.4.
>
> It seems the SDO implementation now has a hard runtime dependency on
> StAX in much the same way as it does on EMF so you need to make sure
> a StAX implementation is available at runtime. You can:
> * run on Java6
> * run on Java 5 EE
> * run on 1.4 and supply your own StAX implementation
>
> If you choose to supply your own implementation, you can use the
> java.xml.stream API classes from Sun or use the open-source version
> stax-api v1.0 or 1.0.1. Similarly you can use the reference
> implementation (from Sun/BEA), or use an open-source implementation
> such as woodstox.
>
> --
> Jeremy
>
> On Feb 13, 2007, at 1:40 PM, Robbie Minshall wrote:
>
> > By compiling with a jar that has Java 6 dependancy we are ourselves
> > creating
> > a dependancy on Java 6 for the SDO impl jar.   This seems to be a
> > problem to
> > me.   No ?
> >
> > Robbie
> >
> >
> >
> >
> >
> > On 2/13/07, Yang ZHONG <le...@gmail.com> wrote:
> >>
> >> sdo/impl/pom.xml declares dependency on stax-api, that's required to
> >> compile
> >> sdo impl.
> >> StAX impl will be required for runtime if StAX support code path is
> >> executed.
> >>
> >>
> >> On 2/13/07, Robbie Minshall <my...@gmail.com> wrote:
> >> >
> >> > Paul identified a problem in
> >> > https://issues.apache.org/jira/browse/TUSCANY-1105 which appears to
> >> > indicate
> >> > that the sdo impl jar has dependancies upon Java 6 for some code
> >> paths.
> >> > This scneario is not limited to the CTS execution but should
> >> probably
> >> > present itSelf at least when using the
> >> > org.apache.tuscany.sdo.helper.XMLDocumentImpl.load code path.
> >> >
> >> > Paul points out that the issue is that the wstx-asl-3.2.0.jar and
> >> > stax-api-1.0.1.jar files are built using java 6 since they contain
> >> > references to javax.xml.stream.XMLStreamException which only
> >> exists in
> >> > Java
> >> > 6.
> >> >
> >> > The pom file indicates that stax is for optional features, and that
> >> > woodstax
> >> > is for testing purposes.
> >> >
> >> > Do we need these dependancies ?
> >> >
> >> > Should we use a different version of these dependancies ?
> >> >
> >> > What solutions do people suggest for resolving this issue ?
> >> >
> >> > cheers,
> >> > Robbie
> >> >
> >> >
> >> >
> >> > --
> >> > * * * Charlie * * *
> >> > Check out some pics of little Charlie at
> >> > http://www.flickr.com/photos/83388211@N00/sets/
> >> >
> >> > Check out Charlie's al crapo blog at http://
> >> robbieminshall.blogspot.com
> >> >
> >> > * * * Addresss * * *
> >> > 1914 Overland Drive
> >> > Chapel Hill
> >> > NC 27517
> >> >
> >> > * * * Number * * *
> >> > 919-225-1553
> >> >
> >>
> >>
> >>
> >> --
> >>
> >> Yang ZHONG
> >>
> >
> >
> >
> > --
> > * * * Charlie * * *
> > Check out some pics of little Charlie at
> > http://www.flickr.com/photos/83388211@N00/sets/
> >
> > Check out Charlie's al crapo blog at http://
> > robbieminshall.blogspot.com
> >
> > * * * Addresss * * *
> > 1914 Overland Drive
> > Chapel Hill
> > NC 27517
> >
> > * * * Number * * *
> > 919-225-1553
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
>


-- 
* * * Charlie * * *
Check out some pics of little Charlie at
http://www.flickr.com/photos/83388211@N00/sets/

Check out Charlie's al crapo blog at http://robbieminshall.blogspot.com

* * * Addresss * * *
1914 Overland Drive
Chapel Hill
NC 27517

* * * Number * * *
919-225-1553

Re: SDO impl Java 6 dependancy

Posted by Paul Golick <go...@us.ibm.com>.
SDO had not previously had a dependency on either J2EE nor on woodstox.

Adding such a dependency may limit the environments in which SDO may be 
used.

Regards,
Paul Golick

e-mail:  golick@us.ibm.com



Jeremy Boynes <jb...@apache.org> 
2007-02-13 05:30 PM
Please respond to
tuscany-dev@ws.apache.org


To
tuscany-dev@ws.apache.org
cc

Subject
Re: SDO impl Java 6 dependancy






It's not a dependency on Java6, it's a dependency on StAX 
(java.xml.stream). That happens to be included in Java6, but it is 
also included in Java5 Enterprise Edition and is available separately 
for use on Java5 Standard Edition and J2SE 1.4.

It seems the SDO implementation now has a hard runtime dependency on 
StAX in much the same way as it does on EMF so you need to make sure 
a StAX implementation is available at runtime. You can:
* run on Java6
* run on Java 5 EE
* run on 1.4 and supply your own StAX implementation

If you choose to supply your own implementation, you can use the 
java.xml.stream API classes from Sun or use the open-source version 
stax-api v1.0 or 1.0.1. Similarly you can use the reference 
implementation (from Sun/BEA), or use an open-source implementation 
such as woodstox.

--
Jeremy

On Feb 13, 2007, at 1:40 PM, Robbie Minshall wrote:

> By compiling with a jar that has Java 6 dependancy we are ourselves 
> creating
> a dependancy on Java 6 for the SDO impl jar.   This seems to be a 
> problem to
> me.   No ?
>
> Robbie
>
>
>
>
>
> On 2/13/07, Yang ZHONG <le...@gmail.com> wrote:
>>
>> sdo/impl/pom.xml declares dependency on stax-api, that's required to
>> compile
>> sdo impl.
>> StAX impl will be required for runtime if StAX support code path is
>> executed.
>>
>>
>> On 2/13/07, Robbie Minshall <my...@gmail.com> wrote:
>> >
>> > Paul identified a problem in
>> > https://issues.apache.org/jira/browse/TUSCANY-1105 which appears to
>> > indicate
>> > that the sdo impl jar has dependancies upon Java 6 for some code 
>> paths.
>> > This scneario is not limited to the CTS execution but should 
>> probably
>> > present itSelf at least when using the
>> > org.apache.tuscany.sdo.helper.XMLDocumentImpl.load code path.
>> >
>> > Paul points out that the issue is that the wstx-asl-3.2.0.jar and
>> > stax-api-1.0.1.jar files are built using java 6 since they contain
>> > references to javax.xml.stream.XMLStreamException which only 
>> exists in
>> > Java
>> > 6.
>> >
>> > The pom file indicates that stax is for optional features, and that
>> > woodstax
>> > is for testing purposes.
>> >
>> > Do we need these dependancies ?
>> >
>> > Should we use a different version of these dependancies ?
>> >
>> > What solutions do people suggest for resolving this issue ?
>> >
>> > cheers,
>> > Robbie
>> >
>> >
>> >
>> > --
>> > * * * Charlie * * *
>> > Check out some pics of little Charlie at
>> > http://www.flickr.com/photos/83388211@N00/sets/
>> >
>> > Check out Charlie's al crapo blog at http:// 
>> robbieminshall.blogspot.com
>> >
>> > * * * Addresss * * *
>> > 1914 Overland Drive
>> > Chapel Hill
>> > NC 27517
>> >
>> > * * * Number * * *
>> > 919-225-1553
>> >
>>
>>
>>
>> --
>>
>> Yang ZHONG
>>
>
>
>
> -- 
> * * * Charlie * * *
> Check out some pics of little Charlie at
> http://www.flickr.com/photos/83388211@N00/sets/
>
> Check out Charlie's al crapo blog at http:// 
> robbieminshall.blogspot.com
>
> * * * Addresss * * *
> 1914 Overland Drive
> Chapel Hill
> NC 27517
>
> * * * Number * * *
> 919-225-1553


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



Re: SDO impl Java 6 dependancy

Posted by Jeremy Boynes <jb...@apache.org>.
It's not a dependency on Java6, it's a dependency on StAX  
(java.xml.stream). That happens to be included in Java6, but it is  
also included in Java5 Enterprise Edition and is available separately  
for use on Java5 Standard Edition and J2SE 1.4.

It seems the SDO implementation now has a hard runtime dependency on  
StAX in much the same way as it does on EMF so you need to make sure  
a StAX implementation is available at runtime. You can:
* run on Java6
* run on Java 5 EE
* run on 1.4 and supply your own StAX implementation

If you choose to supply your own implementation, you can use the  
java.xml.stream API classes from Sun or use the open-source version  
stax-api v1.0 or 1.0.1. Similarly you can use the reference  
implementation (from Sun/BEA), or use an open-source implementation  
such as woodstox.

--
Jeremy

On Feb 13, 2007, at 1:40 PM, Robbie Minshall wrote:

> By compiling with a jar that has Java 6 dependancy we are ourselves  
> creating
> a dependancy on Java 6 for the SDO impl jar.   This seems to be a  
> problem to
> me.   No ?
>
> Robbie
>
>
>
>
>
> On 2/13/07, Yang ZHONG <le...@gmail.com> wrote:
>>
>> sdo/impl/pom.xml declares dependency on stax-api, that's required to
>> compile
>> sdo impl.
>> StAX impl will be required for runtime if StAX support code path is
>> executed.
>>
>>
>> On 2/13/07, Robbie Minshall <my...@gmail.com> wrote:
>> >
>> > Paul identified a problem in
>> > https://issues.apache.org/jira/browse/TUSCANY-1105 which appears to
>> > indicate
>> > that the sdo impl jar has dependancies upon Java 6 for some code  
>> paths.
>> > This scneario is not limited to the CTS execution but should  
>> probably
>> > present itSelf at least when using the
>> > org.apache.tuscany.sdo.helper.XMLDocumentImpl.load code path.
>> >
>> > Paul points out that the issue is that the wstx-asl-3.2.0.jar and
>> > stax-api-1.0.1.jar files are built using java 6 since they contain
>> > references to javax.xml.stream.XMLStreamException which only  
>> exists in
>> > Java
>> > 6.
>> >
>> > The pom file indicates that stax is for optional features, and that
>> > woodstax
>> > is for testing purposes.
>> >
>> > Do we need these dependancies ?
>> >
>> > Should we use a different version of these dependancies ?
>> >
>> > What solutions do people suggest for resolving this issue ?
>> >
>> > cheers,
>> > Robbie
>> >
>> >
>> >
>> > --
>> > * * * Charlie * * *
>> > Check out some pics of little Charlie at
>> > http://www.flickr.com/photos/83388211@N00/sets/
>> >
>> > Check out Charlie's al crapo blog at http:// 
>> robbieminshall.blogspot.com
>> >
>> > * * * Addresss * * *
>> > 1914 Overland Drive
>> > Chapel Hill
>> > NC 27517
>> >
>> > * * * Number * * *
>> > 919-225-1553
>> >
>>
>>
>>
>> --
>>
>> Yang ZHONG
>>
>
>
>
> -- 
> * * * Charlie * * *
> Check out some pics of little Charlie at
> http://www.flickr.com/photos/83388211@N00/sets/
>
> Check out Charlie's al crapo blog at http:// 
> robbieminshall.blogspot.com
>
> * * * Addresss * * *
> 1914 Overland Drive
> Chapel Hill
> NC 27517
>
> * * * Number * * *
> 919-225-1553


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


Re: SDO impl Java 6 dependancy

Posted by Robbie Minshall <my...@gmail.com>.
By compiling with a jar that has Java 6 dependancy we are ourselves creating
a dependancy on Java 6 for the SDO impl jar.   This seems to be a problem to
me.   No ?

Robbie





On 2/13/07, Yang ZHONG <le...@gmail.com> wrote:
>
> sdo/impl/pom.xml declares dependency on stax-api, that's required to
> compile
> sdo impl.
> StAX impl will be required for runtime if StAX support code path is
> executed.
>
>
> On 2/13/07, Robbie Minshall <my...@gmail.com> wrote:
> >
> > Paul identified a problem in
> > https://issues.apache.org/jira/browse/TUSCANY-1105 which appears to
> > indicate
> > that the sdo impl jar has dependancies upon Java 6 for some code paths.
> > This scneario is not limited to the CTS execution but should probably
> > present itSelf at least when using the
> > org.apache.tuscany.sdo.helper.XMLDocumentImpl.load code path.
> >
> > Paul points out that the issue is that the wstx-asl-3.2.0.jar and
> > stax-api-1.0.1.jar files are built using java 6 since they contain
> > references to javax.xml.stream.XMLStreamException which only exists in
> > Java
> > 6.
> >
> > The pom file indicates that stax is for optional features, and that
> > woodstax
> > is for testing purposes.
> >
> > Do we need these dependancies ?
> >
> > Should we use a different version of these dependancies ?
> >
> > What solutions do people suggest for resolving this issue ?
> >
> > cheers,
> > Robbie
> >
> >
> >
> > --
> > * * * Charlie * * *
> > Check out some pics of little Charlie at
> > http://www.flickr.com/photos/83388211@N00/sets/
> >
> > Check out Charlie's al crapo blog at http://robbieminshall.blogspot.com
> >
> > * * * Addresss * * *
> > 1914 Overland Drive
> > Chapel Hill
> > NC 27517
> >
> > * * * Number * * *
> > 919-225-1553
> >
>
>
>
> --
>
> Yang ZHONG
>



-- 
* * * Charlie * * *
Check out some pics of little Charlie at
http://www.flickr.com/photos/83388211@N00/sets/

Check out Charlie's al crapo blog at http://robbieminshall.blogspot.com

* * * Addresss * * *
1914 Overland Drive
Chapel Hill
NC 27517

* * * Number * * *
919-225-1553

Re: SDO impl Java 6 dependancy

Posted by Yang ZHONG <le...@gmail.com>.
sdo/impl/pom.xml declares dependency on stax-api, that's required to compile
sdo impl.
StAX impl will be required for runtime if StAX support code path is
executed.


On 2/13/07, Robbie Minshall <my...@gmail.com> wrote:
>
> Paul identified a problem in
> https://issues.apache.org/jira/browse/TUSCANY-1105 which appears to
> indicate
> that the sdo impl jar has dependancies upon Java 6 for some code paths.
> This scneario is not limited to the CTS execution but should probably
> present itSelf at least when using the
> org.apache.tuscany.sdo.helper.XMLDocumentImpl.load code path.
>
> Paul points out that the issue is that the wstx-asl-3.2.0.jar and
> stax-api-1.0.1.jar files are built using java 6 since they contain
> references to javax.xml.stream.XMLStreamException which only exists in
> Java
> 6.
>
> The pom file indicates that stax is for optional features, and that
> woodstax
> is for testing purposes.
>
> Do we need these dependancies ?
>
> Should we use a different version of these dependancies ?
>
> What solutions do people suggest for resolving this issue ?
>
> cheers,
> Robbie
>
>
>
> --
> * * * Charlie * * *
> Check out some pics of little Charlie at
> http://www.flickr.com/photos/83388211@N00/sets/
>
> Check out Charlie's al crapo blog at http://robbieminshall.blogspot.com
>
> * * * Addresss * * *
> 1914 Overland Drive
> Chapel Hill
> NC 27517
>
> * * * Number * * *
> 919-225-1553
>



-- 

Yang ZHONG