You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Joachim Van der Auwera <li...@progs.be> on 2014/03/18 20:32:26 UTC

Tapestry 5.4 and java8

Java8 is now officially available.
ASM 5.0 has also been released (see 
http://forge.ow2.org/forum/forum.php?forum_id=2302)

Could the ASM5 be integrated in Tapestry 5.4 and a new beta release 
built? This way Tapestry could be used in Java8.

Kind regards,
Joachim

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


Re: Tapestry 5.4 and java8

Posted by Kalle Korhonen <ka...@gmail.com>.
On Fri, Mar 21, 2014 at 12:43 PM, Lance Java <la...@googlemail.com>wrote:

> Can't jarjar or similar do this via byte code transform automatically as
> part of the build?
>

Likely. Is it worth it? Not in my opinion, since it would slow down the
build and changes are infrequent enough but your cost calculation may
differ.

Kalle



> On 21 Mar 2014 16:40, "Kalle Korhonen" <ka...@gmail.com> wrote:
>
> > On Fri, Mar 21, 2014 at 3:57 AM, Bob Harner <bo...@gmail.com> wrote:
> >
> > > Kalle, can you list the steps you went through to do this? I'd like to
> > > document the process, since it isn't simply a matter of incrementing
> the
> > > version of a dependency.
> > >
> >
> > Sure. It was very simple actually:
> > 1) Have plastic module open on your favorite IDE
> > 2) Download an asm source release from
> http://forge.ow2.org/projects/asm/
> > 3) untar the asm source, move the source tree (starting from "org") next
> to
> > plastic/src/external/java
> > 4) delete the existing package
> "org.apache.tapestry5.internal.plastic.asm"
> > 5) use the IDE to rename the "org.objectweb.asm" package to
> > "org.apache.tapestry5.internal.plastic.asm"
> > 6) fix compilation errors
> >
> > Naturally, your IDE needs to be smart enough to refactor the package
> names
> > in the class files accordingly.
> >
> > Kalle
> >
> >
> >
> > > On Mar 20, 2014 4:16 PM, "Kalle Korhonen" <ka...@gmail.com>
> > > wrote:
> > >
> > > > Sure, no problem. We still need it released but that might have to
> wait
> > > > till 5.4 GA release. Easy enough for those who need it to build it
> > > > themselves though.
> > > >
> > > > Kalle
> > > >
> > > >
> > > > On Thu, Mar 20, 2014 at 1:03 PM, Joachim Van der Auwera <
> > lists@progs.be
> > > > >wrote:
> > > >
> > > > > THanks Kalle for doing this.
> > > > >
> > > > > Kind regards,
> > > > > Joachim
> > > > >
> > > > >
> > > > > On 03/18/2014 08:32 PM, Joachim Van der Auwera wrote:
> > > > >
> > > > >> Java8 is now officially available.
> > > > >> ASM 5.0 has also been released (see http://forge.ow2.org/forum/
> > > > >> forum.php?forum_id=2302)
> > > > >>
> > > > >> Could the ASM5 be integrated in Tapestry 5.4 and a new beta
> release
> > > > >> built? This way Tapestry could be used in Java8.
> > > > >>
> > > > >> Kind regards,
> > > > >> Joachim
> > > > >>
> > > > >>
> > ---------------------------------------------------------------------
> > > > >> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > > > >> For additional commands, e-mail: dev-help@tapestry.apache.org
> > > > >>
> > > > >>
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > > > > For additional commands, e-mail: dev-help@tapestry.apache.org
> > > > >
> > > > >
> > > >
> > >
> >
>

Re: Tapestry 5.4 and java8

Posted by Lance Java <la...@googlemail.com>.
Can't jarjar or similar do this via byte code transform automatically as
part of the build?
On 21 Mar 2014 16:40, "Kalle Korhonen" <ka...@gmail.com> wrote:

