You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bob mcwhirter <bo...@werken.com> on 2002/07/18 23:25:59 UTC
[betwixt] SAXBeanWriter
Howdy,
We're attempting, in mavenland, to convert a JavaBean to an
org.dom4j.Document, in-memory.
I see that BeanReader can take an XMLReader, but I was hoping for a
BeanWriter that could take a SAX content-handler.
I could then wire up my dom4j.SAXReader to a SAXBeanWriter, and void
having to go to the filesystem or a piped inputstream or something
less optimal.
Am I missing an easy way for betwixt to generate SAX events?
-bob
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [betwixt] SAXBeanWriter
Posted by Martin van den Bemt <ml...@mvdb.net>.
btw you can find me now on whichever #betwixt..
Mvgr,
Martin
On Fri, 2002-07-19 at 00:01, robert burrell donkin wrote:
>
> On Thursday, July 18, 2002, at 10:51 PM, Jason van Zyl wrote:
>
> > On Thu, 2002-07-18 at 17:35, robert burrell donkin wrote:
> >> hi bob
> >>
> >> SAXBeanWriter does not exist as yet but has been on the to do list (both
> >> mine and betwixt's) for a while.
> >>
> >> if you want to use it in maven i could probably put the digester and
> >> beanutils stuff i've been looking at on the backburner and take a look at
> >> it.
> >
> > That would be awesome! If I can help let me know as I need it as soon as
> > I can get my hands on it :-)
>
> the good news is that since it's been in the pipeline for a while
> BeanWriter has already been refactored to (hopefully) make it easier to
> extract a parent class containing the logic.
>
> the bad news is that it's now late thursday for me. friday night i'll be
> down the pub, then playing cricket all day saturday followed by a 21st
> birthday party in the evening so i'm not sure how much coding time i'll be
> able to find.
>
> what i'm going to try to do now is to knock up something rough quickly
> that (hopefully) you might be able to take forward and debug. not sure
> when it'll be ready, though.
>
> - robert
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [betwixt] SAXBeanWriter
Posted by Martin van den Bemt <ml...@mvdb.net>.
I can help out probably.. I have a day off tomorrow..
I can start on it now or wait for your commit and take it over from
there tomorrow..
Let me know..
Mvgr,
Martin
On Fri, 2002-07-19 at 00:01, robert burrell donkin wrote:
>
> On Thursday, July 18, 2002, at 10:51 PM, Jason van Zyl wrote:
>
> > On Thu, 2002-07-18 at 17:35, robert burrell donkin wrote:
> >> hi bob
> >>
> >> SAXBeanWriter does not exist as yet but has been on the to do list (both
> >> mine and betwixt's) for a while.
> >>
> >> if you want to use it in maven i could probably put the digester and
> >> beanutils stuff i've been looking at on the backburner and take a look at
> >> it.
> >
> > That would be awesome! If I can help let me know as I need it as soon as
> > I can get my hands on it :-)
>
> the good news is that since it's been in the pipeline for a while
> BeanWriter has already been refactored to (hopefully) make it easier to
> extract a parent class containing the logic.
>
> the bad news is that it's now late thursday for me. friday night i'll be
> down the pub, then playing cricket all day saturday followed by a 21st
> birthday party in the evening so i'm not sure how much coding time i'll be
> able to find.
>
> what i'm going to try to do now is to knock up something rough quickly
> that (hopefully) you might be able to take forward and debug. not sure
> when it'll be ready, though.
>
> - robert
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [betwixt] SAXBeanWriter
Posted by Martin van den Bemt <ml...@mvdb.net>.
It builds fine from maven head...
Mvgr,
Martin
On Fri, 2002-07-19 at 00:09, robert burrell donkin wrote:
> does anyone know a quick way to get my betwixt build working again?
>
> i had it working with maven before but since the build files were changed,
> i've been having problems...
>
> - robert
>
>
> On Thursday, July 18, 2002, at 11:05 PM, Jason van Zyl wrote:
>
> > On Thu, 2002-07-18 at 18:01, robert burrell donkin wrote:
> >>
> >> On Thursday, July 18, 2002, at 10:51 PM, Jason van Zyl wrote:
> >>
> >>> On Thu, 2002-07-18 at 17:35, robert burrell donkin wrote:
> >>>> hi bob
> >>>>
> >>>> SAXBeanWriter does not exist as yet but has been on the to do list
> >>>> (both
> >>>> mine and betwixt's) for a while.
> >>>>
> >>>> if you want to use it in maven i could probably put the digester and
> >>>> beanutils stuff i've been looking at on the backburner and take a
> >>>> look at
> >>>> it.
> >>>
> >>> That would be awesome! If I can help let me know as I need it as soon as
> >>> I can get my hands on it :-)
> >>
> >> the good news is that since it's been in the pipeline for a while
> >> BeanWriter has already been refactored to (hopefully) make it easier to
> >> extract a parent class containing the logic.
> >>
> >> the bad news is that it's now late thursday for me. friday night i'll be
> >> down the pub, then playing cricket all day saturday followed by a 21st
> >> birthday party in the evening so i'm not sure how much coding time i'll
> >> be
> >> able to find.
> >>
> >> what i'm going to try to do now is to knock up something rough quickly
> >> that (hopefully) you might be able to take forward and debug. not sure
> >> when it'll be ready, though.
> >
> > If you start it I'm sure I can finish it. James can push me in the right
> > direction if I get stuck. This little bit will fully allow the use of
> > the object model in all Maven reports. No more using the project.xml
> > file directly. So that I can yank out a Project object from a database
> > and perform DVSL transformations on it.
> >
> > I would grateful if you could whack something together.
> >
> >> - robert
> >>
> >>
> >> --
> >> To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@jakarta.apache.
> >> org>
> >> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.
> >> org>
> > --
> > jvz.
> >
> > Jason van Zyl
> > jason@apache.org
> > http://tambora.zenplex.org
> >
> > In short, man creates for himself a new religion of a rational
> > and technical order to justify his work and to be justified in it.
> >
> > -- Jacques Ellul, The Technological Society
> >
> >
> > --
> > To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@jakarta.apache.
> > org>
> > For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.
> > org>
> >
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [betwixt] SAXBeanWriter
Posted by Jason van Zyl <ja...@zenplex.com>.
On Thu, 2002-07-18 at 18:09, robert burrell donkin wrote:
> does anyone know a quick way to get my betwixt build working again?
>
> i had it working with maven before but since the build files were changed,
> i've been having problems...
The project.xml file has kept up-to-date with maven HEAD because James
is on the cutting edge :-)
You can use the generated ant build.xml file :-)
> - robert
>
>
> On Thursday, July 18, 2002, at 11:05 PM, Jason van Zyl wrote:
>
> > On Thu, 2002-07-18 at 18:01, robert burrell donkin wrote:
> >>
> >> On Thursday, July 18, 2002, at 10:51 PM, Jason van Zyl wrote:
> >>
> >>> On Thu, 2002-07-18 at 17:35, robert burrell donkin wrote:
> >>>> hi bob
> >>>>
> >>>> SAXBeanWriter does not exist as yet but has been on the to do list
> >>>> (both
> >>>> mine and betwixt's) for a while.
> >>>>
> >>>> if you want to use it in maven i could probably put the digester and
> >>>> beanutils stuff i've been looking at on the backburner and take a
> >>>> look at
> >>>> it.
> >>>
> >>> That would be awesome! If I can help let me know as I need it as soon as
> >>> I can get my hands on it :-)
> >>
> >> the good news is that since it's been in the pipeline for a while
> >> BeanWriter has already been refactored to (hopefully) make it easier to
> >> extract a parent class containing the logic.
> >>
> >> the bad news is that it's now late thursday for me. friday night i'll be
> >> down the pub, then playing cricket all day saturday followed by a 21st
> >> birthday party in the evening so i'm not sure how much coding time i'll
> >> be
> >> able to find.
> >>
> >> what i'm going to try to do now is to knock up something rough quickly
> >> that (hopefully) you might be able to take forward and debug. not sure
> >> when it'll be ready, though.
> >
> > If you start it I'm sure I can finish it. James can push me in the right
> > direction if I get stuck. This little bit will fully allow the use of
> > the object model in all Maven reports. No more using the project.xml
> > file directly. So that I can yank out a Project object from a database
> > and perform DVSL transformations on it.
> >
> > I would grateful if you could whack something together.
> >
> >> - robert
> >>
> >>
> >> --
> >> To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@jakarta.apache.
> >> org>
> >> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.
> >> org>
> > --
> > jvz.
> >
> > Jason van Zyl
> > jason@apache.org
> > http://tambora.zenplex.org
> >
> > In short, man creates for himself a new religion of a rational
> > and technical order to justify his work and to be justified in it.
> >
> > -- Jacques Ellul, The Technological Society
> >
> >
> > --
> > To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@jakarta.apache.
> > org>
> > For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.
> > org>
> >
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
jvz.
Jason van Zyl
jason@apache.org
http://tambora.zenplex.org
In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
-- Jacques Ellul, The Technological Society
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [betwixt] SAXBeanWriter
Posted by robert burrell donkin <ro...@mac.com>.
does anyone know a quick way to get my betwixt build working again?
i had it working with maven before but since the build files were changed,
i've been having problems...
- robert
On Thursday, July 18, 2002, at 11:05 PM, Jason van Zyl wrote:
> On Thu, 2002-07-18 at 18:01, robert burrell donkin wrote:
>>
>> On Thursday, July 18, 2002, at 10:51 PM, Jason van Zyl wrote:
>>
>>> On Thu, 2002-07-18 at 17:35, robert burrell donkin wrote:
>>>> hi bob
>>>>
>>>> SAXBeanWriter does not exist as yet but has been on the to do list
>>>> (both
>>>> mine and betwixt's) for a while.
>>>>
>>>> if you want to use it in maven i could probably put the digester and
>>>> beanutils stuff i've been looking at on the backburner and take a
>>>> look at
>>>> it.
>>>
>>> That would be awesome! If I can help let me know as I need it as soon as
>>> I can get my hands on it :-)
>>
>> the good news is that since it's been in the pipeline for a while
>> BeanWriter has already been refactored to (hopefully) make it easier to
>> extract a parent class containing the logic.
>>
>> the bad news is that it's now late thursday for me. friday night i'll be
>> down the pub, then playing cricket all day saturday followed by a 21st
>> birthday party in the evening so i'm not sure how much coding time i'll
>> be
>> able to find.
>>
>> what i'm going to try to do now is to knock up something rough quickly
>> that (hopefully) you might be able to take forward and debug. not sure
>> when it'll be ready, though.
>
> If you start it I'm sure I can finish it. James can push me in the right
> direction if I get stuck. This little bit will fully allow the use of
> the object model in all Maven reports. No more using the project.xml
> file directly. So that I can yank out a Project object from a database
> and perform DVSL transformations on it.
>
> I would grateful if you could whack something together.
>
>> - robert
>>
>>
>> --
>> To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@jakarta.apache.
>> org>
>> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.
>> org>
> --
> jvz.
>
> Jason van Zyl
> jason@apache.org
> http://tambora.zenplex.org
>
> In short, man creates for himself a new religion of a rational
> and technical order to justify his work and to be justified in it.
>
> -- Jacques Ellul, The Technological Society
>
>
> --
> To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@jakarta.apache.
> org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.
> org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [betwixt] SAXBeanWriter
Posted by Jason van Zyl <ja...@zenplex.com>.
On Thu, 2002-07-18 at 18:01, robert burrell donkin wrote:
>
> On Thursday, July 18, 2002, at 10:51 PM, Jason van Zyl wrote:
>
> > On Thu, 2002-07-18 at 17:35, robert burrell donkin wrote:
> >> hi bob
> >>
> >> SAXBeanWriter does not exist as yet but has been on the to do list (both
> >> mine and betwixt's) for a while.
> >>
> >> if you want to use it in maven i could probably put the digester and
> >> beanutils stuff i've been looking at on the backburner and take a look at
> >> it.
> >
> > That would be awesome! If I can help let me know as I need it as soon as
> > I can get my hands on it :-)
>
> the good news is that since it's been in the pipeline for a while
> BeanWriter has already been refactored to (hopefully) make it easier to
> extract a parent class containing the logic.
>
> the bad news is that it's now late thursday for me. friday night i'll be
> down the pub, then playing cricket all day saturday followed by a 21st
> birthday party in the evening so i'm not sure how much coding time i'll be
> able to find.
>
> what i'm going to try to do now is to knock up something rough quickly
> that (hopefully) you might be able to take forward and debug. not sure
> when it'll be ready, though.
If you start it I'm sure I can finish it. James can push me in the right
direction if I get stuck. This little bit will fully allow the use of
the object model in all Maven reports. No more using the project.xml
file directly. So that I can yank out a Project object from a database
and perform DVSL transformations on it.
I would grateful if you could whack something together.
> - robert
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
jvz.
Jason van Zyl
jason@apache.org
http://tambora.zenplex.org
In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
-- Jacques Ellul, The Technological Society
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [betwixt] SAXBeanWriter
Posted by robert burrell donkin <ro...@mac.com>.
On Thursday, July 18, 2002, at 10:51 PM, Jason van Zyl wrote:
> On Thu, 2002-07-18 at 17:35, robert burrell donkin wrote:
>> hi bob
>>
>> SAXBeanWriter does not exist as yet but has been on the to do list (both
>> mine and betwixt's) for a while.
>>
>> if you want to use it in maven i could probably put the digester and
>> beanutils stuff i've been looking at on the backburner and take a look at
>> it.
>
> That would be awesome! If I can help let me know as I need it as soon as
> I can get my hands on it :-)
the good news is that since it's been in the pipeline for a while
BeanWriter has already been refactored to (hopefully) make it easier to
extract a parent class containing the logic.
the bad news is that it's now late thursday for me. friday night i'll be
down the pub, then playing cricket all day saturday followed by a 21st
birthday party in the evening so i'm not sure how much coding time i'll be
able to find.
what i'm going to try to do now is to knock up something rough quickly
that (hopefully) you might be able to take forward and debug. not sure
when it'll be ready, though.
- robert
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [betwixt] SAXBeanWriter
Posted by Jason van Zyl <ja...@zenplex.com>.
On Thu, 2002-07-18 at 17:35, robert burrell donkin wrote:
> hi bob
>
> SAXBeanWriter does not exist as yet but has been on the to do list (both
> mine and betwixt's) for a while.
>
> if you want to use it in maven i could probably put the digester and
> beanutils stuff i've been looking at on the backburner and take a look at
> it.
That would be awesome! If I can help let me know as I need it as soon as
I can get my hands on it :-)
> - robert
>
> On Thursday, July 18, 2002, at 10:25 PM, bob mcwhirter wrote:
>
> > Howdy,
> >
> > We're attempting, in mavenland, to convert a JavaBean to an
> > org.dom4j.Document, in-memory.
> >
> > I see that BeanReader can take an XMLReader, but I was hoping for a
> > BeanWriter that could take a SAX content-handler.
> >
> > I could then wire up my dom4j.SAXReader to a SAXBeanWriter, and void
> > having to go to the filesystem or a piped inputstream or something
> > less optimal.
> >
> > Am I missing an easy way for betwixt to generate SAX events?
> >
> > -bob
> >
> >
> >
> > --
> > To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@jakarta.apache.
> > org>
> > For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.
> > org>
> >
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
jvz.
Jason van Zyl
jason@apache.org
http://tambora.zenplex.org
In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
-- Jacques Ellul, The Technological Society
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [betwixt] SAXBeanWriter
Posted by bob mcwhirter <bo...@werken.com>.
> if you want to use it in maven i could probably put the digester and
> beanutils stuff i've been looking at on the backburner and take a look at
> it.
Whew... I truly can't tell you what to do. If you have any particular
thoughts on the design (I'm not a betwixter, m'self), I'd be glad to
give a while at writing it myself, for maven. Push it back to commons-betwixt
once you sign off on it.
-bob
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [betwixt] SAXBeanWriter
Posted by robert burrell donkin <ro...@mac.com>.
hi bob
SAXBeanWriter does not exist as yet but has been on the to do list (both
mine and betwixt's) for a while.
if you want to use it in maven i could probably put the digester and
beanutils stuff i've been looking at on the backburner and take a look at
it.
- robert
On Thursday, July 18, 2002, at 10:25 PM, bob mcwhirter wrote:
> Howdy,
>
> We're attempting, in mavenland, to convert a JavaBean to an
> org.dom4j.Document, in-memory.
>
> I see that BeanReader can take an XMLReader, but I was hoping for a
> BeanWriter that could take a SAX content-handler.
>
> I could then wire up my dom4j.SAXReader to a SAXBeanWriter, and void
> having to go to the filesystem or a piped inputstream or something
> less optimal.
>
> Am I missing an easy way for betwixt to generate SAX events?
>
> -bob
>
>
>
> --
> To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@jakarta.apache.
> org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.
> org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>