Re: Running Apache Hupa sample of GWT MVP

2009-09-23 Thread Roman Ilin
I changed the color many times. If I change it to 'red' Hupa works, back to 'grey' - App won't start. Regards On Tue, Sep 22, 2009 at 4:36 PM, Daniel Simons daniel.simo...@gmail.com wrote: Actually what is most likely happening is that when you changed the color property value it kicked off a

Re: Running Apache Hupa sample of GWT MVP

2009-09-23 Thread Norman Maurer
Hy Roman, it was a typo... It should be fixed now. Thx for reporting :) Bye, Norman 2009/9/23 Roman Ilin roman.i...@gmail.com: I changed the color many times. If I change it to 'red' Hupa works, back to 'grey' - App won't start. Regards On Tue, Sep 22, 2009 at 4:36 PM, Daniel Simons

Re: Running Apache Hupa sample of GWT MVP

2009-09-22 Thread purplehaze
Hi *, I have jdk 1.6 only installed. So I set plugin groupIdorg.apache.maven.plugins/ groupId artifactIdmaven-compiler-plugin/ artifactId configuration

Re: Running Apache Hupa sample of GWT MVP

2009-09-22 Thread Norman Maurer
I Roman could you open a jira issue for it so I can keep track. https://issues.apache.org/jira/browse/Hupa Thx, Norman Ps: Hupa just moved from labs to james as subproject so the new svn url is http://svn.apache.org/repos/asf/james/hupa 2009/9/22 purplehaze roman.i...@gmail.com: Hi *, I

Re: Running Apache Hupa sample of GWT MVP

2009-09-22 Thread Daniel Simons
Actually what is most likely happening is that when you changed the color property value it kicked off a fresh buildtry changing the color value back to grey to see if that was the case. Regards, daniel On Tue, Sep 22, 2009 at 9:32 AM, purplehaze roman.i...@gmail.com wrote: Hi *, I have

Re: Running Apache Hupa sample of GWT MVP

2009-09-16 Thread Daniel Simons
Norman, Thanks for your help. Hupa is an excellent tool for learning MVP, GWT, and GIN. I was wondering if you could provide me with some direction in regards to a GWT related issue I've encountered. I currently have a gwt project of my own that is hooked up to a database. I would like to be

Re: Running Apache Hupa sample of GWT MVP

2009-09-15 Thread Norman Maurer
Hi Daniel, so all is working now ? If you have any improvements for the README.txt just let me know.. Thx, Norman 2009/9/14 Daniel Simons daniel.simo...@gmail.com: I sincerely apologize for the newb issues...The ClassNotFoundException was due to the fact that ${project_loc} was undefined.

Re: Running Apache Hupa sample of GWT MVP

2009-09-15 Thread Daniel Simons
Hi Norman, After some minor frustration I did get it working...Thanks for your help. One way that my setup is different from the instructions in the readme.txt is that rather than creating a vm argument in the debug configuration, I simply created a conf folder in WEB-INF and copied the

Re: Running Apache Hupa sample of GWT MVP

2009-09-15 Thread Norman Maurer
Hi Daniel, you should not add the vm arguemtn in the debug configuration, change it in the webconfiguration. Well I can't say anything about what will be the affect of restructure the app. Hupa uses the default maven2 multi-module layout. Bye, Norman 2009/9/15 Daniel Simons

Re: Running Apache Hupa sample of GWT MVP