> On Fri, Mar 21, 2014 at 3:57 AM, Bob Harner <bo...@gmail.com> wrote:
>
> > Kalle, can you list the steps you went through to do this? I'd like to
> > document the process, since it isn't simply a matter of incrementing the
> > version of a dependency.
> >
>
> Sure. It was very simple actually:
> 1) Have plastic module open on your favorite IDE
> 2) Download an asm source release from http://forge.ow2.org/projects/asm/
> 3) untar the asm source, move the source tree (starting from "org") next to
> plastic/src/external/java
> 4) delete the existing package "org.apache.tapestry5.internal.plastic.asm"
> 5) use the IDE to rename the "org.objectweb.asm" package to
> "org.apache.tapestry5.internal.plastic.asm"
> 6) fix compilation errors
>
> Naturally, your IDE needs to be smart enough to refactor the package names
> in the class files accordingly.
>
> Kalle
>
>
>
> > On Mar 20, 2014 4:16 PM, "Kalle Korhonen" <ka...@gmail.com>
> > wrote:
> >
> > > Sure, no problem. We still need it released but that might have to wait
> > > till 5.4 GA release. Easy enough for those who need it to build it
> > > themselves though.
> > >
> > > Kalle
> > >
> > >
> > > On Thu, Mar 20, 2014 at 1:03 PM, Joachim Van der Auwera <
> lists@progs.be
> > > >wrote:
> > >
> > > > THanks Kalle for doing this.
> > > >
> > > > Kind regards,
> > > > Joachim
> > > >
> > > >
> > > > On 03/18/2014 08:32 PM, Joachim Van der Auwera wrote:
> > > >
> > > >> Java8 is now officially available.
> > > >> ASM 5.0 has also been released (see http://forge.ow2.org/forum/
> > > >> forum.php?forum_id=2302)
> > > >>
> > > >> Could the ASM5 be integrated in Tapestry 5.4 and a new beta release
> > > >> built? This way Tapestry could be used in Java8.
> > > >>
> > > >> Kind regards,
> > > >> Joachim
> > > >>
> > > >>
> ---------------------------------------------------------------------
> > > >> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > > >> For additional commands, e-mail: dev-help@tapestry.apache.org
> > > >>
> > > >>
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > > > For additional commands, e-mail: dev-help@tapestry.apache.org
> > > >
> > > >
> > >
> >
>

Re: Tapestry 5.4 and java8

Posted by Kalle Korhonen <ka...@gmail.com>.
On Wed, Mar 26, 2014 at 8:04 AM, Howard Lewis Ship <hl...@gmail.com> wrote:

> Another option to accesspritected member is to add a new class is same
> package withstatic  shim method
>

Of course. But at that point, you could just as well fix it in Plastic and
access it properly, by instantiating the class first (it has a
corresponding, non-static public operation).

Kalle


> On Saturday, March 22, 2014, Kalle Korhonen <ka...@gmail.com>
> wrote:
>
> > On Sat, Mar 22, 2014 at 8:47 AM, Bob Harner <bobharner@gmail.com
> <javascript:;>>
> > wrote:
> >
> > > True, but that particular visibility change will need to be repeated
> each
> > > time ASM is upgraded in Tapestry, if I'm understanding what you did.
> > >
> >
> > You cannot know that. It depends solely on how ASM is changed.
> >
> > Kalle
> >
> >
> >
> > > On Mar 22, 2014 11:13 AM, "Kalle Korhonen" <kalle.o.korhonen@gmail.com
> >
> > > wrote:
> > >
> > > > On Sat, Mar 22, 2014 at 3:56 AM, Bob Harner <bo...@gmail.com>
> > wrote:
> > > >
> > > > > Kalle,
> > > > > I guess there would be another step?
> > > > > 7) "Also made a single change
> > > > > to ASM source, promoted visibility of AnnotationNode.accept from
> > > package
> > > > > private to public so I didn't have change to plastic (to
> instantiate
> > > > > AnnotationNode)" ... Or is that what you meant by step 6?
> > > > >
> > > >
> > > > Yes, that's what's included in the step 6. Really, we can't describe
> > > exact
> > > > steps to incorporate codebase with unknown future changes.
> > > >
> > > > Kalle
> > > >
> > > >
> > > >
> > > > > On Mar 21, 2014 12:40 PM, "Kalle Korhonen" <
> > kalle.o.korhonen@gmail.com
> > > >
> > > > > wrote:
> > > > >
> > > > > > On Fri, Mar 21, 2014 at 3:57 AM, Bob Harner <bobharner@gmail.com
> >
> > > > wrote:
> > > > > >
> > > > > > > Kalle, can you list the steps you went through to do this? I'd
> > like
> > > > to
> > > > > > > document the process, since it isn't simply a matter of
> > > incrementing
> > > > > the
> > > > > > > version of a dependency.
> > > > > > >
> > > > > >
> > > > > > Sure. It was very simple actually:
> > > > > > 1) Have plastic module open on your favorite IDE
> > > > > > 2) Download an asm source release from
> > > > > http://forge.ow2.org/projects/asm/
> > > > > > 3) untar the asm source, move the source tree (starting from
> "org")
> > > > next
> > > > > to
> > > > > > plastic/src/external/java
> > > > > > 4) delete the existing package
> > > > > "org.apache.tapestry5.internal.plastic.asm"
> > > > > > 5) use the IDE to rename the "org.objectweb.asm" package to
> > > > > > "org.apache.tapestry5.internal.plastic.asm"
> > > > > > 6) fix compilation errors
> > > > > >
> > > > > > Naturally, your IDE needs to be smart enough to refactor the
> > package
> > > > > names
> > > > > > in the class files accordingly.
> > > > > >
> > > > > > Kalle
> > > > > >
> > > > > >
> > > > > >
> > > > > > > On Mar 20, 2014 4:16 PM, "Kalle Korhonen" <
> > > > kalle.o.korhonen@gmail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Sure, no problem. We still need it released but that might
> have
> > > to
> > > > > wait
> > > > > > > > till 5.4 GA release. Easy enough for those who need it to
> build
> > > it
> > > > > > > > themselves though.
> > > > > > > >
> > > > > > > > Kalle
> > > > > > > >
> > > > > > > >
> > > > > > > > On Thu, Mar 20, 2014 at 1:03 PM, Joachim Van der Auwera <
> > > > > > lists@progs.be
> > > > > > > > >wrote:
> > > > > > > >
> > > > > > > > > THanks Kalle for doing this.
> > > > > > > > >
> > > > > > > > > Kind regards,
> > > > > > > > > Joachim
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 03/18/2014 08:32 PM, Joachim Van der Auwera wrote:
> > > > > > > > >
> > > > > > > > >> Java8 is now officially available.
> > > > > > > > >> ASM 5.0 has also been released (see
> > > http://forge.ow2.org/forum/
> > > > > > > > >> forum.php?forum_id=2302)
> > > > > > > > >>
> > > > > > > > >
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>

