You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Henri Yandell <ba...@generationjava.com> on 2005/02/24 03:18:21 UTC

[site] Working under 1.5 Was: Problems under 1.5

Following the lead of every great salesman, I'll begin by informing one 
and all that the site now generates under 1.5 quite happily. I'm using 
1.5.0-rc under Debian Linux.

If pine could do smallprint, I'd point out that 1.4 doesn't work now. I 
think it's going to be easier to fix 1.4 issues than to fix 1.5 issues.

There's still the great big stinking pain of their different 
indentation/attribute-order, which we could possibly solve by shipping 
xsltc and forcing use of that. JDK 1.5 doesn't require the bootclasspath 
pain to get a different version of xsltc than the one in the jdk to work 
(as sun don't use the apache namespace for their variant).

A driving reason for making 1.5 the working one and not 1.4 is that it's 
quite simply better. 10 seconds vs 2 minutes is hard to argue with. The 
biggest negative I know is that it cuts Mac users out (and I'm one of 
those). In a few months we'll be upgrading to 1.5 (Steve willing).

I'll work on ant-hackery to make the 1.4 one at least be correct, and then 
hopefully we can echo a suggestion that using 1.5 is much preferable to 
1.4 to avoid the evil svn diffs. If needed, we can then look at shipping 
xsltc with the build.

Hen

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
For additional commands, e-mail: general-help@jakarta.apache.org


Re: [site] Working under 1.5 Was: Problems under 1.5

Posted by sebb <se...@gmail.com>.
Just a follow-up:

The hard-coded paths have been turned into parameters, which in turn
are now passed in from the Ant script.

The properties passed in as parameters were already defined using
location, rather than value, so they become absolute paths - i.e.
there is no more need to move the 1.4 files after generation. So the
1.4 hacks have been removed.

1.4 and 1.5 still generate different output, but I think I've got a
work-round for that (see separate e-mail)

S.
On Feb 24, 2005 4:41 AM, Henri Yandell <ba...@generationjava.com> wrote:
> 
> And now works under 1.4, at least my OS X.
> 
> Still with the proviso that switching between 1.4 and 1.5 will lead to
> large svn diffs, so I've got a big warning at the top of the ant output
> that recommends 1.5.
> 
> The hacks for 1.4 are clearly defined, but there is a bit of hard-coding
> of path into the xsl files to get it working under 1.5 that wouldn't be
> there if I had a clue how to make that work nicely.
> 
> Hen
> 
> On Wed, 23 Feb 2005, Henri Yandell wrote:
> 
> >
> > Following the lead of every great salesman, I'll begin by informing one and
> > all that the site now generates under 1.5 quite happily. I'm using 1.5.0-rc
> > under Debian Linux.
> >
> > If pine could do smallprint, I'd point out that 1.4 doesn't work now. I think
> > it's going to be easier to fix 1.4 issues than to fix 1.5 issues.
> >
> > There's still the great big stinking pain of their different
> > indentation/attribute-order, which we could possibly solve by shipping xsltc
> > and forcing use of that. JDK 1.5 doesn't require the bootclasspath pain to
> > get a different version of xsltc than the one in the jdk to work (as sun
> > don't use the apache namespace for their variant).
> >
> > A driving reason for making 1.5 the working one and not 1.4 is that it's
> > quite simply better. 10 seconds vs 2 minutes is hard to argue with. The
> > biggest negative I know is that it cuts Mac users out (and I'm one of those).
> > In a few months we'll be upgrading to 1.5 (Steve willing).
> >
> > I'll work on ant-hackery to make the 1.4 one at least be correct, and then
> > hopefully we can echo a suggestion that using 1.5 is much preferable to 1.4
> > to avoid the evil svn diffs. If needed, we can then look at shipping xsltc
> > with the build.
> >
> > Hen
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: general-help@jakarta.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
For additional commands, e-mail: general-help@jakarta.apache.org


Re: [site] Working under 1.5 Was: Problems under 1.5

Posted by Henri Yandell <ba...@generationjava.com>.
And now works under 1.4, at least my OS X.

Still with the proviso that switching between 1.4 and 1.5 will lead to 
large svn diffs, so I've got a big warning at the top of the ant output 
that recommends 1.5.

The hacks for 1.4 are clearly defined, but there is a bit of hard-coding 
of path into the xsl files to get it working under 1.5 that wouldn't be 
there if I had a clue how to make that work nicely.

Hen

On Wed, 23 Feb 2005, Henri Yandell wrote:

>
> Following the lead of every great salesman, I'll begin by informing one and 
> all that the site now generates under 1.5 quite happily. I'm using 1.5.0-rc 
> under Debian Linux.
>
> If pine could do smallprint, I'd point out that 1.4 doesn't work now. I think 
> it's going to be easier to fix 1.4 issues than to fix 1.5 issues.
>
> There's still the great big stinking pain of their different 
> indentation/attribute-order, which we could possibly solve by shipping xsltc 
> and forcing use of that. JDK 1.5 doesn't require the bootclasspath pain to 
> get a different version of xsltc than the one in the jdk to work (as sun 
> don't use the apache namespace for their variant).
>
> A driving reason for making 1.5 the working one and not 1.4 is that it's 
> quite simply better. 10 seconds vs 2 minutes is hard to argue with. The 
> biggest negative I know is that it cuts Mac users out (and I'm one of those). 
> In a few months we'll be upgrading to 1.5 (Steve willing).
>
> I'll work on ant-hackery to make the 1.4 one at least be correct, and then 
> hopefully we can echo a suggestion that using 1.5 is much preferable to 1.4 
> to avoid the evil svn diffs. If needed, we can then look at shipping xsltc 
> with the build.
>
> Hen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
For additional commands, e-mail: general-help@jakarta.apache.org