Hi there Ian and to all the members of the list,
First time poster and subscriber. :)
I am building and using Pluto for the first time also. (over the
weekend...pity me...) Moving from Liferay to Pluto. Long story but the
crux is we are building our own custom portal essentially and Liferay is
like a heavy, ugly anchor on the project. Their (in house) performance
data sucked also. (it is not on their web site, you have to ask for it -
email if you want it)
I had the same problem as Ian and found a TEMPORARY solution.
HACK ALERT: This is a 5 second fix and not to be taken as best practice
or even correct.
To make this work you need to edit the:
[...]\pluto-testsuite\pom.xml
I have shown the entry to edit below (commented out) and my workaround.
I have not actually tested the resulting package yet, but it seems good.
<webXml>${basedir}/target/pluto-resources/web.xml</webXml>
<!-- webXml>${project.build.directory}/pluto-resources/web.xml</webXml
-->
This seems to work, but this problem appears throughout the build code.
You end up with things writing to [pluto]/target/ and attempting to find
stuff there. Not sure if this is a maven bug, ant bug or whatever?
Perhaps windows only?
Other points to note for everyone:
- "Pluto:assemble" will still not work for a similar reason. Didn't look
to hard, actually not too sure why I would want to assemble at the
moment. Similar reason, but I could not fix it. Had build bug listed
next. Fixing this made not diff.
- Some of these URLs end up being half windows-based "\" and linux "/",
which implies Maven is having a few issues.
- If you use "site:site" it will not build the site correctly. The
sub-projects (and importantly the API's) ARE built, but are left in
their corresponding project directories under .../site/.
Hope that helps...
Shane
PS: Kudos to the Pluto developers. I have the utmost respect for what
you have achieved here. Wish I could help out more, and perhaps I will,
but as you can see I am working on the weekend here which should explain
why I cannot at this stage. :)
Keep up the good work!
PSS: I have seen you talking about the need for better docs. I would
suggest that more docs leads to more users leads to more potential
developer activity. (i.e Pluto instead of Liferay etc) Perhaps it should
be an even higher priority??
Just a thought.
-----Original Message-----
> -----Original Message-----
> From: Ian D. Stewart [mailto:[EMAIL PROTECTED]
> Sent: Sunday, 9 April 2006 1:26 a.m.
> To: [email protected]
> Subject: Trouble Building Pluto Testsuite Portlet from SVN
>
> Dear List,
>
> I am new to the Pluto community and I am trying to install
> Pluto 1.1 following the instructions at
> http://portals.apache.org/pluto/getting-started.html. I have
> downloaded the latest source from SVN. However, when I run
> mvn install I get the following error:
>
> [INFO] Building Pluto Testsuite Portlet
> [INFO] task-segment: [install]
> [INFO]
> --------------------------------------------------------------
> -----------
> ---
> [INFO] [pluto:assemble {execution: default}] [INFO] Reading
> web.xml from :C:\Documents and Settings\Compaq_Owner\workspace\pl
> uto\pluto-testsuite\src\main\webapp\WEB-INF\web.xml
> [INFO] Reading portlet.xml from: C:\Documents and
> Settings\Compaq_Owner\workspac
> e\pluto\pluto-testsuite\src\main\webapp\WEB-INF\portlet.xml
> [INFO] Writing web.xml to: C:\Documents and
> Settings\Compaq_Owner\workspace\plut
> o\pluto-testsuite\target\pluto-resources\web.xml
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date [INFO]
> [resources:testResources] [INFO] Using default encoding to
> copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [war:war]
> [INFO] Exploding webapp...
> [INFO] Copy webapp resources to C:\Documents and
> Settings\Compaq_Owner\workspace
> \pluto\pluto-testsuite\target\pluto-testsuite
> [INFO]
> --------------------------------------------------------------
> ----------
> [ERROR] BUILD ERROR
> [INFO]
> --------------------------------------------------------------
> ----------
> [INFO] Error assembling WAR
>
> Embedded error: Could not explode webapp...
> File target\pluto-resources\web.xml does not exist
>
> If I cd to
> <PLUTO_HOME>\pluto-testsuite\target\pluto-resources, web.xml
> is present, with a file size of 3294 bytes.
>
> In case it's helpful, here is my tool stack:
>
> OS: Windows XP Home
> Java: JDK 1.5.0, Upgrade 6
> Maven: 2.0.3
>
> Any help in getting this resolved would be greatly appreciated.
>
>
> Thanks,
> Ian
>
>