Re: Tapestry 5.4 and java8

Posted by Howard Lewis Ship <hl...@gmail.com>.
Another option to accesspritected member is to add a new class is same
package withstatic  shim method

On Saturday, March 22, 2014, Kalle Korhonen <ka...@gmail.com>
wrote:

> On Sat, Mar 22, 2014 at 8:47 AM, Bob Harner <bobharner@gmail.com<javascript:;>>
> wrote:
>
> > True, but that particular visibility change will need to be repeated each
> > time ASM is upgraded in Tapestry, if I'm understanding what you did.
> >
>
> You cannot know that. It depends solely on how ASM is changed.
>
> Kalle
>
>
>
> > On Mar 22, 2014 11:13 AM, "Kalle Korhonen" <ka...@gmail.com>
> > wrote:
> >
> > > On Sat, Mar 22, 2014 at 3:56 AM, Bob Harner <bo...@gmail.com>
> wrote:
> > >
> > > > Kalle,
> > > > I guess there would be another step?
> > > > 7) "Also made a single change
> > > > to ASM source, promoted visibility of AnnotationNode.accept from
> > package
> > > > private to public so I didn't have change to plastic (to instantiate
> > > > AnnotationNode)" ... Or is that what you meant by step 6?
> > > >
> > >
> > > Yes, that's what's included in the step 6. Really, we can't describe
> > exact
> > > steps to incorporate codebase with unknown future changes.
> > >
> > > Kalle
> > >
> > >
> > >
> > > > On Mar 21, 2014 12:40 PM, "Kalle Korhonen" <
> kalle.o.korhonen@gmail.com
> > >
> > > > wrote:
> > > >
> > > > > On Fri, Mar 21, 2014 at 3:57 AM, Bob Harner <bo...@gmail.com>
> > > wrote:
> > > > >
> > > > > > Kalle, can you list the steps you went through to do this? I'd
> like
> > > to
> > > > > > document the process, since it isn't simply a matter of
> > incrementing
> > > > the
> > > > > > version of a dependency.
> > > > > >
> > > > >
> > > > > Sure. It was very simple actually:
> > > > > 1) Have plastic module open on your favorite IDE
> > > > > 2) Download an asm source release from
> > > > http://forge.ow2.org/projects/asm/
> > > > > 3) untar the asm source, move the source tree (starting from "org")
> > > next
> > > > to
> > > > > plastic/src/external/java
> > > > > 4) delete the existing package
> > > > "org.apache.tapestry5.internal.plastic.asm"
> > > > > 5) use the IDE to rename the "org.objectweb.asm" package to
> > > > > "org.apache.tapestry5.internal.plastic.asm"
> > > > > 6) fix compilation errors
> > > > >
> > > > > Naturally, your IDE needs to be smart enough to refactor the
> package
> > > > names
> > > > > in the class files accordingly.
> > > > >
> > > > > Kalle
> > > > >
> > > > >
> > > > >
> > > > > > On Mar 20, 2014 4:16 PM, "Kalle Korhonen" <
> > > kalle.o.korhonen@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > Sure, no problem. We still need it released but that might have
> > to
> > > > wait
> > > > > > > till 5.4 GA release. Easy enough for those who need it to build
> > it
> > > > > > > themselves though.
> > > > > > >
> > > > > > > Kalle
> > > > > > >
> > > > > > >
> > > > > > > On Thu, Mar 20, 2014 at 1:03 PM, Joachim Van der Auwera <
> > > > > lists@progs.be
> > > > > > > >wrote:
> > > > > > >
> > > > > > > > THanks Kalle for doing this.
> > > > > > > >
> > > > > > > > Kind regards,
> > > > > > > > Joachim
> > > > > > > >
> > > > > > > >
> > > > > > > > On 03/18/2014 08:32 PM, Joachim Van der Auwera wrote:
> > > > > > > >
> > > > > > > >> Java8 is now officially available.
> > > > > > > >> ASM 5.0 has also been released (see
> > http://forge.ow2.org/forum/
> > > > > > > >> forum.php?forum_id=2302)
> > > > > > > >>
> > > > > > > >



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

