Re: Anyone seen a M2 XSTLC plugin?

2006-12-12 Thread Mark Hobson

On 12/12/06, Wayne Fay <[EMAIL PROTECTED]> wrote:

Updated MOJO-483 with my changed files as previously mentioned.

Tkae a look when you have a chance...


Thanks Wayne, will do when I get a moment.

Mark

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Anyone seen a M2 XSTLC plugin?

2006-12-11 Thread Wayne Fay

Updated MOJO-483 with my changed files as previously mentioned.

Tkae a look when you have a chance...

Wayne

On 12/9/06, Wayne Fay <[EMAIL PROTECTED]> wrote:

The code submitted from MattW doesn't work entirely right for some
reason... I added the proper configuration etc (with 2 stylesheets)
and yet I only ever ended up with 1 compiled class file.

So I modified the code myself and used the XSLTC.compile(Vector)
method rather than XSLTC.compile(URL) multiple times, and now it works
great. ;-)

Oh also, the MattW contribution requires JDK5 for no particular reason
(enhanced for loop) so I converted the for loops back to old style and
it works fine in JDK1.4.2. Haven't tested yet with JDK1.3 but don't
see any obvious reason why it wouldn't work.

I'll update the MOJO-483 with my changes later today. Mark, check it
out when you have a chance, it works great. Then perhaps we'll see
about merging it with xml-m-p.

Wayne

On 12/9/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> I just found this:
> http://jira.codehaus.org/browse/MOJO-483
>
> Haven't tried it yet, but it teaches me to search JIRA first next
> time! And even if this isn't perfect, it gives me something to work
> with rather than starting from scratch.
>
> Thanks to Matt Whitlock if you're reading... And I'm curious why this
> didn't ever land in MOJO as a proper plugin etc?
>
> Wayne
>
> On 12/6/06, Mark Hobson <[EMAIL PROTECTED]> wrote:
> > On 06/12/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > > Good point, Mark. Depending on the results of some things out of my
> > > control, I'm going to probably need to use XSLTC during the build
> > > process, so I'll see about adding the functionality to that existing
> > > plugin. Assuming I get it working (currently works great from command
> > > line but not from Ant), I'll certainly contribute the code back for
> > > the benefit of others.
> >
> > Great, I'd definitely be interested in helping out if needs be.  Our
> > requirements would be to make it as pluggable as possible, since we
> > have custom URIResolver's and the like.
> >
> > Cheers,
> >
> > Mark
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Anyone seen a M2 XSTLC plugin?

2006-12-09 Thread Wayne Fay

The code submitted from MattW doesn't work entirely right for some
reason... I added the proper configuration etc (with 2 stylesheets)
and yet I only ever ended up with 1 compiled class file.

So I modified the code myself and used the XSLTC.compile(Vector)
method rather than XSLTC.compile(URL) multiple times, and now it works
great. ;-)

Oh also, the MattW contribution requires JDK5 for no particular reason
(enhanced for loop) so I converted the for loops back to old style and
it works fine in JDK1.4.2. Haven't tested yet with JDK1.3 but don't
see any obvious reason why it wouldn't work.

I'll update the MOJO-483 with my changes later today. Mark, check it
out when you have a chance, it works great. Then perhaps we'll see
about merging it with xml-m-p.

Wayne

On 12/9/06, Wayne Fay <[EMAIL PROTECTED]> wrote:

I just found this:
http://jira.codehaus.org/browse/MOJO-483

Haven't tried it yet, but it teaches me to search JIRA first next
time! And even if this isn't perfect, it gives me something to work
with rather than starting from scratch.

Thanks to Matt Whitlock if you're reading... And I'm curious why this
didn't ever land in MOJO as a proper plugin etc?

Wayne

On 12/6/06, Mark Hobson <[EMAIL PROTECTED]> wrote:
> On 06/12/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > Good point, Mark. Depending on the results of some things out of my
> > control, I'm going to probably need to use XSLTC during the build
> > process, so I'll see about adding the functionality to that existing
> > plugin. Assuming I get it working (currently works great from command
> > line but not from Ant), I'll certainly contribute the code back for
> > the benefit of others.
>
> Great, I'd definitely be interested in helping out if needs be.  Our
> requirements would be to make it as pluggable as possible, since we
> have custom URIResolver's and the like.
>
> Cheers,
>
> Mark
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Anyone seen a M2 XSTLC plugin?

2006-12-09 Thread Dan Tran

wayne, you may want to file a issue against xml-maven-plugin for the merge.
;-)

-D


On 12/9/06, Mark Hobson <[EMAIL PROTECTED]> wrote:


On 09/12/06, Dan Tran <[EMAIL PROTECTED]> wrote:
> it has 0 vote  ;-) until now :-).  I wonder if it should be merged into
> xml-maven-plugin
> or stands by itself

+1 to merge into the xml-maven-plugin.

Mark

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Anyone seen a M2 XSTLC plugin?

2006-12-09 Thread Mark Hobson

On 09/12/06, Dan Tran <[EMAIL PROTECTED]> wrote:

