In this computer, can you build hupa without running the tests?. mvn -Dmaven.test.skip clean package
In the other computer, can you build hupa with this set of commands and send me the full output? mvn -v svn co http://svn.apache.org/repos/asf/james/hupa/trunk hupa_trunk cd hupa_trunk du -ks . mvn clean package du -ks . unzip -l ./client/target/hupa.war Manolo On Wed, Feb 24, 2010 at 6:26 PM, Avdhesh Yadav <[email protected]> wrote: > I have tried building hupa on another computer.. > > i got this error while building hupa > > java.io.FileNotFoundException: > file:/opt/projects/ops/hupa/server/target/hupa-server-0.0.1-SNAPSHOT.jar!/mime/6.msg > (No such file or directory) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(FileInputStream.java:106) > at java.io.FileInputStream.<init>(FileInputStream.java:66) > at > org.apache.hupa.server.mock.MockIMAPFolder.loadDemoMessages(MockIMAPFolder.java:99) > at > org.apache.hupa.server.mock.MockIMAPStore.<init>(MockIMAPStore.java:68) > at > org.apache.hupa.server.mock.MockIMAPStore.<init>(MockIMAPStore.java:52) > at > org.apache.hupa.server.InMemoryIMAPStoreCache.createCachedIMAPStore(InMemoryIMAPStoreCache.java:131) > at > org.apache.hupa.server.InMemoryIMAPStoreCache.get(InMemoryIMAPStoreCache.java:98) > at > org.apache.hupa.server.InMemoryIMAPStoreCache.get(InMemoryIMAPStoreCache.java:85) > at org.apache.hupa.client.HupaMvpTestCase.setUp(HupaMvpTestCase.java:78) > at junit.framework.TestCase.runBare(TestCase.java:128) > at junit.framework.TestResult$1.protect(TestResult.java:110) > at junit.framework.TestResult.runProtected(TestResult.java:128) > at junit.framework.TestResult.run(TestResult.java:113) > at junit.framework.TestCase.run(TestCase.java:120) > at junit.framework.TestSuite.runTest(TestSuite.java:228) > at junit.framework.TestSuite.run(TestSuite.java:223) > at > org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35) > at > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) > at org.apache.maven.surefire.Surefire.run(Surefire.java:177) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) > at > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) > > > On Fri, Feb 19, 2010 at 9:00 PM, Avdhesh Yadav <[email protected]> wrote: > >> >> Already done it but no success...It works fine when i run from eclipse >> using gwt plugin... >> >> >> On Fri, Feb 19, 2010 at 8:38 PM, Bernd Fondermann < >> [email protected]> wrote: >> >>> On Fri, Feb 19, 2010 at 14:39, Avdhesh Yadav <[email protected]> >>> wrote: >>> > But its not working for me :( >>> >>> Mine is larger than 10 MB, so I guess your build is broken. >>> Please try a fresh checkout and see where you'll get from there. >>> >>> Bernd >>> >>> > >>> > On Fri, Feb 19, 2010 at 2:52 PM, Bernd Fondermann < >>> > [email protected]> wrote: >>> > >>> >> On Fri, Feb 19, 2010 at 07:49, Avdhesh Yadav <[email protected]> >>> wrote: >>> >> > I am building hupa from ../hupa_trunk path >>> >> > command : *mvn clean package* >>> >> > >>> >> > hupa built in the path hupa/client/target. and then copy pasting the >>> >> > hupa.war to tomcat/webapps folder. >>> >> > >>> >> > Is it right way to build and running hupa..? >>> >> >>> >> Yep, that's what I did. >>> >> >>> >> Bernd >>> >> >>> >> > On Fri, Feb 19, 2010 at 12:11 PM, Avdhesh Yadav < >>> [email protected] >>> >> >wrote: >>> >> > >>> >> >> Using FF 3.0.17.. >>> >> >> >>> >> >> firbug Error : 404 not-found Get hupa.nocache.js..i think the >>> compiled >>> >> >> javascript part is missing from the war.. >>> >> >> >>> >> >> Size of hupa.war 8.4 mb >>> >> >> >>> >> >> Maven version: 2.0.9 >>> >> >> Java version: 1.6.0_17 >>> >> >> OS name: "linux" version: "2.6.24-27-generic" arch: "i386" Family: >>> >> "unix" >>> >> >> >>> >> >> >>> >> >> >>> >> >> On Fri, Feb 19, 2010 at 11:51 AM, Manuel Carrasco Moñino < >>> >> >> [email protected]> wrote: >>> >> >> >>> >> >>> Which browser are you using?. Try to use FF + Firebug and check if >>> >> >>> there are errors. >>> >> >>> >>> >> >>> On Fri, Feb 19, 2010 at 5:48 AM, Avdhesh Yadav < >>> [email protected]> >>> >> >>> wrote: >>> >> >>> > Not working for me when i deploy hupa.war on tomcat.I can not see >>> the >>> >> >>> login >>> >> >>> > page..I can see the revolving hupa image only.. >>> >> >>> > >>> >> >>> > It works fine when i run from eclipse..and i can login to my >>> gmail >>> >> >>> > account.. >>> >> >>> > >>> >> >>> > here is my catalina.log >>> >> >>> > >>> >> >>> > Feb 19, 2010 10:11:03 AM >>> >> org.apache.catalina.core.AprLifecycleListener >>> >> >>> init >>> >> >>> > INFO: The APR based Apache Tomcat Native library which allows >>> optimal >>> >> >>> > performance in production environments was not found on the >>> >> >>> > java.library.path: >>> >> >>> > >>> >> >>> >>> >> >>> /usr/lib/jvm/java-6-sun-1.6.0.17/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.17/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.17/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib >>> >> >>> > Feb 19, 2010 10:11:03 AM org.apache.coyote.http11.Http11Protocol >>> init >>> >> >>> > INFO: Initializing Coyote HTTP/1.1 on http-8080 >>> >> >>> > Feb 19, 2010 10:11:03 AM org.apache.catalina.startup.Catalina >>> load >>> >> >>> > INFO: Initialization processed in 462 ms >>> >> >>> > Feb 19, 2010 10:11:04 AM org.apache.catalina.core.StandardService >>> >> start >>> >> >>> > INFO: Starting service Catalina >>> >> >>> > Feb 19, 2010 10:11:04 AM org.apache.catalina.core.StandardEngine >>> >> start >>> >> >>> > INFO: Starting Servlet Engine: Apache Tomcat/6.0.20 >>> >> >>> > Feb 19, 2010 10:11:04 AM org.apache.catalina.startup.HostConfig >>> >> >>> deployWAR >>> >> >>> > INFO: Deploying web application archive hupa.war >>> >> >>> > DEBUG: setDebug: JavaMail version 1.4.1ea-SNAPSHOT >>> >> >>> > 1 [main] DEBUG gwtupload.server.UploadServlet - >>> UPLOAD-SERVLET >>> >> init: >>> >> >>> > maxSize=10485760, slowUploads=null, isAppEngine=false >>> >> >>> > Feb 19, 2010 10:11:05 AM org.apache.coyote.http11.Http11Protocol >>> >> start >>> >> >>> > INFO: Starting Coyote HTTP/1.1 on http-8080 >>> >> >>> > Feb 19, 2010 10:11:06 AM org.apache.jk.common.ChannelSocket init >>> >> >>> > INFO: JK: ajp13 listening on /0.0.0.0:8009 >>> >> >>> > Feb 19, 2010 10:11:06 AM org.apache.jk.server.JkMain start >>> >> >>> > INFO: Jk running ID=0 time=0/35 config=null >>> >> >>> > Feb 19, 2010 10:11:06 AM org.apache.catalina.startup.Catalina >>> start >>> >> >>> > INFO: Server startup in 2063 ms >>> >> >>> > >>> >> >>> > >>> >> >>> > Regards, >>> >> >>> > Avdhesh >>> >> >>> > >>> >> >>> > On Thu, Feb 18, 2010 at 10:24 PM, Norman Maurer < >>> >> >>> > [email protected]> wrote: >>> >> >>> > >>> >> >>> >> Hi Eric, >>> >> >>> >> >>> >> >>> >> maven 2.x is fine.. >>> >> >>> >> >>> >> >>> >> Bye, >>> >> >>> >> Norman >>> >> >>> >> >>> >> >>> >> 2010/2/18 Eric MacAdie <[email protected]>: >>> >> >>> >> > What version of Maven should be used? >>> >> >>> >> > >>> >> >>> >> > Eric MacAdie >>> >> >>> >> > >>> >> >>> >> > Norman Maurer wrote: >>> >> >>> >> >> >>> >> >>> >> >> HI Bernd, >>> >> >>> >> >> >>> >> >>> >> >> for testing: >>> >> >>> >> >> >>> >> >>> >> >> mvn gwt:run >>> >> >>> >> >> >>> >> >>> >> >> for real world usage: >>> >> >>> >> >> >>> >> >>> >> >> mvn package >>> >> >>> >> >> >>> >> >>> >> >> to generate the war and then deploy to tomcat or an other >>> servlet >>> >> >>> >> >> container. >>> >> >>> >> >> >>> >> >>> >> >> Bye, >>> >> >>> >> >> Norman >>> >> >>> >> >> >>> >> >>> >> >> 2010/2/18 Bernd Fondermann <[email protected] >>> >: >>> >> >>> >> >> >>> >> >>> >> >>> >>> >> >>> >> >>> Hi, >>> >> >>> >> >>> >>> >> >>> >> >>> how do I run hupa stand-alone as a web application? >>> >> >>> >> >>> >>> >> >>> >> >>> I managed to build it, using mvn install. >>> >> >>> >> >>> >>> >> >>> >> >>> What's next? >>> >> >>> >> >>> >>> >> >>> >> >>> For the record, I don't want to use Eclipse nor some GWT >>> >> Simulator. >>> >> >>> >> >>> >>> >> >>> >> >>> Has this already been done? >>> >> >>> >> >>> >>> >> >>> >> >>> Thanks, >>> >> >>> >> >>> >>> >> >>> >> >>> Bernd >>> >> >>> >> >>> >>> >> >>> >> >>> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >>> >> > >>> >> >>> >> > >>> >> >>> >> > >>> >> --------------------------------------------------------------------- >>> >> >>> >> > To unsubscribe, e-mail: >>> [email protected] >>> >> >>> >> > For additional commands, e-mail: >>> [email protected] >>> >> >>> >> > >>> >> >>> >> > >>> >> >>> >> >>> >> >>> >> >>> >> --------------------------------------------------------------------- >>> >> >>> >> To unsubscribe, e-mail: [email protected] >>> >> >>> >> For additional commands, e-mail: >>> [email protected] >>> >> >>> >> >>> >> >>> >> >>> >> >>> > >>> >> >>> >>> >> >>> >>> --------------------------------------------------------------------- >>> >> >>> To unsubscribe, e-mail: [email protected] >>> >> >>> For additional commands, e-mail: [email protected] >>> >> >>> >>> >> >>> >>> >> > >>> >> > >>> >> > -- >>> >> > Avdhesh Yadav >>> >> > http://www.avdheshyadav.com >>> >> > >>> >> >>> >> --------------------------------------------------------------------- >>> >> To unsubscribe, e-mail: [email protected] >>> >> For additional commands, e-mail: [email protected] >>> >> >>> >> >>> > >>> > >>> > -- >>> > Avdhesh Yadav >>> > http://www.avdheshyadav.com >>> > >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> >> -- >> Avdhesh Yadav >> http://www.avdheshyadav.com >> > > > > -- > Avdhesh Yadav > http://www.avdheshyadav.com > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