Re: Tapestry 5.4 and java8

Posted by Kalle Korhonen <ka...@gmail.com>.
On Sat, Mar 22, 2014 at 8:47 AM, Bob Harner <bo...@gmail.com> wrote:

> True, but that particular visibility change will need to be repeated each
> time ASM is upgraded in Tapestry, if I'm understanding what you did.
>

You cannot know that. It depends solely on how ASM is changed.

Kalle



> On Mar 22, 2014 11:13 AM, "Kalle Korhonen" <ka...@gmail.com>
> wrote:
>
> > On Sat, Mar 22, 2014 at 3:56 AM, Bob Harner <bo...@gmail.com> wrote:
> >
> > > Kalle,
> > > I guess there would be another step?
> > > 7) "Also made a single change
> > > to ASM source, promoted visibility of AnnotationNode.accept from
> package
> > > private to public so I didn't have change to plastic (to instantiate
> > > AnnotationNode)" ... Or is that what you meant by step 6?
> > >
> >
> > Yes, that's what's included in the step 6. Really, we can't describe
> exact
> > steps to incorporate codebase with unknown future changes.
> >
> > Kalle
> >
> >
> >
> > > On Mar 21, 2014 12:40 PM, "Kalle Korhonen" <kalle.o.korhonen@gmail.com
> >
> > > wrote:
> > >
> > > > On Fri, Mar 21, 2014 at 3:57 AM, Bob Harner <bo...@gmail.com>
> > wrote:
> > > >
> > > > > Kalle, can you list the steps you went through to do this? I'd like
> > to
> > > > > document the process, since it isn't simply a matter of
> incrementing
> > > the
> > > > > version of a dependency.
> > > > >
> > > >
> > > > Sure. It was very simple actually:
> > > > 1) Have plastic module open on your favorite IDE
> > > > 2) Download an asm source release from
> > > http://forge.ow2.org/projects/asm/
> > > > 3) untar the asm source, move the source tree (starting from "org")
> > next
> > > to
> > > > plastic/src/external/java
> > > > 4) delete the existing package
> > > "org.apache.tapestry5.internal.plastic.asm"
> > > > 5) use the IDE to rename the "org.objectweb.asm" package to
> > > > "org.apache.tapestry5.internal.plastic.asm"
> > > > 6) fix compilation errors
> > > >
> > > > Naturally, your IDE needs to be smart enough to refactor the package
> > > names
> > > > in the class files accordingly.
> > > >
> > > > Kalle
> > > >
> > > >
> > > >
> > > > > On Mar 20, 2014 4:16 PM, "Kalle Korhonen" <
> > kalle.o.korhonen@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Sure, no problem. We still need it released but that might have
> to
> > > wait
> > > > > > till 5.4 GA release. Easy enough for those who need it to build
> it
> > > > > > themselves though.
> > > > > >
> > > > > > Kalle
> > > > > >
> > > > > >
> > > > > > On Thu, Mar 20, 2014 at 1:03 PM, Joachim Van der Auwera <
> > > > lists@progs.be
> > > > > > >wrote:
> > > > > >
> > > > > > > THanks Kalle for doing this.
> > > > > > >
> > > > > > > Kind regards,
> > > > > > > Joachim
> > > > > > >
> > > > > > >
> > > > > > > On 03/18/2014 08:32 PM, Joachim Van der Auwera wrote:
> > > > > > >
> > > > > > >> Java8 is now officially available.
> > > > > > >> ASM 5.0 has also been released (see
> http://forge.ow2.org/forum/
> > > > > > >> forum.php?forum_id=2302)
> > > > > > >>
> > > > > > >> Could the ASM5 be integrated in Tapestry 5.4 and a new beta
> > > release
> > > > > > >> built? This way Tapestry could be used in Java8.
> > > > > > >>
> > > > > > >> Kind regards,
> > > > > > >> Joachim
> > > > > > >>
> > > > > > >>
> > > > ---------------------------------------------------------------------
> > > > > > >> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > > > > > >> For additional commands, e-mail: dev-help@tapestry.apache.org
> > > > > > >>
> > > > > > >>
> > > > > > >
> > > > > > >
> > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > > > > > > For additional commands, e-mail: dev-help@tapestry.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: Tapestry 5.4 and java8