it has 0 vote  ;-) until now :-).  I wonder if it should be merged into
xml-maven-plugin
or stands by itself


+1 to merge into the xml-maven-plugin.

Mark

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Anyone seen a M2 XSTLC plugin?

2006-12-08 Thread Dan Tran

it has 0 vote  ;-) until now :-).  I wonder if it should be merged into
xml-maven-plugin
or stands by itself

-D


On 12/8/06, Wayne Fay <[EMAIL PROTECTED]> wrote:


I just found this:
http://jira.codehaus.org/browse/MOJO-483

Haven't tried it yet, but it teaches me to search JIRA first next
time! And even if this isn't perfect, it gives me something to work
with rather than starting from scratch.

Thanks to Matt Whitlock if you're reading... And I'm curious why this
didn't ever land in MOJO as a proper plugin etc?

Wayne

On 12/6/06, Mark Hobson <[EMAIL PROTECTED]> wrote:
> On 06/12/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > Good point, Mark. Depending on the results of some things out of my
> > control, I'm going to probably need to use XSLTC during the build
> > process, so I'll see about adding the functionality to that existing
> > plugin. Assuming I get it working (currently works great from command
> > line but not from Ant), I'll certainly contribute the code back for
> > the benefit of others.
>
> Great, I'd definitely be interested in helping out if needs be.  Our
> requirements would be to make it as pluggable as possible, since we
> have custom URIResolver's and the like.
>
> Cheers,
>
> Mark
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Anyone seen a M2 XSTLC plugin?

2006-12-08 Thread Wayne Fay

I just found this:
http://jira.codehaus.org/browse/MOJO-483

Haven't tried it yet, but it teaches me to search JIRA first next
time! And even if this isn't perfect, it gives me something to work
with rather than starting from scratch.

Thanks to Matt Whitlock if you're reading... And I'm curious why this
didn't ever land in MOJO as a proper plugin etc?

Wayne

On 12/6/06, Mark Hobson <[EMAIL PROTECTED]> wrote:

On 06/12/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> Good point, Mark. Depending on the results of some things out of my
> control, I'm going to probably need to use XSLTC during the build
> process, so I'll see about adding the functionality to that existing
> plugin. Assuming I get it working (currently works great from command
> line but not from Ant), I'll certainly contribute the code back for
> the benefit of others.

Great, I'd definitely be interested in helping out if needs be.  Our
requirements would be to make it as pluggable as possible, since we
have custom URIResolver's and the like.

Cheers,

Mark

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Anyone seen a M2 XSTLC plugin?

2006-12-06 Thread Mark Hobson

On 06/12/06, Wayne Fay <[EMAIL PROTECTED]> wrote:

Good point, Mark. Depending on the results of some things out of my
control, I'm going to probably need to use XSLTC during the build
process, so I'll see about adding the functionality to that existing
plugin. Assuming I get it working (currently works great from command
line but not from Ant), I'll certainly contribute the code back for
the benefit of others.


Great, I'd definitely be interested in helping out if needs be.  Our
requirements would be to make it as pluggable as possible, since we
have custom URIResolver's and the like.

Cheers,

Mark

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Anyone seen a M2 XSTLC plugin?

2006-12-06 Thread Wayne Fay

Good point, Mark. Depending on the results of some things out of my
control, I'm going to probably need to use XSLTC during the build
process, so I'll see about adding the functionality to that existing
plugin. Assuming I get it working (currently works great from command
line but not from Ant), I'll certainly contribute the code back for
the benefit of others.

Wayne

On 12/6/06, Mark Hobson <[EMAIL PROTECTED]> wrote:

On 05/12/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> Just curious if anyone has seen or created a Maven2 XSLTC plugin? I
> googled but didn't find anything.

I'm sure you're already aware of the xml-maven-plugin [1].  Although
it hasn't got support for XSLTC as such, that'd probably be a sensible
place to add it to.

I'd also be interested in this since we XSLTC at runtime too.

Cheers,

Mark

[1] http://mojo.codehaus.org/xml-maven-plugin/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Anyone seen a M2 XSTLC plugin?

2006-12-06 Thread Mark Hobson

On 05/12/06, Wayne Fay <[EMAIL PROTECTED]> wrote:

Just curious if anyone has seen or created a Maven2 XSLTC plugin? I
googled but didn't find anything.


I'm sure you're already aware of the xml-maven-plugin [1].  Although
it hasn't got support for XSLTC as such, that'd probably be a sensible
place to add it to.

I'd also be interested in this since we XSLTC at runtime too.

Cheers,

Mark

[1] http://mojo.codehaus.org/xml-maven-plugin/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Anyone seen a M2 XSTLC plugin?

2006-12-05 Thread Wayne Fay

Just curious if anyone has seen or created a Maven2 XSLTC plugin? I
googled but didn't find anything.

I've recently decided to try compiling the XSLTs in our WAR in hopes
of improving the performance of our webapp. I got things to work from
the command line and I think this is a good approach, but before I
write my own plugin, I thought I'd see if anyone else is doing this
already.

Thanks.
Wayne

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]