You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Jason Hunter <jh...@acm.org> on 2004/02/18 23:50:39 UTC

Re: [jdom-interest] [Fwd: More JDOM changes]

As I wrote in a separate mail to a smaller set of addresses, the 
setEncoding() method just moved for the Format class.  The functionality 
is still there.

The setEncoding() method was actually deprecated quite a while ago, in 
early May 2003 per CVS logs.  We removed it from CVS recently after the 
Beta 10 release (we deprecate for one beta cycle) in preparation for a 
clean 1.0 release.  So you can either build against Beta 10 or continue 
to use HEAD and just change your usage (what I recommend).

-jh-

Antoine Lévy-Lambert wrote:

> 
> Hello,
> 
> Please read the email of Stefan Bodewig from the gump list.
> 
> concerning Velocity, the anakiatask has a class OutputWrapper which extends
> 
> org.jdom.output.XMLOutputter
> and relies on XMLOutputter supplying the setEncoding method.
> 
> Slide has 2 classes which use XMLOutputter#setEncoding
> 
> I do not know jdom, but it seems to me that it would be fair to restore 
> the setEncoding method in XMLOutputter and give some time to slide and 
> velocity to remove the usages of this method.
> 
> Comments ?
> 
> 
> Antoine
> 
> [1] velocity build failure visible on this URL : 
> http://gump.cocoondev.org/jakarta-velocity.html
> [2] source code of AnakiaTask 
> http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-velocity/src/java/org/apache/velocity/anakia/AnakiaTask.java?content-type=text%2Fplain&rev=1.34 
> 
> [3]  source code of OutputWrapper 
> http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-velocity/src/java/org/apache/velocity/anakia/OutputWrapper.java?content-type=text%2Fplain&rev=1.6 
> 
> [4] build failure of http://gump.cocoondev.org/jakarta-slide.html
> -------- Original Message --------
> Subject:     More JDOM changes
> Date:     Wed, 18 Feb 2004 12:36:34 +0100
> From:     Stefan Bodewig <bo...@apache.org>
> Reply-To:     Gump code and data <gu...@jakarta.apache.org>
> To:     gump@jakarta.apache.org
> 
> 
> 
> Hi,
> 
> it seems as if the JDOM saga continues, XMLOutputter#setEncoding has
> been removed leading to build failures in Velocity and Slide.  The
> method has been deprecated in beta10rc1 (maybe even beta9) and people
> are now expected to use the Format instead.
> 
> Stefan
> 
> 
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com 
> 
> 

Re: [jdom-interest] [Fwd: More JDOM changes]

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
We're happy to track, but if we can get all at once, that would be  
better, as we need to warn users of released and upcoming vel versions  
on what to use.

geir

On Feb 18, 2004, at 5:50 PM, Jason Hunter wrote:

> As I wrote in a separate mail to a smaller set of addresses, the  
> setEncoding() method just moved for the Format class.  The  
> functionality is still there.
>
> The setEncoding() method was actually deprecated quite a while ago, in  
> early May 2003 per CVS logs.  We removed it from CVS recently after  
> the Beta 10 release (we deprecate for one beta cycle) in preparation  
> for a clean 1.0 release.  So you can either build against Beta 10 or  
> continue to use HEAD and just change your usage (what I recommend).
>
> -jh-
>
> Antoine Lévy-Lambert wrote:
>
>> Hello,
>> Please read the email of Stefan Bodewig from the gump list.
>> concerning Velocity, the anakiatask has a class OutputWrapper which  
>> extends
>> org.jdom.output.XMLOutputter
>> and relies on XMLOutputter supplying the setEncoding method.
>> Slide has 2 classes which use XMLOutputter#setEncoding
>> I do not know jdom, but it seems to me that it would be fair to  
>> restore the setEncoding method in XMLOutputter and give some time to  
>> slide and velocity to remove the usages of this method.
>> Comments ?
>> Antoine
>> [1] velocity build failure visible on this URL :  
>> http://gump.cocoondev.org/jakarta-velocity.html
>> [2] source code of AnakiaTask  
>> http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-velocity/src/ 
>> java/org/apache/velocity/anakia/AnakiaTask.java?content- 
>> type=text%2Fplain&rev=1.34 [3]  source code of OutputWrapper  
>> http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-velocity/src/ 
>> java/org/apache/velocity/anakia/OutputWrapper.java?content- 
>> type=text%2Fplain&rev=1.6 [4] build failure of  
>> http://gump.cocoondev.org/jakarta-slide.html
>> -------- Original Message --------
>> Subject:     More JDOM changes
>> Date:     Wed, 18 Feb 2004 12:36:34 +0100
>> From:     Stefan Bodewig <bo...@apache.org>
>> Reply-To:     Gump code and data <gu...@jakarta.apache.org>
>> To:     gump@jakarta.apache.org
>> Hi,
>> it seems as if the JDOM saga continues, XMLOutputter#setEncoding has
>> been removed leading to build failures in Velocity and Slide.  The
>> method has been deprecated in beta10rc1 (maybe even beta9) and people
>> are now expected to use the Format instead.
>> Stefan
>> _______________________________________________
>> To control your jdom-interest membership:
>> http://lists.denveronline.net/mailman/options/jdom-interest/ 
>> youraddr@yourhost.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: gump-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: gump-help@jakarta.apache.org
>
>
-- 
Geir Magnusson Jr                                   203-247-1713(m)
geir@4quarters.com


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


Re: [jdom-interest] [Fwd: More JDOM changes]

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
We're happy to track, but if we can get all at once, that would be  
better, as we need to warn users of released and upcoming vel versions  
on what to use.

geir