Posted by Bob Harner <bo...@gmail.com>.
True, but that particular visibility change will need to be repeated each
time ASM is upgraded in Tapestry, if I'm understanding what you did.
On Mar 22, 2014 11:13 AM, "Kalle Korhonen" <ka...@gmail.com>
wrote:

> On Sat, Mar 22, 2014 at 3:56 AM, Bob Harner <bo...@gmail.com> wrote:
>
> > Kalle,
> > I guess there would be another step?
> > 7) "Also made a single change
> > to ASM source, promoted visibility of AnnotationNode.accept from package
> > private to public so I didn't have change to plastic (to instantiate
> > AnnotationNode)" ... Or is that what you meant by step 6?
> >
>
> Yes, that's what's included in the step 6. Really, we can't describe exact
> steps to incorporate codebase with unknown future changes.
>
> Kalle
>
>
>
> > On Mar 21, 2014 12:40 PM, "Kalle Korhonen" <ka...@gmail.com>
> > wrote:
> >
> > > On Fri, Mar 21, 2014 at 3:57 AM, Bob Harner <bo...@gmail.com>
> wrote:
> > >
> > > > Kalle, can you list the steps you went through to do this? I'd like
> to
> > > > document the process, since it isn't simply a matter of incrementing
> > the
> > > > version of a dependency.
> > > >
> > >
> > > Sure. It was very simple actually:
> > > 1) Have plastic module open on your favorite IDE
> > > 2) Download an asm source release from
> > http://forge.ow2.org/projects/asm/
> > > 3) untar the asm source, move the source tree (starting from "org")
> next
> > to
> > > plastic/src/external/java
> > > 4) delete the existing package
> > "org.apache.tapestry5.internal.plastic.asm"
> > > 5) use the IDE to rename the "org.objectweb.asm" package to
> > > "org.apache.tapestry5.internal.plastic.asm"
> > > 6) fix compilation errors
> > >
> > > Naturally, your IDE needs to be smart enough to refactor the package
> > names
> > > in the class files accordingly.
> > >
> > > Kalle
> > >
> > >
> > >
> > > > On Mar 20, 2014 4:16 PM, "Kalle Korhonen" <
> kalle.o.korhonen@gmail.com>
> > > > wrote:
> > > >
> > > > > Sure, no problem. We still need it released but that might have to
> > wait
> > > > > till 5.4 GA release. Easy enough for those who need it to build it
> > > > > themselves though.
> > > > >
> > > > > Kalle
> > > > >
> > > > >
> > > > > On Thu, Mar 20, 2014 at 1:03 PM, Joachim Van der Auwera <
> > > lists@progs.be
> > > > > >wrote:
> > > > >
> > > > > > THanks Kalle for doing this.
> > > > > >
> > > > > > Kind regards,
> > > > > > Joachim
> > > > > >
> > > > > >
> > > > > > On 03/18/2014 08:32 PM, Joachim Van der Auwera wrote:
> > > > > >
> > > > > >> Java8 is now officially available.
> > > > > >> ASM 5.0 has also been released (see http://forge.ow2.org/forum/
> > > > > >> forum.php?forum_id=2302)
> > > > > >>
> > > > > >> Could the ASM5 be integrated in Tapestry 5.4 and a new beta
> > release
> > > > > >> built? This way Tapestry could be used in Java8.
> > > > > >>
> > > > > >> Kind regards,
> > > > > >> Joachim
> > > > > >>
> > > > > >>
> > > ---------------------------------------------------------------------
> > > > > >> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > > > > >> For additional commands, e-mail: dev-help@tapestry.apache.org
> > > > > >>
> > > > > >>
> > > > > >
> > > > > >
> > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > > > > > For additional commands, e-mail: dev-help@tapestry.apache.org
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: Tapestry 5.4 and java8

Posted by Kalle Korhonen <ka...@gmail.com>.
On Sat, Mar 22, 2014 at 3:56 AM, Bob Harner <bo...@gmail.com> wrote:

> Kalle,
> I guess there would be another step?
> 7) "Also made a single change
> to ASM source, promoted visibility of AnnotationNode.accept from package
> private to public so I didn't have change to plastic (to instantiate
> AnnotationNode)" ... Or is that what you meant by step 6?
>

