You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Howard Lewis Ship <hl...@gmail.com> on 2005/02/22 20:09:48 UTC

Re: Problems under 1.5 Was: [site] New Jakarta download pages

I think we should not be checking in derived files.

I think the process should be:
1) Build and test locally
2) SVN checkin
3) Log into jakarta
4) SVN checkout
5) Build to staging area; test stage
6) Build to production; test production

The build.xml needs to have targets:
build -- local build (to target/site)
build-stage -- to /www/jakarta-stage.apache.org ?
build-prod - to /www/jakarta.apache.org

The build scripts can be smart about setting file permissions & etc.


On Tue, 22 Feb 2005 12:42:45 -0500 (EST), Henri Yandell
<ba...@generationjava.com> wrote:
> 
> 
> On Tue, 22 Feb 2005, Stefan Bodewig wrote:
> 
> > While it was using XSLTC, which is the TraX processor shipping with
> > JDK 1.5.  We now switched to Xalan-J's CVS HEAD.
> 
> I give up :)
> 
> How would I force it to be dependent on a particular version of Xalan?
> 
> Along with the problems with .cgi files and xhtml, xsltc appears to sort
> the attributes of a html tag differently so if we have 1 person using 1.4
> and 1 using 1.5, our diffs are going to be spammed by attributes rotating
> back and forth.
> 
> Throw in possible worries that the http:// url was causing problems under
> 1.4 and it seems to not be worth the trouble.
> 
> Hen
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
> 
> 


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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


Re: Problems under 1.5 Was: [site] New Jakarta download pages

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 22 Feb 2005, Henri Yandell <ba...@generationjava.com> wrote:

> The current problems are largely due to a stupid assumption on my
> part that Xalan would be the JDK xslt handler forever.

XSLTC is considered the next generation of Xalan, or so it seems.

Looking at our Gump experience, whichever versions of Xerces and XSLTC
are included with JDK 1.5, they must be quite different from the
Apache CVS versions (Apache Xerces doesn't fully support DOM3 yet,
xml-commons is still at JAXP 1.2 level, XSLTC from CVS HEAD doesn't
even build under JDK 1.5 using any released version of Ant ...)

Stefan

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


Re: Problems under 1.5 Was: [site] New Jakarta download pages

Posted by Henri Yandell <ba...@generationjava.com>.
Short term, I just want to get this working asap. ie) add a fixed 
dependency on Xalan I think. Hopefully Stefan can help there. The current 
problems are largely due to a stupid assumption on my part that Xalan 
would be the JDK xslt handler forever.

Longer term, I think we shouldn't be building on personal machines. I'm 
hugely suspicious of the 'build to' concept.

For any Jakarta site or for the releasables themselves. We should do it 
all in a standard build server environment.

With the staging idea, I'd imagine we'd build to staging, then migrate 
staging to prod; rather than rebuilding to prod.

Hen

On Tue, 22 Feb 2005, Howard Lewis Ship wrote:

> I think we should not be checking in derived files.
>
> I think the process should be:
> 1) Build and test locally
> 2) SVN checkin
> 3) Log into jakarta
> 4) SVN checkout
> 5) Build to staging area; test stage
> 6) Build to production; test production
>
> The build.xml needs to have targets:
> build -- local build (to target/site)
> build-stage -- to /www/jakarta-stage.apache.org ?
> build-prod - to /www/jakarta.apache.org
>
> The build scripts can be smart about setting file permissions & etc.
>
>
> On Tue, 22 Feb 2005 12:42:45 -0500 (EST), Henri Yandell
> <ba...@generationjava.com> wrote:
>>
>>
>> On Tue, 22 Feb 2005, Stefan Bodewig wrote:
>>
>>> While it was using XSLTC, which is the TraX processor shipping with
>>> JDK 1.5.  We now switched to Xalan-J's CVS HEAD.
>>
>> I give up :)
>>
>> How would I force it to be dependent on a particular version of Xalan?
>>
>> Along with the problems with .cgi files and xhtml, xsltc appears to sort
>> the attributes of a html tag differently so if we have 1 person using 1.4
>> and 1 using 1.5, our diffs are going to be spammed by attributes rotating
>> back and forth.
>>
>> Throw in possible worries that the http:// url was causing problems under
>> 1.4 and it seems to not be worth the trouble.
>>
>> Hen
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: general-help@jakarta.apache.org
>>
>>
>
>
> -- 
> Howard M. Lewis Ship
> Independent J2EE / Open-Source Java Consultant
> Creator, Jakarta Tapestry
> Creator, Jakarta HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
>
> ---------------------------------------------------------------------
> 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: Problems under 1.5 Was: [site] New Jakarta download pages

Posted by Martin Cooper <mf...@gmail.com>.
On Tue, 22 Feb 2005 14:09:48 -0500, Howard Lewis Ship <hl...@gmail.com> wrote:
> I think we should not be checking in derived files.

One of the reasons for that is so that anyone on the infrastructure
team can quickly replace the site if it is corrupted or vandalised
somehow. They should not have to go through a build process before
they can do that.

--
Martin Cooper


> I think the process should be:
> 1) Build and test locally
> 2) SVN checkin
> 3) Log into jakarta
> 4) SVN checkout
> 5) Build to staging area; test stage
> 6) Build to production; test production
> 
> The build.xml needs to have targets:
> build -- local build (to target/site)
> build-stage -- to /www/jakarta-stage.apache.org ?
> build-prod - to /www/jakarta.apache.org
> 
> The build scripts can be smart about setting file permissions & etc.
> 
> On Tue, 22 Feb 2005 12:42:45 -0500 (EST), Henri Yandell
> <ba...@generationjava.com> wrote:
> >
> >
> > On Tue, 22 Feb 2005, Stefan Bodewig wrote:
> >
> > > While it was using XSLTC, which is the TraX processor shipping with
> > > JDK 1.5.  We now switched to Xalan-J's CVS HEAD.
> >
> > I give up :)
> >
> > How would I force it to be dependent on a particular version of Xalan?
> >
> > Along with the problems with .cgi files and xhtml, xsltc appears to sort
> > the attributes of a html tag differently so if we have 1 person using 1.4
> > and 1 using 1.5, our diffs are going to be spammed by attributes rotating
> > back and forth.
> >
> > Throw in possible worries that the http:// url was causing problems under
> > 1.4 and it seems to not be worth the trouble.
> >
> > Hen
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: general-help@jakarta.apache.org
> >
> >
> 
> --
> Howard M. Lewis Ship
> Independent J2EE / Open-Source Java Consultant
> Creator, Jakarta Tapestry
> Creator, Jakarta HiveMind
> 
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
> 
> ---------------------------------------------------------------------
> 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