On Feb 18, 2004, at 5:50 PM, Jason Hunter wrote:

> As I wrote in a separate mail to a smaller set of addresses, the  
> setEncoding() method just moved for the Format class.  The  
> functionality is still there.
>
> The setEncoding() method was actually deprecated quite a while ago, in  
> early May 2003 per CVS logs.  We removed it from CVS recently after  
> the Beta 10 release (we deprecate for one beta cycle) in preparation  
> for a clean 1.0 release.  So you can either build against Beta 10 or  
> continue to use HEAD and just change your usage (what I recommend).
>
> -jh-
>
> Antoine Lévy-Lambert wrote:
>
>> Hello,
>> Please read the email of Stefan Bodewig from the gump list.
>> concerning Velocity, the anakiatask has a class OutputWrapper which  
>> extends
>> org.jdom.output.XMLOutputter
>> and relies on XMLOutputter supplying the setEncoding method.
>> Slide has 2 classes which use XMLOutputter#setEncoding
>> I do not know jdom, but it seems to me that it would be fair to  
>> restore the setEncoding method in XMLOutputter and give some time to  
>> slide and velocity to remove the usages of this method.
>> Comments ?
>> Antoine
>> [1] velocity build failure visible on this URL :  
>> http://gump.cocoondev.org/jakarta-velocity.html
>> [2] source code of AnakiaTask  
>> http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-velocity/src/ 
>> java/org/apache/velocity/anakia/AnakiaTask.java?content- 
>> type=text%2Fplain&rev=1.34 [3]  source code of OutputWrapper  
>> http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-velocity/src/ 
>> java/org/apache/velocity/anakia/OutputWrapper.java?content- 
>> type=text%2Fplain&rev=1.6 [4] build failure of  
>> http://gump.cocoondev.org/jakarta-slide.html
>> -------- Original Message --------
>> Subject:     More JDOM changes
>> Date:     Wed, 18 Feb 2004 12:36:34 +0100
>> From:     Stefan Bodewig <bo...@apache.org>
>> Reply-To:     Gump code and data <gu...@jakarta.apache.org>
>> To:     gump@jakarta.apache.org
>> Hi,
>> it seems as if the JDOM saga continues, XMLOutputter#setEncoding has
>> been removed leading to build failures in Velocity and Slide.  The
>> method has been deprecated in beta10rc1 (maybe even beta9) and people
>> are now expected to use the Format instead.
>> Stefan
>> _______________________________________________
>> To control your jdom-interest membership:
>> http://lists.denveronline.net/mailman/options/jdom-interest/ 
>> youraddr@yourhost.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: gump-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: gump-help@jakarta.apache.org
>
>
-- 
Geir Magnusson Jr                                   203-247-1713(m)
geir@4quarters.com


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


Re: [jdom-interest] [Fwd: More JDOM changes]

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
We're happy to track, but if we can get all at once, that would be  
better, as we need to warn users of released and upcoming vel versions  
on what to use.

geir

On Feb 18, 2004, at 5:50 PM, Jason Hunter wrote:

> As I wrote in a separate mail to a smaller set of addresses, the  
> setEncoding() method just moved for the Format class.  The  
> functionality is still there.
>
> The setEncoding() method was actually deprecated quite a while ago, in  
> early May 2003 per CVS logs.  We removed it from CVS recently after  
> the Beta 10 release (we deprecate for one beta cycle) in preparation  
> for a clean 1.0 release.  So you can either build against Beta 10 or  
> continue to use HEAD and just change your usage (what I recommend).
>
> -jh-
>
> Antoine Lévy-Lambert wrote:
>
>> Hello,
>> Please read the email of Stefan Bodewig from the gump list.
>> concerning Velocity, the anakiatask has a class OutputWrapper which  
>> extends
>> org.jdom.output.XMLOutputter
>> and relies on XMLOutputter supplying the setEncoding method.
>> Slide has 2 classes which use XMLOutputter#setEncoding
>> I do not know jdom, but it seems to me that it would be fair to  
>> restore the setEncoding method in XMLOutputter and give some time to  
>> slide and velocity to remove the usages of this method.
>> Comments ?
>> Antoine
>> [1] velocity build failure visible on this URL :  
>> http://gump.cocoondev.org/jakarta-velocity.html
>> [2] source code of AnakiaTask  
>> http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-velocity/src/ 
>> java/org/apache/velocity/anakia/AnakiaTask.java?content- 
>> type=text%2Fplain&rev=1.34 [3]  source code of OutputWrapper  
>> http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-velocity/src/ 
>> java/org/apache/velocity/anakia/OutputWrapper.java?content- 
>> type=text%2Fplain&rev=1.6 [4] build failure of  
>> http://gump.cocoondev.org/jakarta-slide.html
>> -------- Original Message --------
>> Subject:     More JDOM changes
>> Date:     Wed, 18 Feb 2004 12:36:34 +0100
>> From:     Stefan Bodewig <bo...@apache.org>
>> Reply-To:     Gump code and data <gu...@jakarta.apache.org>
>> To:     gump@jakarta.apache.org
>> Hi,
>> it seems as if the JDOM saga continues, XMLOutputter#setEncoding has
>> been removed leading to build failures in Velocity and Slide.  The
>> method has been deprecated in beta10rc1 (maybe even beta9) and people
>> are now expected to use the Format instead.
>> Stefan
>> _______________________________________________
>> To control your jdom-interest membership:
>> http://lists.denveronline.net/mailman/options/jdom-interest/ 
>> youraddr@yourhost.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: gump-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: gump-help@jakarta.apache.org
>
>
-- 
Geir Magnusson Jr                                   203-247-1713(m)
geir@4quarters.com