Yes, that's what's included in the step 6. Really, we can't describe exact
steps to incorporate codebase with unknown future changes.

Kalle



> On Mar 21, 2014 12:40 PM, "Kalle Korhonen" <ka...@gmail.com>
> wrote:
>
> > On Fri, Mar 21, 2014 at 3:57 AM, Bob Harner <bo...@gmail.com> wrote:
> >
> > > Kalle, can you list the steps you went through to do this? I'd like to
> > > document the process, since it isn't simply a matter of incrementing
> the
> > > version of a dependency.
> > >
> >
> > Sure. It was very simple actually:
> > 1) Have plastic module open on your favorite IDE
> > 2) Download an asm source release from
> http://forge.ow2.org/projects/asm/
> > 3) untar the asm source, move the source tree (starting from "org") next
> to
> > plastic/src/external/java
> > 4) delete the existing package
> "org.apache.tapestry5.internal.plastic.asm"
> > 5) use the IDE to rename the "org.objectweb.asm" package to
> > "org.apache.tapestry5.internal.plastic.asm"
> > 6) fix compilation errors
> >
> > Naturally, your IDE needs to be smart enough to refactor the package
> names
> > in the class files accordingly.
> >
> > Kalle
> >
> >
> >
> > > On Mar 20, 2014 4:16 PM, "Kalle Korhonen" <ka...@gmail.com>
> > > wrote:
> > >
> > > > Sure, no problem. We still need it released but that might have to
> wait
> > > > till 5.4 GA release. Easy enough for those who need it to build it
> > > > themselves though.
> > > >
> > > > Kalle
> > > >
> > > >
> > > > On Thu, Mar 20, 2014 at 1:03 PM, Joachim Van der Auwera <
> > lists@progs.be
> > > > >wrote:
> > > >
> > > > > THanks Kalle for doing this.
> > > > >
> > > > > Kind regards,
> > > > > Joachim
> > > > >
> > > > >
> > > > > On 03/18/2014 08:32 PM, Joachim Van der Auwera wrote:
> > > > >
> > > > >> Java8 is now officially available.
> > > > >> ASM 5.0 has also been released (see http://forge.ow2.org/forum/
> > > > >> forum.php?forum_id=2302)
> > > > >>
> > > > >> Could the ASM5 be integrated in Tapestry 5.4 and a new beta
> release
> > > > >> built? This way Tapestry could be used in Java8.
> > > > >>
> > > > >> Kind regards,
> > > > >> Joachim
> > > > >>
> > > > >>
> > ---------------------------------------------------------------------
> > > > >> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > > > >> For additional commands, e-mail: dev-help@tapestry.apache.org
> > > > >>
> > > > >>
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > > > > For additional commands, e-mail: dev-help@tapestry.apache.org
> > > > >
> > > > >
> > > >
> > >
> >
>

Re: Tapestry 5.4 and java8

Posted by Bob Harner <bo...@gmail.com>.
Kalle,

I guess there would be another step?

7) "Also made a single change
to ASM source, promoted visibility of AnnotationNode.accept from package
private to public so I didn't have change to plastic (to instantiate
AnnotationNode)" ... Or is that what you meant by step 6?
On Mar 21, 2014 12:40 PM, "Kalle Korhonen" <ka...@gmail.com>
wrote:

> On Fri, Mar 21, 2014 at 3:57 AM, Bob Harner <bo...@gmail.com> wrote:
>
> > Kalle, can you list the steps you went through to do this? I'd like to
> > document the process, since it isn't simply a matter of incrementing the
> > version of a dependency.
> >
>
> Sure. It was very simple actually:
> 1) Have plastic module open on your favorite IDE
> 2) Download an asm source release from http://forge.ow2.org/projects/asm/
> 3) untar the asm source, move the source tree (starting from "org") next to
> plastic/src/external/java
> 4) delete the existing package "org.apache.tapestry5.internal.plastic.asm"
> 5) use the IDE to rename the "org.objectweb.asm" package to
> "org.apache.tapestry5.internal.plastic.asm"
> 6) fix compilation errors
>
> Naturally, your IDE needs to be smart enough to refactor the package names
> in the class files accordingly.
>
> Kalle
>
>
>
> > On Mar 20, 2014 4:16 PM, "Kalle Korhonen" <ka...@gmail.com>
> > wrote:
> >
> > > Sure, no problem. We still need it released but that might have to wait
> > > till 5.4 GA release. Easy enough for those who need it to build it
> > > themselves though.
> > >
> > > Kalle
> > >
> > >
> > > On Thu, Mar 20, 2014 at 1:03 PM, Joachim Van der Auwera <
> lists@progs.be
> > > >wrote:
> > >
> > > > THanks Kalle for doing this.
> > > >
> > > > Kind regards,
> > > > Joachim
> > > >
> > > >
> > > > On 03/18/2014 08:32 PM, Joachim Van der Auwera wrote:
> > > >
> > > >> Java8 is now officially available.
> > > >> ASM 5.0 has also been released (see http://forge.ow2.org/forum/
> > > >> forum.php?forum_id=2302)
> > > >>
> > > >> Could the ASM5 be integrated in Tapestry 5.4 and a new beta release
> > > >> built? This way Tapestry could be used in Java8.
> > > >>
> > > >> Kind regards,
> > > >> Joachim
> > > >>
> > > >>
> ---------------------------------------------------------------------
> > > >> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > > >> For additional commands, e-mail: dev-help@tapestry.apache.org
> > > >>
> > > >>
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > > > For additional commands, e-mail: dev-help@tapestry.apache.org
> > > >
> > > >
> > >
> >
>

