Commit failed :( so Here's a patch for the doc fix.
ste
________________________________________
From: [email protected] [[email protected]] On
Behalf Of Alin Dreghiciu [[email protected]]
Sent: Thursday, October 01, 2009 12:08 PM
To: [email protected]; General OPS4J
Subject: Re: error building Pax Wicket
Feel free.
On Thu, Oct 1, 2009 at 9:50 PM, David Donohue
<[email protected]<mailto:[email protected]>> wrote:
Thanks, Stephen, this worked.
mvn eclipse:eclipse -DdownloadSources=true
Does it make sense to update the documentation here?
http://www.ops4j.org/projects/pax/wicket/getting-started/installation.html
Dave Donohue
On Thu, Oct 1, 2009 at 12:32 PM, Gargan, Stephen
<[email protected]<mailto:[email protected]>> wrote:
> Try running
>
> mvn eclipse:eclipse -DdownloadSources=true
>
> You may be unlucky and maven will try and retrieve the 2.8-SNAPSHOT version
> which is not in the repo. If this happens, add the following to the plugins
> sectin of your pom
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-eclipse-plugin</artifactId>
> <version>2.7</version>
> </plugin>
>
> You don't need the -DdownloadSources=tru, but its very useful for debugging.
>
> Try this and shout if you've trouble.
>
> ste
> ________________________________________
> From: [email protected]<mailto:[email protected]>
> [[email protected]<mailto:[email protected]>] On
> Behalf Of David Donohue [[email protected]<mailto:[email protected]>]
> Sent: Wednesday, September 30, 2009 8:10 PM
> To: [email protected]<mailto:[email protected]>
> Subject: Re: error building Pax Wicket
>
> Alin,
> I am still trying to "Running on Eclipse Equinox with Eclipse" here
> http://www.ops4j.org/projects/pax/wicket/getting-started/installation.html
>
> I looked at my Pax directories after installation and I do not see any
> Eclipse .project files. I tried importing from the root folder but
> Eclipse recognizes no projects. So I installed again. This time I
> ran:
> mvn install
> and I get an error (output below).
> How can I overcome this error and get Eclipse .project files to be built?
>
> Thanks again,
> Dave Donnohue
>
> org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher]
> : Releasing bundle [org.o
> ps4j.pax.exam.junit.extender]
> org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher]
> : Releasing bundle [osgi.
> compendium]
> org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher]
> : Releasing bundle [org.o
> ps4j.pax.exam]
> org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher]
> : Releasing bundle [syste
> m.bundle]
>
> [ DefaultJavaRunner] - Platform has been shutdown.
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 35.321
> sec <<< FAILURE!
>
> Results :
>
> Tests in error:
>
> testPrivateLibrariesByUpdatingConfigurationByInvokingDirectly(org.ops4j.pax.wicket.it.classResolver.ClassRes
> olverByPidTest)
>
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to
> C:\dave_work\pax\wicket\integrationTest\classResolverTest\target\surefire-reports
> for the indi
> vidual test results.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 minutes 23 seconds
> [INFO] Finished at: Wed Sep 30 22:30:21 EDT 2009
> [INFO] Final Memory: 30M/54M
>
> _______________________________________________
> general mailing list
> [email protected]<mailto:[email protected]>
> http://lists.ops4j.org/mailman/listinfo/general
>
_______________________________________________
general mailing list
[email protected]<mailto:[email protected]>
http://lists.ops4j.org/mailman/listinfo/general
--
Alin Dreghiciu
Software Developer
My profile: http://www.linkedin.com/in/alindreghiciu
My blog: http://adreghiciu.blogspot.com
http://www.ops4j.org - New Energy for OSS Communities - Open Participation
Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
Index: installation.apt
===================================================================
--- installation.apt (revision 16315)
+++ installation.apt (working copy)
@@ -33,13 +33,23 @@
+----------------------
* Build
+
+ If you have not setup the Pax maven plugin, check here
{{{http://www.ops4j.org/projects/pax/construct/maven-pax-plugin/index.html}}Maven
Pax Plugin}}.
++----------------------
+ mvn org.ops4j.pax:pax:eclipse -DdownloadSources=true
++----------------------
+ You're going to use the excellent pax plugin a whole lot, so adding the
following to you M2 settings.xml will allow you to omit the 'org.ops4j.pax:pax'
and just use pax. This is a real
+ timesaver. For more info, check here for details
{{{http://www.ops4j.org/projects/pax/construct/maven-pax-plugin/usage.html}}Maven
Pax Plugin: Usage }}
+
+----------------------
- mvn install
+ <pluginGroups>
+ <pluginGroup>org.ops4j</pluginGroup>
+ </pluginGroups>
+----------------------
+
+ Running pax:eclipse will create Eclipse <<<.project>>> and
<<<.classpath>>> files and also META-INF directory for Eclipse PDE.
- Maven will create Eclipse <<<.project>>> and <<<.classpath>>> files and
also META-INF directory for Eclipse PDE.
-
In Eclipse:
* Import existing projects from
<<<your_path\wicket\samples\department-store>>>: about, application, floor,
franchisee, model
@@ -53,7 +63,7 @@
* If necessary Project, Clean..., Clean all projects
Now, it should be no more errors.
-
+
* Create new launch configuration
Run, Run..., Equinox OSGi Framework, New launch configuration
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general