You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Poggenpohl, Daniel" <Da...@isst.fraunhofer.de> on 2015/08/25 12:04:28 UTC

Debugging Tapestry with IntelliJ IDEA

Hello everyone,

we are evaluating IntelliJ IDEA for development and so far it has been quite good.
But the Tapestry specifics seem to hinder further evaluation.
Does anyone here use IntelliJ for development?

When we debug code, page properties are always seen as having a "null" value instead of the proxy that Eclipse used to show. What are we doing wrong?

Regards,
Daniel P.

RE: Debugging Tapestry with IntelliJ IDEA

Posted by Svein-Erik Løken <sv...@jacilla.no>.
It is very good! Also for multi-module development and JavaScript debugging.

S-E

From: Charlouze [via Apache Tapestry Mailing List Archives] [mailto:ml-node+s1045711n5731127h18@n5.nabble.com]
Sent: 25. august 2015 13:43
To: Svein-Erik Løken <sv...@jacilla.no>
Subject: Re: Debugging Tapestry with IntelliJ IDEA

+1 (non-binding :D)

Le mar. 25 août 2015 à 13:25, Stephen Nutbrown <[hidden email]</user/SendEmail.jtp?type=node&node=5731127&i=0>> a
écrit :

> Just to confirm it also works fine here too. I've found IntelliJ to be
> absolutely fantastic so far. I'm running it using jetty but I know there is
> an option for tomcat... I don't know if that could make a difference?
> On 25 Aug 2015 11:33 am, "Chris Poulsen" <[hidden email]</user/SendEmail.jtp?type=node&node=5731127&i=1>> wrote:
>
> > It works fine with IDEA here. A possibility could be that you are running
> > in production mode?
> >
> > On Tue, Aug 25, 2015 at 12:04 PM, Poggenpohl, Daniel <
> > [hidden email]</user/SendEmail.jtp?type=node&node=5731127&i=2>> wrote:
> >
> > > Hello everyone,
> > >
> > > we are evaluating IntelliJ IDEA for development and so far it has been
> > > quite good.
> > > But the Tapestry specifics seem to hinder further evaluation.
> > > Does anyone here use IntelliJ for development?
> > >
> > > When we debug code, page properties are always seen as having a "null"
> > > value instead of the proxy that Eclipse used to show. What are we doing
> > > wrong?
> > >
> > > Regards,
> > > Daniel P.
> > >
> >
>

________________________________
If you reply to this email, your message will be added to the discussion below:
http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Debugging-Tapestry-with-IntelliJ-IDEA-tp5731124p5731127.html
To unsubscribe from users@tapestry.apache.org<ma...@tapestry.apache.org> Mailing List Archives, click here<http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2375125&code=c3ZlaW5AamFjaWxsYS5ub3wyMzc1MTI1fC0xNTM4NzY2ODg4>.
NAML<http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>

Re: Debugging Tapestry with IntelliJ IDEA

Posted by Charlouze <me...@charlouze.com>.
+1 (non-binding :D)

Le mar. 25 août 2015 à 13:25, Stephen Nutbrown <st...@gmail.com> a
écrit :

> Just to confirm it also works fine here too. I've found IntelliJ to be
> absolutely fantastic so far. I'm running it using jetty but I know there is
> an option for tomcat... I don't know if that could make a difference?
> On 25 Aug 2015 11:33 am, "Chris Poulsen" <ma...@nesluop.dk> wrote:
>
> > It works fine with IDEA here. A possibility could be that you are running
> > in production mode?
> >
> > On Tue, Aug 25, 2015 at 12:04 PM, Poggenpohl, Daniel <
> > Daniel.Poggenpohl@isst.fraunhofer.de> wrote:
> >
> > > Hello everyone,
> > >
> > > we are evaluating IntelliJ IDEA for development and so far it has been
> > > quite good.
> > > But the Tapestry specifics seem to hinder further evaluation.
> > > Does anyone here use IntelliJ for development?
> > >
> > > When we debug code, page properties are always seen as having a "null"
> > > value instead of the proxy that Eclipse used to show. What are we doing
> > > wrong?
> > >
> > > Regards,
> > > Daniel P.
> > >
> >
>

AW: Debugging Tapestry with IntelliJ IDEA