Re: Tapestry 5.4 and java8

Posted by Kalle Korhonen <ka...@gmail.com>.
On Fri, Mar 21, 2014 at 3:57 AM, Bob Harner <bo...@gmail.com> wrote:

> Kalle, can you list the steps you went through to do this? I'd like to
> document the process, since it isn't simply a matter of incrementing the
> version of a dependency.
>

Sure. It was very simple actually:
1) Have plastic module open on your favorite IDE
2) Download an asm source release from http://forge.ow2.org/projects/asm/
3) untar the asm source, move the source tree (starting from "org") next to
plastic/src/external/java
4) delete the existing package "org.apache.tapestry5.internal.plastic.asm"
5) use the IDE to rename the "org.objectweb.asm" package to
"org.apache.tapestry5.internal.plastic.asm"
6) fix compilation errors

Naturally, your IDE needs to be smart enough to refactor the package names
in the class files accordingly.

Kalle



> On Mar 20, 2014 4:16 PM, "Kalle Korhonen" <ka...@gmail.com>
> wrote:
>
> > Sure, no problem. We still need it released but that might have to wait
> > till 5.4 GA release. Easy enough for those who need it to build it
> > themselves though.
> >
> > Kalle
> >
> >
> > On Thu, Mar 20, 2014 at 1:03 PM, Joachim Van der Auwera <lists@progs.be
> > >wrote:
> >
> > > THanks Kalle for doing this.
> > >
> > > Kind regards,
> > > Joachim
> > >
> > >
> > > On 03/18/2014 08:32 PM, Joachim Van der Auwera wrote:
> > >
> > >> Java8 is now officially available.
> > >> ASM 5.0 has also been released (see http://forge.ow2.org/forum/
> > >> forum.php?forum_id=2302)
> > >>
> > >> Could the ASM5 be integrated in Tapestry 5.4 and a new beta release
> > >> built? This way Tapestry could be used in Java8.
> > >>
> > >> Kind regards,
> > >> Joachim
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > >> For additional commands, e-mail: dev-help@tapestry.apache.org
> > >>
> > >>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > > For additional commands, e-mail: dev-help@tapestry.apache.org
> > >
> > >
> >
>

Re: Tapestry 5.4 and java8

Posted by Bob Harner <bo...@gmail.com>.
Kalle, can you list the steps you went through to do this? I'd like to
document the process, since it isn't simply a matter of incrementing the
version of a dependency.
On Mar 20, 2014 4:16 PM, "Kalle Korhonen" <ka...@gmail.com>
wrote:

> Sure, no problem. We still need it released but that might have to wait
> till 5.4 GA release. Easy enough for those who need it to build it
> themselves though.
>
> Kalle
>
>
> On Thu, Mar 20, 2014 at 1:03 PM, Joachim Van der Auwera <lists@progs.be
> >wrote:
>
> > THanks Kalle for doing this.
> >
> > Kind regards,
> > Joachim
> >
> >
> > On 03/18/2014 08:32 PM, Joachim Van der Auwera wrote:
> >
> >> Java8 is now officially available.
> >> ASM 5.0 has also been released (see http://forge.ow2.org/forum/
> >> forum.php?forum_id=2302)
> >>
> >> Could the ASM5 be integrated in Tapestry 5.4 and a new beta release
> >> built? This way Tapestry could be used in Java8.
> >>
> >> Kind regards,
> >> Joachim
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> >> For additional commands, e-mail: dev-help@tapestry.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: dev-help@tapestry.apache.org
> >
> >
>

Re: Tapestry 5.4 and java8

Posted by Thiago H de Paula Figueiredo <th...@gmail.com>.
On Thu, 20 Mar 2014 18:16:01 -0300, Lenny Primak <lp...@hope.nyc.ny.us>  
wrote:

