+pluto-user

I have no idea why that test might be failing :(. I'm just a user of the
container (the guys at pluto-dev will know better).

But I had a similar problem when I was trying the pluto 2.0 version, and did
this to disable the tests:
mvn install -Dmaven.test.skip.exec=true

Good luck!


On Fri, Aug 8, 2008 at 3:04 PM, Rene Vielma M <[EMAIL PROTECTED]> wrote:

> On Fri, Aug 8, 2008 at 5:58 AM, pablo <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > The usual procedure to compile and deploy the whole pluto portal is the
> > following:
> >
> > compile
> > from the root directory (that is, you will see the folders
> > maven-pluto-plugin, pluto-container, pluto-descriptor-api... if you
> "ls"),
> > do a "$ mvn install".
> >
> > deploy:
> > move the pluto-portal.war and the testsuite.war to TOMCAT_HOME/webapps.
> >
> > Once that works, try to include your own portlets. I can't remember how
> that
> > is done, but I don't think it is too hard.
> >
> > Hope that helps,
> >
> > Pablo
> >
> >
>
> Hello Pablo
> Thanks for you help
> this is I do:
>
> $ svn co https://svn.apache.org/repos/asf/portals/pluto/tags/pluto-1.1.6/
> pluto-1.1.6-svn<https://svn.apache.org/repos/asf/portals/pluto/tags/pluto-1.1.6/pluto-1.1.6-svn>
> .
> .
> $  cd pluto-1.1.6-svn/
> $  mvn install
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Apache Pluto
> [INFO]   Pluto Descriptor Service API
> [INFO]   Pluto Descriptor Service Implementation
> [INFO]   Pluto Portlet Container
> [INFO]   Pluto Portlet Tag Library
> [INFO]   Pluto Portal Driver
> [INFO]   Pluto Portal Driver Implementation Classes
> [INFO]   Pluto Portal
> [INFO]   Pluto Utilities
> [INFO]   Maven Pluto Installer Plugin
> [INFO]   Pluto Testsuite Portlet
> [INFO]   Pluto Ant Tasks
> [INFO]   Pluto Website Skin
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Pluto
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] Unable to load parent project from a relative path: Could not
> find the model file
> '/home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/../pom.xml'.
> for project unknown
> [INFO] Parent project loaded from repository.
> [INFO] [install:install]
> [INFO] Installing
> /home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pom.xml to
> /home/rene/.m2/repository/org/apache/pluto/pluto/1.1.6/pluto-1.1.6.pom
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Pluto Descriptor Service API
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Setting property: classpath.resource.loader.class =>
> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 44 source files to
>
> /home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-api/target/classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
>
> /home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-api/target/surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> There are no tests to run.
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO] [jar:jar]
> [INFO] Building jar:
>
> /home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-api/target/pluto-descriptor-api-1.1.6.jar
> [INFO] [install:install]
> [INFO] Installing
>
> /home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-api/target/pluto-descriptor-api-1.1.6.jar
> to
> /home/rene/.m2/repository/org/apache/pluto/pluto-descriptor-api/1.1.6/pluto-descriptor-api-1.1.6.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Pluto Descriptor Service Implementation
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 8 source files to
>
> /home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-impl/target/classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 5 source files to
>
> /home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-impl/target/test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
>
> /home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-impl/target/surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running
> org.apache.pluto.descriptors.services.castor.Servlet23WebAppDescriptorTest
> 08-08-2008 08:32:59 AM org.exolab.castor.mapping.Mapping loadMapping
> INFO: Loading mapping descriptors from
>
> file:/home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-impl/target/classes/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml
> 08-08-2008 08:33:00 AM org.exolab.castor.mapping.Mapping loadMapping
> INFO: Loading mapping descriptors from
>
> file:/home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-impl/target/classes/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml
> 08-08-2008 08:33:00 AM org.exolab.castor.mapping.Mapping loadMapping
> INFO: Loading mapping descriptors from
>
> file:/home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-impl/target/classes/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> 192.946 sec <<< FAILURE!
> Running
> org.apache.pluto.descriptors.services.castor.WebAppDescriptorServiceImplTest
> 08-08-2008 08:36:12 AM org.exolab.castor.mapping.Mapping loadMapping
> INFO: Loading mapping descriptors from
>
> file:/home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-impl/target/classes/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml
> 08-08-2008 08:36:12 AM org.exolab.castor.mapping.Mapping loadMapping
> INFO: Loading mapping descriptors from
>
> file:/home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-impl/target/classes/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.205 sec
> Running
> org.apache.pluto.descriptors.services.castor.PortletAppDescriptorServiceImplTest
> 08-08-2008 08:36:12 AM org.exolab.castor.mapping.Mapping loadMapping
> INFO: Loading mapping descriptors from
>
> file:/home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-impl/target/classes/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml
> 08-08-2008 08:36:12 AM org.exolab.castor.mapping.Mapping loadMapping
> INFO: Loading mapping descriptors from
>
> file:/home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-impl/target/classes/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 sec
> Running
> org.apache.pluto.descriptors.services.castor.Servlet24WebAppDescriptorTest
> 08-08-2008 08:36:12 AM org.exolab.castor.mapping.Mapping loadMapping
> INFO: Loading mapping descriptors from
>
> file:/home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-impl/target/classes/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml
> 08-08-2008 08:36:12 AM org.exolab.castor.mapping.Mapping loadMapping
> INFO: Loading mapping descriptors from
>
> file:/home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-impl/target/classes/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml
> 08-08-2008 08:36:12 AM org.exolab.castor.mapping.Mapping loadMapping
> INFO: Loading mapping descriptors from
>
> file:/home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-impl/target/classes/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml
> 08-08-2008 08:36:13 AM org.exolab.castor.mapping.Mapping loadMapping
> INFO: Loading mapping descriptors from
>
> file:/home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-impl/target/classes/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.286 sec
>
> Results :
>
> Tests in error:
>
>  
> testWrite(org.apache.pluto.descriptors.services.castor.Servlet23WebAppDescriptorTest)
>
> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to
>
> /home/rene/backup/programFiles/portal/pluto/pluto-1.1.6-svn/pluto-descriptor-impl/target/surefire-reports
> for the individual test results.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 minutes 31 seconds
> [INFO] Finished at: Fri Aug 08 08:36:13 CLT 2008
> [INFO] Final Memory: 25M/78M
>
> therefore don't output  war file
>
>
>
> --
> -rvm rv- rv-
>

Reply via email to