Posted by "Poggenpohl, Daniel" <Da...@isst.fraunhofer.de>.
Hi,

Using production mode = false helped solve the problem with properties having "null" values.
The tapestry execution mode has to wait for now until we need different modes.

Thanks for helping.

Regards,
Daniel P.

-----Ursprüngliche Nachricht-----
Von: Poggenpohl, Daniel 
Gesendet: Dienstag, 25. August 2015 13:52
An: Tapestry users
Betreff: AW: Debugging Tapestry with IntelliJ IDEA

Hi everyone,

it seems that production mode (is set to true) is the problem.

We use build profiles and have three stages:
1. Local development
2. Deploying to a Test VM for load tests 3. Deploying to the official VM

Our tapestry module POM reflects this.
When I add a property
        <tapestry.execution-mode>development</tapestry.execution-mode>
to the POM, it should load the additional DevelopmentModule which sets the production mode to false.
The DevelopmentModule isn't loaded, though.

Isn't this the way to go?

Regards,
Daniel P.

-----Ursprüngliche Nachricht-----
Von: Stephen Nutbrown [mailto:steveswfc@gmail.com]
Gesendet: Dienstag, 25. August 2015 13:26
An: Tapestry users
Betreff: Re: Debugging Tapestry with IntelliJ IDEA

Just to confirm it also works fine here too. I've found IntelliJ to be absolutely fantastic so far. I'm running it using jetty but I know there is an option for tomcat... I don't know if that could make a difference?
On 25 Aug 2015 11:33 am, "Chris Poulsen" <ma...@nesluop.dk> wrote:

> It works fine with IDEA here. A possibility could be that you are 
> running in production mode?
>
> On Tue, Aug 25, 2015 at 12:04 PM, Poggenpohl, Daniel < 
> Daniel.Poggenpohl@isst.fraunhofer.de> wrote:
>
> > Hello everyone,
> >
> > we are evaluating IntelliJ IDEA for development and so far it has 
> > been quite good.
> > But the Tapestry specifics seem to hinder further evaluation.
> > Does anyone here use IntelliJ for development?
> >
> > When we debug code, page properties are always seen as having a "null"
> > value instead of the proxy that Eclipse used to show. What are we 
> > doing wrong?
> >
> > Regards,
> > Daniel P.
> >
>

Re: Debugging Tapestry with IntelliJ IDEA

Posted by Chris Poulsen <ma...@nesluop.dk>.
We usually simply set -Dtapestry.production-mode=false in the JVM when we
want dev mode.

On Tue, Aug 25, 2015 at 1:51 PM, Poggenpohl, Daniel <
Daniel.Poggenpohl@isst.fraunhofer.de> wrote:

> Hi everyone,
>
> it seems that production mode (is set to true) is the problem.
>
> We use build profiles and have three stages:
> 1. Local development
> 2. Deploying to a Test VM for load tests
> 3. Deploying to the official VM
>
> Our tapestry module POM reflects this.
> When I add a property
>         <tapestry.execution-mode>development</tapestry.execution-mode>
> to the POM, it should load the additional DevelopmentModule which sets the
> production mode to false.
> The DevelopmentModule isn't loaded, though.
>
> Isn't this the way to go?
>
> Regards,
> Daniel P.
>
> -----Ursprüngliche Nachricht-----
> Von: Stephen Nutbrown [mailto:steveswfc@gmail.com]
> Gesendet: Dienstag, 25. August 2015 13:26
> An: Tapestry users
> Betreff: Re: Debugging Tapestry with IntelliJ IDEA
>
> Just to confirm it also works fine here too. I've found IntelliJ to be
> absolutely fantastic so far. I'm running it using jetty but I know there is
> an option for tomcat... I don't know if that could make a difference?
> On 25 Aug 2015 11:33 am, "Chris Poulsen" <ma...@nesluop.dk> wrote:
>
> > It works fine with IDEA here. A possibility could be that you are
> > running in production mode?
> >
> > On Tue, Aug 25, 2015 at 12:04 PM, Poggenpohl, Daniel <
> > Daniel.Poggenpohl@isst.fraunhofer.de> wrote:
> >
> > > Hello everyone,
> > >
> > > we are evaluating IntelliJ IDEA for development and so far it has
> > > been quite good.
> > > But the Tapestry specifics seem to hinder further evaluation.
> > > Does anyone here use IntelliJ for development?
> > >
> > > When we debug code, page properties are always seen as having a "null"
> > > value instead of the proxy that Eclipse used to show. What are we
> > > doing wrong?
> > >
> > > Regards,
> > > Daniel P.
> > >
> >
>