> We should make a 5.3.x release that's compatible with java 8 ASAP.

I don't think we need such a hurry. In addition, there's some stuff (one  
not implemented yet, but it's going to be simple) I'd like to backport  
 from 5.4 to 5.3 and include it in the new 5.3 release.

>
>
>
>> On Mar 20, 2014, at 4:15 PM, Kalle Korhonen  
>> <ka...@gmail.com> wrote:
>>
>> Sure, no problem. We still need it released but that might have to wait
>> till 5.4 GA release. Easy enough for those who need it to build it
>> themselves though.
>>
>> Kalle
>>
>>
>> On Thu, Mar 20, 2014 at 1:03 PM, Joachim Van der Auwera  
>> <li...@progs.be>wrote:
>>
>>> THanks Kalle for doing this.
>>>
>>> Kind regards,
>>> Joachim
>>>
>>>
>>>> On 03/18/2014 08:32 PM, Joachim Van der Auwera wrote:
>>>>
>>>> Java8 is now officially available.
>>>> ASM 5.0 has also been released (see http://forge.ow2.org/forum/
>>>> forum.php?forum_id=2302)
>>>>
>>>> Could the ASM5 be integrated in Tapestry 5.4 and a new beta release
>>>> built? This way Tapestry could be used in Java8.
>>>>
>>>> Kind regards,
>>>> Joachim
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>>>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>>
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>


-- 
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

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


Re: Tapestry 5.4 and java8

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
We should make a 5.3.x release that's compatible with java 8 ASAP. 



> On Mar 20, 2014, at 4:15 PM, Kalle Korhonen <ka...@gmail.com> wrote:
> 
> Sure, no problem. We still need it released but that might have to wait
> till 5.4 GA release. Easy enough for those who need it to build it
> themselves though.
> 
> Kalle
> 
> 
> On Thu, Mar 20, 2014 at 1:03 PM, Joachim Van der Auwera <li...@progs.be>wrote:
> 
>> THanks Kalle for doing this.
>> 
>> Kind regards,
>> Joachim
>> 
>> 
>>> On 03/18/2014 08:32 PM, Joachim Van der Auwera wrote:
>>> 
>>> Java8 is now officially available.
>>> ASM 5.0 has also been released (see http://forge.ow2.org/forum/
>>> forum.php?forum_id=2302)
>>> 
>>> Could the ASM5 be integrated in Tapestry 5.4 and a new beta release
>>> built? This way Tapestry could be used in Java8.
>>> 
>>> Kind regards,
>>> Joachim
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>> 
>>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: dev-help@tapestry.apache.org
>> 
>> 

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


Re: Tapestry 5.4 and java8

Posted by Kalle Korhonen <ka...@gmail.com>.
Sure, no problem. We still need it released but that might have to wait
till 5.4 GA release. Easy enough for those who need it to build it
themselves though.

Kalle


On Thu, Mar 20, 2014 at 1:03 PM, Joachim Van der Auwera <li...@progs.be>wrote:

> THanks Kalle for doing this.
>
> Kind regards,
> Joachim
>
>
> On 03/18/2014 08:32 PM, Joachim Van der Auwera wrote:
>
>> Java8 is now officially available.
>> ASM 5.0 has also been released (see http://forge.ow2.org/forum/
>> forum.php?forum_id=2302)
>>
>> Could the ASM5 be integrated in Tapestry 5.4 and a new beta release
>> built? This way Tapestry could be used in Java8.
>>
>> Kind regards,
>> Joachim
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>

Re: Tapestry 5.4 and java8

Posted by Joachim Van der Auwera <li...@progs.be>.
THanks Kalle for doing this.

Kind regards,
Joachim

On 03/18/2014 08:32 PM, Joachim Van der Auwera wrote:
> Java8 is now officially available.
> ASM 5.0 has also been released (see 
> http://forge.ow2.org/forum/forum.php?forum_id=2302)
>
> Could the ASM5 be integrated in Tapestry 5.4 and a new beta release 
> built? This way Tapestry could be used in Java8.
>
> Kind regards,
> Joachim
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>


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


Re: Tapestry 5.4 and java8

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
Same applies to Tapestry 5.3.x branch.


On Mar 18, 2014, at 3:32 PM, Joachim Van der Auwera wrote:

> Java8 is now officially available.
> ASM 5.0 has also been released (see http://forge.ow2.org/forum/forum.php?forum_id=2302)
> 
> Could the ASM5 be integrated in Tapestry 5.4 and a new beta release built? This way Tapestry could be used in Java8.
> 
> Kind regards,
> Joachim
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
> 


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