2009-09-15 Thread Daniel Jue
After reading and re-reading some Maven documentation, I learned something that may help people struggling with learning multi-module projects using Hupa. In Hupa's hupa-parent POM, I see modules moduleshared/module moduleclient/module

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Daniel Jue
You are correct, I totally ignored the readme.txt. Thanks for the pointer! On Mon, Sep 14, 2009 at 1:57 AM, Norman Maurer nor...@apache.org wrote: Hi Daniel, you must have missed the README.txt file included in the project. From the README.txt: - If you want to run hupa in hosted mode be

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Norman Maurer
No Problem, hope it helps :) Bye, Norman 2009/9/14 Daniel Jue teamp...@gmail.com: You are correct, I totally ignored the readme.txt.  Thanks for the pointer! On Mon, Sep 14, 2009 at 1:57 AM, Norman Maurer nor...@apache.org wrote: Hi Daniel, you must have missed the README.txt file

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Norman Maurer
HI Daniel, about the DataSource problems.. Eclipse is a bit stupid about this ( at least I think its eclipse because it work to compile from cmdline without probs) :-/ You need to use java5 as jdk for hupa to getting rid of this. I had no time to understand how else I could workaround this.

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Norman Maurer
Hi Daniel, I added a jira issue to keep track of this.. https://issues.apache.org/jira/browse/LABS-449 Thx for the feedback. Bye, Norman 2009/9/13 Daniel daniel.simo...@gmail.com: Could you describe the steps necessary to create the Maven2 hupa project in Eclipse more explicitly?  I am

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Norman Maurer
Hi Daniel, its me again ;) Could you try this to fix the restriction problem: * Change the order of the libraries puting 'JRE System Library' at the bottom. I'm waiting for your feedback :) Bye, Norman 2009/9/14 Norman Maurer nor...@apache.org: Hi Daniel, I added a jira issue to keep

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Daniel Simons
Moving the JRE System Library to the bottom resolved the Access Restriction errors, but now I receive a new problem. When I right-click on the hupa-parent project, then select run configuration, with -Dhupa.config.file=${project_loc}/server/src/main/webapp/WEB-INF/conf/config.properties included

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Daniel Jue
FWIW, I only have jdk1.6.0_16 and it works. I made sure Eclipse was using this specific version, and all other JREs were removed. Compiler compatibility is set to 1.6, and I didn't change any of the defaults in the Deprecated and restricted API section -- specifically the forbidden reference

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Norman Maurer
Hi Daniel, the compiler settings just tell maven to compile the src to be usable in java5 enviroments too. Bye, Norman 2009/9/14 Daniel Jue teamp...@gmail.com: FWIW, I only have jdk1.6.0_16 and it works. I made sure Eclipse was using this specific version, and all other JREs were removed.

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Daniel Simons
Still haven't discovered the source of the classNotFoundExceptionWhen I perform 'maven package' the build fails with the following error: [INFO] hupa-parent ... SUCCESS [0.672s] [INFO] hupa-shared ... SUCCESS

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Daniel Simons
I sincerely apologize for the newb issues...The ClassNotFoundException was due to the fact that ${project_loc} was undefined. On Mon, Sep 14, 2009 at 1:46 PM, Daniel Simons daniel.simo...@gmail.comwrote: Still haven't discovered the source of the classNotFoundExceptionWhen I perform 'maven

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Daniel
After checking out the hupa project, then importing into Eclipse I get compile errors for javax.activation imports in AbstractSendMessageHandler.java. I found that there is an issue using Sun JARs with Maven, and attempted to add the javax.activation dependency in my pom.xml, but the errors

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Daniel
Could be more explicit about how to get the hupa project running in hosted mode from eclipse. The following error occurs in my attempt to run in hosted mode: [WARN] Failed startup of context com.google.gwt.dev.shell.jetty.JettyLauncher $webappcontextwithrel...@dab19a{/,C:\Documents and

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Daniel
Could you describe the steps necessary to create the Maven2 hupa project in Eclipse more explicitly? I am unable to successfully build the project as a result of the javax.activation imports throwing the following error: Access restriction: The type DataSource is not accessible due to

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Daniel Jue
I also had some issues getting it to run in hosted mode the first few times. I had to issue a mvn clean package (or was it clean install?) and I still had to manually copy the conf/config.properties (or whatever it was) to the /war directory. Then I was able to select the main project (the

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Daniel Jue
BTW, I made sure I didn't have to change the POM. You do want to make sure mvn is downloading the snapshots and source when available. The .classpath should change though, if you replace the JRE as mentioned in my previous mail. I've been told not to put my .classpath (or any .* files) into a

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Norman Maurer
Hi Daniel, you must have missed the README.txt file included in the project. From the README.txt: - If you want to run hupa in hosted mode be sure to add the following line as vm argument in the Run configuration:

Re: Running Apache Hupa sample of GWT MVP

2009-09-05 Thread Satish Puranam
Norman, I am having trouble running Apache Hupa in eclipse. No matter what i do i am alway getting these errors: Resolving annotation '@GinModules({ClientDispatchModule.class, HupaClientModule.class})' [ERROR] java.lang.ClassNotFoundException: org.apache.hupa.client.gin.HupaClientModule [ERROR]

Re: Running Apache Hupa sample of GWT MVP

2009-09-05 Thread Norman Maurer
Hi Satish, I'm no aware of any special steps needed to run Hupa in eclipse. Just make sure you have m2eclipse installed and declare Hupa as Maven2 project with nested modules. That's all. Bye, Norman 2009/9/5 Satish Puranam satish.pura...@gmail.com: Norman, I am having trouble running

Re: Running Apache Hupa sample of GWT MVP

2009-09-01 Thread Norman Maurer
Hi all, Hupa supports SSL since yesterday morning ;) I just tested Hupa with gmail and it worked. So here are the steps you need to take: * Checkout latest trunk of Hupa (https://svn.apache.org/repos/asf/labs/hupa/) * Change the config.properties file to contain this: # The IP or domainname of

Re: Running Apache Hupa sample of GWT MVP

2009-09-01 Thread smiletolead
Hi Norman, I downloaded the latest code. When connecting to gmail, I get the following error: 268627 [btpool0-2] ERROR HupaLogger - Unable to authenticate user kumar.gane...@gmail.com javax.mail.MessagingException: Connection timed out: connect; nested exception is:

Re: Running Apache Hupa sample of GWT MVP

2009-09-01 Thread Norman Maurer
Can you post your config.properties file. Connection timeout sounds like a firewall,wrong ip or wrong port. Thx, Norman 2009/9/1 smiletolead kumar.gane...@gmail.com: Hi Norman,  I downloaded the latest code. When connecting to gmail, I get the following error: 268627 [btpool0-2] ERROR

Re: Running Apache Hupa sample of GWT MVP

2009-09-01 Thread smiletolead
Here is the config.properties: # The IP or domainname of the IMAP server IMAPServerAddress=imap.gmail.com # The port of the IMAP server IMAPServerPort=993 # Use SSL/TLS to connect to the IMAP server IMAPS=true # The IP or domainname of the SMTP server SMTPServerAddress=smtp.gmail.com # The port

Re: Running Apache Hupa sample of GWT MVP

2009-09-01 Thread Norman Maurer
can you try to connect to it via telnet, just to see if there is a firewall in front: telnet imap.gmail.com 993 telnet smtp.gmail.com 465 Thx, Norman 2009/9/1 smiletolead kumar.gane...@gmail.com: Here is the config.properties: # The IP or domainname of the IMAP server

Re: Running Apache Hupa sample of GWT MVP

2009-09-01 Thread smiletolead
Telnetting is giving me the following result: C:\telnet imap.gmail.com 993 Connecting To imap.gmail.com...Could not open connection to the host, on port 993: Connect failed Thanks, Ganesh On Sep 1, 2:11 pm, Norman Maurer nor...@apache.org wrote: can you try to connect to it via telnet, just

Re: Running Apache Hupa sample of GWT MVP

2009-09-01 Thread Norman Maurer
Ok this sounds like a firewall in front. telnet to port 993 works fine here.. Bye, Norman 2009/9/1 smiletolead kumar.gane...@gmail.com: Telnetting is giving me the following result: C:\telnet imap.gmail.com 993 Connecting To imap.gmail.com...Could not open connection to the host, on port

Re: Running Apache Hupa sample of GWT MVP

2009-09-01 Thread smiletolead
I am behind a proxy actually. Is it because of that? On Sep 1, 2:24 pm, Norman Maurer nor...@apache.org wrote: Ok this sounds like a firewall in front. telnet to port 993 works fine here.. Bye, Norman 2009/9/1 smiletolead kumar.gane...@gmail.com: Telnetting is giving me the following

Re: Running Apache Hupa sample of GWT MVP

2009-08-31 Thread smiletolead
Hi Norman, Is it like I have to set up the mail server in my own machine? --Ganesh On Aug 30, 12:52 pm, Norman Maurer nor...@apache.org wrote: Hi, anything in the server logs ? I neved tested it with googlemail yet, Im tested it against dovecot and courier-imap. Any feedback is

Re: Running Apache Hupa sample of GWT MVP

2009-08-31 Thread Norman Maurer
well it should work with gmail.. Did you check if you have enabled imap support in gmail: http://mail.google.com/support/bin/answer.py?answer=77695 And how you run Hupa ? In tomcat/Jetty/Jboss/Hosted Mode ? Bye, Norman 2009/8/31 smiletolead kumar.gane...@gmail.com: Hi Norman,  Is it like

Re: Running Apache Hupa sample of GWT MVP

2009-08-31 Thread smiletolead
I have enabled IMAP settings in Gmail. And I am running the app in Hosted mode. I have modified config.properties to run the app with gmail. On Aug 31, 6:04 pm, Norman Maurer nor...@apache.org wrote: well it should work with gmail.. Did you check if you have enabled imap support in

Re: Running Apache Hupa sample of GWT MVP

2009-08-31 Thread Norman Maurer
Ok then you should see some errors in the console output. Can you paste them ? Thx, Norman 2009/8/31 smiletolead kumar.gane...@gmail.com: I have enabled IMAP settings in Gmail. And I am running the app in Hosted mode. I have modified config.properties to run the app with gmail. On Aug 31,

RE: Running Apache Hupa sample of GWT MVP

2009-08-31 Thread brian.xiang
: Re: Running Apache Hupa sample of GWT MVP Ok then you should see some errors in the console output. Can you paste them ? Thx, Norman 2009/8/31 smiletolead kumar.gane...@gmail.com: I have enabled IMAP settings in Gmail. And I am running the app in Hosted mode. I have modified

Re: Running Apache Hupa sample of GWT MVP

2009-08-31 Thread Manuel Carrasco Moñino
Last time I played with hupa i didn't support ssl, however gmail needs ssl for imap and tls for smtp. So I think it is not possible to use it with gmail. Manolo Carrasco On Mon, Aug 31, 2009 at 3:04 PM, Norman Maurer nor...@apache.org wrote: well it should work with gmail.. Did you check if

Re: Running Apache Hupa sample of GWT MVP

2009-08-30 Thread Norman Maurer
Hi, anything in the server logs ? I neved tested it with googlemail yet, Im tested it against dovecot and courier-imap. Any feedback is welcome:) Bye, Norman 2009/8/30 smiletolead kumar.gane...@gmail.com: Hi all,  I am looking at the sample GWT project Apache HUPA which implements MVP

Re: Running Apache Hupa sample of GWT MVP

2009-08-30 Thread Chris Lowe
Hi Ganesh, The Hupa code is a great example to look at for MVP, command pattern etc. If you're interested in those patterns then I've created a simple (and standalone) example of an MVP application based on the generated GWT starter application:

Re: Running Apache Hupa sample of GWT MVP

2009-08-30 Thread smiletolead
Thanks Chris. I have referred to that application already :) On Aug 30, 3:53 pm, Chris Lowe chris.lowe...@gmail.com wrote: Hi Ganesh, The Hupa code is a great example to look at for MVP, command pattern etc. If you're interested in those patterns then I've created a simple (and standalone)

Running Apache Hupa sample of GWT MVP

2009-08-29 Thread smiletolead
Hi all, I am looking at the sample GWT project Apache HUPA which implements MVP pattern. I am having trouble in running it, though I was able to set up in Eclipse. I am unable to login. I set this mail client to connect to gmail by setting IMAP details of gmail. But it did not connect. Has