AW: Debugging Tapestry with IntelliJ IDEA

Posted by "Poggenpohl, Daniel" <Da...@isst.fraunhofer.de>.
Hi everyone,

it seems that production mode (is set to true) is the problem.

We use build profiles and have three stages:
1. Local development
2. Deploying to a Test VM for load tests
3. Deploying to the official VM

Our tapestry module POM reflects this.
When I add a property
        <tapestry.execution-mode>development</tapestry.execution-mode>
to the POM, it should load the additional DevelopmentModule which sets the production mode to false.
The DevelopmentModule isn't loaded, though.

Isn't this the way to go?

Regards,
Daniel P.

-----Ursprüngliche Nachricht-----
Von: Stephen Nutbrown [mailto:steveswfc@gmail.com] 
Gesendet: Dienstag, 25. August 2015 13:26
An: Tapestry users
Betreff: Re: Debugging Tapestry with IntelliJ IDEA

Just to confirm it also works fine here too. I've found IntelliJ to be absolutely fantastic so far. I'm running it using jetty but I know there is an option for tomcat... I don't know if that could make a difference?
On 25 Aug 2015 11:33 am, "Chris Poulsen" <ma...@nesluop.dk> wrote:

> It works fine with IDEA here. A possibility could be that you are 
> running in production mode?
>
> On Tue, Aug 25, 2015 at 12:04 PM, Poggenpohl, Daniel < 
> Daniel.Poggenpohl@isst.fraunhofer.de> wrote:
>
> > Hello everyone,
> >
> > we are evaluating IntelliJ IDEA for development and so far it has 
> > been quite good.
> > But the Tapestry specifics seem to hinder further evaluation.
> > Does anyone here use IntelliJ for development?
> >
> > When we debug code, page properties are always seen as having a "null"
> > value instead of the proxy that Eclipse used to show. What are we 
> > doing wrong?
> >
> > Regards,
> > Daniel P.
> >
>

Re: Debugging Tapestry with IntelliJ IDEA

Posted by Stephen Nutbrown <st...@gmail.com>.
Just to confirm it also works fine here too. I've found IntelliJ to be
absolutely fantastic so far. I'm running it using jetty but I know there is
an option for tomcat... I don't know if that could make a difference?
On 25 Aug 2015 11:33 am, "Chris Poulsen" <ma...@nesluop.dk> wrote:

> It works fine with IDEA here. A possibility could be that you are running
> in production mode?
>
> On Tue, Aug 25, 2015 at 12:04 PM, Poggenpohl, Daniel <
> Daniel.Poggenpohl@isst.fraunhofer.de> wrote:
>
> > Hello everyone,
> >
> > we are evaluating IntelliJ IDEA for development and so far it has been
> > quite good.
> > But the Tapestry specifics seem to hinder further evaluation.
> > Does anyone here use IntelliJ for development?
> >
> > When we debug code, page properties are always seen as having a "null"
> > value instead of the proxy that Eclipse used to show. What are we doing
> > wrong?
> >
> > Regards,
> > Daniel P.
> >
>

Re: Debugging Tapestry with IntelliJ IDEA

Posted by Chris Poulsen <ma...@nesluop.dk>.
It works fine with IDEA here. A possibility could be that you are running
in production mode?

On Tue, Aug 25, 2015 at 12:04 PM, Poggenpohl, Daniel <
Daniel.Poggenpohl@isst.fraunhofer.de> wrote:

> Hello everyone,
>
> we are evaluating IntelliJ IDEA for development and so far it has been
> quite good.
> But the Tapestry specifics seem to hinder further evaluation.
> Does anyone here use IntelliJ for development?
>
> When we debug code, page properties are always seen as having a "null"
> value instead of the proxy that Eclipse used to show. What are we doing
> wrong?
>
> Regards,
> Daniel P.
>